From: Ossama Othman Date: Mon, 25 Nov 2013 23:00:02 +0000 (-0800) Subject: Update to latest version of quota. X-Git-Tag: 4.01 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Fupstream;p=profile%2Fivi%2Fquota.git Update to latest version of quota. Change-Id: I2271f01ae7877d43dde2432a45b49b910ddb6f8f Signed-off-by: Ossama Othman --- diff --git a/CVS/Entries b/CVS/Entries deleted file mode 100644 index ba84bb3..0000000 --- a/CVS/Entries +++ /dev/null @@ -1,84 +0,0 @@ -D/doc//// -D/ldap-scripts//// -D/po//// -/rquotad.8/1.10/Wed Dec 17 12:30:20 2008// -/README.gettext/1.1.1.1/Mon Oct 13 17:29:18 2008// -/README.ldap-support/1.2/Mon Oct 13 17:29:19 2008// -/README.mailserver/1.2/Mon Oct 13 17:29:19 2008// -/install-sh/1.1.1.1/Mon Oct 13 17:29:18 2008// -/quot.8/1.5/Mon Oct 13 17:29:18 2008// -/quot.h/1.3/Mon Oct 13 17:29:19 2008// -/quotagrpadmins/1.1/Mon Oct 13 17:29:19 2008// -/quotastats.8/1.1/Mon Oct 13 17:29:19 2008// -/quotatab/1.1/Mon Oct 13 17:29:19 2008// -/rquota.3/1.1.1.1/Mon Oct 13 17:29:18 2008// -/rquota.x/1.1.1.1/Mon Oct 13 17:29:18 2008// -/setup_quota_group/1.1.1.1/Mon Oct 13 17:29:18 2008// -/warnquota.conf/1.9/Mon Oct 13 17:29:18 2008// -/xqmstats.8/1.1/Mon Oct 13 17:29:19 2008// -/quotactl.2/1.8/Tue Sep 22 12:18:55 2009// -/convertquota.8/1.7/Tue Nov 24 19:03:15 2009// -/edquota.8/1.14/Tue Nov 24 18:53:24 2009// -/quota.1/1.15/Tue Nov 24 18:55:05 2009// -/quotacheck.8/1.10/Tue Nov 24 18:53:57 2009// -/quotaon.8/1.9/Tue Nov 24 18:54:15 2009// -/quotaon.h/1.3/Mon Nov 30 22:45:45 2009// -/repquota.8/1.16/Tue Nov 24 18:54:34 2009// -/setquota.8/1.12/Tue Nov 24 18:54:46 2009// -/warnquota.8/1.11/Tue Nov 24 18:54:58 2009// -/bylabel.c/1.5/Tue Jan 5 15:37:16 2010// -/bylabel.h/1.2/Tue Jan 5 12:12:20 2010// -/common.c/1.9/Tue Jan 5 15:38:20 2010// -/convertquota.c/1.21/Tue Jan 5 15:38:24 2010// -/edquota.c/1.25/Tue Jan 5 15:38:33 2010// -/pot.c/1.2/Tue Jan 5 15:38:39 2010// -/quot.c/1.14/Tue Jan 5 15:40:14 2010// -/quota.c/1.30/Tue Jan 5 15:38:47 2010// -/quota_nld.8/1.4/Tue Jan 5 13:51:58 2010// -/quota_nld.c/1.10/Tue Jan 5 15:39:45 2010// -/quotacheck_v1.c/1.6/Tue Jan 5 15:38:57 2010// -/quotacheck_v2.c/1.12/Tue Jan 5 16:00:26 2010// -/quotaio.c/1.22/Tue Jan 5 15:39:08 2010// -/quotaio_generic.c/1.2/Tue Jan 5 15:39:12 2010// -/quotaio_meta.c/1.2/Tue Jan 5 15:39:16 2010// -/quotaio_rpc.c/1.7/Tue Jan 5 15:39:19 2010// -/quotaio_tree.c/1.2/Tue Jan 5 15:39:23 2010// -/quotaio_v1.c/1.17/Tue Jan 5 15:39:27 2010// -/quotaio_v2.c/1.20/Tue Jan 5 15:39:32 2010// -/quotaio_xfs.c/1.10/Tue Jan 5 15:39:40 2010// -/quotaon.c/1.28/Tue Jan 5 15:39:50 2010// -/quotaon_xfs.c/1.9/Tue Jan 5 15:39:54 2010// -/quotaops.c/1.24/Tue Jan 5 15:40:00 2010// -/quotastats.c/1.12/Tue Jan 5 16:04:57 2010// -/quotasys.c/1.64/Tue Jan 5 15:49:18 2010// -/repquota.c/1.28/Tue Jan 5 15:40:19 2010// -/rquota_client.c/1.13/Tue Jan 5 16:04:57 2010// -/rquota_server.c/1.22/Tue Jan 5 16:04:57 2010// -/rquota_svc.c/1.22/Tue Jan 5 16:04:57 2010// -/set_limits_example.c/1.3/Tue Jan 5 15:41:17 2010// -/setquota.c/1.25/Tue Jan 5 15:41:33 2010// -/svc_socket.c/1.5/Tue Jan 5 15:41:43 2010// -/warnquota.c/1.33/Tue Jan 5 16:04:57 2010// -/xqmstats.c/1.6/Tue Jan 5 15:41:57 2010// -/common.h/1.12/Wed Jan 6 10:58:04 2010// -/dqblk_rpc.h/1.3/Wed Jan 6 10:58:04 2010// -/dqblk_v1.h/1.4/Wed Jan 6 11:01:11 2010// -/dqblk_v2.h/1.6/Wed Jan 6 11:01:16 2010// -/dqblk_xfs.h/1.3/Wed Jan 6 10:58:04 2010// -/mntopt.h/1.13/Wed Jan 6 10:58:04 2010// -/pot.h/1.4/Wed Jan 6 10:58:04 2010// -/quota.h/1.12/Wed Jan 6 10:58:04 2010// -/quota_tree.h/1.3/Wed Jan 6 10:58:04 2010// -/quotacheck.h/1.8/Wed Jan 6 10:58:04 2010// -/quotaio.h/1.16/Wed Jan 6 10:58:04 2010// -/quotaio_generic.h/1.3/Wed Jan 6 10:58:04 2010// -/quotaio_v1.h/1.6/Wed Jan 6 11:00:38 2010// -/quotaio_v2.h/1.6/Wed Jan 6 11:00:54 2010// -/quotaio_xfs.h/1.5/Wed Jan 6 10:58:04 2010// -/quotaops.h/1.6/Wed Jan 6 10:58:04 2010// -/quotasys.h/1.29/Wed Jan 6 10:58:04 2010// -/rquota_client.h/1.4/Wed Jan 6 10:58:04 2010// -/configure.in/1.31/Wed Jan 6 14:47:27 2010// -/Changelog/1.152/Wed Feb 17 11:50:20 2010// -/quotacheck.c/1.60/Wed Feb 17 11:49:17 2010// -/Makefile.in/1.47/Wed Feb 17 12:00:04 2010// diff --git a/CVS/Repository b/CVS/Repository deleted file mode 100644 index 2dc33ce..0000000 --- a/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -quota-tools diff --git a/CVS/Root b/CVS/Root deleted file mode 100644 index 3d66810..0000000 --- a/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -jkar8572@linuxquota.cvs.sf.net:/cvsroot/linuxquota/ diff --git a/Changelog b/Changelog index c2931a6..a6294cd 100644 --- a/Changelog +++ b/Changelog @@ -1,3 +1,68 @@ +Changes in quota-tools from 4.00 to 4.01 +* fix compilation failure with --enable-bsd_behaviour=no (Jan Kara) +* fix quota(1) for NFS mountpoints (Jan Kara) +* fix reporting of huge quota limits over rpc (Jan Kara) +* fix repquota to report all users on XFS (Jan Kara) +* fixed edquota(8) for more users (Jan Kara) +* remove fixed limit on number of autofs mount points (Jan Kara) +* add quota type names to message catalogue (Jan Kara) +* typo fixes, message changes for easier i18n (Jan Kara) +* created Czech translation (Petr Pisar) +* store PID of quota_nld into lock file (Petr Pisar) +* warnquota: Fix manpage formatting (Jan Kara) +* warnquota: Allow specifying of filesystems to check (Jan Kara) +* add support for quotas on ext4 in system files (Jan Kara) +* quotaon: Remove duplicated check for hasquota() (Jan Kara) +* quotacheck: Fix warning about journaled quota for 3.0 and newer kernels (Jan Kara) +* edquota: Fix localication of time units (Jan Kara) +* rip out ALTFORMAT config option (Jan Kara) +* add support for dynamic RPC block to support larger quotas (Petr Pisar) +* check set limits fit into the range supported by RPC transport (Petr Pisar) +* do not report missing utmp record to syslog (Petr Pisar) + +Changes in quota-tools from 4.00-pre1 to 4.00 +* get_qf_name() does not check quota file presence (Petr Pisar) +* report quotacheck failures by return code (Petr Pisar) +* make global symbols static as possible (Petr Pisar) +* implement repquota for filesystems without quota files (Jan Kara) +* initialize v2r1 ddquot padding in dump (Jan Kara) +* fix ddquot buffer leak (Petr Pisar) +* fix check in setgraces() in setquota.c (Petr Pisar) +* forbid grace time setting over RPC (Jan Kara) +* fix synopsis and properly report errors during remote grace period setting (Jan Kara) +* do not use real domains in warnquota example (Petr Pisar) +* make RPC handle properly host names with colons (Jan Kara) +* explain meaning of the second column in repquota output (Jan Kara) +* initialize vfsold block and inode value boundaries for new quota file (Petr Pisar) +* setquota manpage typo fix (John Bradshaw) +* implement quotacheck for GFS2 (Abhijith Das) +* add quotasync tool (Abhijith Das) +* correct --no-mixed-pathnames documentation (Petr Pisar) +* allow admin to not strip quota binaries while installing them (Jan Kara) +* document --always-resolve at edquota and setquota (Petr Pisar) +* comment example quotatab to silent warnquota (Petr Pisar) +* improve comments in warnquota.conf (Ondrej Vasik) +* fix help text for quotaoff (Ondrej Vasik) +* make quota, setquota, and edquota recognize -h option (Ondrej Vasik) +* check whether set limits fit into range supported by quota format (Jan Kara) +* add next3 support (Amir G) +* remove checking of filesystem type from hasquota() (Jan Kara) +* create quota-nfs.sh script for nicer quota(1) output formatting on some NFS clients (Jan Kara) +* add options for quota(1) modifying formatting of filesystem identificaion (Jan Kara) +* minor updates of manpages (Jan Kara) +* quotactl manpage was moved to man-pages package (Jan Kara) +* fix quotaon to work properly with XFS filesystems (Eric Sandeen, Jan Kara) +* fix quotaon to print all informational messages only in verbose mode (Jan Kara) +* fix warnquota manpage to not speak about RPC (Jan Kara) +* fix repquota to get latest quota info header (Jan Kara) +* do not count system inodes into quota for ext[234] (Jan Kara) +* improve detection of XFS kernel quota interface (Jan Kara) +* support of GFS2 filesystem (Christoph Hellwig) +* avoid memory corruption of NULL address (Petr Pisar) +* fixup typos in manpages (Michael Meskes) +* added german translation (Michael Bunk) +* added --enable-static-link configure option (Jan Kara) + Changes in quota-tools from 3.17 to 4.00-pre1 * don't try to set inode flags when getting them failed (Michalski Wojciech) * added liblber to the list of libraries needed for LDAP support (Michael Meskes) diff --git a/Makefile.in b/Makefile.in index 107f373..c81d7a9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -1,5 +1,5 @@ -PROGS = quotacheck quotaon quota quot repquota warnquota quotastats xqmstats edquota setquota convertquota rpc.rquotad @QUOTA_NETLINK_PROG@ -SOURCES = bylabel.c common.c convertquota.c edquota.c pot.c quot.c quota.c quotacheck.c quotacheck_v1.c quotacheck_v2.c quotaio.c quotaio_rpc.c quotaio_v1.c quotaio_v2.c quotaio_tree.c quotaio_xfs.c quotaio_meta.c quotaio_generic.c quotaon.c quotaon_xfs.c quotaops.c quotastats.c quotasys.c repquota.c rquota_client.c rquota_server.c rquota_svc.c setquota.c warnquota.c xqmstats.c svc_socket.c +PROGS = quotacheck quotaon quota quot repquota warnquota quotastats xqmstats edquota setquota convertquota rpc.rquotad quotasync @QUOTA_NETLINK_PROG@ +SOURCES = bylabel.c common.c convertquota.c edquota.c pot.c quot.c quota.c quotacheck.c quotacheck_v1.c quotacheck_v2.c quotaio.c quotaio_rpc.c quotaio_v1.c quotaio_v2.c quotaio_tree.c quotaio_xfs.c quotaio_meta.c quotaio_generic.c quotaon.c quotaon_xfs.c quotaops.c quotastats.c quotasys.c repquota.c rquota_client.c rquota_server.c rquota_svc.c setquota.c warnquota.c xqmstats.c svc_socket.c quotasync.c CFLAGS = @CFLAGS@ -D_GNU_SOURCE -Wall -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 CPPFLAGS = @CPPFLAGS@ EXT2LIBS = @EXT2LIBS@ @@ -10,6 +10,7 @@ LDFLAGS = @LDFLAGS@ LDAPLIBS = @LDAPLIBS@ INSTALL = @INSTALL@ +STRIP = @STRIP@ LN = ln -sf ROOTDIR = SUPER_OWNER = root @@ -57,7 +58,7 @@ realclean: clobber -rm -f $(RPCSRC) po/*.mo pot: - xgettext -k_ -d pot *.c + xgettext -k_ -kN_ -d pot *.c *.h mo: po for n in $(shell ls po/*.po); do \ @@ -77,10 +78,10 @@ install: all @INSTMO@ -mkdir -p $(ROOTDIR)$(sbindir) -mkdir -p $(ROOTDIR)$(bindir) -mkdir -p $(ROOTDIR)$(root_sbindir) - -$(INSTALL) -m $(DEF_SBIN_MODE) \ + -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) \ quotacheck quotaon $(ROOTDIR)$(root_sbindir) -$(LN) quotaon $(ROOTDIR)$(root_sbindir)/quotaoff - -$(INSTALL) -m $(DEF_SBIN_MODE) \ + -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) \ edquota repquota warnquota quotastats setquota quot xqmstats \ convertquota $(ROOTDIR)$(sbindir) -mkdir -p $(ROOTDIR)$(sysconfdir) @@ -93,10 +94,10 @@ install: all @INSTMO@ -mkdir -p $(ROOTDIR)$(mandir)/man8 -$(INSTALL) -m 755 -d $(ROOTDIR)$(includedir)/rpcsvc -$(INSTALL) -m 644 rquota.h rquota.x $(ROOTDIR)$(includedir)/rpcsvc - -$(INSTALL) -m $(DEF_SBIN_MODE) quota $(ROOTDIR)$(bindir) - -$(INSTALL) -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir) + -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) quota quotasync $(ROOTDIR)$(bindir) + -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) rpc.rquotad $(ROOTDIR)$(sbindir) ifneq ($(NETLINKLIBS),) - -$(INSTALL) -m $(DEF_SBIN_MODE) quota_nld $(ROOTDIR)$(sbindir) + -$(INSTALL) $(STRIP) -m $(DEF_SBIN_MODE) quota_nld $(ROOTDIR)$(sbindir) endif -$(INSTALL) -m $(DEF_MAN_MODE) *.1 $(ROOTDIR)$(mandir)/man1 -$(INSTALL) -m $(DEF_MAN_MODE) *.2 $(ROOTDIR)$(mandir)/man2 @@ -110,6 +111,8 @@ quotacheck: quotacheck.o quotacheck_v1.o quotacheck_v2.o quotaops.o $(LIBOBJS) quota: quota.o quotaops.o $(LIBOBJS) +quotasync: quotasync.o $(LIBOBJS) + quot: quot.o $(LIBOBJS) repquota: repquota.o $(LIBOBJS) diff --git a/aclocal.m4 b/aclocal.m4 index d55ff05..4924950 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -1,7 +1,7 @@ -# generated automatically by aclocal 1.10 -*- Autoconf -*- +# generated automatically by aclocal 1.11 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2006 Free Software Foundation, Inc. +# 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -79,16 +79,14 @@ fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], -[if test -n "$PKG_CONFIG"; then - if test -n "$$1"; then - pkg_cv_[]$1="$$1" - else - PKG_CHECK_EXISTS([$3], - [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], - [pkg_failed=yes]) - fi -else - pkg_failed=untried +[if test -n "$$1"; then + pkg_cv_[]$1="$$1" + elif test -n "$PKG_CONFIG"; then + PKG_CHECK_EXISTS([$3], + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], + [pkg_failed=yes]) + else + pkg_failed=untried fi[]dnl ])# _PKG_CONFIG @@ -132,9 +130,9 @@ See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD @@ -159,7 +157,7 @@ path to pkg-config. _PKG_TEXT -To get pkg-config, see .])], +To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS diff --git a/autom4te.cache/output.0 b/autom4te.cache/output.0 deleted file mode 100644 index 4dd508b..0000000 --- a/autom4te.cache/output.0 +++ /dev/null @@ -1,5682 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.61. -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -@%:@ This configure script is free software; the Free Software Foundation -@%:@ gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell autoconf@gnu.org about your system, - echo including any error possibly output before this - echo message -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= - -ac_unique_file="quota.c" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='SHELL -PATH_SEPARATOR -PACKAGE_NAME -PACKAGE_TARNAME -PACKAGE_VERSION -PACKAGE_STRING -PACKAGE_BUGREPORT -exec_prefix -prefix -program_transform_name -bindir -sbindir -libexecdir -datarootdir -datadir -sysconfdir -sharedstatedir -localstatedir -includedir -oldincludedir -docdir -infodir -htmldir -dvidir -pdfdir -psdir -libdir -localedir -mandir -DEFS -ECHO_C -ECHO_N -ECHO_T -LIBS -build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -CPPFLAGS -ac_ct_CC -EXEEXT -OBJEXT -CPP -GREP -EGREP -INSTALL_PROGRAM -INSTALL_SCRIPT -INSTALL_DATA -LDAPLIBS -EXT2_DIRECT -EXT2LIBS -QUOTA_NETLINK_PROG -NETLINKLIBS -HOSTS_ACCESS -COMPILE_OPTS -LIBMALLOC -INSTMO -ROOTSBIN -LIB@&t@OBJS -LTLIBOBJS' -ac_subst_files='' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=\$ac_optarg ;; - - -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -# Be sure to have absolute directory names. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { echo "$as_me: error: Working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$0" || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X"$0" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -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] - --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no. - --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try. - --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no. - --enable-altformat=yes/no Enable alternative format used by edquota default=yes. - --enable-rpc=yes/no Enable RPC support default=yes. - --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no. - --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no. - --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes. - --enable-libefence=yes/no Use Electric Fence memory checks default=no. - --enable-nls=yes/no Enable gettext dafault=yes. - --enable-rootsbin=yes/no Use /sbin for some important binaries regardless $prefix default=no. - -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 - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.61 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -@%:@@%:@ --------- @%:@@%:@ -@%:@@%:@ Platform. @%:@@%:@ -@%:@@%:@ --------- @%:@@%:@ - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -@%:@@%:@ ----------- @%:@@%:@ -@%:@@%:@ Core tests. @%:@@%:@ -@%:@@%:@ ----------- @%:@@%:@ - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -@%:@@%:@ ---------------- @%:@@%:@ -@%:@@%:@ Cache variables. @%:@@%:@ -@%:@@%:@ ---------------- @%:@@%:@ -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -@%:@@%:@ ----------------- @%:@@%:@ -@%:@@%:@ Output variables. @%:@@%:@ -@%:@@%:@ ----------------- @%:@@%:@ -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -@%:@@%:@ ------------------- @%:@@%:@ -@%:@@%:@ File substitutions. @%:@@%:@ -@%:@@%:@ ------------------- @%:@@%:@ -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -@%:@@%:@ ----------- @%:@@%:@ -@%:@@%:@ confdefs.h. @%:@@%:@ -@%:@@%:@ ----------- @%:@@%:@ -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -n "$CONFIG_SITE"; then - set x "$CONFIG_SITE" -elif test "x$prefix" != xNONE; then - set x "$prefix/share/config.site" "$prefix/etc/config.site" -else - set x "$ac_default_prefix/share/config.site" \ - "$ac_default_prefix/etc/config.site" -fi -shift -for ac_site_file -do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - -# Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -# -# List of possible output files, starting from the most likely. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) -# only as a last resort. b.out is created by i960 compilers. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' -# -# The IRIX 6 linker writes into existing files which may not be -# executable, retaining their permissions. Remove them first so a -# subsequent execution test works. -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6; } -if test -z "$ac_file"; then - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - -rm -f a.out a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6; } - -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest$ac_cv_exeext -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } -if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6; } ;; - xno) - { echo "$as_me:$LINENO: result: unsupported" >&5 -echo "${ECHO_T}unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; -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 - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.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 nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.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 nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.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 grep that handles long lines and -e" >&5 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Extract the first word of "grep ggrep" to use in msg output -if test -z "$GREP"; then -set dummy grep ggrep; ac_prog_name=$2 -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_path_GREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue - # Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - - $ac_path_GREP_found && break 3 - done -done - -done -IFS=$as_save_IFS - - -fi - -GREP="$ac_cv_path_GREP" -if test -z "$GREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - -else - ac_cv_path_GREP=$GREP -fi - - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ echo "$as_me:$LINENO: checking for egrep" >&5 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } -if test "${ac_cv_path_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_path_EGREP="$GREP -E" - else - # Extract the first word of "egrep" to use in msg output -if test -z "$EGREP"; then -set dummy egrep; ac_prog_name=$2 -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_path_EGREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue - # Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - - $ac_path_EGREP_found && break 3 - done -done - -done -IFS=$as_save_IFS - - -fi - -EGREP="$ac_cv_path_EGREP" -if test -z "$EGREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - -else - ac_cv_path_EGREP=$EGREP -fi - - - fi -fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#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)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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.conftest.* 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 - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done -IFS=$as_save_IFS - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - -{ echo "$as_me:$LINENO: checking whether compiler supports PIE" >&5 -echo $ECHO_N "checking whether compiler supports PIE... $ECHO_C" >&6; } -oldCFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -fPIE" -oldLDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -pie" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - compilepie="yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test "x$compilepie" != "xyes"; then - CFLAGS="$oldCFLAGS" - LDFLAGS="$oldLDFLAGS" - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -else - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -fi - -# Check whether --enable-ldapmail was given. -if test "${enable_ldapmail+set}" = set; then - enableval=$enable_ldapmail; -else - enable_ldapmail="no" -fi - -if test "x$enable_ldapmail" != "xno"; then - have_new_ldap="no" - have_old_ldap="no" - { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap" >&5 -echo $ECHO_N "checking for ldap_initialize in -lldap... $ECHO_C" >&6; } -if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_initialize (); -int -main () -{ -return ldap_initialize (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ldap_ldap_initialize=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_initialize=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_initialize" >&5 -echo "${ECHO_T}$ac_cv_lib_ldap_ldap_initialize" >&6; } -if test $ac_cv_lib_ldap_ldap_initialize = yes; then - have_new_ldap="yes" -else - { echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 -echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6; } -if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_init (); -int -main () -{ -return ldap_init (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ldap_ldap_init=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_init=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 -echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; } -if test $ac_cv_lib_ldap_ldap_init = yes; then - have_old_ldap="yes" -fi - -fi - - if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then - LDAPLIBS="-L/usr/lib -lldap" - CFLAGS="$CFLAGS -DUSE_LDAP_MAIL_LOOKUP" - COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP" - if test "x$have_new_ldap" = "xyes"; then - CFLAGS="$CFLAGS -DUSE_LDAP_23" - { echo "$as_me:$LINENO: checking whether ldap_perror is declared" >&5 -echo $ECHO_N "checking whether ldap_perror is declared... $ECHO_C" >&6; } -if test "${ac_cv_have_decl_ldap_perror+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef ldap_perror - (void) ldap_perror; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_have_decl_ldap_perror=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_have_decl_ldap_perror=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldap_perror" >&5 -echo "${ECHO_T}$ac_cv_have_decl_ldap_perror" >&6; } -if test $ac_cv_have_decl_ldap_perror = yes; then - : -else - CFLAGS="$CFLAGS -DNEED_LDAP_PERROR" -fi - - fi - else - if test "x$enable_ldapmail" = "xyes"; then - { { echo "$as_me:$LINENO: error: LDAP support required but library not found." >&5 -echo "$as_me: error: LDAP support required but library not found." >&2;} - { (exit 1); exit 1; }; }; - fi - fi -fi - - - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -@%:@include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - { echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking ext2fs/ext2fs.h usability" >&5 -echo $ECHO_N "checking ext2fs/ext2fs.h usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -@%:@include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking ext2fs/ext2fs.h presence" >&5 -echo $ECHO_N "checking ext2fs/ext2fs.h presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_ext2fs_ext2fs_h=$ac_header_preproc -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; } - -fi -if test $ac_cv_header_ext2fs_ext2fs_h = yes; then - ext2fshead="yes" -fi - - -if test "x$ext2fshead" = "xyes"; then - CFLAGS="-DHAVE_EXT2_INCLUDE $CFLAGS" - { echo "$as_me:$LINENO: checking for ext2_ino_t" >&5 -echo $ECHO_N "checking for ext2_ino_t... $ECHO_C" >&6; } - have_ext2_ino_t="no" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ext2_ino_t" >/dev/null 2>&1; then - have_ext2_ino_t="yes" -fi -rm -f conftest* - - if test "x$have_ext2_ino_t" != "xyes"; then - { echo "$as_me:$LINENO: result: not found" >&5 -echo "${ECHO_T}not found" >&6; } - else - { echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6; } - CFLAGS="-DHAVE_EXT2_INO_T $CFLAGS" - fi -fi - -# Check whether --enable-ext2direct was given. -if test "${enable_ext2direct+set}" = set; then - enableval=$enable_ext2direct; -else - enable_ext2direct="try" -fi - -if test "x$enable_ext2direct" != "xno"; then - { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 -echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } -if test "${ac_cv_lib_com_err_com_err+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcom_err $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char com_err (); -int -main () -{ -return com_err (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_com_err_com_err=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_com_err_com_err=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 -echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } -if test $ac_cv_lib_com_err_com_err = yes; then - EXT2LIBS="-lcom_err $EXT2LIBS" -fi - - { echo "$as_me:$LINENO: checking for ext2fs_initialize in -lext2fs" >&5 -echo $ECHO_N "checking for ext2fs_initialize in -lext2fs... $ECHO_C" >&6; } -if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lext2fs "-lcom_err" $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ext2fs_initialize (); -int -main () -{ -return ext2fs_initialize (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ext2fs_ext2fs_initialize=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ext2fs_ext2fs_initialize=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5 -echo "${ECHO_T}$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; } -if test $ac_cv_lib_ext2fs_ext2fs_initialize = yes; then - EXT2LIBS="-lext2fs $EXT2LIBS" -fi - - if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then - if test "x$enable_ext2direct" = "xyes"; then - { { echo "$as_me:$LINENO: error: Ext2 direct support required but libraries not found." >&5 -echo "$as_me: error: Ext2 direct support required but libraries not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5 -echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;} - fi - enable_ext2direct="no" - EXT2LIBS="" - else - if test "x$ext2fshead" != "xyes"; then - if test "x$enable_ext2direct" = "xyes"; then - { { echo "$as_me:$LINENO: error: Ext2 direct support required but header files not found." >&5 -echo "$as_me: error: Ext2 direct support required but header files not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5 -echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;} - fi - enable_ext2direct="no" - EXT2LIBS="" - else - enable_ext2direct="yes" - fi - fi - if test "x$enable_ext2direct" = "xyes"; then - EXT2_DIRECT="-DEXT2_DIRECT" - COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT" - - fi -fi - - -#AC_ARG_WITH(dbus_include, -# [ --with-dbus_include=path Path to directory with dbus include directory [default=/usr/include/dbus-1.0/]], -# DBUS_INCLUDE="$with_dbus_include", -# DBUS_INCLUDE="/usr/include/dbus-1.0/") -#AC_ARG_WITH(dbus_arch_include, -# [ --with-dbus_arch_include=path Path to directory with dbus arch-dependent include directory [default=/usr/lib/dbus-1.0/include/]], -# DBUS_ARCH_INCLUDE="$with_dbus_arch_include", -# DBUS_ARCH_INCLUDE="/usr/lib/dbus-1.0/include/") - -# Check whether --enable-netlink was given. -if test "${enable_netlink+set}" = set; then - enableval=$enable_netlink; -else - enable_netlink="no" -fi - -if test "x$enable_netlink" != "xno"; then - PKG_CHECK_MODULES(DBUS, dbus-1) - NETLINKLIBS="$DBUS_LIBS" - - { echo "$as_me:$LINENO: checking for genl_register in -lnl" >&5 -echo $ECHO_N "checking for genl_register in -lnl... $ECHO_C" >&6; } -if test "${ac_cv_lib_nl_genl_register+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char genl_register (); -int -main () -{ -return genl_register (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_nl_genl_register=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_nl_genl_register=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_nl_genl_register" >&5 -echo "${ECHO_T}$ac_cv_lib_nl_genl_register" >&6; } -if test $ac_cv_lib_nl_genl_register = yes; then - NETLINKLIBS="-lnl $NETLINKLIBS" -fi - - if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then - if test "x$enable_netlink" = "xyes"; then - { { echo "$as_me:$LINENO: error: Required libraries for quota netlink daemon not found." >&5 -echo "$as_me: error: Required libraries for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5 -echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;} - fi - enable_netlink="no" - NETLINKLIBS="" - else - CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS" - if test -z "$DBUS_LIBS"; then - if test "x$enable_netlink" = "xyes"; then - { { echo "$as_me:$LINENO: error: Required headers for quota netlink daemon not found." >&5 -echo "$as_me: error: Required headers for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5 -echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;} - fi - NETLINKLIBS="" - enable_netlink="no" - else - QUOTA_NETLINK_PROG=quota_nld - fi - fi -fi - - - -{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 -echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_search_gethostbyname=$ac_res -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then - break -fi -done -if test "${ac_cv_search_gethostbyname+set}" = set; then - : -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ echo "$as_me:$LINENO: checking for host_access in -lwrap" >&5 -echo $ECHO_N "checking for host_access in -lwrap... $ECHO_C" >&6; } -if test "${ac_cv_lib_wrap_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - saved_LIBS="$LIBS" - LIBS="$LIBS -lwrap" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - #include - #include - #include - #include - struct request_info request; - int deny_severity, allow_severity; -int -main () -{ -hosts_access(&request); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - -fi - - -if test ${ac_cv_lib_wrap_main} = yes; then - if test "${ac_cv_header_tcpd_h+set}" = set; then - { echo "$as_me:$LINENO: checking for tcpd.h" >&5 -echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking tcpd.h usability" >&5 -echo $ECHO_N "checking tcpd.h usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -@%:@include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking tcpd.h presence" >&5 -echo $ECHO_N "checking tcpd.h presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: tcpd.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: tcpd.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: tcpd.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: tcpd.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: tcpd.h: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: tcpd.h: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: tcpd.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for tcpd.h" >&5 -echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_tcpd_h=$ac_header_preproc -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; } - -fi -if test $ac_cv_header_tcpd_h = yes; then - : -else - - echo 'ERROR: could not find tcpd.h - missing TCP wrappers package' - exit 1 - -fi - - - LIBS="$LIBS -lwrap" - HOSTS_ACCESS="-DHOSTS_ACCESS" - COMPILE_OPTS="$COMPILE_OPTS HOST_ACCESS" - -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 -/* 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 cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* 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"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 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; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -echo "${ECHO_T}$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -@%:@define const -_ACEOF - -fi - -{ echo "$as_me:$LINENO: checking for inline" >&5 -echo $ECHO_N "checking for inline... $ECHO_C" >&6; } -if test "${ac_cv_c_inline+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_inline=$ac_kw -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 -echo "${ECHO_T}$ac_cv_c_inline" >&6; } - - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - - -# Check whether --enable-altformat was given. -if test "${enable_altformat+set}" = set; then - enableval=$enable_altformat; -else - enable_altformat="yes" -fi - -# Check whether --enable-rpc was given. -if test "${enable_rpc+set}" = set; then - enableval=$enable_rpc; -else - enable_rpc="yes" -fi - -# Check whether --enable-rpcsetquota was given. -if test "${enable_rpcsetquota+set}" = set; then - enableval=$enable_rpcsetquota; -else - enable_rpcsetquota="no" -fi - -# Check whether --enable-xfs_roothack was given. -if test "${enable_xfs_roothack+set}" = set; then - enableval=$enable_xfs_roothack; -else - enable_xfs_roothack="no" -fi - -# Check whether --enable-bsd_behaviour was given. -if test "${enable_bsd_behaviour+set}" = set; then - enableval=$enable_bsd_behaviour; -else - enable_bsd_behaviour="yes" -fi - -# Check whether --enable-libefence was given. -if test "${enable_libefence+set}" = set; then - enableval=$enable_libefence; -else - enable_libefence="no" -fi - - -# Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then - enableval=$enable_nls; -else - enable_nls="yes" -fi - -# Check whether --enable-rootsbin was given. -if test "${enable_rootsbin+set}" = set; then - enableval=$enable_rootsbin; -else - enable_rootsbin="no" -fi - - -if test "$enable_altformat" = "yes" ; then - CFLAGS="-DALT_FORMAT $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT" -fi -if test "$enable_rpc" = "yes" ; then - CFLAGS="-DRPC $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS RPC" -fi -if test "$enable_rpcsetquota" = "yes" ; then - CFLAGS="-DRPC_SETQUOTA $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA" -fi -if test "$enable_xfs_roothack" = "yes" ; then - CFLAGS="-DXFS_ROOTHACK $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK" -fi -if test "$enable_bsd_behaviour" = "yes" ; then - CFLAGS="-DBSD_BEHAVIOUR $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR" -fi -if test "$enable_libefence" = "yes" ; then - LIBMALLOC="/usr/lib/libefence.a" -fi -if test "$enable_nls" = "yes" ; then - CFLAGS="-D__GETTEXT__ $CFLAGS" - INSTMO="inst_mo" -fi -if test "$enable_rootsbin" = "yes" ; then - ROOTSBIN="/sbin" -else - ROOTSBIN='$(prefix)/sbin' -fi - - - - - - -ac_config_files="$ac_config_files Makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -ac_script=' -t clear -:clear -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g -t quote -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g -t quote -b any -:quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g -s/\$/$$/g -H -:any -${ - g - s/^\n// - s/\n/ /g - p -} -' -DEFS=`sed -n "$ac_script" confdefs.h` - - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - -: ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 - -# Save the log message, to keep $[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF -# Files that config.status was made for. -config_files="$ac_config_files" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2006 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" - ac_need_defaults=false;; - --he | --h | --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL - export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# -# Set up the sed scripts for CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "$CONFIG_FILES"; then - -_ACEOF - - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -CPP!$CPP$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -LDAPLIBS!$LDAPLIBS$ac_delim -EXT2_DIRECT!$EXT2_DIRECT$ac_delim -EXT2LIBS!$EXT2LIBS$ac_delim -QUOTA_NETLINK_PROG!$QUOTA_NETLINK_PROG$ac_delim -NETLINKLIBS!$NETLINKLIBS$ac_delim -HOSTS_ACCESS!$HOSTS_ACCESS$ac_delim -COMPILE_OPTS!$COMPILE_OPTS$ac_delim -LIBMALLOC!$LIBMALLOC$ac_delim -INSTMO!$INSTMO$ac_delim -ROOTSBIN!$ROOTSBIN$ac_delim -LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof -_ACEOF - - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF -fi # test -n "$CONFIG_FILES" - - -for ac_tag in :F $CONFIG_FILES -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} - { (exit 1); exit 1; }; };; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - ac_file_inputs="$ac_file_inputs $ac_f" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - fi - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= - -case `sed -n '/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' $ac_file_inputs` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac - ;; - - - - esac - -done # for ac_tag - - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi - diff --git a/autom4te.cache/output.1 b/autom4te.cache/output.1 deleted file mode 100644 index 722df3a..0000000 --- a/autom4te.cache/output.1 +++ /dev/null @@ -1,5924 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.61. -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -@%:@ This configure script is free software; the Free Software Foundation -@%:@ gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell autoconf@gnu.org about your system, - echo including any error possibly output before this - echo message -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= - -ac_unique_file="quota.c" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='SHELL -PATH_SEPARATOR -PACKAGE_NAME -PACKAGE_TARNAME -PACKAGE_VERSION -PACKAGE_STRING -PACKAGE_BUGREPORT -exec_prefix -prefix -program_transform_name -bindir -sbindir -libexecdir -datarootdir -datadir -sysconfdir -sharedstatedir -localstatedir -includedir -oldincludedir -docdir -infodir -htmldir -dvidir -pdfdir -psdir -libdir -localedir -mandir -DEFS -ECHO_C -ECHO_N -ECHO_T -LIBS -build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -CPPFLAGS -ac_ct_CC -EXEEXT -OBJEXT -CPP -GREP -EGREP -INSTALL_PROGRAM -INSTALL_SCRIPT -INSTALL_DATA -LDAPLIBS -EXT2_DIRECT -EXT2LIBS -PKG_CONFIG -DBUS_CFLAGS -DBUS_LIBS -QUOTA_NETLINK_PROG -NETLINKLIBS -HOSTS_ACCESS -COMPILE_OPTS -LIBMALLOC -INSTMO -ROOTSBIN -LIB@&t@OBJS -LTLIBOBJS' -ac_subst_files='' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -PKG_CONFIG -DBUS_CFLAGS -DBUS_LIBS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=\$ac_optarg ;; - - -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -# Be sure to have absolute directory names. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { echo "$as_me: error: Working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$0" || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X"$0" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -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] - --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no. - --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try. - --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no. - --enable-altformat=yes/no Enable alternative format used by edquota default=yes. - --enable-rpc=yes/no Enable RPC support default=yes. - --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no. - --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no. - --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes. - --enable-libefence=yes/no Use Electric Fence memory checks default=no. - --enable-nls=yes/no Enable gettext dafault=yes. - --enable-rootsbin=yes/no Use /sbin for some important binaries regardless $prefix default=no. - -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 - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - PKG_CONFIG path to pkg-config utility - DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config - DBUS_LIBS linker flags for DBUS, overriding pkg-config - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.61 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -@%:@@%:@ --------- @%:@@%:@ -@%:@@%:@ Platform. @%:@@%:@ -@%:@@%:@ --------- @%:@@%:@ - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -@%:@@%:@ ----------- @%:@@%:@ -@%:@@%:@ Core tests. @%:@@%:@ -@%:@@%:@ ----------- @%:@@%:@ - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -@%:@@%:@ ---------------- @%:@@%:@ -@%:@@%:@ Cache variables. @%:@@%:@ -@%:@@%:@ ---------------- @%:@@%:@ -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -@%:@@%:@ ----------------- @%:@@%:@ -@%:@@%:@ Output variables. @%:@@%:@ -@%:@@%:@ ----------------- @%:@@%:@ -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -@%:@@%:@ ------------------- @%:@@%:@ -@%:@@%:@ File substitutions. @%:@@%:@ -@%:@@%:@ ------------------- @%:@@%:@ -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -@%:@@%:@ ----------- @%:@@%:@ -@%:@@%:@ confdefs.h. @%:@@%:@ -@%:@@%:@ ----------- @%:@@%:@ -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -n "$CONFIG_SITE"; then - set x "$CONFIG_SITE" -elif test "x$prefix" != xNONE; then - set x "$prefix/share/config.site" "$prefix/etc/config.site" -else - set x "$ac_default_prefix/share/config.site" \ - "$ac_default_prefix/etc/config.site" -fi -shift -for ac_site_file -do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - do - # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. -set dummy $ac_tool_prefix$ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - -# Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -# -# List of possible output files, starting from the most likely. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) -# only as a last resort. b.out is created by i960 compilers. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' -# -# The IRIX 6 linker writes into existing files which may not be -# executable, retaining their permissions. Remove them first so a -# subsequent execution test works. -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6; } -if test -z "$ac_file"; then - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - -rm -f a.out a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6; } - -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest$ac_cv_exeext -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 -echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } -if test "${ac_cv_objext+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } -GCC=`test $ac_compiler_gnu = yes && echo yes` -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6; } ;; - xno) - { echo "$as_me:$LINENO: result: unsupported" >&5 -echo "${ECHO_T}unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; -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 - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } -# On Suns, sometimes $CPP names a directory. -if test -n "$CPP" && test -d "$CPP"; then - CPP= -fi -if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.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 nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.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 nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.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 grep that handles long lines and -e" >&5 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Extract the first word of "grep ggrep" to use in msg output -if test -z "$GREP"; then -set dummy grep ggrep; ac_prog_name=$2 -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_path_GREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue - # Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - - $ac_path_GREP_found && break 3 - done -done - -done -IFS=$as_save_IFS - - -fi - -GREP="$ac_cv_path_GREP" -if test -z "$GREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - -else - ac_cv_path_GREP=$GREP -fi - - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ echo "$as_me:$LINENO: checking for egrep" >&5 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } -if test "${ac_cv_path_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_path_EGREP="$GREP -E" - else - # Extract the first word of "egrep" to use in msg output -if test -z "$EGREP"; then -set dummy egrep; ac_prog_name=$2 -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_path_EGREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue - # Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - - $ac_path_EGREP_found && break 3 - done -done - -done -IFS=$as_save_IFS - - -fi - -EGREP="$ac_cv_path_EGREP" -if test -z "$EGREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - -else - ac_cv_path_EGREP=$EGREP -fi - - - fi -fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#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)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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.conftest.* 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 - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - done - done - ;; -esac -done -IFS=$as_save_IFS - - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - -{ echo "$as_me:$LINENO: checking whether compiler supports PIE" >&5 -echo $ECHO_N "checking whether compiler supports PIE... $ECHO_C" >&6; } -oldCFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -fPIE" -oldLDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -pie" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - compilepie="yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test "x$compilepie" != "xyes"; then - CFLAGS="$oldCFLAGS" - LDFLAGS="$oldLDFLAGS" - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -else - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -fi - -# Check whether --enable-ldapmail was given. -if test "${enable_ldapmail+set}" = set; then - enableval=$enable_ldapmail; -else - enable_ldapmail="no" -fi - -if test "x$enable_ldapmail" != "xno"; then - have_new_ldap="no" - have_old_ldap="no" - { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap" >&5 -echo $ECHO_N "checking for ldap_initialize in -lldap... $ECHO_C" >&6; } -if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_initialize (); -int -main () -{ -return ldap_initialize (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ldap_ldap_initialize=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_initialize=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_initialize" >&5 -echo "${ECHO_T}$ac_cv_lib_ldap_ldap_initialize" >&6; } -if test $ac_cv_lib_ldap_ldap_initialize = yes; then - have_new_ldap="yes" -else - { echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 -echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6; } -if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_init (); -int -main () -{ -return ldap_init (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ldap_ldap_init=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_init=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 -echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; } -if test $ac_cv_lib_ldap_ldap_init = yes; then - have_old_ldap="yes" -fi - -fi - - if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then - LDAPLIBS="-L/usr/lib -lldap" - CFLAGS="$CFLAGS -DUSE_LDAP_MAIL_LOOKUP" - COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP" - if test "x$have_new_ldap" = "xyes"; then - CFLAGS="$CFLAGS -DUSE_LDAP_23" - { echo "$as_me:$LINENO: checking whether ldap_perror is declared" >&5 -echo $ECHO_N "checking whether ldap_perror is declared... $ECHO_C" >&6; } -if test "${ac_cv_have_decl_ldap_perror+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef ldap_perror - (void) ldap_perror; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_have_decl_ldap_perror=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_have_decl_ldap_perror=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldap_perror" >&5 -echo "${ECHO_T}$ac_cv_have_decl_ldap_perror" >&6; } -if test $ac_cv_have_decl_ldap_perror = yes; then - : -else - CFLAGS="$CFLAGS -DNEED_LDAP_PERROR" -fi - - fi - else - if test "x$enable_ldapmail" = "xyes"; then - { { echo "$as_me:$LINENO: error: LDAP support required but library not found." >&5 -echo "$as_me: error: LDAP support required but library not found." >&2;} - { (exit 1); exit 1; }; }; - fi - fi -fi - - - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -@%:@include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -@%:@define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - { echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking ext2fs/ext2fs.h usability" >&5 -echo $ECHO_N "checking ext2fs/ext2fs.h usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -@%:@include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking ext2fs/ext2fs.h presence" >&5 -echo $ECHO_N "checking ext2fs/ext2fs.h presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -echo $ECHO_N "checking for ext2fs/ext2fs.h... $ECHO_C" >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_ext2fs_ext2fs_h=$ac_header_preproc -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -echo "${ECHO_T}$ac_cv_header_ext2fs_ext2fs_h" >&6; } - -fi -if test $ac_cv_header_ext2fs_ext2fs_h = yes; then - ext2fshead="yes" -fi - - -if test "x$ext2fshead" = "xyes"; then - CFLAGS="-DHAVE_EXT2_INCLUDE $CFLAGS" - { echo "$as_me:$LINENO: checking for ext2_ino_t" >&5 -echo $ECHO_N "checking for ext2_ino_t... $ECHO_C" >&6; } - have_ext2_ino_t="no" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ext2_ino_t" >/dev/null 2>&1; then - have_ext2_ino_t="yes" -fi -rm -f conftest* - - if test "x$have_ext2_ino_t" != "xyes"; then - { echo "$as_me:$LINENO: result: not found" >&5 -echo "${ECHO_T}not found" >&6; } - else - { echo "$as_me:$LINENO: result: found" >&5 -echo "${ECHO_T}found" >&6; } - CFLAGS="-DHAVE_EXT2_INO_T $CFLAGS" - fi -fi - -# Check whether --enable-ext2direct was given. -if test "${enable_ext2direct+set}" = set; then - enableval=$enable_ext2direct; -else - enable_ext2direct="try" -fi - -if test "x$enable_ext2direct" != "xno"; then - { echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 -echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; } -if test "${ac_cv_lib_com_err_com_err+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcom_err $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char com_err (); -int -main () -{ -return com_err (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_com_err_com_err=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_com_err_com_err=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 -echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; } -if test $ac_cv_lib_com_err_com_err = yes; then - EXT2LIBS="-lcom_err $EXT2LIBS" -fi - - { echo "$as_me:$LINENO: checking for ext2fs_initialize in -lext2fs" >&5 -echo $ECHO_N "checking for ext2fs_initialize in -lext2fs... $ECHO_C" >&6; } -if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lext2fs "-lcom_err" $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ext2fs_initialize (); -int -main () -{ -return ext2fs_initialize (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ext2fs_ext2fs_initialize=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ext2fs_ext2fs_initialize=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5 -echo "${ECHO_T}$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; } -if test $ac_cv_lib_ext2fs_ext2fs_initialize = yes; then - EXT2LIBS="-lext2fs $EXT2LIBS" -fi - - if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then - if test "x$enable_ext2direct" = "xyes"; then - { { echo "$as_me:$LINENO: error: Ext2 direct support required but libraries not found." >&5 -echo "$as_me: error: Ext2 direct support required but libraries not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5 -echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;} - fi - enable_ext2direct="no" - EXT2LIBS="" - else - if test "x$ext2fshead" != "xyes"; then - if test "x$enable_ext2direct" = "xyes"; then - { { echo "$as_me:$LINENO: error: Ext2 direct support required but header files not found." >&5 -echo "$as_me: error: Ext2 direct support required but header files not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5 -echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;} - fi - enable_ext2direct="no" - EXT2LIBS="" - else - enable_ext2direct="yes" - fi - fi - if test "x$enable_ext2direct" = "xyes"; then - EXT2_DIRECT="-DEXT2_DIRECT" - COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT" - - fi -fi - - -#AC_ARG_WITH(dbus_include, -# [ --with-dbus_include=path Path to directory with dbus include directory [default=/usr/include/dbus-1.0/]], -# DBUS_INCLUDE="$with_dbus_include", -# DBUS_INCLUDE="/usr/include/dbus-1.0/") -#AC_ARG_WITH(dbus_arch_include, -# [ --with-dbus_arch_include=path Path to directory with dbus arch-dependent include directory [default=/usr/lib/dbus-1.0/include/]], -# DBUS_ARCH_INCLUDE="$with_dbus_arch_include", -# DBUS_ARCH_INCLUDE="/usr/lib/dbus-1.0/include/") - -# Check whether --enable-netlink was given. -if test "${enable_netlink+set}" = set; then - enableval=$enable_netlink; -else - enable_netlink="no" -fi - -if test "x$enable_netlink" != "xno"; then - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; 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_path_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -echo "${ECHO_T}$PKG_CONFIG" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; 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_path_ac_pt_PKG_CONFIG+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { 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; } - PKG_CONFIG="" - fi - -fi - -pkg_failed=no -{ echo "$as_me:$LINENO: checking for DBUS" >&5 -echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$DBUS_CFLAGS"; then - pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 - ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$DBUS_LIBS"; then - pkg_cv_DBUS_LIBS="$DBUS_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 - ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"` - else - DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"` - fi - # Put the nasty error message in config.log where it belongs - echo "$DBUS_PKG_ERRORS" >&5 - - { { echo "$as_me:$LINENO: error: Package requirements (dbus-1) were not met: - -$DBUS_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&5 -echo "$as_me: error: Package requirements (dbus-1) were not met: - -$DBUS_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&2;} - { (exit 1); exit 1; }; } -elif test $pkg_failed = untried; then - { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&5 -echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -else - DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS - DBUS_LIBS=$pkg_cv_DBUS_LIBS - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - : -fi - NETLINKLIBS="$DBUS_LIBS" - - { echo "$as_me:$LINENO: checking for genl_register in -lnl" >&5 -echo $ECHO_N "checking for genl_register in -lnl... $ECHO_C" >&6; } -if test "${ac_cv_lib_nl_genl_register+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char genl_register (); -int -main () -{ -return genl_register (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_nl_genl_register=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_nl_genl_register=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_nl_genl_register" >&5 -echo "${ECHO_T}$ac_cv_lib_nl_genl_register" >&6; } -if test $ac_cv_lib_nl_genl_register = yes; then - NETLINKLIBS="-lnl $NETLINKLIBS" -fi - - if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then - if test "x$enable_netlink" = "xyes"; then - { { echo "$as_me:$LINENO: error: Required libraries for quota netlink daemon not found." >&5 -echo "$as_me: error: Required libraries for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5 -echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;} - fi - enable_netlink="no" - NETLINKLIBS="" - else - CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS" - if test -z "$DBUS_LIBS"; then - if test "x$enable_netlink" = "xyes"; then - { { echo "$as_me:$LINENO: error: Required headers for quota netlink daemon not found." >&5 -echo "$as_me: error: Required headers for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } - else - { echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5 -echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;} - fi - NETLINKLIBS="" - enable_netlink="no" - else - QUOTA_NETLINK_PROG=quota_nld - fi - fi -fi - - - -{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 -echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_search_gethostbyname=$ac_res -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then - break -fi -done -if test "${ac_cv_search_gethostbyname+set}" = set; then - : -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ echo "$as_me:$LINENO: checking for host_access in -lwrap" >&5 -echo $ECHO_N "checking for host_access in -lwrap... $ECHO_C" >&6; } -if test "${ac_cv_lib_wrap_main+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - saved_LIBS="$LIBS" - LIBS="$LIBS -lwrap" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - #include - #include - #include - #include - struct request_info request; - int deny_severity, allow_severity; -int -main () -{ -hosts_access(&request); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - -fi - - -if test ${ac_cv_lib_wrap_main} = yes; then - if test "${ac_cv_header_tcpd_h+set}" = set; then - { echo "$as_me:$LINENO: checking for tcpd.h" >&5 -echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking tcpd.h usability" >&5 -echo $ECHO_N "checking tcpd.h usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -@%:@include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking tcpd.h presence" >&5 -echo $ECHO_N "checking tcpd.h presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&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 && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: tcpd.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: tcpd.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: tcpd.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: tcpd.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: tcpd.h: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: tcpd.h: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: tcpd.h: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: tcpd.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for tcpd.h" >&5 -echo $ECHO_N "checking for tcpd.h... $ECHO_C" >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_header_tcpd_h=$ac_header_preproc -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -echo "${ECHO_T}$ac_cv_header_tcpd_h" >&6; } - -fi -if test $ac_cv_header_tcpd_h = yes; then - : -else - - echo 'ERROR: could not find tcpd.h - missing TCP wrappers package' - exit 1 - -fi - - - LIBS="$LIBS -lwrap" - HOSTS_ACCESS="-DHOSTS_ACCESS" - COMPILE_OPTS="$COMPILE_OPTS HOST_ACCESS" - -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 -/* 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 cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* 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"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 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; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; 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 core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -echo "${ECHO_T}$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -@%:@define const -_ACEOF - -fi - -{ echo "$as_me:$LINENO: checking for inline" >&5 -echo $ECHO_N "checking for inline... $ECHO_C" >&6; } -if test "${ac_cv_c_inline+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_inline=$ac_kw -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 -echo "${ECHO_T}$ac_cv_c_inline" >&6; } - - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - - -# Check whether --enable-altformat was given. -if test "${enable_altformat+set}" = set; then - enableval=$enable_altformat; -else - enable_altformat="yes" -fi - -# Check whether --enable-rpc was given. -if test "${enable_rpc+set}" = set; then - enableval=$enable_rpc; -else - enable_rpc="yes" -fi - -# Check whether --enable-rpcsetquota was given. -if test "${enable_rpcsetquota+set}" = set; then - enableval=$enable_rpcsetquota; -else - enable_rpcsetquota="no" -fi - -# Check whether --enable-xfs_roothack was given. -if test "${enable_xfs_roothack+set}" = set; then - enableval=$enable_xfs_roothack; -else - enable_xfs_roothack="no" -fi - -# Check whether --enable-bsd_behaviour was given. -if test "${enable_bsd_behaviour+set}" = set; then - enableval=$enable_bsd_behaviour; -else - enable_bsd_behaviour="yes" -fi - -# Check whether --enable-libefence was given. -if test "${enable_libefence+set}" = set; then - enableval=$enable_libefence; -else - enable_libefence="no" -fi - - -# Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then - enableval=$enable_nls; -else - enable_nls="yes" -fi - -# Check whether --enable-rootsbin was given. -if test "${enable_rootsbin+set}" = set; then - enableval=$enable_rootsbin; -else - enable_rootsbin="no" -fi - - -if test "$enable_altformat" = "yes" ; then - CFLAGS="-DALT_FORMAT $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT" -fi -if test "$enable_rpc" = "yes" ; then - CFLAGS="-DRPC $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS RPC" -fi -if test "$enable_rpcsetquota" = "yes" ; then - CFLAGS="-DRPC_SETQUOTA $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA" -fi -if test "$enable_xfs_roothack" = "yes" ; then - CFLAGS="-DXFS_ROOTHACK $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK" -fi -if test "$enable_bsd_behaviour" = "yes" ; then - CFLAGS="-DBSD_BEHAVIOUR $CFLAGS" - COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR" -fi -if test "$enable_libefence" = "yes" ; then - LIBMALLOC="/usr/lib/libefence.a" -fi -if test "$enable_nls" = "yes" ; then - CFLAGS="-D__GETTEXT__ $CFLAGS" - INSTMO="inst_mo" -fi -if test "$enable_rootsbin" = "yes" ; then - ROOTSBIN="/sbin" -else - ROOTSBIN='$(prefix)/sbin' -fi - - - - - - -ac_config_files="$ac_config_files Makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -ac_script=' -t clear -:clear -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g -t quote -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g -t quote -b any -:quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g -s/\$/$$/g -H -:any -${ - g - s/^\n// - s/\n/ /g - p -} -' -DEFS=`sed -n "$ac_script" confdefs.h` - - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - -: ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -as_nl=' -' -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 - -# Save the log message, to keep $[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF -# Files that config.status was made for. -config_files="$ac_config_files" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2006 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" - ac_need_defaults=false;; - --he | --h | --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL - export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# -# Set up the sed scripts for CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "$CONFIG_FILES"; then - -_ACEOF - - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -CPP!$CPP$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -LDAPLIBS!$LDAPLIBS$ac_delim -EXT2_DIRECT!$EXT2_DIRECT$ac_delim -EXT2LIBS!$EXT2LIBS$ac_delim -PKG_CONFIG!$PKG_CONFIG$ac_delim -DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim -DBUS_LIBS!$DBUS_LIBS$ac_delim -QUOTA_NETLINK_PROG!$QUOTA_NETLINK_PROG$ac_delim -NETLINKLIBS!$NETLINKLIBS$ac_delim -HOSTS_ACCESS!$HOSTS_ACCESS$ac_delim -COMPILE_OPTS!$COMPILE_OPTS$ac_delim -LIBMALLOC!$LIBMALLOC$ac_delim -INSTMO!$INSTMO$ac_delim -ROOTSBIN!$ROOTSBIN$ac_delim -LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 65; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof -_ACEOF - - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF -fi # test -n "$CONFIG_FILES" - - -for ac_tag in :F $CONFIG_FILES -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} - { (exit 1); exit 1; }; };; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - ac_file_inputs="$ac_file_inputs $ac_f" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - fi - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= - -case `sed -n '/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' $ac_file_inputs` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac - ;; - - - - esac - -done # for ac_tag - - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi - diff --git a/autom4te.cache/output.2 b/autom4te.cache/output.2 deleted file mode 100644 index b8de232..0000000 --- a/autom4te.cache/output.2 +++ /dev/null @@ -1,6360 +0,0 @@ -@%:@! /bin/sh -@%:@ Guess values for system-dependent variables and create Makefiles. -@%:@ Generated by GNU Autoconf 2.63. -@%:@ -@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -@%:@ This configure script is free software; the Free Software Foundation -@%:@ gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell bug-autoconf@gnu.org about your system, - echo including any error possibly output before this message. - echo This can help us improve future autoconf versions. - echo Configuration will now proceed without shell functions. -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_clean_files= -ac_config_libobj_dir=. -LIB@&t@OBJS= -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= - -ac_unique_file="quota.c" -# Factoring default headers for most tests. -ac_includes_default="\ -#include -#ifdef HAVE_SYS_TYPES_H -# include -#endif -#ifdef HAVE_SYS_STAT_H -# include -#endif -#ifdef STDC_HEADERS -# include -# include -#else -# ifdef HAVE_STDLIB_H -# include -# endif -#endif -#ifdef HAVE_STRING_H -# if !defined STDC_HEADERS && defined HAVE_MEMORY_H -# include -# endif -# include -#endif -#ifdef HAVE_STRINGS_H -# include -#endif -#ifdef HAVE_INTTYPES_H -# include -#endif -#ifdef HAVE_STDINT_H -# include -#endif -#ifdef HAVE_UNISTD_H -# include -#endif" - -ac_subst_vars='LTLIBOBJS -LIB@&t@OBJS -ROOTSBIN -INSTMO -LIBMALLOC -NETLINKLIBS -QUOTA_NETLINK_PROG -DBUS_LIBS -DBUS_CFLAGS -PKG_CONFIG -EXT2LIBS -LDAPLIBS -INSTALL_DATA -INSTALL_SCRIPT -INSTALL_PROGRAM -EGREP -GREP -CPP -OBJEXT -EXEEXT -ac_ct_CC -CPPFLAGS -LDFLAGS -CFLAGS -CC -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL' -ac_subst_files='' -ac_user_opts=' -enable_option_checking -enable_ldapmail -enable_ext2direct -enable_netlink -enable_altformat -enable_rpc -enable_rpcsetquota -enable_xfs_roothack -enable_bsd_behaviour -enable_libefence -enable_nls -enable_rootsbin -enable_proc_mounts -' - ac_precious_vars='build_alias -host_alias -target_alias -CC -CFLAGS -LDFLAGS -LIBS -CPPFLAGS -CPP -PKG_CONFIG -DBUS_CFLAGS -DBUS_LIBS' - - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -ac_unrecognized_opts= -ac_unrecognized_sep= -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datarootdir='${prefix}/share' -datadir='${datarootdir}' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -includedir='${prefix}/include' -oldincludedir='/usr/include' -docdir='${datarootdir}/doc/${PACKAGE}' -infodir='${datarootdir}/info' -htmldir='${docdir}' -dvidir='${docdir}' -pdfdir='${docdir}' -psdir='${docdir}' -libdir='${exec_prefix}/lib' -localedir='${datarootdir}/locale' -mandir='${datarootdir}/man' - -ac_prev= -ac_dashdash= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=\$ac_option - ac_prev= - continue - fi - - case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=yes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=*) - datadir=$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=datarootdir ;; - -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ - | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) - datarootdir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=no ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=docdir ;; - -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) - docdir=$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=dvidir ;; - -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) - dvidir=$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval enable_$ac_useropt=\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=htmldir ;; - -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ - | --ht=*) - htmldir=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=localedir ;; - -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) - localedir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=pdfdir ;; - -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) - pdfdir=$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=psdir ;; - -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) - psdir=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } - ac_useropt_orig=$ac_useropt - ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" - ac_unrecognized_sep=', ';; - esac - eval with_$ac_useropt=no ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - eval $ac_envvar=\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 - { (exit 1); exit 1; }; } ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -ac_pwd=`pwd` && test -n "$ac_pwd" && -ac_ls_di=`ls -di .` && -ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { $as_echo "$as_me: error: working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } -test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } -fi -ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } - pwd)` -# When building in place, set srcdir=. -if test "$ac_abs_confdir" = "$ac_pwd"; then - srcdir=. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=\${${ac_var}+set} - eval ac_env_${ac_var}_value=\$${ac_var} - eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@ - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no. - --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try. - --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no. - --enable-altformat=yes/no Enable alternative format used by edquota default=yes. - --enable-rpc=yes/no Enable RPC support default=yes. - --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no. - --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no. - --enable-bsd_behaviour=yes/no Mimic BSD behaviour default=yes. - --enable-libefence=yes/no Use Electric Fence memory checks default=no. - --enable-nls=yes/no Enable gettext default=yes. - --enable-rootsbin=yes/no Use /sbin for some important binaries regardless $prefix default=no. - --enable-proc-mounts=path Use alternate file instead of /etc/mtab default=/proc/mounts. - -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 - LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if - you have headers in a nonstandard directory - CPP C preprocessor - PKG_CONFIG path to pkg-config utility - DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config - DBUS_LIBS linker flags for DBUS, overriding pkg-config - -Use these variables to override the choices made by `configure' or to help -it to find libraries and programs with nonstandard names/locations. - -_ACEOF -ac_status=$? -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.63 - -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.63. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -@%:@@%:@ --------- @%:@@%:@ -@%:@@%:@ Platform. @%:@@%:@ -@%:@@%:@ --------- @%:@@%:@ - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" -done -IFS=$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -@%:@@%:@ ----------- @%:@@%:@ -@%:@@%:@ Core tests. @%:@@%:@ -@%:@@%:@ ----------- @%:@@%:@ - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -@%:@@%:@ ---------------- @%:@@%:@ -@%:@@%:@ Cache variables. @%:@@%:@ -@%:@@%:@ ---------------- @%:@@%:@ -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo - - cat <<\_ASBOX -@%:@@%:@ ----------------- @%:@@%:@ -@%:@@%:@ Output variables. @%:@@%:@ -@%:@@%:@ ----------------- @%:@@%:@ -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -@%:@@%:@ ------------------- @%:@@%:@ -@%:@@%:@ File substitutions. @%:@@%:@ -@%:@@%:@ ------------------- @%:@@%:@ -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - $as_echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -@%:@@%:@ ----------- @%:@@%:@ -@%:@@%:@ confdefs.h. @%:@@%:@ -@%:@@%:@ ----------- @%:@@%:@ -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=NONE -ac_site_file2=NONE -if test -n "$CONFIG_SITE"; then - ac_site_file1=$CONFIG_SITE -elif test "x$prefix" != xNONE; then - ac_site_file1=$prefix/share/config.site - ac_site_file2=$prefix/etc/config.site -else - ac_site_file1=$ac_default_prefix/share/config.site - ac_site_file2=$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" = xNONE && continue - if test -r "$ac_site_file"; then - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=`echo x $ac_old_val` - ac_new_val_w=`echo x $ac_new_val` - if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - ac_cache_corrupted=: - else - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} - eval $ac_var=\$ac_old_val - fi - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - - - - - - - - - - - - - - - - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - -ac_config_headers="$ac_config_headers config.h" - - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu -if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. -set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_prog_CC"; then - ac_ct_CC=$CC - # Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -else - CC="$ac_cv_prog_CC" -fi - -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. -set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - fi -fi -if test -z "$CC"; then - # Extract the first word of "cc", so it can be a program name with args. -set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else - ac_prog_rejected=no -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -if test $ac_prog_rejected = yes; then - # We found a bogon in the path, so make sure we never use it. - set dummy $ac_cv_prog_CC - shift - if test $@%:@ != 0; then - # We chose a different compiler from the bogus one. - # However, it has the same basename, so the bogon will be chosen - # first if we set CC to just the basename; use the full file name. - shift - ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" - fi -fi -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$CC"; then - if test -n "$ac_tool_prefix"; then - for ac_prog in cl.exe - 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 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$CC"; then - ac_cv_prog_CC="$CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -CC=$ac_cv_prog_CC -if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 -$as_echo "$CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$CC" && break - done -fi -if test -z "$CC"; then - ac_ct_CC=$CC - for ac_prog in cl.exe -do - # Extract the first word of "$ac_prog", so it can be a program name with args. -set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -n "$ac_ct_CC"; then - ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. -else -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - -fi -fi -ac_ct_CC=$ac_cv_prog_ac_ct_CC -if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -$as_echo "$ac_ct_CC" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - - test -n "$ac_ct_CC" && break -done - - if test "x$ac_ct_CC" = x; then - CC="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - CC=$ac_ct_CC - fi -fi - -fi - - -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - -# Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 -set X $ac_compile -ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" -# Try to create an executable without -o first, disregard a.out. -# It will help us diagnose broken compilers, and finding out an intuition -# of exeext. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } -ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` - -# The possible output files: -ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" - -ac_rmfiles= -for ac_file in $ac_files -do - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - * ) ac_rmfiles="$ac_rmfiles $ac_file";; - esac -done -rm -f $ac_rmfiles - -if { (ac_try="$ac_link_default" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link_default") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. -# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' -# in a Makefile. We should not override ac_cv_exeext if it was cached, -# so that the user can short-circuit this test for compilers unknown to -# Autoconf. -for ac_file in $ac_files '' -do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) - ;; - [ab].out ) - # We found the default executable, but exeext='' is most - # certainly right. - break;; - *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; - then :; else - ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - fi - # We set ac_cv_exeext here because the later test for it is not - # safe: cross compilers may not add the suffix if given an `-o' - # argument, so we may need to know it at that point already. - # Even if this section looks crufty: it has the advantage of - # actually working. - break;; - * ) - break;; - esac -done -test "$ac_cv_exeext" = no && ac_cv_exeext= - -else - ac_file='' -fi - -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - fi - fi -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - -rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out -ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 -$as_echo_n "checking for suffix of executables... " >&6; } -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - # If both `conftest.exe' and `conftest' are `present' (well, observable) -# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will -# work properly (i.e., refer to `conftest.exe'), while it won't with -# `rm'. -for ac_file in conftest.exe conftest conftest.*; do - test -f "$ac_file" || continue - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; - *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` - break;; - * ) break;; - esac -done -else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest$ac_cv_exeext -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -$as_echo "$ac_cv_exeext" >&6; } - -rm -f conftest.$ac_ext -EXEEXT=$ac_cv_exeext -ac_exeext=$EXEEXT -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 -$as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - for ac_file in conftest.o conftest.obj conftest.*; do - test -f "$ac_file" || continue; - case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; - *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` - break;; - esac -done -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -fi - -rm -f conftest.$ac_cv_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -$as_echo "$ac_cv_objext" >&6; } -OBJEXT=$ac_cv_objext -ac_objext=$OBJEXT -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 -$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -#ifndef __GNUC__ - choke me -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_compiler_gnu=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -ac_cv_c_compiler_gnu=$ac_compiler_gnu - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 -$as_echo "$ac_cv_c_compiler_gnu" >&6; } -if test $ac_compiler_gnu = yes; then - GCC=yes -else - GCC= -fi -ac_test_CFLAGS=${CFLAGS+set} -ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -$as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_save_c_werror_flag=$ac_c_werror_flag - ac_c_werror_flag=yes - ac_cv_prog_cc_g=no - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_c_werror_flag=$ac_save_c_werror_flag - CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - ac_c_werror_flag=$ac_save_c_werror_flag -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -$as_echo "$ac_cv_prog_cc_g" >&6; } -if test "$ac_test_CFLAGS" = set; then - CFLAGS=$ac_save_CFLAGS -elif test $ac_cv_prog_cc_g = yes; then - if test "$GCC" = yes; then - CFLAGS="-g -O2" - else - CFLAGS="-g" - fi -else - if test "$GCC" = yes; then - CFLAGS="-O2" - else - CFLAGS= - fi -fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_prog_cc_c89=no -ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include -/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ -struct buf { int x; }; -FILE * (*rcsopen) (struct buf *, struct stat *, int); -static char *e (p, i) - char **p; - int i; -{ - return p[i]; -} -static char *f (char * (*g) (char **, int), char **p, ...) -{ - char *s; - va_list v; - va_start (v,p); - s = g (p, va_arg (v,int)); - va_end (v); - return s; -} - -/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has - function prototypes and stuff, but not '\xHH' hex character constants. - These don't provoke an error unfortunately, instead are silently treated - as 'x'. The following induces an error, until -std is added to get - proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an - array size at least. It's necessary to write '\x00'==0 to get something - that's true only with -std. */ -int osf4_cc_array ['\x00' == 0 ? 1 : -1]; - -/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters - inside strings and character constants. */ -#define FOO(x) 'x' -int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; - -int test (int i, double x); -struct s1 {int (*f) (int a);}; -struct s2 {int (*f) (double a);}; -int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); -int argc; -char **argv; -int -main () -{ -return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; - ; - return 0; -} -_ACEOF -for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ - -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" -do - CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext - test "x$ac_cv_prog_cc_c89" != "xno" && break -done -rm -f conftest.$ac_ext -CC=$ac_save_CC - -fi -# AC_CACHE_VAL -case "x$ac_cv_prog_cc_c89" in - x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 -$as_echo "none needed" >&6; } ;; - xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 -$as_echo "unsupported" >&6; } ;; - *) - CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; -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 - - -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 -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 -$as_echo_n "checking how to run the C preprocessor... " >&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 - $as_echo_n "(cached) " >&6 -else - # Double quotes because CPP needs to be expanded - for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" - do - ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_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 nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - # Passes both tests. -ac_preproc_ok=: -break -fi - -rm -f conftest.err conftest.$ac_ext - -done -# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. -rm -f conftest.err conftest.$ac_ext -if $ac_preproc_ok; then - break -fi - - done - ac_cv_prog_CPP=$CPP - -fi - CPP=$ac_cv_prog_CPP -else - ac_cv_prog_CPP=$CPP -fi -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 -$as_echo "$CPP" >&6; } -ac_preproc_ok=false -for ac_c_preproc_warn_flag in '' yes -do - # Use a header file that comes with gcc, so configuring glibc - # with a fresh cross-compiler works. - # Prefer to if __STDC__ is defined, since - # exists even on freestanding compilers. - # On the NeXT, cc -E runs the code through the compiler's parser, - # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@ifdef __STDC__ -@%:@ include -@%:@else -@%:@ include -@%:@endif - Syntax error -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_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 nonexistent headers - # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - # Broken: success on invalid input. -continue -else - $as_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 - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_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 - - -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -$as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if test -z "$GREP"; then - ac_path_GREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue -# Check for GNU ac_path_GREP and select it if it is found. - # Check for GNU $ac_path_GREP -case `"$ac_path_GREP" --version 2>&1` in -*GNU*) - ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'GREP' >> "conftest.nl" - "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_GREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_GREP="$ac_path_GREP" - ac_path_GREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_GREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_GREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_GREP=$GREP -fi - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -$as_echo "$ac_cv_path_GREP" >&6; } - GREP="$ac_cv_path_GREP" - - -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 -$as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then - $as_echo_n "(cached) " >&6 -else - if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 - then ac_cv_path_EGREP="$GREP -E" - else - if test -z "$EGREP"; then - ac_path_EGREP_found=false - # Loop through the user's path and test for each of PROGNAME-LIST - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue -# Check for GNU ac_path_EGREP and select it if it is found. - # Check for GNU $ac_path_EGREP -case `"$ac_path_EGREP" --version 2>&1` in -*GNU*) - ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; -*) - ac_count=0 - $as_echo_n 0123456789 >"conftest.in" - while : - do - cat "conftest.in" "conftest.in" >"conftest.tmp" - mv "conftest.tmp" "conftest.in" - cp "conftest.in" "conftest.nl" - $as_echo 'EGREP' >> "conftest.nl" - "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break - diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` - if test $ac_count -gt ${ac_path_EGREP_max-0}; then - # Best one so far, save it but keep looking for a better one - ac_cv_path_EGREP="$ac_path_EGREP" - ac_path_EGREP_max=$ac_count - fi - # 10*(2^10) chars as input seems more than enough - test $ac_count -gt 10 && break - done - rm -f conftest.in conftest.tmp conftest.nl conftest.out;; -esac - - $ac_path_EGREP_found && break 3 - done - done -done -IFS=$as_save_IFS - if test -z "$ac_cv_path_EGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } - fi -else - ac_cv_path_EGREP=$EGREP -fi - - fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -$as_echo "$ac_cv_path_EGREP" >&6; } - EGREP="$ac_cv_path_EGREP" - - -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -$as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#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)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -$as_echo "$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -@%:@define STDC_HEADERS 1 -_ACEOF - -fi - -ac_aux_dir= -for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } -fi - -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Find a good install program. We prefer a C program (faster), -# so one script is as good as another. But avoid the broken or -# incompatible versions: -# SysV /etc/install, /usr/sbin/install -# SunOS /usr/etc/install -# IRIX /sbin/install -# AIX /bin/install -# AmigaOS /C/install, which installs bootblocks on floppy discs -# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag -# AFS /usr/afsws/bin/install, which mishandles nonexistent args -# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" -# OS/2's system install, which has a completely different semantic -# ./install, which can be erroneously created by make from ./install.sh. -# Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 -$as_echo_n "checking for a BSD-compatible install... " >&6; } -if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - $as_echo_n "(cached) " >&6 -else - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ - /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ - /usr/ucb/* ) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - # Don't use installbsd from OSF since it installs stuff as root - # by default. - for ac_prog in ginstall scoinst install; do - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then - if test $ac_prog = install && - grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # AIX install. It has an incompatible calling convention. - : - elif test $ac_prog = install && - grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then - # program-specific install script used by HP pwplus--don't use. - : - else - rm -rf conftest.one conftest.two conftest.dir - echo one > conftest.one - echo two > conftest.two - mkdir conftest.dir - if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && - test -s conftest.one && test -s conftest.two && - test -s conftest.dir/conftest.one && - test -s conftest.dir/conftest.two - then - ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" - break 3 - fi - fi - fi - done - done - ;; -esac - -done -IFS=$as_save_IFS - -rm -rf conftest.one conftest.two conftest.dir - -fi - if test "${ac_cv_path_install+set}" = set; then - INSTALL=$ac_cv_path_install - else - # As a last resort, use the slow shell script. Don't cache a - # value for INSTALL within a source directory, because that will - # break other packages using the cache if that directory is - # removed, or if the value is a relative name. - INSTALL=$ac_install_sh - fi -fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 -$as_echo "$INSTALL" >&6; } - -# Use test -z because SunOS4 sh mishandles braces in ${var-val}. -# It thinks the first close brace ends the variable substitution. -test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' - -test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' - -test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' - - -{ $as_echo "$as_me:$LINENO: checking whether compiler supports PIE" >&5 -$as_echo_n "checking whether compiler supports PIE... " >&6; } -oldCFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -fPIE" -oldLDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -pie" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - compilepie="yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test "x$compilepie" != "xyes"; then - CFLAGS="$oldCFLAGS" - LDFLAGS="$oldLDFLAGS" - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -else - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -fi - -@%:@ Check whether --enable-ldapmail was given. -if test "${enable_ldapmail+set}" = set; then - enableval=$enable_ldapmail; -else - enable_ldapmail="no" -fi - -if test "x$enable_ldapmail" != "xno"; then - have_new_ldap="no" - have_old_ldap="no" - { $as_echo "$as_me:$LINENO: checking for ldap_initialize in -lldap" >&5 -$as_echo_n "checking for ldap_initialize in -lldap... " >&6; } -if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_initialize (); -int -main () -{ -return ldap_initialize (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_ldap_ldap_initialize=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_initialize=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_initialize" >&5 -$as_echo "$ac_cv_lib_ldap_ldap_initialize" >&6; } -if test "x$ac_cv_lib_ldap_ldap_initialize" = x""yes; then - have_new_ldap="yes" -else - { $as_echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 -$as_echo_n "checking for ldap_init in -lldap... " >&6; } -if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_init (); -int -main () -{ -return ldap_init (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_ldap_ldap_init=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_init=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 -$as_echo "$ac_cv_lib_ldap_ldap_init" >&6; } -if test "x$ac_cv_lib_ldap_ldap_init" = x""yes; then - have_old_ldap="yes" -fi - -fi - - if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then - LDAPLIBS="-L/usr/lib -lldap -llber" - -cat >>confdefs.h <<\_ACEOF -@%:@define USE_LDAP_MAIL_LOOKUP 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP" - if test "x$have_new_ldap" = "xyes"; then - -cat >>confdefs.h <<\_ACEOF -@%:@define USE_LDAP_23 1 -_ACEOF - - { $as_echo "$as_me:$LINENO: checking whether ldap_perror is declared" >&5 -$as_echo_n "checking whether ldap_perror is declared... " >&6; } -if test "${ac_cv_have_decl_ldap_perror+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef ldap_perror - (void) ldap_perror; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_have_decl_ldap_perror=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_have_decl_ldap_perror=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldap_perror" >&5 -$as_echo "$ac_cv_have_decl_ldap_perror" >&6; } -if test "x$ac_cv_have_decl_ldap_perror" = x""yes; then - : -else - -cat >>confdefs.h <<\_ACEOF -@%:@define NEED_LDAP_PERROR 1 -_ACEOF - -fi - - fi - else - if test "x$enable_ldapmail" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: LDAP support required but library not found." >&5 -$as_echo "$as_me: error: LDAP support required but library not found." >&2;} - { (exit 1); exit 1; }; }; - fi - fi -fi - - - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -@%:@include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then - cat >>confdefs.h <<_ACEOF -@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - { $as_echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -$as_echo_n "checking for ext2fs/ext2fs.h... " >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - $as_echo_n "(cached) " >&6 -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -$as_echo "$ac_cv_header_ext2fs_ext2fs_h" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking ext2fs/ext2fs.h usability" >&5 -$as_echo_n "checking ext2fs/ext2fs.h usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -@%:@include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking ext2fs/ext2fs.h presence" >&5 -$as_echo_n "checking ext2fs/ext2fs.h presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_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 -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -$as_echo_n "checking for ext2fs/ext2fs.h... " >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_header_ext2fs_ext2fs_h=$ac_header_preproc -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -$as_echo "$ac_cv_header_ext2fs_ext2fs_h" >&6; } - -fi -if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then - ext2fshead="yes" -fi - - -if test "x$ext2fshead" = "xyes"; then - -cat >>confdefs.h <<\_ACEOF -@%:@define HAVE_EXT2_INCLUDE 1 -_ACEOF - - { $as_echo "$as_me:$LINENO: checking for ext2_ino_t" >&5 -$as_echo_n "checking for ext2_ino_t... " >&6; } - have_ext2_ino_t="no" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ext2_ino_t" >/dev/null 2>&1; then - have_ext2_ino_t="yes" -fi -rm -f conftest* - - if test "x$have_ext2_ino_t" != "xyes"; then - { $as_echo "$as_me:$LINENO: result: not found" >&5 -$as_echo "not found" >&6; } - else - { $as_echo "$as_me:$LINENO: result: found" >&5 -$as_echo "found" >&6; } - -cat >>confdefs.h <<\_ACEOF -@%:@define HAVE_EXT2_INO_T 1 -_ACEOF - - fi -fi - -@%:@ Check whether --enable-ext2direct was given. -if test "${enable_ext2direct+set}" = set; then - enableval=$enable_ext2direct; -else - enable_ext2direct="try" -fi - -if test "x$enable_ext2direct" != "xno"; then - { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 -$as_echo_n "checking for com_err in -lcom_err... " >&6; } -if test "${ac_cv_lib_com_err_com_err+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcom_err $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char com_err (); -int -main () -{ -return com_err (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_com_err_com_err=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_com_err_com_err=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 -$as_echo "$ac_cv_lib_com_err_com_err" >&6; } -if test "x$ac_cv_lib_com_err_com_err" = x""yes; then - EXT2LIBS="-lcom_err $EXT2LIBS" -fi - - { $as_echo "$as_me:$LINENO: checking for ext2fs_initialize in -lext2fs" >&5 -$as_echo_n "checking for ext2fs_initialize in -lext2fs... " >&6; } -if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lext2fs "-lcom_err" $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ext2fs_initialize (); -int -main () -{ -return ext2fs_initialize (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_ext2fs_ext2fs_initialize=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ext2fs_ext2fs_initialize=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5 -$as_echo "$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; } -if test "x$ac_cv_lib_ext2fs_ext2fs_initialize" = x""yes; then - EXT2LIBS="-lext2fs $EXT2LIBS" -fi - - if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then - if test "x$enable_ext2direct" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Ext2 direct support required but libraries not found." >&5 -$as_echo "$as_me: error: Ext2 direct support required but libraries not found." >&2;} - { (exit 1); exit 1; }; } - else - { $as_echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5 -$as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;} - fi - enable_ext2direct="no" - EXT2LIBS="" - else - if test "x$ext2fshead" != "xyes"; then - if test "x$enable_ext2direct" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Ext2 direct support required but header files not found." >&5 -$as_echo "$as_me: error: Ext2 direct support required but header files not found." >&2;} - { (exit 1); exit 1; }; } - else - { $as_echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5 -$as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;} - fi - enable_ext2direct="no" - EXT2LIBS="" - else - enable_ext2direct="yes" - fi - fi - if test "x$enable_ext2direct" = "xyes"; then - -cat >>confdefs.h <<\_ACEOF -@%:@define EXT2_DIRECT 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT" - fi -fi - - -@%:@ Check whether --enable-netlink was given. -if test "${enable_netlink+set}" = set; then - enableval=$enable_netlink; -else - enable_netlink="no" -fi - -if test "x$enable_netlink" != "xno"; then - - -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - if test -n "$ac_tool_prefix"; then - # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. -set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -PKG_CONFIG=$ac_cv_path_PKG_CONFIG -if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 -$as_echo "$PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - -fi -if test -z "$ac_cv_path_PKG_CONFIG"; then - ac_pt_PKG_CONFIG=$PKG_CONFIG - # Extract the first word of "pkg-config", so it can be a program name with args. -set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 -$as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then - $as_echo_n "(cached) " >&6 -else - case $ac_pt_PKG_CONFIG in - [\\/]* | ?:[\\/]*) - ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. - ;; - *) - 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - ;; -esac -fi -ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG -if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 -$as_echo "$ac_pt_PKG_CONFIG" >&6; } -else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - - if test "x$ac_pt_PKG_CONFIG" = x; then - PKG_CONFIG="" - else - case $cross_compiling:$ac_tool_warned in -yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 -$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} -ac_tool_warned=yes ;; -esac - PKG_CONFIG=$ac_pt_PKG_CONFIG - fi -else - PKG_CONFIG="$ac_cv_path_PKG_CONFIG" -fi - -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=0.9.0 - { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 -$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - else - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } - PKG_CONFIG="" - fi - -fi - -pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5 -$as_echo_n "checking for DBUS... " >&6; } - -if test -n "$PKG_CONFIG"; then - if test -n "$DBUS_CFLAGS"; then - pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 - ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi -if test -n "$PKG_CONFIG"; then - if test -n "$DBUS_LIBS"; then - pkg_cv_DBUS_LIBS="$DBUS_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 - ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then - pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null` -else - pkg_failed=yes -fi - fi -else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"` - else - DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"` - fi - # Put the nasty error message in config.log where it belongs - echo "$DBUS_PKG_ERRORS" >&5 - - { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-1) were not met: - -$DBUS_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&5 -$as_echo "$as_me: error: Package requirements (dbus-1) were not met: - -$DBUS_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&2;} - { (exit 1); exit 1; }; } -elif test $pkg_failed = untried; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } -else - DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS - DBUS_LIBS=$pkg_cv_DBUS_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - : -fi - - { $as_echo "$as_me:$LINENO: checking for genl_register in -lnl" >&5 -$as_echo_n "checking for genl_register in -lnl... " >&6; } -if test "${ac_cv_lib_nl_genl_register+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lnl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char genl_register (); -int -main () -{ -return genl_register (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_nl_genl_register=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_nl_genl_register=no -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nl_genl_register" >&5 -$as_echo "$ac_cv_lib_nl_genl_register" >&6; } -if test "x$ac_cv_lib_nl_genl_register" = x""yes; then - NETLINKLIBS="-lnl $DBUS_LIBS" -fi - - if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then - if test "x$enable_netlink" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Required libraries for quota netlink daemon not found." >&5 -$as_echo "$as_me: error: Required libraries for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } - else - { $as_echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5 -$as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;} - fi - enable_netlink="no" - NETLINKLIBS="" - else - CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS" - if test -z "$DBUS_LIBS"; then - if test "x$enable_netlink" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Required headers for quota netlink daemon not found." >&5 -$as_echo "$as_me: error: Required headers for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } - else - { $as_echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5 -$as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;} - fi - NETLINKLIBS="" - enable_netlink="no" - else - QUOTA_NETLINK_PROG=quota_nld - fi - fi -fi - - - -{ $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 -$as_echo_n "checking for library containing gethostbyname... " >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -for ac_lib in '' nsl; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_search_gethostbyname=$ac_res -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then - break -fi -done -if test "${ac_cv_search_gethostbyname+set}" = set; then - : -else - ac_cv_search_gethostbyname=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 -$as_echo "$ac_cv_search_gethostbyname" >&6; } -ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -{ $as_echo "$as_me:$LINENO: checking for host_access in -lwrap" >&5 -$as_echo_n "checking for host_access in -lwrap... " >&6; } -if test "${ac_cv_lib_wrap_main+set}" = set; then - $as_echo_n "(cached) " >&6 -else - saved_LIBS="$LIBS" - LIBS="$LIBS -lwrap" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - - #include - #include - #include - #include - #include - struct request_info request; - int deny_severity, allow_severity; -int -main () -{ -hosts_access(&request); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - -fi - - -if test ${ac_cv_lib_wrap_main} = yes; then - if test "${ac_cv_header_tcpd_h+set}" = set; then - { $as_echo "$as_me:$LINENO: checking for tcpd.h" >&5 -$as_echo_n "checking for tcpd.h... " >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - $as_echo_n "(cached) " >&6 -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -$as_echo "$ac_cv_header_tcpd_h" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking tcpd.h usability" >&5 -$as_echo_n "checking tcpd.h usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -@%:@include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking tcpd.h presence" >&5 -$as_echo_n "checking tcpd.h presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -@%:@include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_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 -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: tcpd.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: tcpd.h: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: tcpd.h: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: tcpd.h: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: tcpd.h: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: tcpd.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for tcpd.h" >&5 -$as_echo_n "checking for tcpd.h... " >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_header_tcpd_h=$ac_header_preproc -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -$as_echo "$ac_cv_header_tcpd_h" >&6; } - -fi -if test "x$ac_cv_header_tcpd_h" = x""yes; then - : -else - - echo 'ERROR: could not find tcpd.h - missing TCP wrappers package' - exit 1 - -fi - - - LIBS="$LIBS -lwrap" - -cat >>confdefs.h <<\_ACEOF -@%:@define HOSTS_ACCESS 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS HOSTS_ACCESS" -fi - -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 -$as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -int -main () -{ -/* FIXME: Include the comments suggested by Paul. */ -#ifndef __cplusplus - /* Ultrix mips cc rejects this. */ - typedef int charset[2]; - const charset cs; - /* SunOS 4.1.1 cc rejects this. */ - char const *const *pcpcc; - char **ppc; - /* 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"; - pcpcc = &g + (g ? g-g : 0); - /* HPUX 7.0 cc rejects these. */ - ++pcpcc; - ppc = (char**) pcpcc; - pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; - char const *s = 0 ? (char *) 0 : (char const *) 0; - - *t++ = 0; - if (s) return 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; - if (!foo) return 0; - } - return !cs[0] && !zero.x; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_const=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_const=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 -$as_echo "$ac_cv_c_const" >&6; } -if test $ac_cv_c_const = no; then - -cat >>confdefs.h <<\_ACEOF -@%:@define const /**/ -_ACEOF - -fi - -{ $as_echo "$as_me:$LINENO: checking for inline" >&5 -$as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_c_inline=no -for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#ifndef __cplusplus -typedef int foo_t; -static $ac_kw foo_t static_foo () {return 0; } -$ac_kw foo_t foo () {return 0; } -#endif - -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_c_inline=$ac_kw -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - test "$ac_cv_c_inline" != no && break -done - -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 -$as_echo "$ac_cv_c_inline" >&6; } - - -case $ac_cv_c_inline in - inline | yes) ;; - *) - case $ac_cv_c_inline in - no) ac_val=;; - *) ac_val=$ac_cv_c_inline;; - esac - cat >>confdefs.h <<_ACEOF -#ifndef __cplusplus -#define inline $ac_val -#endif -_ACEOF - ;; -esac - - -@%:@ Check whether --enable-altformat was given. -if test "${enable_altformat+set}" = set; then - enableval=$enable_altformat; -else - enable_altformat="yes" -fi - -@%:@ Check whether --enable-rpc was given. -if test "${enable_rpc+set}" = set; then - enableval=$enable_rpc; -else - enable_rpc="yes" -fi - -@%:@ Check whether --enable-rpcsetquota was given. -if test "${enable_rpcsetquota+set}" = set; then - enableval=$enable_rpcsetquota; -else - enable_rpcsetquota="no" -fi - -@%:@ Check whether --enable-xfs_roothack was given. -if test "${enable_xfs_roothack+set}" = set; then - enableval=$enable_xfs_roothack; -else - enable_xfs_roothack="no" -fi - -@%:@ Check whether --enable-bsd_behaviour was given. -if test "${enable_bsd_behaviour+set}" = set; then - enableval=$enable_bsd_behaviour; -else - enable_bsd_behaviour="yes" -fi - -@%:@ Check whether --enable-libefence was given. -if test "${enable_libefence+set}" = set; then - enableval=$enable_libefence; -else - enable_libefence="no" -fi - - -@%:@ Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then - enableval=$enable_nls; -else - enable_nls="yes" -fi - -@%:@ Check whether --enable-rootsbin was given. -if test "${enable_rootsbin+set}" = set; then - enableval=$enable_rootsbin; -else - enable_rootsbin="no" -fi - -@%:@ Check whether --enable-proc-mounts was given. -if test "${enable_proc_mounts+set}" = set; then - enableval=$enable_proc_mounts; -else - enable_proc_mounts="/proc/mounts" -fi - - -if test "$enable_altformat" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -@%:@define ALT_FORMAT 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT" -fi -if test "$enable_rpc" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -@%:@define RPC 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS RPC" -fi -if test "$enable_rpcsetquota" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -@%:@define RPC_SETQUOTA 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA" -fi -if test "$enable_xfs_roothack" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -@%:@define XFS_ROOTHACK 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK" -fi -if test "$enable_bsd_behaviour" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -@%:@define BSD_BEHAVIOUR 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR" -fi -if test "$enable_libefence" = "yes" ; then - LIBMALLOC="/usr/lib/libefence.a" -fi -if test "$enable_nls" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -@%:@define USE_GETTEXT 1 -_ACEOF - - INSTMO="inst_mo" -fi -if test "$enable_proc_mounts" != "no"; then - -cat >>confdefs.h <<_ACEOF -@%:@define ALT_MTAB "$enable_proc_mounts" -_ACEOF - -fi -if test "$enable_rootsbin" = "yes" ; then - ROOTSBIN="/sbin" -else - ROOTSBIN='$(prefix)/sbin' -fi - - -cat >>confdefs.h <<_ACEOF -@%:@define COMPILE_OPTS "$COMPILE_OPTS" -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -@%:@define PACKAGE_VERSION "4.00-pre1" -_ACEOF - - - - - - - -ac_config_files="$ac_config_files Makefile" - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=' '; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file - else - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -DEFS=-DHAVE_CONFIG_H - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIB@&t@OBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - -: ${CONFIG_STATUS=./config.status} -ac_write_fail=0 -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be more Bourne compatible -DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -as_nl=' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then - as_echo='printf %s\n' - as_echo_n='printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then - as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n='/usr/ucb/echo -n' - else - as_echo_body='eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body='eval - arg=$1; - case $arg in - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n='sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo='sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - PATH_SEPARATOR=: - (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=';' - } -fi - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done -IFS=$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" = x; then - as_myself=$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } -fi - -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var -done -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -LC_ALL=C -export LC_ALL -LANGUAGE=C -export LANGUAGE - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln - else - as_ln_s='cp -p' - fi -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 - -# Save the log message, to keep $[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.63. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=$*;; -esac - -case $ac_config_headers in *" -"*) set x $ac_config_headers; shift; ac_config_headers=$*;; -esac - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -# Files that config.status was made for. -config_files="$ac_config_files" -config_headers="$ac_config_headers" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTION]... [FILE]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE - -Configuration files: -$config_files - -Configuration headers: -$config_headers - -Report bugs to ." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.63, - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2008 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd='$ac_pwd' -srcdir='$srcdir' -INSTALL='$INSTALL' -test -n "\$AWK" || AWK=awk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "X$1" : 'X\([^=]*\)='` - ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` - ac_shift=: - ;; - *) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" - ac_need_defaults=false;; - --he | --h) - # Conflict between --help and --header - { $as_echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { $as_echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" - ac_need_defaults=false ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion - shift - \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 - CONFIG_SHELL='$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX -@%:@@%:@ Running $as_me. @%:@@%:@ -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; - "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files - test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cleaned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp= - trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status -' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || -{ - $as_echo "$as_me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=' ' -ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' -else - ac_cs_awk_cr=$ac_cr -fi - -echo 'BEGIN {' >"$tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } -ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - - ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n = $ac_delim_num; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -cat >>"\$tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\).*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\).*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -_ACAWK -cat >>"\$tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] = 1 - FS = "" - -} -{ - line = $ 0 - nfields = split(line, field, "@") - substed = 0 - len = length(field[1]) - for (i = 2; i < nfields; i++) { - key = field[i] - keylen = length(key) - if (S_is_set[key]) { - value = S[key] - line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) - len += length(value) + length(field[++i]) - substed = 1 - } else - len += 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 -$as_echo "$as_me: error: could not setup config files machinery" >&2;} - { (exit 1); exit 1; }; } -_ACEOF - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/ -s/:*\${srcdir}:*/:/ -s/:*@srcdir@:*/:/ -s/^\([^=]*=[ ]*\):*/\1/ -s/:*$// -s/^[^=]*=[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -fi # test -n "$CONFIG_FILES" - -# Set up the scripts for CONFIG_HEADERS section. -# No need to generate them if there are no CONFIG_HEADERS. -# This happens for instance with `./config.status Makefile'. -if test -n "$CONFIG_HEADERS"; then -cat >"$tmp/defines.awk" <<\_ACAWK || -BEGIN { -_ACEOF - -# Transform confdefs.h into an awk script `defines.awk', embedded as -# here-document in config.status, that substitutes the proper values into -# config.h.in to produce config.h. - -# Create a delimiter string that does not exist in confdefs.h, to ease -# handling of long lines. -ac_delim='%!_!# ' -for ac_last_try in false false :; do - ac_t=`sed -n "/$ac_delim/p" confdefs.h` - if test -z "$ac_t"; then - break - elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done - -# For the awk script, D is an array of macro values keyed by name, -# likewise P contains macro parameters if any. Preserve backslash -# newline sequences. - -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -sed -n ' -s/.\{148\}/&'"$ac_delim"'/g -t rset -:rset -s/^[ ]*#[ ]*define[ ][ ]*/ / -t def -d -:def -s/\\$// -t bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3"/p -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p -d -:bsnl -s/["\\]/\\&/g -s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ -D["\1"]=" \3\\\\\\n"\\/p -t cont -s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p -t cont -d -:cont -n -s/.\{148\}/&'"$ac_delim"'/g -t clear -:clear -s/\\$// -t bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/"/p -d -:bsnlc -s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p -b cont -' >$CONFIG_STATUS || ac_write_fail=1 - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - for (key in D) D_is_set[key] = 1 - FS = "" -} -/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { - line = \$ 0 - split(line, arg, " ") - if (arg[1] == "#") { - defundef = arg[2] - mac1 = arg[3] - } else { - defundef = substr(arg[1], 2) - mac1 = arg[2] - } - split(mac1, mac2, "(") #) - macro = mac2[1] - prefix = substr(line, 1, index(line, defundef) - 1) - if (D_is_set[macro]) { - # Preserve the white space surrounding the "#". - print prefix "define", macro P[macro] D[macro] - next - } else { - # Replace #undef with comments. This is necessary, for example, - # in the case of _POSIX_SOURCE, which is predefined and required - # on some systems where configure will not decide to define it. - if (defundef == "undef") { - print "/*", prefix defundef, macro, "*/" - next - } - } -} -{ print } -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 -$as_echo "$as_me: error: could not setup config headers machinery" >&2;} - { (exit 1); exit 1; }; } -fi # test -n "$CONFIG_HEADERS" - - -eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS " -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} - { (exit 1); exit 1; }; };; - :[FH]-) ac_tag=-:-;; - :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=$IFS - IFS=: - set x $ac_tag - IFS=$ac_save_IFS - shift - ac_file=$1 - shift - - case $ac_mode in - :L) ac_source=$1;; - :[FH]) - ac_file_inputs= - for ac_f - do - case $ac_f in - -) ac_f="$tmp/stdin";; - *) # Look for the file first in the build tree, then in the source tree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; - esac || - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; - esac - case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - ac_file_inputs="$ac_file_inputs '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input='Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" != x-; then - configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement strings. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } ;; - esac - ;; - esac - - ac_dir=`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } - ac_builddir=. - -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - - case $INSTALL in - [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; - *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; - esac -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=; ac_datarootdir_seen= - -ac_sed_dataroot=' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p -' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=yes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 - ac_datarootdir_hack=' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' = `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 -ac_sed_extra="$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -s&@INSTALL@&$ac_INSTALL&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} - - rm -f "$tmp/stdin" - case $ac_file in - -) cat "$tmp/out" && rm -f "$tmp/out";; - *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; - esac \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - ;; - :H) - # - # CONFIG_HEADER - # - if test x"$ac_file" != x-; then - { - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" - } >"$tmp/config.h" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 -$as_echo "$as_me: $ac_file is unchanged" >&6;} - else - rm -f "$ac_file" - mv "$tmp/config.h" "$ac_file" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } - fi - else - $as_echo "/* $configure_input */" \ - && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 -$as_echo "$as_me: error: could not create -" >&2;} - { (exit 1); exit 1; }; } - fi - ;; - - - esac - -done # for ac_tag - - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - -test $ac_write_fail = 0 || - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} -fi - diff --git a/autom4te.cache/requests b/autom4te.cache/requests deleted file mode 100644 index 91f735f..0000000 --- a/autom4te.cache/requests +++ /dev/null @@ -1,218 +0,0 @@ -# This file was generated. -# It contains the lists of macros which have been traced. -# It can be safely removed. - -@request = ( - bless( [ - '0', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - 'configure.in' - ], - { - '_LT_AC_TAGCONFIG' => 1, - 'AM_PROG_F77_C_O' => 1, - 'm4_pattern_forbid' => 1, - 'AC_CANONICAL_TARGET' => 1, - 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_TYPE_OFF_T' => 1, - 'AC_C_VOLATILE' => 1, - 'AC_FUNC_CLOSEDIR_VOID' => 1, - 'AC_REPLACE_FNMATCH' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AC_FUNC_STAT' => 1, - 'AC_HEADER_TIME' => 1, - 'AC_FUNC_WAIT3' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'AC_STRUCT_TM' => 1, - 'AC_FUNC_LSTAT' => 1, - 'AC_TYPE_MODE_T' => 1, - 'AC_FUNC_GETMNTENT' => 1, - 'AC_FUNC_STRTOD' => 1, - 'AC_CHECK_HEADERS' => 1, - 'LT_CONFIG_LTDL_DIR' => 1, - 'AC_FUNC_STRNLEN' => 1, - 'm4_sinclude' => 1, - 'AC_PROG_CXX' => 1, - 'AC_PATH_X' => 1, - 'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1, - 'AC_PROG_AWK' => 1, - '_m4_warn' => 1, - 'AC_HEADER_STDC' => 1, - 'AC_HEADER_MAJOR' => 1, - 'AM_PROG_CXX_C_O' => 1, - 'LT_INIT' => 1, - 'AC_FUNC_ERROR_AT_LINE' => 1, - 'AC_PROG_GCC_TRADITIONAL' => 1, - 'AC_LIBSOURCE' => 1, - 'AC_FUNC_MBRTOWC' => 1, - 'AC_STRUCT_ST_BLOCKS' => 1, - 'AM_PROG_FC_C_O' => 1, - 'AC_CANONICAL_BUILD' => 1, - 'AC_TYPE_SIGNAL' => 1, - 'AC_TYPE_UID_T' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AC_CONFIG_AUX_DIR' => 1, - 'AC_PROG_MAKE_SET' => 1, - 'sinclude' => 1, - 'm4_pattern_allow' => 1, - 'AC_DEFINE_TRACE_LITERAL' => 1, - 'AC_FUNC_STRERROR_R' => 1, - 'AC_PROG_CC' => 1, - 'AC_FUNC_FORK' => 1, - 'AC_DECL_SYS_SIGLIST' => 1, - 'AC_FUNC_VPRINTF' => 1, - 'AC_FUNC_STRCOLL' => 1, - 'AC_PROG_YACC' => 1, - 'AC_SUBST_TRACE' => 1, - 'AC_INIT' => 1, - 'AC_STRUCT_TIMEZONE' => 1, - 'AC_FUNC_CHOWN' => 1, - 'AC_SUBST' => 1, - 'AC_FUNC_ALLOCA' => 1, - 'AC_FC_SRCEXT' => 1, - 'AC_CANONICAL_HOST' => 1, - 'AC_FUNC_GETPGRP' => 1, - 'AC_PROG_RANLIB' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_FUNC_SETPGRP' => 1, - 'AC_CONFIG_SUBDIRS' => 1, - 'AC_FUNC_MMAP' => 1, - 'AC_FUNC_REALLOC' => 1, - 'AC_TYPE_SIZE_T' => 1, - 'AC_REQUIRE_AUX_FILE' => 1, - 'AC_CONFIG_LINKS' => 1, - 'AC_CHECK_TYPES' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'AC_CHECK_MEMBERS' => 1, - 'AM_MAINTAINER_MODE' => 1, - 'AC_FUNC_UTIME_NULL' => 1, - 'AC_FUNC_SELECT_ARGTYPES' => 1, - 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, - 'AC_FUNC_STRFTIME' => 1, - 'AC_HEADER_STAT' => 1, - 'AC_C_INLINE' => 1, - 'AC_PROG_CPP' => 1, - 'AM_ENABLE_MULTILIB' => 1, - 'AC_TYPE_PID_T' => 1, - 'AC_C_CONST' => 1, - 'AC_PROG_LEX' => 1, - 'AC_CONFIG_FILES' => 1, - 'include' => 1, - 'AC_FUNC_SETVBUF_REVERSED' => 1, - 'AC_PROG_INSTALL' => 1, - 'AM_GNU_GETTEXT' => 1, - 'AC_FUNC_OBSTACK' => 1, - 'AC_CHECK_LIB' => 1, - 'AC_FUNC_MALLOC' => 1, - 'AC_FUNC_GETGROUPS' => 1, - 'AC_FC_FREEFORM' => 1, - 'AC_FUNC_GETLOADAVG' => 1, - 'AH_OUTPUT' => 1, - 'AC_FUNC_FSEEKO' => 1, - 'AM_PROG_CC_C_O' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_CANONICAL_SYSTEM' => 1, - 'AC_FUNC_MKTIME' => 1, - 'AC_CONFIG_HEADERS' => 1, - 'AC_HEADER_SYS_WAIT' => 1, - 'AC_FUNC_MEMCMP' => 1, - 'AC_PROG_LN_S' => 1, - 'm4_include' => 1, - 'AC_HEADER_DIRENT' => 1, - 'AC_CHECK_FUNCS' => 1 - } - ], 'Autom4te::Request' ), - bless( [ - '1', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - '/usr/share/aclocal/pkg.m4', - 'configure.in' - ], - { - 'PKG_CHECK_EXISTS' => 1, - 'm4_pattern_allow' => 1, - '_AM_AUTOCONF_VERSION' => 1, - 'm4_pattern_forbid' => 1, - 'include' => 1, - 'AC_DEFUN_ONCE' => 1, - 'm4_include' => 1, - 'PKG_PROG_PKG_CONFIG' => 1, - 'AC_DEFUN' => 1, - '_PKG_SHORT_ERRORS_SUPPORTED' => 1, - '_m4_warn' => 1, - 'PKG_CHECK_MODULES' => 1, - 'AU_DEFUN' => 1 - } - ], 'Autom4te::Request' ), - bless( [ - '2', - 1, - [ - '/usr/share/autoconf' - ], - [ - '/usr/share/autoconf/autoconf/autoconf.m4f', - 'aclocal.m4', - 'configure.in' - ], - { - 'AM_PROG_F77_C_O' => 1, - '_LT_AC_TAGCONFIG' => 1, - 'm4_pattern_forbid' => 1, - 'AC_INIT' => 1, - '_AM_COND_IF' => 1, - 'AC_CANONICAL_TARGET' => 1, - 'AC_CONFIG_LIBOBJ_DIR' => 1, - 'AC_SUBST' => 1, - 'AC_CANONICAL_HOST' => 1, - 'AC_FC_SRCEXT' => 1, - 'AC_PROG_LIBTOOL' => 1, - 'AM_INIT_AUTOMAKE' => 1, - 'AC_CONFIG_SUBDIRS' => 1, - 'AM_AUTOMAKE_VERSION' => 1, - 'LT_CONFIG_LTDL_DIR' => 1, - 'AC_REQUIRE_AUX_FILE' => 1, - 'AC_CONFIG_LINKS' => 1, - 'LT_SUPPORTED_TAG' => 1, - 'm4_sinclude' => 1, - 'AM_MAINTAINER_MODE' => 1, - 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, - '_m4_warn' => 1, - 'AM_PROG_CXX_C_O' => 1, - '_AM_COND_ENDIF' => 1, - 'AM_ENABLE_MULTILIB' => 1, - 'AC_CONFIG_FILES' => 1, - 'include' => 1, - 'LT_INIT' => 1, - 'AM_GNU_GETTEXT' => 1, - 'AC_LIBSOURCE' => 1, - 'AM_PROG_FC_C_O' => 1, - 'AC_CANONICAL_BUILD' => 1, - 'AC_FC_FREEFORM' => 1, - 'AH_OUTPUT' => 1, - '_AM_SUBST_NOTMAKE' => 1, - 'AC_CONFIG_AUX_DIR' => 1, - 'AM_PROG_CC_C_O' => 1, - 'm4_pattern_allow' => 1, - 'sinclude' => 1, - 'AM_CONDITIONAL' => 1, - 'AC_CANONICAL_SYSTEM' => 1, - 'AC_CONFIG_HEADERS' => 1, - 'AC_DEFINE_TRACE_LITERAL' => 1, - 'm4_include' => 1, - '_AM_COND_ELSE' => 1, - 'AC_SUBST_TRACE' => 1 - } - ], 'Autom4te::Request' ) - ); - diff --git a/autom4te.cache/traces.0 b/autom4te.cache/traces.0 deleted file mode 100644 index 9e9e4fc..0000000 --- a/autom4te.cache/traces.0 +++ /dev/null @@ -1,367 +0,0 @@ -m4trace:configure.in:2: -1- AC_INIT([quota.c]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:2: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:2: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([SHELL]) -m4trace:configure.in:2: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:2: -1- AC_SUBST([PATH_SEPARATOR]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_NAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_STRING]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:2: -1- AC_SUBST([exec_prefix], [NONE]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([exec_prefix]) -m4trace:configure.in:2: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:2: -1- AC_SUBST([prefix], [NONE]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([prefix]) -m4trace:configure.in:2: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:2: -1- AC_SUBST([program_transform_name], [s,x,x,]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([program_transform_name]) -m4trace:configure.in:2: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([bindir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([sbindir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([libexecdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:2: -1- AC_SUBST([datarootdir], ['${prefix}/share']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([datarootdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:2: -1- AC_SUBST([datadir], ['${datarootdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([datadir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([sysconfdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([sharedstatedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:2: -1- AC_SUBST([localstatedir], ['${prefix}/var']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([localstatedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:2: -1- AC_SUBST([includedir], ['${prefix}/include']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([includedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:2: -1- AC_SUBST([oldincludedir], ['/usr/include']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([oldincludedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], - ['${datarootdir}/doc/${PACKAGE_TARNAME}'], - ['${datarootdir}/doc/${PACKAGE}'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([docdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:2: -1- AC_SUBST([infodir], ['${datarootdir}/info']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([infodir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:2: -1- AC_SUBST([htmldir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([htmldir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:2: -1- AC_SUBST([dvidir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([dvidir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:2: -1- AC_SUBST([pdfdir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([pdfdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:2: -1- AC_SUBST([psdir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([psdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([libdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([localedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:2: -1- AC_SUBST([mandir], ['${datarootdir}/man']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([mandir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ -#undef PACKAGE_NAME]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ -#undef PACKAGE_VERSION]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT]) -m4trace:configure.in:2: -1- AC_SUBST([DEFS]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([DEFS]) -m4trace:configure.in:2: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:2: -1- AC_SUBST([ECHO_C]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_C]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:2: -1- AC_SUBST([ECHO_N]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_N]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:2: -1- AC_SUBST([ECHO_T]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_T]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:2: -1- AC_SUBST([LIBS]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:2: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:2: -1- AC_SUBST([build_alias]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([build_alias]) -m4trace:configure.in:2: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:2: -1- AC_SUBST([host_alias]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([host_alias]) -m4trace:configure.in:2: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:2: -1- AC_SUBST([target_alias]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([target_alias]) -m4trace:configure.in:2: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:5: -1- AC_PROG_CC -m4trace:configure.in:5: -1- AC_SUBST([CC]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- AC_SUBST([CFLAGS]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CFLAGS]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:5: -1- AC_SUBST([LDFLAGS]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([LDFLAGS]) -m4trace:configure.in:5: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:5: -1- AC_SUBST([LIBS]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:5: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:5: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:5: -1- AC_SUBST([CC]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- AC_SUBST([CC]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- AC_SUBST([CC]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- AC_SUBST([CC]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- AC_SUBST([ac_ct_CC]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([ac_ct_CC]) -m4trace:configure.in:5: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:5: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([EXEEXT]) -m4trace:configure.in:5: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:5: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) -m4trace:configure.in:5: -1- AC_SUBST_TRACE([OBJEXT]) -m4trace:configure.in:5: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:6: -1- AC_HEADER_STDC -m4trace:configure.in:6: -1- AC_PROG_CPP -m4trace:configure.in:6: -1- AC_SUBST([CPP]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:6: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:6: -1- AC_SUBST([CPP]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:6: -1- AC_SUBST([GREP]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([GREP]) -m4trace:configure.in:6: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:6: -1- AC_SUBST([GREP]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([GREP]) -m4trace:configure.in:6: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:6: -1- AC_SUBST([EGREP]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([EGREP]) -m4trace:configure.in:6: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:6: -1- AC_SUBST([EGREP]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([EGREP]) -m4trace:configure.in:6: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) -m4trace:configure.in:6: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:6: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS]) -m4trace:configure.in:7: -1- AC_PROG_INSTALL -m4trace:configure.in:7: -1- AC_REQUIRE_AUX_FILE([install-sh]) -m4trace:configure.in:7: -1- AC_SUBST([INSTALL_PROGRAM]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) -m4trace:configure.in:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:7: -1- AC_SUBST([INSTALL_SCRIPT]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) -m4trace:configure.in:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:7: -1- AC_SUBST([INSTALL_DATA]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([INSTALL_DATA]) -m4trace:configure.in:7: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:31: -2- AC_CHECK_LIB([ldap], [ldap_init], [have_old_ldap="yes"]) -m4trace:configure.in:31: -1- AC_CHECK_LIB([ldap], [ldap_initialize], [have_new_ldap="yes"], [{ echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 -echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6; } -if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char ldap_init (); -int -main () -{ -return ldap_init (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_ldap_ldap_init=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_init=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 -echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6; } -if test $ac_cv_lib_ldap_ldap_init = yes; then - have_old_ldap="yes" -fi -]) -m4trace:configure.in:46: -1- AC_SUBST([LDAPLIBS]) -m4trace:configure.in:46: -1- AC_SUBST_TRACE([LDAPLIBS]) -m4trace:configure.in:46: -1- m4_pattern_allow([^LDAPLIBS$]) -m4trace:configure.in:49: -1- AC_CHECK_HEADERS([sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h], [], [], [$ac_includes_default]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H]) -m4trace:configure.in:49: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H]) -m4trace:configure.in:68: -1- AC_CHECK_LIB([com_err], [com_err], [EXT2LIBS="-lcom_err $EXT2LIBS"]) -m4trace:configure.in:69: -1- AC_CHECK_LIB([ext2fs], [ext2fs_initialize], [EXT2LIBS="-lext2fs $EXT2LIBS"], [], ["-lcom_err"]) -m4trace:configure.in:94: -1- AC_SUBST([EXT2_DIRECT]) -m4trace:configure.in:94: -1- AC_SUBST_TRACE([EXT2_DIRECT]) -m4trace:configure.in:94: -1- m4_pattern_allow([^EXT2_DIRECT$]) -m4trace:configure.in:97: -1- AC_SUBST([EXT2LIBS]) -m4trace:configure.in:97: -1- AC_SUBST_TRACE([EXT2LIBS]) -m4trace:configure.in:97: -1- m4_pattern_allow([^EXT2LIBS$]) -m4trace:configure.in:116: -1- AC_CHECK_LIB([nl], [genl_register], [NETLINKLIBS="-lnl $NETLINKLIBS"]) -m4trace:configure.in:140: -1- AC_SUBST([QUOTA_NETLINK_PROG]) -m4trace:configure.in:140: -1- AC_SUBST_TRACE([QUOTA_NETLINK_PROG]) -m4trace:configure.in:140: -1- m4_pattern_allow([^QUOTA_NETLINK_PROG$]) -m4trace:configure.in:141: -1- AC_SUBST([NETLINKLIBS]) -m4trace:configure.in:141: -1- AC_SUBST_TRACE([NETLINKLIBS]) -m4trace:configure.in:141: -1- m4_pattern_allow([^NETLINKLIBS$]) -m4trace:configure.in:169: -1- AC_SUBST([HOSTS_ACCESS]) -m4trace:configure.in:169: -1- AC_SUBST_TRACE([HOSTS_ACCESS]) -m4trace:configure.in:169: -1- m4_pattern_allow([^HOSTS_ACCESS$]) -m4trace:configure.in:173: -1- AC_C_CONST -m4trace:configure.in:173: -1- AC_DEFINE_TRACE_LITERAL([const]) -m4trace:configure.in:173: -1- m4_pattern_allow([^const$]) -m4trace:configure.in:173: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ -#undef const]) -m4trace:configure.in:174: -1- AC_C_INLINE -m4trace:configure.in:174: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler - calls it, or to nothing if \'inline\' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif]) -m4trace:configure.in:242: -1- AC_SUBST([COMPILE_OPTS]) -m4trace:configure.in:242: -1- AC_SUBST_TRACE([COMPILE_OPTS]) -m4trace:configure.in:242: -1- m4_pattern_allow([^COMPILE_OPTS$]) -m4trace:configure.in:243: -1- AC_SUBST([LIBMALLOC]) -m4trace:configure.in:243: -1- AC_SUBST_TRACE([LIBMALLOC]) -m4trace:configure.in:243: -1- m4_pattern_allow([^LIBMALLOC$]) -m4trace:configure.in:244: -1- AC_SUBST([INSTMO]) -m4trace:configure.in:244: -1- AC_SUBST_TRACE([INSTMO]) -m4trace:configure.in:244: -1- m4_pattern_allow([^INSTMO$]) -m4trace:configure.in:245: -1- AC_SUBST([ROOTSBIN]) -m4trace:configure.in:245: -1- AC_SUBST_TRACE([ROOTSBIN]) -m4trace:configure.in:245: -1- m4_pattern_allow([^ROOTSBIN$]) -m4trace:configure.in:246: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:246: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:246: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:248: -1- AC_CONFIG_FILES([Makefile]) -m4trace:configure.in:248: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. -You should run autoupdate.], []) -m4trace:configure.in:248: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) -m4trace:configure.in:248: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:248: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([LTLIBOBJS]) -m4trace:configure.in:248: -1- m4_pattern_allow([^LTLIBOBJS$]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([top_builddir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([srcdir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([abs_srcdir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([top_srcdir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([abs_top_srcdir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([builddir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([abs_builddir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([abs_top_builddir]) -m4trace:configure.in:248: -1- AC_SUBST_TRACE([INSTALL]) diff --git a/autom4te.cache/traces.1 b/autom4te.cache/traces.1 deleted file mode 100644 index dd69637..0000000 --- a/autom4te.cache/traces.1 +++ /dev/null @@ -1,184 +0,0 @@ -m4trace:/usr/share/aclocal/pkg.m4:26: -1- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl -if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then - AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) -fi -if test -n "$PKG_CONFIG"; then - _pkg_min_version=m4_default([$1], [0.9.0]) - AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) - if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - AC_MSG_RESULT([yes]) - else - AC_MSG_RESULT([no]) - PKG_CONFIG="" - fi - -fi[]dnl -]) -m4trace:/usr/share/aclocal/pkg.m4:56: -1- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -if test -n "$PKG_CONFIG" && \ - AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then - m4_ifval([$2], [$2], [:]) -m4_ifvaln([$3], [else - $3])dnl -fi]) -m4trace:/usr/share/aclocal/pkg.m4:84: -1- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi[]dnl -]) -m4trace:/usr/share/aclocal/pkg.m4:104: -1- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl -AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl -AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl - -pkg_failed=no -AC_MSG_CHECKING([for $1]) - -_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) -_PKG_CONFIG([$1][_LIBS], [libs], [$2]) - -m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS -and $1[]_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details.]) - -if test $pkg_failed = yes; then - _PKG_SHORT_ERRORS_SUPPORTED - if test $_pkg_short_errors_supported = yes; then - $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` - else - $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` - fi - # Put the nasty error message in config.log where it belongs - echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD - - ifelse([$4], , [AC_MSG_ERROR(dnl -[Package requirements ($2) were not met: - -$$1_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -_PKG_TEXT -])], - [AC_MSG_RESULT([no]) - $4]) -elif test $pkg_failed = untried; then - ifelse([$4], , [AC_MSG_FAILURE(dnl -[The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -_PKG_TEXT - -To get pkg-config, see .])], - [$4]) -else - $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS - $1[]_LIBS=$pkg_cv_[]$1[]_LIBS - AC_MSG_RESULT([yes]) - ifelse([$3], , :, [$3]) -fi[]dnl -]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:2: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:2: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:2: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:5: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:6: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:7: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:7: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:7: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:46: -1- m4_pattern_allow([^LDAPLIBS$]) -m4trace:configure.in:94: -1- m4_pattern_allow([^EXT2_DIRECT$]) -m4trace:configure.in:97: -1- m4_pattern_allow([^EXT2LIBS$]) -m4trace:configure.in:113: -1- PKG_CHECK_MODULES([DBUS], [dbus-1]) -m4trace:configure.in:113: -1- PKG_PROG_PKG_CONFIG -m4trace:configure.in:113: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4trace:configure.in:113: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -m4trace:configure.in:113: -1- m4_pattern_allow([^PKG_CONFIG$]) -m4trace:configure.in:113: -1- m4_pattern_allow([^PKG_CONFIG$]) -m4trace:configure.in:113: -1- m4_pattern_allow([^DBUS_CFLAGS$]) -m4trace:configure.in:113: -1- m4_pattern_allow([^DBUS_LIBS$]) -m4trace:configure.in:113: -1- PKG_CHECK_EXISTS([dbus-1], [pkg_cv_[]DBUS_CFLAGS=`$PKG_CONFIG --[]cflags "dbus-1" 2>/dev/null`], [pkg_failed=yes]) -m4trace:configure.in:113: -1- PKG_CHECK_EXISTS([dbus-1], [pkg_cv_[]DBUS_LIBS=`$PKG_CONFIG --[]libs "dbus-1" 2>/dev/null`], [pkg_failed=yes]) -m4trace:configure.in:113: -1- _PKG_SHORT_ERRORS_SUPPORTED -m4trace:configure.in:140: -1- m4_pattern_allow([^QUOTA_NETLINK_PROG$]) -m4trace:configure.in:141: -1- m4_pattern_allow([^NETLINKLIBS$]) -m4trace:configure.in:169: -1- m4_pattern_allow([^HOSTS_ACCESS$]) -m4trace:configure.in:173: -1- m4_pattern_allow([^const$]) -m4trace:configure.in:242: -1- m4_pattern_allow([^COMPILE_OPTS$]) -m4trace:configure.in:243: -1- m4_pattern_allow([^LIBMALLOC$]) -m4trace:configure.in:244: -1- m4_pattern_allow([^INSTMO$]) -m4trace:configure.in:245: -1- m4_pattern_allow([^ROOTSBIN$]) -m4trace:configure.in:246: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:248: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. -You should run autoupdate.], []) -m4trace:configure.in:248: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:248: -1- m4_pattern_allow([^LTLIBOBJS$]) diff --git a/autom4te.cache/traces.2 b/autom4te.cache/traces.2 deleted file mode 100644 index a18ff41..0000000 --- a/autom4te.cache/traces.2 +++ /dev/null @@ -1,355 +0,0 @@ -m4trace:configure.in:2: -1- AC_INIT([quota.c]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?A[CHUM]_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([_AC_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) -m4trace:configure.in:2: -1- m4_pattern_allow([^AS_FLAGS$]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?m4_]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^dnl$]) -m4trace:configure.in:2: -1- m4_pattern_forbid([^_?AS_]) -m4trace:configure.in:2: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([SHELL]) -m4trace:configure.in:2: -1- m4_pattern_allow([^SHELL$]) -m4trace:configure.in:2: -1- AC_SUBST([PATH_SEPARATOR]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PATH_SEPARATOR]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PATH_SEPARATOR$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_NAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_TARNAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_VERSION]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_STRING]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:2: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:2: -1- AC_SUBST([exec_prefix], [NONE]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([exec_prefix]) -m4trace:configure.in:2: -1- m4_pattern_allow([^exec_prefix$]) -m4trace:configure.in:2: -1- AC_SUBST([prefix], [NONE]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([prefix]) -m4trace:configure.in:2: -1- m4_pattern_allow([^prefix$]) -m4trace:configure.in:2: -1- AC_SUBST([program_transform_name], [s,x,x,]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([program_transform_name]) -m4trace:configure.in:2: -1- m4_pattern_allow([^program_transform_name$]) -m4trace:configure.in:2: -1- AC_SUBST([bindir], ['${exec_prefix}/bin']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([bindir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^bindir$]) -m4trace:configure.in:2: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([sbindir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sbindir$]) -m4trace:configure.in:2: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([libexecdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^libexecdir$]) -m4trace:configure.in:2: -1- AC_SUBST([datarootdir], ['${prefix}/share']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([datarootdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^datarootdir$]) -m4trace:configure.in:2: -1- AC_SUBST([datadir], ['${datarootdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([datadir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^datadir$]) -m4trace:configure.in:2: -1- AC_SUBST([sysconfdir], ['${prefix}/etc']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([sysconfdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sysconfdir$]) -m4trace:configure.in:2: -1- AC_SUBST([sharedstatedir], ['${prefix}/com']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([sharedstatedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^sharedstatedir$]) -m4trace:configure.in:2: -1- AC_SUBST([localstatedir], ['${prefix}/var']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([localstatedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^localstatedir$]) -m4trace:configure.in:2: -1- AC_SUBST([includedir], ['${prefix}/include']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([includedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^includedir$]) -m4trace:configure.in:2: -1- AC_SUBST([oldincludedir], ['/usr/include']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([oldincludedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^oldincludedir$]) -m4trace:configure.in:2: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME], - ['${datarootdir}/doc/${PACKAGE_TARNAME}'], - ['${datarootdir}/doc/${PACKAGE}'])]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([docdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^docdir$]) -m4trace:configure.in:2: -1- AC_SUBST([infodir], ['${datarootdir}/info']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([infodir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^infodir$]) -m4trace:configure.in:2: -1- AC_SUBST([htmldir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([htmldir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^htmldir$]) -m4trace:configure.in:2: -1- AC_SUBST([dvidir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([dvidir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^dvidir$]) -m4trace:configure.in:2: -1- AC_SUBST([pdfdir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([pdfdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^pdfdir$]) -m4trace:configure.in:2: -1- AC_SUBST([psdir], ['${docdir}']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([psdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^psdir$]) -m4trace:configure.in:2: -1- AC_SUBST([libdir], ['${exec_prefix}/lib']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([libdir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^libdir$]) -m4trace:configure.in:2: -1- AC_SUBST([localedir], ['${datarootdir}/locale']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([localedir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^localedir$]) -m4trace:configure.in:2: -1- AC_SUBST([mandir], ['${datarootdir}/man']) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([mandir]) -m4trace:configure.in:2: -1- m4_pattern_allow([^mandir$]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_NAME$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */ -#undef PACKAGE_NAME]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_TARNAME$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */ -#undef PACKAGE_VERSION]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_STRING$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING]) -m4trace:configure.in:2: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT]) -m4trace:configure.in:2: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$]) -m4trace:configure.in:2: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT]) -m4trace:configure.in:2: -1- AC_SUBST([DEFS]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([DEFS]) -m4trace:configure.in:2: -1- m4_pattern_allow([^DEFS$]) -m4trace:configure.in:2: -1- AC_SUBST([ECHO_C]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_C]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_C$]) -m4trace:configure.in:2: -1- AC_SUBST([ECHO_N]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_N]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_N$]) -m4trace:configure.in:2: -1- AC_SUBST([ECHO_T]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([ECHO_T]) -m4trace:configure.in:2: -1- m4_pattern_allow([^ECHO_T$]) -m4trace:configure.in:2: -1- AC_SUBST([LIBS]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:2: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:2: -1- AC_SUBST([build_alias]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([build_alias]) -m4trace:configure.in:2: -1- m4_pattern_allow([^build_alias$]) -m4trace:configure.in:2: -1- AC_SUBST([host_alias]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([host_alias]) -m4trace:configure.in:2: -1- m4_pattern_allow([^host_alias$]) -m4trace:configure.in:2: -1- AC_SUBST([target_alias]) -m4trace:configure.in:2: -1- AC_SUBST_TRACE([target_alias]) -m4trace:configure.in:2: -1- m4_pattern_allow([^target_alias$]) -m4trace:configure.in:3: -1- AC_CONFIG_HEADERS([config.h]) -m4trace:configure.in:6: -1- AC_SUBST([CC]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:6: -1- AC_SUBST([CFLAGS]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CFLAGS]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CFLAGS$]) -m4trace:configure.in:6: -1- AC_SUBST([LDFLAGS]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([LDFLAGS]) -m4trace:configure.in:6: -1- m4_pattern_allow([^LDFLAGS$]) -m4trace:configure.in:6: -1- AC_SUBST([LIBS]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([LIBS]) -m4trace:configure.in:6: -1- m4_pattern_allow([^LIBS$]) -m4trace:configure.in:6: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:6: -1- AC_SUBST([CC]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:6: -1- AC_SUBST([CC]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:6: -1- AC_SUBST([CC]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:6: -1- AC_SUBST([CC]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([CC]) -m4trace:configure.in:6: -1- m4_pattern_allow([^CC$]) -m4trace:configure.in:6: -1- AC_SUBST([ac_ct_CC]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([ac_ct_CC]) -m4trace:configure.in:6: -1- m4_pattern_allow([^ac_ct_CC$]) -m4trace:configure.in:6: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([EXEEXT]) -m4trace:configure.in:6: -1- m4_pattern_allow([^EXEEXT$]) -m4trace:configure.in:6: -1- AC_SUBST([OBJEXT], [$ac_cv_objext]) -m4trace:configure.in:6: -1- AC_SUBST_TRACE([OBJEXT]) -m4trace:configure.in:6: -1- m4_pattern_allow([^OBJEXT$]) -m4trace:configure.in:7: -1- AC_SUBST([CPP]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:7: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:7: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:7: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:7: -1- AC_SUBST([CPP]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([CPP]) -m4trace:configure.in:7: -1- m4_pattern_allow([^CPP$]) -m4trace:configure.in:7: -1- AC_SUBST([GREP]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([GREP]) -m4trace:configure.in:7: -1- m4_pattern_allow([^GREP$]) -m4trace:configure.in:7: -1- AC_SUBST([EGREP]) -m4trace:configure.in:7: -1- AC_SUBST_TRACE([EGREP]) -m4trace:configure.in:7: -1- m4_pattern_allow([^EGREP$]) -m4trace:configure.in:7: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS]) -m4trace:configure.in:7: -1- m4_pattern_allow([^STDC_HEADERS$]) -m4trace:configure.in:7: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS]) -m4trace:configure.in:8: -1- AC_REQUIRE_AUX_FILE([install-sh]) -m4trace:configure.in:8: -1- AC_SUBST([INSTALL_PROGRAM]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_PROGRAM]) -m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_PROGRAM$]) -m4trace:configure.in:8: -1- AC_SUBST([INSTALL_SCRIPT]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_SCRIPT]) -m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_SCRIPT$]) -m4trace:configure.in:8: -1- AC_SUBST([INSTALL_DATA]) -m4trace:configure.in:8: -1- AC_SUBST_TRACE([INSTALL_DATA]) -m4trace:configure.in:8: -1- m4_pattern_allow([^INSTALL_DATA$]) -m4trace:configure.in:35: -1- AC_DEFINE_TRACE_LITERAL([USE_LDAP_MAIL_LOOKUP]) -m4trace:configure.in:35: -1- m4_pattern_allow([^USE_LDAP_MAIL_LOOKUP$]) -m4trace:configure.in:35: -1- AH_OUTPUT([USE_LDAP_MAIL_LOOKUP], [/* Lookup email address using LDAP */ -#undef USE_LDAP_MAIL_LOOKUP]) -m4trace:configure.in:38: -1- AC_DEFINE_TRACE_LITERAL([USE_LDAP_23]) -m4trace:configure.in:38: -1- m4_pattern_allow([^USE_LDAP_23$]) -m4trace:configure.in:38: -1- AH_OUTPUT([USE_LDAP_23], [/* LDAP 2.3 or newer installed */ -#undef USE_LDAP_23]) -m4trace:configure.in:40: -2- AC_DEFINE_TRACE_LITERAL([NEED_LDAP_PERROR]) -m4trace:configure.in:40: -2- m4_pattern_allow([^NEED_LDAP_PERROR$]) -m4trace:configure.in:40: -2- AH_OUTPUT([NEED_LDAP_PERROR], [/* ldap_perror function not declared */ -#undef NEED_LDAP_PERROR]) -m4trace:configure.in:49: -1- AC_SUBST([LDAPLIBS]) -m4trace:configure.in:49: -1- AC_SUBST_TRACE([LDAPLIBS]) -m4trace:configure.in:49: -1- m4_pattern_allow([^LDAPLIBS$]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H]) -m4trace:configure.in:52: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H]) -m4trace:configure.in:54: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXT2_INCLUDE]) -m4trace:configure.in:54: -1- m4_pattern_allow([^HAVE_EXT2_INCLUDE$]) -m4trace:configure.in:54: -1- AH_OUTPUT([HAVE_EXT2_INCLUDE], [/* Header files for e2fslib */ -#undef HAVE_EXT2_INCLUDE]) -m4trace:configure.in:62: -1- AC_DEFINE_TRACE_LITERAL([HAVE_EXT2_INO_T]) -m4trace:configure.in:62: -1- m4_pattern_allow([^HAVE_EXT2_INO_T$]) -m4trace:configure.in:62: -1- AH_OUTPUT([HAVE_EXT2_INO_T], [/* ext2fs.h defines ext2_ino_t */ -#undef HAVE_EXT2_INO_T]) -m4trace:configure.in:95: -1- AC_DEFINE_TRACE_LITERAL([EXT2_DIRECT]) -m4trace:configure.in:95: -1- m4_pattern_allow([^EXT2_DIRECT$]) -m4trace:configure.in:95: -1- AH_OUTPUT([EXT2_DIRECT], [/* Scanning of ext? filesystems using e2fslib */ -#undef EXT2_DIRECT]) -m4trace:configure.in:99: -1- AC_SUBST([EXT2LIBS]) -m4trace:configure.in:99: -1- AC_SUBST_TRACE([EXT2LIBS]) -m4trace:configure.in:99: -1- m4_pattern_allow([^EXT2LIBS$]) -m4trace:configure.in:106: -1- m4_pattern_forbid([^_?PKG_[A-Z_]+$]) -m4trace:configure.in:106: -1- m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) -m4trace:configure.in:106: -1- AC_SUBST([PKG_CONFIG]) -m4trace:configure.in:106: -1- AC_SUBST_TRACE([PKG_CONFIG]) -m4trace:configure.in:106: -1- m4_pattern_allow([^PKG_CONFIG$]) -m4trace:configure.in:106: -1- AC_SUBST([PKG_CONFIG]) -m4trace:configure.in:106: -1- AC_SUBST_TRACE([PKG_CONFIG]) -m4trace:configure.in:106: -1- m4_pattern_allow([^PKG_CONFIG$]) -m4trace:configure.in:106: -1- AC_SUBST([DBUS_CFLAGS]) -m4trace:configure.in:106: -1- AC_SUBST_TRACE([DBUS_CFLAGS]) -m4trace:configure.in:106: -1- m4_pattern_allow([^DBUS_CFLAGS$]) -m4trace:configure.in:106: -1- AC_SUBST([DBUS_LIBS]) -m4trace:configure.in:106: -1- AC_SUBST_TRACE([DBUS_LIBS]) -m4trace:configure.in:106: -1- m4_pattern_allow([^DBUS_LIBS$]) -m4trace:configure.in:132: -1- AC_SUBST([QUOTA_NETLINK_PROG]) -m4trace:configure.in:132: -1- AC_SUBST_TRACE([QUOTA_NETLINK_PROG]) -m4trace:configure.in:132: -1- m4_pattern_allow([^QUOTA_NETLINK_PROG$]) -m4trace:configure.in:133: -1- AC_SUBST([NETLINKLIBS]) -m4trace:configure.in:133: -1- AC_SUBST_TRACE([NETLINKLIBS]) -m4trace:configure.in:133: -1- m4_pattern_allow([^NETLINKLIBS$]) -m4trace:configure.in:159: -1- AC_DEFINE_TRACE_LITERAL([HOSTS_ACCESS]) -m4trace:configure.in:159: -1- m4_pattern_allow([^HOSTS_ACCESS$]) -m4trace:configure.in:159: -1- AH_OUTPUT([HOSTS_ACCESS], [/* Use hosts.allow and hosts.deny for access checking of rpc.rquotad */ -#undef HOSTS_ACCESS]) -m4trace:configure.in:164: -1- AC_DEFINE_TRACE_LITERAL([const]) -m4trace:configure.in:164: -1- m4_pattern_allow([^const$]) -m4trace:configure.in:164: -1- AH_OUTPUT([const], [/* Define to empty if `const\' does not conform to ANSI C. */ -#undef const]) -m4trace:configure.in:165: -1- AH_OUTPUT([inline], [/* Define to `__inline__\' or `__inline\' if that\'s what the C compiler - calls it, or to nothing if \'inline\' is not supported under any name. */ -#ifndef __cplusplus -#undef inline -#endif]) -m4trace:configure.in:206: -1- AC_DEFINE_TRACE_LITERAL([ALT_FORMAT]) -m4trace:configure.in:206: -1- m4_pattern_allow([^ALT_FORMAT$]) -m4trace:configure.in:206: -1- AH_OUTPUT([ALT_FORMAT], [/* Alternative file format of edquota */ -#undef ALT_FORMAT]) -m4trace:configure.in:210: -1- AC_DEFINE_TRACE_LITERAL([RPC]) -m4trace:configure.in:210: -1- m4_pattern_allow([^RPC$]) -m4trace:configure.in:210: -1- AH_OUTPUT([RPC], [/* Support for RPC */ -#undef RPC]) -m4trace:configure.in:214: -1- AC_DEFINE_TRACE_LITERAL([RPC_SETQUOTA]) -m4trace:configure.in:214: -1- m4_pattern_allow([^RPC_SETQUOTA$]) -m4trace:configure.in:214: -1- AH_OUTPUT([RPC_SETQUOTA], [/* Allow setting of quotas over RPC */ -#undef RPC_SETQUOTA]) -m4trace:configure.in:218: -1- AC_DEFINE_TRACE_LITERAL([XFS_ROOTHACK]) -m4trace:configure.in:218: -1- m4_pattern_allow([^XFS_ROOTHACK$]) -m4trace:configure.in:218: -1- AH_OUTPUT([XFS_ROOTHACK], [/* Assume quota mount options for root filesystem */ -#undef XFS_ROOTHACK]) -m4trace:configure.in:222: -1- AC_DEFINE_TRACE_LITERAL([BSD_BEHAVIOUR]) -m4trace:configure.in:222: -1- m4_pattern_allow([^BSD_BEHAVIOUR$]) -m4trace:configure.in:222: -1- AH_OUTPUT([BSD_BEHAVIOUR], [/* Check rights to query / set quotas before calling quotactl */ -#undef BSD_BEHAVIOUR]) -m4trace:configure.in:229: -1- AC_DEFINE_TRACE_LITERAL([USE_GETTEXT]) -m4trace:configure.in:229: -1- m4_pattern_allow([^USE_GETTEXT$]) -m4trace:configure.in:229: -1- AH_OUTPUT([USE_GETTEXT], [/* Use gettext to translate messages */ -#undef USE_GETTEXT]) -m4trace:configure.in:233: -1- AC_DEFINE_TRACE_LITERAL([ALT_MTAB]) -m4trace:configure.in:233: -1- m4_pattern_allow([^ALT_MTAB$]) -m4trace:configure.in:233: -1- AH_OUTPUT([ALT_MTAB], [/* File with mounted filesystems */ -#undef ALT_MTAB]) -m4trace:configure.in:241: -1- AC_DEFINE_TRACE_LITERAL([COMPILE_OPTS]) -m4trace:configure.in:241: -1- m4_pattern_allow([^COMPILE_OPTS$]) -m4trace:configure.in:241: -1- AH_OUTPUT([COMPILE_OPTS], [/* Configuration options */ -#undef COMPILE_OPTS]) -m4trace:configure.in:242: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION]) -m4trace:configure.in:242: -1- m4_pattern_allow([^PACKAGE_VERSION$]) -m4trace:configure.in:242: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Version of quota tools */ -#undef PACKAGE_VERSION]) -m4trace:configure.in:244: -1- AC_SUBST([LIBMALLOC]) -m4trace:configure.in:244: -1- AC_SUBST_TRACE([LIBMALLOC]) -m4trace:configure.in:244: -1- m4_pattern_allow([^LIBMALLOC$]) -m4trace:configure.in:245: -1- AC_SUBST([INSTMO]) -m4trace:configure.in:245: -1- AC_SUBST_TRACE([INSTMO]) -m4trace:configure.in:245: -1- m4_pattern_allow([^INSTMO$]) -m4trace:configure.in:246: -1- AC_SUBST([ROOTSBIN]) -m4trace:configure.in:246: -1- AC_SUBST_TRACE([ROOTSBIN]) -m4trace:configure.in:246: -1- m4_pattern_allow([^ROOTSBIN$]) -m4trace:configure.in:247: -1- AC_SUBST([CPPFLAGS]) -m4trace:configure.in:247: -1- AC_SUBST_TRACE([CPPFLAGS]) -m4trace:configure.in:247: -1- m4_pattern_allow([^CPPFLAGS$]) -m4trace:configure.in:249: -1- AC_CONFIG_FILES([Makefile]) -m4trace:configure.in:249: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments. -You should run autoupdate.], []) -m4trace:configure.in:249: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([LIB@&t@OBJS]) -m4trace:configure.in:249: -1- m4_pattern_allow([^LIB@&t@OBJS$]) -m4trace:configure.in:249: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([LTLIBOBJS]) -m4trace:configure.in:249: -1- m4_pattern_allow([^LTLIBOBJS$]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([top_builddir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([top_build_prefix]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([srcdir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([abs_srcdir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([top_srcdir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([abs_top_srcdir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([builddir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([abs_builddir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([abs_top_builddir]) -m4trace:configure.in:249: -1- AC_SUBST_TRACE([INSTALL]) diff --git a/configure b/configure index 6786250..feef818 100755 --- a/configure +++ b/configure @@ -1,18 +1,22 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.63. +# Generated by GNU Autoconf 2.65. +# # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. +# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# +# # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which @@ -20,23 +24,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - as_nl=' ' export as_nl @@ -44,7 +40,13 @@ export as_nl as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else @@ -55,7 +57,7 @@ else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; - case $arg in + case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; @@ -78,13 +80,6 @@ if test "${PATH_SEPARATOR+set}" != set; then } fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - # IFS # We need space, tab and new line, in precisely that order. Quoting is @@ -94,15 +89,15 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -114,12 +109,16 @@ if test "x$as_myself" = x; then fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' @@ -131,330 +130,299 @@ export LC_ALL LANGUAGE=C export LANGUAGE -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - # CDPATH. -$as_unset CDPATH - +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST else - as_have_required=no + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac fi - - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes else - exitcode=1 - echo positional parameters were not saved. + as_have_required=no fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - case $as_dir in + as_found=: + case $as_dir in #( /*) for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi done;; esac + as_found=false done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } IFS=$as_save_IFS - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi - - -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done + if test "x$CONFIG_SHELL" != x; then : + # We cannot yet assume a decent shell, so we have to provide a + # neutralization value for shells without unset; and this also + # works around shells that cannot unset nonexistent variables. + BASH_ENV=/dev/null + ENV=/dev/null + (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 fi - - fi - fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ -exitcode=0 -if as_func_success; then - : + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' else - exitcode=1 - echo as_func_success failed. -fi + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi -if as_func_ret_success; then - : +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr else - exitcode=1 - echo as_func_ret_success failed. + as_expr=false fi -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false fi -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname else - exitcode=1 - echo positional parameters were not saved. + as_dirname=false fi -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell bug-autoconf@gnu.org about your system, - echo including any error possibly output before this message. - echo This can help us improve future autoconf versions. - echo Configuration will now proceed without shell functions. -} - +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= @@ -471,8 +439,7 @@ test \$exitcode = 0") || { s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the @@ -482,29 +449,18 @@ test \$exitcode = 0") || { exit } - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in +case `echo -n x` in #((((( -n*) - case `echo 'x\c'` in + case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then @@ -534,7 +490,7 @@ rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then - as_mkdir_p=: + as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false @@ -553,10 +509,10 @@ else if test -d "$1"; then test -d "$1/."; else - case $1 in + case $1 in #( -*)set "./$1";; esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' @@ -570,8 +526,8 @@ as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - -exec 7<&0 &1 +test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, @@ -589,7 +545,6 @@ cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME= @@ -597,6 +552,7 @@ PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= +PACKAGE_URL= ac_unique_file="quota.c" # Factoring default headers for most tests. @@ -637,6 +593,7 @@ ac_includes_default="\ ac_subst_vars='LTLIBOBJS LIBOBJS +STRIP ROOTSBIN INSTMO LIBMALLOC @@ -690,6 +647,7 @@ bindir program_transform_name prefix exec_prefix +PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION @@ -700,10 +658,11 @@ SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking +enable_static_link +enable_strip_binaries enable_ldapmail enable_ext2direct enable_netlink -enable_altformat enable_rpc enable_rpcsetquota enable_xfs_roothack @@ -833,8 +792,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -860,8 +818,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1065,8 +1022,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1082,8 +1038,7 @@ do ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 - { (exit 1); exit 1; }; } + as_fn_error "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in @@ -1113,17 +1068,17 @@ do | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; - -*) { $as_echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } + -*) as_fn_error "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information." ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error "invalid variable name: \`$ac_envvar'" ;; + esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; @@ -1140,15 +1095,13 @@ done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { $as_echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } + as_fn_error "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; - fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 - { (exit 1); exit 1; }; } ;; + fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi @@ -1171,8 +1124,7 @@ do [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } + as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' @@ -1202,11 +1154,9 @@ test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { $as_echo "$as_me: error: working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } + as_fn_error "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } + as_fn_error "pwd does not report name of working directory" # Find the source files, if location was not specified. @@ -1245,13 +1195,11 @@ else fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } + as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then @@ -1344,10 +1292,11 @@ Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] + --enable-static-link=yes/no Link all binaries statically default=no. + --enable-strip-binaries=yes/no Strip binaries while installing them default=yes. --enable-ldapmail=yes/no/try Enable ldap mail address lookups default=no. --enable-ext2direct=yes/no/try Enable scanning of EXT2/EXT3 filesystem using e2fslib default=try. --enable-netlink=yes/no/try Compile daemon receiving quota messages via netlink default=no. - --enable-altformat=yes/no Enable alternative format used by edquota default=yes. --enable-rpc=yes/no Enable RPC support default=yes. --enable-rpcsetquota=yes/no Use RPC for setting quotas default=no. --enable-xfs_roothack=yes/no Support old XFS root filesystems default=no. @@ -1363,7 +1312,7 @@ Some influential environment variables: LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility @@ -1373,84 +1322,408 @@ Some influential environment variables: Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. +Report bugs to the package provider. +_ACEOF +ac_status=$? +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + cd "$ac_dir" || { ac_status=$?; continue; } + # Check for guested configure. + if test -f "$ac_srcdir/configure.gnu"; then + echo && + $SHELL "$ac_srcdir/configure.gnu" --help=recursive + elif test -f "$ac_srcdir/configure"; then + echo && + $SHELL "$ac_srcdir/configure" --help=recursive + else + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi || ac_status=$? + cd "$ac_pwd" || { ac_status=$?; break; } + done +fi + +test -n "$ac_init_help" && exit $ac_status +if $ac_init_version; then + cat <<\_ACEOF +configure +generated by GNU Autoconf 2.65 + +Copyright (C) 2009 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit +fi + +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } >/dev/null && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_cpp + +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_run + +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + $as_test_x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + as_fn_set_status $ac_retval + +} # ac_fn_c_try_link + +# ac_fn_c_check_decl LINENO SYMBOL VAR +# ------------------------------------ +# Tests whether SYMBOL is declared, setting cache variable VAR accordingly. +ac_fn_c_check_decl () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5 +$as_echo_n "checking whether $2 is declared... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +#ifndef $2 + (void) $2; +#endif + + ; + return 0; +} _ACEOF -ac_status=$? +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || - continue - ac_builddir=. +} # ac_fn_c_check_decl -case "$ac_dir" in -.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; -*) - ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=. ac_top_build_prefix= ;; - *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=$ac_pwd -ac_abs_builddir=$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=$ac_top_build_prefix +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } -case $srcdir in - .) # We are building in place. - ac_srcdir=. - ac_top_srcdir=$ac_top_builddir_sub - ac_abs_top_srcdir=$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir - ac_abs_top_srcdir=$srcdir ;; - *) # Relative name. - ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } - cd "$ac_dir" || { ac_status=$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=recursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=recursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi || ac_status=$? - cd "$ac_pwd" || { ac_status=$?; break; } - done +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } fi + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.63 +} # ac_fn_c_check_header_mongrel -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> _ACEOF - exit +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} + +} # ac_fn_c_check_header_compile cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.63. Invocation command line was +generated by GNU Autoconf 2.65. Invocation command line was $ $0 $@ @@ -1486,8 +1759,8 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - $as_echo "PATH: $as_dir" -done + $as_echo "PATH: $as_dir" + done IFS=$as_save_IFS } >&5 @@ -1524,9 +1797,9 @@ do ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" + as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else @@ -1542,13 +1815,13 @@ do -* ) ac_must_keep_next=true ;; esac fi - ac_configure_args="$ac_configure_args '$ac_arg'" + as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there @@ -1573,13 +1846,13 @@ _ASBOX case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; + *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done @@ -1651,39 +1924,41 @@ _ASBOX exit $exit_status ' 0 for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h +$as_echo "/* confdefs.h */" > confdefs.h + # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF - cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. @@ -1701,8 +1976,8 @@ fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue - if test -r "$ac_site_file"; then - { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" @@ -1710,10 +1985,10 @@ $as_echo "$as_me: loading site script $ac_site_file" >&6;} done if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 + # Some versions of bash will fail to source /dev/null (special files + # actually), so we avoid doing that. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; @@ -1721,7 +1996,7 @@ $as_echo "$as_me: loading cache $cache_file" >&6;} esac fi else - { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi @@ -1736,11 +2011,11 @@ for ac_var in $ac_precious_vars; do eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) - { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; @@ -1750,17 +2025,17 @@ $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then - { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else - { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi - { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac @@ -1772,35 +2047,20 @@ $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then - { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi - - - - - - - - - - - - - - - - +## -------------------- ## +## Main body of script. ## +## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -1820,9 +2080,9 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -1833,24 +2093,24 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -1860,9 +2120,9 @@ if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -1873,24 +2133,24 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -1899,7 +2159,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -1913,9 +2173,9 @@ if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -1926,24 +2186,24 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -1953,9 +2213,9 @@ fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -1967,18 +2227,18 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then @@ -1997,10 +2257,10 @@ fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2012,9 +2272,9 @@ if test -z "$CC"; then 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 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_CC+set}" = set; then +if test "${ac_cv_prog_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then @@ -2025,24 +2285,24 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { $as_echo "$as_me:$LINENO: result: $CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2056,9 +2316,9 @@ if test -z "$CC"; then do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_prog_ac_ct_CC+set}" = set; then +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then @@ -2069,24 +2329,24 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -2099,7 +2359,7 @@ done else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -2110,57 +2370,37 @@ fi fi -test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: no acceptable C compiler found in \$PATH -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error "no acceptable C compiler found in \$PATH +See \`config.log' for more details." "$LINENO" 5; } # Provide some information about the compiler. -$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compiler -V >&5") 2>&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2176,8 +2416,8 @@ ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: @@ -2193,17 +2433,17 @@ do done rm -f $ac_rmfiles -if { (ac_try="$ac_link_default" +if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -2220,7 +2460,7 @@ do # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -2239,84 +2479,42 @@ test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi - -{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 -$as_echo "$ac_file" >&6; } -if test -z "$ac_file"; then - $as_echo "$as_me: failed program was:" >&5 +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; }; } +{ as_fn_set_status 77 +as_fn_error "C compiler cannot create executables +See \`config.log' for more details." "$LINENO" 5; }; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } fi - +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -$as_echo_n "checking whether the C compiler works... " >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } - fi - fi -fi -{ $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } - rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -$as_echo_n "checking whether we are cross compiling... " >&6; } -{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 -$as_echo "$cross_compiling" >&6; } - -{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } -if { (ac_try="$ac_link" +if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -2331,32 +2529,83 @@ for ac_file in conftest.exe conftest conftest.*; do esac done else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." "$LINENO" 5; } fi - -rm -f conftest$ac_cv_exeext -{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} +_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } -if test "${ac_cv_objext+set}" = set; then +if test "${ac_cv_objext+set}" = set; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2368,17 +2617,17 @@ main () } _ACEOF rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" +if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in @@ -2391,31 +2640,23 @@ else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 -{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error "cannot compute suffix of object files: cannot compile +See \`config.log' for more details." "$LINENO" 5; } fi - rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } -if test "${ac_cv_c_compiler_gnu+set}" = set; then +if test "${ac_cv_c_compiler_gnu+set}" = set; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2426,40 +2667,19 @@ main () #endif ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no + ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes @@ -2468,20 +2688,16 @@ else fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then +if test "${ac_cv_prog_cc_g+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2492,35 +2708,11 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2531,36 +2723,12 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_compile "$LINENO"; then : - ac_c_werror_flag=$ac_save_c_werror_flag +else + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2571,42 +2739,17 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS @@ -2623,18 +2766,14 @@ else CFLAGS= fi fi -{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then +if test "${ac_cv_prog_cc_c89+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -2691,32 +2830,9 @@ for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then + if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done @@ -2727,17 +2843,19 @@ fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { $as_echo "$as_me:$LINENO: result: none needed" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) - { $as_echo "$as_me:$LINENO: result: unsupported" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac +if test "x$ac_cv_prog_cc_c89" != xno; then : +fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -2751,14 +2869,14 @@ 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 -{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&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 + if test "${ac_cv_prog_CPP+set}" = set; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded @@ -2773,11 +2891,7 @@ do # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include @@ -2786,78 +2900,34 @@ cat >>conftest.$ac_ext <<_ACEOF #endif Syntax error _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_cpp "$LINENO"; then : +else # Broken: fails on valid input. continue fi - rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else - $as_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 +if $ac_preproc_ok; then : break fi @@ -2869,7 +2939,7 @@ fi else ac_cv_prog_CPP=$CPP fi -{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes @@ -2880,11 +2950,7 @@ do # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include @@ -2893,87 +2959,40 @@ cat >>conftest.$ac_ext <<_ACEOF #endif Syntax error _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_cpp "$LINENO"; then : +else # Broken: fails on valid input. continue fi - rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else - $as_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 - : +if $ac_preproc_ok; then : + else - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +as_fn_error "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." "$LINENO" 5; } fi ac_ext=c @@ -2983,9 +3002,9 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } -if test "${ac_cv_path_GREP+set}" = set; then +if test "${ac_cv_path_GREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then @@ -2996,7 +3015,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do + for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue @@ -3016,7 +3035,7 @@ case `"$ac_path_GREP" --version 2>&1` in $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` + as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" @@ -3031,26 +3050,24 @@ esac $ac_path_GREP_found && break 3 done done -done + done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then +if test "${ac_cv_path_EGREP+set}" = set; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 @@ -3064,7 +3081,7 @@ for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do + for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue @@ -3084,7 +3101,7 @@ case `"$ac_path_EGREP" --version 2>&1` in $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` + as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" @@ -3099,12 +3116,10 @@ esac $ac_path_EGREP_found && break 3 done done -done + done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then - { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP @@ -3112,21 +3127,17 @@ fi fi fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" -{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } -if test "${ac_cv_header_stdc+set}" = set; then +if test "${ac_cv_header_stdc+set}" = set; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -3141,48 +3152,23 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no + ac_cv_header_stdc=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : + $EGREP "memchr" >/dev/null 2>&1; then : + else ac_cv_header_stdc=no fi @@ -3192,18 +3178,14 @@ fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : + $EGREP "free" >/dev/null 2>&1; then : + else ac_cv_header_stdc=no fi @@ -3213,14 +3195,10 @@ 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 + if test "$cross_compiling" = yes; then : : else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -3247,74 +3225,37 @@ main () return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - $as_echo "$as_me: program exited with status $ac_status" >&5 -$as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_run "$LINENO"; then : -( exit $ac_status ) -ac_cv_header_stdc=no +else + ac_cv_header_stdc=no fi -rm -rf conftest.dSYM -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF +$as_echo "#define STDC_HEADERS 1" >>confdefs.h fi ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do - if test -f "$ac_dir/install-sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f "$ac_dir/install.sh"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f "$ac_dir/shtool"; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi + for ac_t in install-sh install.sh shtool; do + if test -f "$ac_dir/$ac_t"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/$ac_t -c" + break 2 + fi + done done if test -z "$ac_aux_dir"; then - { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 -$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, @@ -3340,10 +3281,10 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. -{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then +if test "${ac_cv_path_install+set}" = set; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR @@ -3351,11 +3292,11 @@ for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. @@ -3392,7 +3333,7 @@ case $as_dir/ in ;; esac -done + done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir @@ -3408,7 +3349,7 @@ fi INSTALL=$ac_install_sh fi fi -{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. @@ -3420,17 +3361,21 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' -{ $as_echo "$as_me:$LINENO: checking whether compiler supports PIE" >&5 +# Check whether --enable-static-link was given. +if test "${enable_static_link+set}" = set; then : + enableval=$enable_static_link; +else + enable_static_link="no" +fi + +if test "x$enable_static_link" != "xyes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports PIE" >&5 $as_echo_n "checking whether compiler supports PIE... " >&6; } -oldCFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -fPIE" -oldLDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -pie" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + oldCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fPIE" + oldLDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -pie" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3441,50 +3386,40 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : compilepie="yes" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if test "x$compilepie" != "xyes"; then + CFLAGS="$oldCFLAGS" + LDFLAGS="$oldLDFLAGS" + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } + fi else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - + CFLAGS="$CFLAGS -static" + LDFLAGS="$LDFLAGS -static" +fi +# Check whether --enable-strip-binaries was given. +if test "${enable_strip_binaries+set}" = set; then : + enableval=$enable_strip_binaries; +else + enable_strip="yes" fi -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -if test "x$compilepie" != "xyes"; then - CFLAGS="$oldCFLAGS" - LDFLAGS="$oldLDFLAGS" - { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } +if test "x$enable_strip" = "xyes"; then + STRIP="-s" else - { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } + STRIP="" fi # Check whether --enable-ldapmail was given. -if test "${enable_ldapmail+set}" = set; then +if test "${enable_ldapmail+set}" = set; then : enableval=$enable_ldapmail; else enable_ldapmail="no" @@ -3493,18 +3428,14 @@ fi if test "x$enable_ldapmail" != "xno"; then have_new_ldap="no" have_old_ldap="no" - { $as_echo "$as_me:$LINENO: checking for ldap_initialize in -lldap" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap" >&5 $as_echo_n "checking for ldap_initialize in -lldap... " >&6; } -if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then +if test "${ac_cv_lib_ldap_ldap_initialize+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -3522,57 +3453,28 @@ return ldap_initialize (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ldap_ldap_initialize=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_initialize=no + ac_cv_lib_ldap_ldap_initialize=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_initialize" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_initialize" >&5 $as_echo "$ac_cv_lib_ldap_ldap_initialize" >&6; } -if test "x$ac_cv_lib_ldap_ldap_initialize" = x""yes; then +if test "x$ac_cv_lib_ldap_ldap_initialize" = x""yes; then : have_new_ldap="yes" else - { $as_echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_init in -lldap" >&5 $as_echo_n "checking for ldap_init in -lldap... " >&6; } -if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then +if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lldap $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -3590,43 +3492,18 @@ return ldap_init (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ldap_ldap_init=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ldap_ldap_init=no + ac_cv_lib_ldap_ldap_init=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_ldap_init" >&5 $as_echo "$ac_cv_lib_ldap_ldap_init" >&6; } -if test "x$ac_cv_lib_ldap_ldap_init" = x""yes; then +if test "x$ac_cv_lib_ldap_ldap_init" = x""yes; then : have_old_ldap="yes" fi @@ -3635,87 +3512,27 @@ fi if test "x$have_new_ldap" != "xno" -o "x$have_old_ldap" != "xno"; then LDAPLIBS="-L/usr/lib -lldap -llber" -cat >>confdefs.h <<\_ACEOF -#define USE_LDAP_MAIL_LOOKUP 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP" - if test "x$have_new_ldap" = "xyes"; then - -cat >>confdefs.h <<\_ACEOF -#define USE_LDAP_23 1 -_ACEOF - - { $as_echo "$as_me:$LINENO: checking whether ldap_perror is declared" >&5 -$as_echo_n "checking whether ldap_perror is declared... " >&6; } -if test "${ac_cv_have_decl_ldap_perror+set}" = set; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -int -main () -{ -#ifndef ldap_perror - (void) ldap_perror; -#endif - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_have_decl_ldap_perror=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +$as_echo "#define USE_LDAP_MAIL_LOOKUP 1" >>confdefs.h - ac_cv_have_decl_ldap_perror=no -fi + COMPILE_OPTS="$COMPILE_OPTS USE_LDAP_MAIL_LOOKUP" + if test "x$have_new_ldap" = "xyes"; then + +$as_echo "#define USE_LDAP_23 1" >>confdefs.h + + ac_fn_c_check_decl "$LINENO" "ldap_perror" "ac_cv_have_decl_ldap_perror" "#include +" +if test "x$ac_cv_have_decl_ldap_perror" = x""yes; then : -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_ldap_perror" >&5 -$as_echo "$ac_cv_have_decl_ldap_perror" >&6; } -if test "x$ac_cv_have_decl_ldap_perror" = x""yes; then - : else -cat >>confdefs.h <<\_ACEOF -#define NEED_LDAP_PERROR 1 -_ACEOF +$as_echo "#define NEED_LDAP_PERROR 1" >>confdefs.h fi fi else if test "x$enable_ldapmail" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: LDAP support required but library not found." >&5 -$as_echo "$as_me: error: LDAP support required but library not found." >&2;} - { (exit 1); exit 1; }; }; + as_fn_error "LDAP support required but library not found." "$LINENO" 5; fi fi fi @@ -3723,69 +3540,14 @@ fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h -do -as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 -$as_echo_n "checking for $ac_header... " >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - $as_echo_n "(cached) " >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 -$as_echo "$ac_res" >&6; } -as_val=`eval 'as_val=${'$as_ac_Header'} - $as_echo "$as_val"'` - if test "x$as_val" = x""yes; then +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF @@ -3795,196 +3557,58 @@ fi done -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - { $as_echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -$as_echo_n "checking for ext2fs/ext2fs.h... " >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - $as_echo_n "(cached) " >&6 -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -$as_echo "$ac_cv_header_ext2fs_ext2fs_h" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking ext2fs/ext2fs.h usability" >&5 -$as_echo_n "checking ext2fs/ext2fs.h usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking ext2fs/ext2fs.h presence" >&5 -$as_echo_n "checking ext2fs/ext2fs.h presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - $as_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 -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: ext2fs/ext2fs.h: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for ext2fs/ext2fs.h" >&5 -$as_echo_n "checking for ext2fs/ext2fs.h... " >&6; } -if test "${ac_cv_header_ext2fs_ext2fs_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_header_ext2fs_ext2fs_h=$ac_header_preproc -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ext2fs_ext2fs_h" >&5 -$as_echo "$ac_cv_header_ext2fs_ext2fs_h" >&6; } - -fi -if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then +ac_fn_c_check_header_mongrel "$LINENO" "ext2fs/ext2fs.h" "ac_cv_header_ext2fs_ext2fs_h" "$ac_includes_default" +if test "x$ac_cv_header_ext2fs_ext2fs_h" = x""yes; then : ext2fshead="yes" fi if test "x$ext2fshead" = "xyes"; then -cat >>confdefs.h <<\_ACEOF -#define HAVE_EXT2_INCLUDE 1 -_ACEOF +$as_echo "#define HAVE_EXT2_INCLUDE 1" >>confdefs.h - { $as_echo "$as_me:$LINENO: checking for ext2_ino_t" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2_ino_t" >&5 $as_echo_n "checking for ext2_ino_t... " >&6; } have_ext2_ino_t="no" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "ext2_ino_t" >/dev/null 2>&1; then + $EGREP "ext2_ino_t" >/dev/null 2>&1; then : have_ext2_ino_t="yes" fi rm -f conftest* if test "x$have_ext2_ino_t" != "xyes"; then - { $as_echo "$as_me:$LINENO: result: not found" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 $as_echo "not found" >&6; } else - { $as_echo "$as_me:$LINENO: result: found" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5 $as_echo "found" >&6; } -cat >>confdefs.h <<\_ACEOF -#define HAVE_EXT2_INO_T 1 -_ACEOF +$as_echo "#define HAVE_EXT2_INO_T 1" >>confdefs.h fi fi # Check whether --enable-ext2direct was given. -if test "${enable_ext2direct+set}" = set; then +if test "${enable_ext2direct+set}" = set; then : enableval=$enable_ext2direct; else enable_ext2direct="try" fi if test "x$enable_ext2direct" != "xno"; then - { $as_echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5 $as_echo_n "checking for com_err in -lcom_err... " >&6; } -if test "${ac_cv_lib_com_err_com_err+set}" = set; then +if test "${ac_cv_lib_com_err_com_err+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lcom_err $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4002,58 +3626,29 @@ return com_err (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_com_err_com_err=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_com_err_com_err=no + ac_cv_lib_com_err_com_err=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5 $as_echo "$ac_cv_lib_com_err_com_err" >&6; } -if test "x$ac_cv_lib_com_err_com_err" = x""yes; then +if test "x$ac_cv_lib_com_err_com_err" = x""yes; then : EXT2LIBS="-lcom_err $EXT2LIBS" fi - { $as_echo "$as_me:$LINENO: checking for ext2fs_initialize in -lext2fs" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ext2fs_initialize in -lext2fs" >&5 $as_echo_n "checking for ext2fs_initialize in -lext2fs... " >&6; } -if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then +if test "${ac_cv_lib_ext2fs_ext2fs_initialize+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lext2fs "-lcom_err" $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4071,53 +3666,26 @@ return ext2fs_initialize (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ext2fs_ext2fs_initialize=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ext2fs_ext2fs_initialize=no + ac_cv_lib_ext2fs_ext2fs_initialize=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ext2fs_ext2fs_initialize" >&5 $as_echo "$ac_cv_lib_ext2fs_ext2fs_initialize" >&6; } -if test "x$ac_cv_lib_ext2fs_ext2fs_initialize" = x""yes; then +if test "x$ac_cv_lib_ext2fs_ext2fs_initialize" = x""yes; then : EXT2LIBS="-lext2fs $EXT2LIBS" fi if test "${ac_cv_lib_com_err_com_err}" != "yes" -o "${ac_cv_lib_ext2fs_ext2fs_initialize}" != "yes"; then if test "x$enable_ext2direct" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Ext2 direct support required but libraries not found." >&5 -$as_echo "$as_me: error: Ext2 direct support required but libraries not found." >&2;} - { (exit 1); exit 1; }; } + as_fn_error "Ext2 direct support required but libraries not found." "$LINENO" 5 else - { $as_echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&5 $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not found." >&2;} fi enable_ext2direct="no" @@ -4125,11 +3693,9 @@ $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Libraries not else if test "x$ext2fshead" != "xyes"; then if test "x$enable_ext2direct" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Ext2 direct support required but header files not found." >&5 -$as_echo "$as_me: error: Ext2 direct support required but header files not found." >&2;} - { (exit 1); exit 1; }; } + as_fn_error "Ext2 direct support required but header files not found." "$LINENO" 5 else - { $as_echo "$as_me:$LINENO: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Ext2 direct support won't be compiled. Header files not found." >&5 $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files not found." >&2;} fi enable_ext2direct="no" @@ -4140,9 +3706,7 @@ $as_echo "$as_me: WARNING: Ext2 direct support won't be compiled. Header files n fi if test "x$enable_ext2direct" = "xyes"; then -cat >>confdefs.h <<\_ACEOF -#define EXT2_DIRECT 1 -_ACEOF +$as_echo "#define EXT2_DIRECT 1" >>confdefs.h COMPILE_OPTS="$COMPILE_OPTS EXT2_DIRECT" fi @@ -4150,7 +3714,7 @@ fi # Check whether --enable-netlink was given. -if test "${enable_netlink+set}" = set; then +if test "${enable_netlink+set}" = set; then : enableval=$enable_netlink; else enable_netlink="no" @@ -4163,9 +3727,9 @@ if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_PKG_CONFIG+set}" = set; then +if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in @@ -4178,14 +3742,14 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS ;; @@ -4193,10 +3757,10 @@ esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -4206,9 +3770,9 @@ if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 -{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } -if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then +if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in @@ -4221,14 +3785,14 @@ 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 + for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" - $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS ;; @@ -4236,10 +3800,10 @@ esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then - { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi @@ -4248,7 +3812,7 @@ fi else case $cross_compiling:$ac_tool_warned in yes:) -{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac @@ -4261,13 +3825,13 @@ fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 - { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then - { $as_echo "$as_me:$LINENO: result: yes" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else - { $as_echo "$as_me:$LINENO: result: no" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi @@ -4275,44 +3839,40 @@ $as_echo "no" >&6; } fi pkg_failed=no -{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 $as_echo_n "checking for DBUS... " >&6; } -if test -n "$PKG_CONFIG"; then - if test -n "$DBUS_CFLAGS"; then - pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 +if test -n "$DBUS_CFLAGS"; then + pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1" 2>/dev/null` else pkg_failed=yes fi - fi -else - pkg_failed=untried + else + pkg_failed=untried fi -if test -n "$PKG_CONFIG"; then - if test -n "$DBUS_LIBS"; then - pkg_cv_DBUS_LIBS="$DBUS_LIBS" - else - if test -n "$PKG_CONFIG" && \ - { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-1\"") >&5 +if test -n "$DBUS_LIBS"; then + pkg_cv_DBUS_LIBS="$DBUS_LIBS" + elif test -n "$PKG_CONFIG"; then + if test -n "$PKG_CONFIG" && \ + { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1" 2>/dev/null` else pkg_failed=yes fi - fi -else - pkg_failed=untried + else + pkg_failed=untried fi @@ -4325,25 +3885,14 @@ else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-1"` + DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-1" 2>&1` else - DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-1"` + DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_PKG_ERRORS" >&5 - { { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-1) were not met: - -$DBUS_PKG_ERRORS - -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. -" >&5 -$as_echo "$as_me: error: Package requirements (dbus-1) were not met: + as_fn_error "Package requirements (dbus-1) were not met: $DBUS_PKG_ERRORS @@ -4353,12 +3902,11 @@ installed software in a non-standard prefix. Alternatively, you may set the environment variables DBUS_CFLAGS and DBUS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -" >&2;} - { (exit 1); exit 1; }; } +" "$LINENO" 5 elif test $pkg_failed = untried; then - { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it +as_fn_error "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. @@ -4366,39 +3914,24 @@ Alternatively, you may set the environment variables DBUS_CFLAGS and DBUS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. -To get pkg-config, see . -See \`config.log' for more details." >&5 -$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables DBUS_CFLAGS -and DBUS_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; }; } +To get pkg-config, see . +See \`config.log' for more details." "$LINENO" 5; } else DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS DBUS_LIBS=$pkg_cv_DBUS_LIBS - { $as_echo "$as_me:$LINENO: result: yes" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } : fi - { $as_echo "$as_me:$LINENO: checking for genl_register in -lnl" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for genl_register in -lnl" >&5 $as_echo_n "checking for genl_register in -lnl... " >&6; } -if test "${ac_cv_lib_nl_genl_register+set}" = set; then +if test "${ac_cv_lib_nl_genl_register+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4416,53 +3949,26 @@ return genl_register (); return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_nl_genl_register=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_nl_genl_register=no + ac_cv_lib_nl_genl_register=no fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nl_genl_register" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nl_genl_register" >&5 $as_echo "$ac_cv_lib_nl_genl_register" >&6; } -if test "x$ac_cv_lib_nl_genl_register" = x""yes; then +if test "x$ac_cv_lib_nl_genl_register" = x""yes; then : NETLINKLIBS="-lnl $DBUS_LIBS" fi if test -z "$NETLINKLIBS" -o -z "$DBUS_LIBS"; then if test "x$enable_netlink" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Required libraries for quota netlink daemon not found." >&5 -$as_echo "$as_me: error: Required libraries for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } + as_fn_error "Required libraries for quota netlink daemon not found." "$LINENO" 5 else - { $as_echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&5 $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libraries not found." >&2;} fi enable_netlink="no" @@ -4471,11 +3977,9 @@ $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required libr CPPFLAGS="$DBUS_CFLAGS $CPPFLAGS" if test -z "$DBUS_LIBS"; then if test "x$enable_netlink" = "xyes"; then - { { $as_echo "$as_me:$LINENO: error: Required headers for quota netlink daemon not found." >&5 -$as_echo "$as_me: error: Required headers for quota netlink daemon not found." >&2;} - { (exit 1); exit 1; }; } + as_fn_error "Required headers for quota netlink daemon not found." "$LINENO" 5 else - { $as_echo "$as_me:$LINENO: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&5 $as_echo "$as_me: WARNING: Quota netlink daemon won't be compiled. Required headers not found." >&2;} fi NETLINKLIBS="" @@ -4488,17 +3992,13 @@ fi -{ $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 $as_echo_n "checking for library containing gethostbyname... " >&6; } -if test "${ac_cv_search_gethostbyname+set}" = set; then +if test "${ac_cv_search_gethostbyname+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4523,70 +4023,39 @@ for ac_lib in '' nsl; do ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then + if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_gethostbyname=$ac_res -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_gethostbyname+set}" = set; then +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if test "${ac_cv_search_gethostbyname+set}" = set; then : break fi done -if test "${ac_cv_search_gethostbyname+set}" = set; then - : +if test "${ac_cv_search_gethostbyname+set}" = set; then : + else ac_cv_search_gethostbyname=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 $as_echo "$ac_cv_search_gethostbyname" >&6; } ac_res=$ac_cv_search_gethostbyname -if test "$ac_res" != no; then +if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi -{ $as_echo "$as_me:$LINENO: checking for host_access in -lwrap" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for host_access in -lwrap" >&5 $as_echo_n "checking for host_access in -lwrap... " >&6; } -if test "${ac_cv_lib_wrap_main+set}" = set; then +if test "${ac_cv_lib_wrap_main+set}" = set; then : $as_echo_n "(cached) " >&6 else saved_LIBS="$LIBS" LIBS="$LIBS -lwrap" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -4601,177 +4070,26 @@ main () { hosts_access(&request); ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && { - test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext - }; then - ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { $as_echo "$as_me:$LINENO: result: yes" >&5 -$as_echo "yes" >&6; } -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { $as_echo "$as_me:$LINENO: result: no" >&5 -$as_echo "no" >&6; } -fi - -rm -rf conftest.dSYM -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - -fi - - -if test ${ac_cv_lib_wrap_main} = yes; then - if test "${ac_cv_header_tcpd_h+set}" = set; then - { $as_echo "$as_me:$LINENO: checking for tcpd.h" >&5 -$as_echo_n "checking for tcpd.h... " >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - $as_echo_n "(cached) " >&6 -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -$as_echo "$ac_cv_header_tcpd_h" >&6; } -else - # Is the header compilable? -{ $as_echo "$as_me:$LINENO: checking tcpd.h usability" >&5 -$as_echo_n "checking tcpd.h usability... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -$as_echo "$ac_header_compiler" >&6; } - -# Is the header present? -{ $as_echo "$as_me:$LINENO: checking tcpd.h presence" >&5 -$as_echo_n "checking tcpd.h presence... " >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include + return 0; +} _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&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 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_wrap_main=yes; LIBS="$saved_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no + ac_cv_lib_wrap_main=no; LIBS="$saved_LIBS"; { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext -rm -f conftest.err conftest.$ac_ext -{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -$as_echo "$ac_header_preproc" >&6; } +fi -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&5 -$as_echo "$as_me: WARNING: tcpd.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the compiler's result" >&5 -$as_echo "$as_me: WARNING: tcpd.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: present but cannot be compiled" >&5 -$as_echo "$as_me: WARNING: tcpd.h: present but cannot be compiled" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: check for missing prerequisite headers?" >&5 -$as_echo "$as_me: WARNING: tcpd.h: check for missing prerequisite headers?" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: see the Autoconf documentation" >&5 -$as_echo "$as_me: WARNING: tcpd.h: see the Autoconf documentation" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&5 -$as_echo "$as_me: WARNING: tcpd.h: section \"Present But Cannot Be Compiled\"" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: proceeding with the preprocessor's result" >&5 -$as_echo "$as_me: WARNING: tcpd.h: proceeding with the preprocessor's result" >&2;} - { $as_echo "$as_me:$LINENO: WARNING: tcpd.h: in the future, the compiler will take precedence" >&5 -$as_echo "$as_me: WARNING: tcpd.h: in the future, the compiler will take precedence" >&2;} - ;; -esac -{ $as_echo "$as_me:$LINENO: checking for tcpd.h" >&5 -$as_echo_n "checking for tcpd.h... " >&6; } -if test "${ac_cv_header_tcpd_h+set}" = set; then - $as_echo_n "(cached) " >&6 -else - ac_cv_header_tcpd_h=$ac_header_preproc -fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_tcpd_h" >&5 -$as_echo "$ac_cv_header_tcpd_h" >&6; } +if test ${ac_cv_lib_wrap_main} = yes; then + ac_fn_c_check_header_mongrel "$LINENO" "tcpd.h" "ac_cv_header_tcpd_h" "$ac_includes_default" +if test "x$ac_cv_header_tcpd_h" = x""yes; then : -fi -if test "x$ac_cv_header_tcpd_h" = x""yes; then - : else echo 'ERROR: could not find tcpd.h - missing TCP wrappers package' @@ -4782,23 +4100,17 @@ fi LIBS="$LIBS -lwrap" -cat >>confdefs.h <<\_ACEOF -#define HOSTS_ACCESS 1 -_ACEOF +$as_echo "#define HOSTS_ACCESS 1" >>confdefs.h COMPILE_OPTS="$COMPILE_OPTS HOSTS_ACCESS" fi -{ $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 $as_echo_n "checking for an ANSI C-conforming const... " >&6; } -if test "${ac_cv_c_const+set}" = set; then +if test "${ac_cv_c_const+set}" = set; then : $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4858,56 +4170,29 @@ main () return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_const=yes else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_c_const=no + ac_cv_c_const=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 $as_echo "$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then -cat >>confdefs.h <<\_ACEOF -#define const /**/ -_ACEOF +$as_echo "#define const /**/" >>confdefs.h fi -{ $as_echo "$as_me:$LINENO: checking for inline" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 $as_echo_n "checking for inline... " >&6; } -if test "${ac_cv_c_inline+set}" = set; then +if test "${ac_cv_c_inline+set}" = set; then : $as_echo_n "(cached) " >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; @@ -4916,41 +4201,17 @@ $ac_kw foo_t foo () {return 0; } #endif _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" -$as_echo "$ac_try_echo") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_c_inline=$ac_kw -else - $as_echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext test "$ac_cv_c_inline" != no && break done fi -{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 $as_echo "$ac_cv_c_inline" >&6; } - case $ac_cv_c_inline in inline | yes) ;; *) @@ -4967,43 +4228,36 @@ _ACEOF esac -# Check whether --enable-altformat was given. -if test "${enable_altformat+set}" = set; then - enableval=$enable_altformat; -else - enable_altformat="yes" -fi - # Check whether --enable-rpc was given. -if test "${enable_rpc+set}" = set; then +if test "${enable_rpc+set}" = set; then : enableval=$enable_rpc; else enable_rpc="yes" fi # Check whether --enable-rpcsetquota was given. -if test "${enable_rpcsetquota+set}" = set; then +if test "${enable_rpcsetquota+set}" = set; then : enableval=$enable_rpcsetquota; else enable_rpcsetquota="no" fi # Check whether --enable-xfs_roothack was given. -if test "${enable_xfs_roothack+set}" = set; then +if test "${enable_xfs_roothack+set}" = set; then : enableval=$enable_xfs_roothack; else enable_xfs_roothack="no" fi # Check whether --enable-bsd_behaviour was given. -if test "${enable_bsd_behaviour+set}" = set; then +if test "${enable_bsd_behaviour+set}" = set; then : enableval=$enable_bsd_behaviour; else enable_bsd_behaviour="yes" fi # Check whether --enable-libefence was given. -if test "${enable_libefence+set}" = set; then +if test "${enable_libefence+set}" = set; then : enableval=$enable_libefence; else enable_libefence="no" @@ -5011,64 +4265,48 @@ fi # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then +if test "${enable_nls+set}" = set; then : enableval=$enable_nls; else enable_nls="yes" fi # Check whether --enable-rootsbin was given. -if test "${enable_rootsbin+set}" = set; then +if test "${enable_rootsbin+set}" = set; then : enableval=$enable_rootsbin; else enable_rootsbin="no" fi # Check whether --enable-proc-mounts was given. -if test "${enable_proc_mounts+set}" = set; then +if test "${enable_proc_mounts+set}" = set; then : enableval=$enable_proc_mounts; else enable_proc_mounts="/proc/mounts" fi -if test "$enable_altformat" = "yes" ; then - -cat >>confdefs.h <<\_ACEOF -#define ALT_FORMAT 1 -_ACEOF - - COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT" -fi if test "$enable_rpc" = "yes" ; then -cat >>confdefs.h <<\_ACEOF -#define RPC 1 -_ACEOF +$as_echo "#define RPC 1" >>confdefs.h COMPILE_OPTS="$COMPILE_OPTS RPC" fi if test "$enable_rpcsetquota" = "yes" ; then -cat >>confdefs.h <<\_ACEOF -#define RPC_SETQUOTA 1 -_ACEOF +$as_echo "#define RPC_SETQUOTA 1" >>confdefs.h COMPILE_OPTS="$COMPILE_OPTS RPC_SETQUOTA" fi if test "$enable_xfs_roothack" = "yes" ; then -cat >>confdefs.h <<\_ACEOF -#define XFS_ROOTHACK 1 -_ACEOF +$as_echo "#define XFS_ROOTHACK 1" >>confdefs.h COMPILE_OPTS="$COMPILE_OPTS XFS_ROOTHACK" fi if test "$enable_bsd_behaviour" = "yes" ; then -cat >>confdefs.h <<\_ACEOF -#define BSD_BEHAVIOUR 1 -_ACEOF +$as_echo "#define BSD_BEHAVIOUR 1" >>confdefs.h COMPILE_OPTS="$COMPILE_OPTS BSD_BEHAVIOUR" fi @@ -5077,9 +4315,7 @@ if test "$enable_libefence" = "yes" ; then fi if test "$enable_nls" = "yes" ; then -cat >>confdefs.h <<\_ACEOF -#define USE_GETTEXT 1 -_ACEOF +$as_echo "#define USE_GETTEXT 1" >>confdefs.h INSTMO="inst_mo" fi @@ -5102,9 +4338,8 @@ cat >>confdefs.h <<_ACEOF _ACEOF -cat >>confdefs.h <<\_ACEOF -#define PACKAGE_VERSION "4.00-pre1" -_ACEOF +$as_echo "#define PACKAGE_VERSION \"4.01\"" >>confdefs.h + @@ -5141,13 +4376,13 @@ _ACEOF case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( - *) $as_unset $ac_var ;; + *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done @@ -5155,8 +4390,8 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" @@ -5179,11 +4414,11 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && - { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else - { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi @@ -5203,8 +4438,8 @@ for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs @@ -5216,9 +4451,10 @@ LTLIBOBJS=$ac_ltlibobjs ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -5228,17 +4464,18 @@ cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 debug=false ac_cs_recheck=false ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which @@ -5246,23 +4483,15 @@ if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - as_nl=' ' export as_nl @@ -5270,7 +4499,13 @@ export as_nl as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else @@ -5281,7 +4516,7 @@ else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; - case $arg in + case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; @@ -5304,13 +4539,6 @@ if test "${PATH_SEPARATOR+set}" != set; then } fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - # IFS # We need space, tab and new line, in precisely that order. Quoting is @@ -5320,15 +4548,15 @@ fi IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -5340,12 +4568,16 @@ if test "x$as_myself" = x; then fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' @@ -5357,7 +4589,89 @@ export LC_ALL LANGUAGE=C export LANGUAGE -# Required to use basename. +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error ERROR [LINENO LOG_FD] +# --------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with status $?, using 1 if that was 0. +as_fn_error () +{ + as_status=$?; test $as_status -eq 0 && as_status=1 + if test "$3"; then + as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 + fi + $as_echo "$as_me: error: $1" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -5371,8 +4685,12 @@ else as_basename=false fi +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi -# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ @@ -5392,76 +4710,25 @@ $as_echo X/"$0" | } s/.*/./; q'` -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in +case `echo -n x` in #((((( -n*) - case `echo 'x\c'` in + case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then @@ -5490,8 +4757,56 @@ fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" + + +} # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then - as_mkdir_p=: + as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false @@ -5510,10 +4825,10 @@ else if test -d "$1"; then test -d "$1/."; else - case $1 in + case $1 in #( -*)set "./$1";; esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' @@ -5528,13 +4843,19 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -# Save the log message, to keep $[0] and so on meaningful, and to +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.63. Invocation command line was +generated by GNU Autoconf 2.65. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -5565,13 +4886,15 @@ _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. -Usage: $0 [OPTION]... [FILE]... +Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit + --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files @@ -5587,16 +4910,17 @@ $config_files Configuration headers: $config_headers -Report bugs to ." +Report bugs to the package provider." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.63, - with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" +configured by $0, generated by GNU Autoconf 2.65, + with options \\"\$ac_cs_config\\" -Copyright (C) 2008 Free Software Foundation, Inc. +Copyright (C) 2009 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -5630,6 +4954,8 @@ do ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) @@ -5637,20 +4963,19 @@ do case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac - CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" + as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac - CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" + as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - { $as_echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; + as_fn_error "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ @@ -5658,11 +4983,10 @@ Try \`$0 --help' for more information." >&2 ac_cs_silent=: ;; # This is an error. - -*) { $as_echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; + -*) as_fn_error "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; - *) ac_config_targets="$ac_config_targets $1" + *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac @@ -5711,9 +5035,7 @@ do "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; + *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -5739,7 +5061,7 @@ $debug || trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 + trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. @@ -5750,11 +5072,7 @@ $debug || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || -{ - $as_echo "$as_me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} +} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5 # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. @@ -5762,10 +5080,16 @@ $debug || if test -n "$CONFIG_FILES"; then -ac_cr=' ' +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then - ac_cs_awk_cr='\\r' + ac_cs_awk_cr='\r' else ac_cs_awk_cr=$ac_cr fi @@ -5779,24 +5103,18 @@ _ACEOF echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -5818,7 +5136,7 @@ s/'"$ac_delim"'$// t delim :nl h -s/\(.\{148\}\).*/\1/ +s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p @@ -5832,7 +5150,7 @@ s/.\{148\}// t nl :delim h -s/\(.\{148\}\).*/\1/ +s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p @@ -5885,9 +5203,7 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then else cat fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ - || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 -$as_echo "$as_me: error: could not setup config files machinery" >&2;} - { (exit 1); exit 1; }; } + || as_fn_error "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), @@ -5928,9 +5244,7 @@ for ac_last_try in false false :; do if test -z "$ac_t"; then break elif $ac_last_try; then - { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5 -$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi @@ -6015,9 +5329,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 - { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 -$as_echo "$as_me: error: could not setup config headers machinery" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" @@ -6030,9 +5342,7 @@ do esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 -$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} - { (exit 1); exit 1; }; };; + :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -6060,12 +5370,10 @@ $as_echo "$as_me: error: invalid tag $ac_tag" >&2;} [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; + as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac - ac_file_inputs="$ac_file_inputs '$ac_f'" + as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't @@ -6076,7 +5384,7 @@ $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. @@ -6089,9 +5397,7 @@ $as_echo "$as_me: creating $ac_file" >&6;} case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } ;; + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -6119,47 +5425,7 @@ $as_echo X"$ac_file" | q } s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } + as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in @@ -6211,7 +5477,6 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= - ac_sed_dataroot=' /datarootdir/ { p @@ -6221,12 +5486,11 @@ ac_sed_dataroot=' /@docdir@/p /@infodir@/p /@localedir@/p -/@mandir@/p -' +/@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 @@ -6236,7 +5500,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; + s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF @@ -6264,14 +5528,12 @@ s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } + || as_fn_error "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} @@ -6281,9 +5543,7 @@ which seems to be undefined. Please make sure it is defined." >&2;} -) cat "$tmp/out" && rm -f "$tmp/out";; *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; esac \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } + || as_fn_error "could not create $ac_file" "$LINENO" 5 ;; :H) # @@ -6294,25 +5554,19 @@ $as_echo "$as_me: error: could not create $ac_file" >&2;} $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" } >"$tmp/config.h" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } + || as_fn_error "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then - { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$tmp/config.h" "$ac_file" \ - || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 -$as_echo "$as_me: error: could not create $ac_file" >&2;} - { (exit 1); exit 1; }; } + || as_fn_error "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ - || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 -$as_echo "$as_me: error: could not create -" >&2;} - { (exit 1); exit 1; }; } + || as_fn_error "could not create -" "$LINENO" 5 fi ;; @@ -6322,15 +5576,12 @@ $as_echo "$as_me: error: could not create -" >&2;} done # for ac_tag -{ (exit 0); exit 0; } +as_fn_exit 0 _ACEOF -chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || - { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. @@ -6351,10 +5602,10 @@ if test "$no_create" != yes; then exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } + $ac_cs_success || as_fn_exit $? fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then - { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi diff --git a/configure.in b/configure.in index 895ee03..00f1285 100644 --- a/configure.in +++ b/configure.in @@ -8,18 +8,36 @@ AC_HEADER_STDC AC_PROG_INSTALL dnl Check for compiler options -AC_MSG_CHECKING(whether compiler supports PIE) -oldCFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -fPIE" -oldLDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS -pie" -AC_LINK_IFELSE([AC_LANG_PROGRAM([[]])], compilepie="yes") -if test "x$compilepie" != "xyes"; then - CFLAGS="$oldCFLAGS" - LDFLAGS="$oldLDFLAGS" - AC_MSG_RESULT(no) +AC_ARG_ENABLE(static-link, [ --enable-static-link=[yes/no] Link all binaries statically [default=no].], + , + enable_static_link="no") +if test "x$enable_static_link" != "xyes"; then + AC_MSG_CHECKING(whether compiler supports PIE) + oldCFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fPIE" + oldLDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -pie" + AC_LINK_IFELSE([AC_LANG_PROGRAM([[]])], compilepie="yes") + if test "x$compilepie" != "xyes"; then + CFLAGS="$oldCFLAGS" + LDFLAGS="$oldLDFLAGS" + AC_MSG_RESULT(no) + else + AC_MSG_RESULT(yes) + fi else - AC_MSG_RESULT(yes) + CFLAGS="$CFLAGS -static" + LDFLAGS="$LDFLAGS -static" +fi + +dnl Strip binaries before installation +AC_ARG_ENABLE(strip-binaries, [ --enable-strip-binaries=[yes/no] Strip binaries while installing them [default=yes].], + , + enable_strip="yes") +if test "x$enable_strip" = "xyes"; then + STRIP="-s" +else + STRIP="" fi dnl Checks for libraries. @@ -164,10 +182,6 @@ dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE -AC_ARG_ENABLE(altformat, - [ --enable-altformat=[yes/no] Enable alternative format used by edquota [default=yes].], - , - enable_altformat="yes") AC_ARG_ENABLE(rpc, [ --enable-rpc=[yes/no] Enable RPC support [default=yes].], , @@ -202,10 +216,6 @@ AC_ARG_ENABLE(proc-mounts, , enable_proc_mounts="/proc/mounts") -if test "$enable_altformat" = "yes" ; then - AC_DEFINE([ALT_FORMAT], 1, [Alternative file format of edquota]) - COMPILE_OPTS="$COMPILE_OPTS ALT_FORMAT" -fi if test "$enable_rpc" = "yes" ; then AC_DEFINE([RPC], 1, [Support for RPC]) COMPILE_OPTS="$COMPILE_OPTS RPC" @@ -239,11 +249,12 @@ else fi AC_DEFINE_UNQUOTED([COMPILE_OPTS], ["$COMPILE_OPTS"], [Configuration options]) -AC_DEFINE([PACKAGE_VERSION], ["4.00-pre1"], [Version of quota tools]) +AC_DEFINE([PACKAGE_VERSION], ["4.01"], [Version of quota tools]) AC_SUBST(LIBMALLOC) AC_SUBST(INSTMO) AC_SUBST(ROOTSBIN) AC_SUBST(CPPFLAGS) +AC_SUBST(STRIP) AC_OUTPUT(Makefile) diff --git a/convertquota.c b/convertquota.c index ab16193..efaee71 100644 --- a/convertquota.c +++ b/convertquota.c @@ -29,12 +29,12 @@ #define ACT_FORMAT 1 /* Convert format from old to new */ #define ACT_ENDIAN 2 /* Convert endianity */ -char *mntpoint; +static char *mntpoint; char *progname; -int ucv, gcv; -struct quota_handle *qn; /* Handle of new file */ -int action; /* Action to be performed */ -int infmt, outfmt; +static int ucv, gcv; +static struct quota_handle *qn; /* Handle of new file */ +static int action; /* Action to be performed */ +static int infmt, outfmt; static void usage(void) { @@ -287,7 +287,7 @@ static int convert_dquot(struct dquot *dquot, char *name) return 0; } -static int rename_file(int type, int fmt, struct mntent *mnt) +static int rename_file(int type, int fmt, struct mount_entry *mnt) { char *qfname, namebuf[PATH_MAX]; int ret = 0; @@ -307,19 +307,19 @@ static int rename_file(int type, int fmt, struct mntent *mnt) return ret; } -static int convert_format(int type, struct mntent *mnt) +static int convert_format(int type, struct mount_entry *mnt) { struct quota_handle *qo; int ret = 0; - if (!(qo = init_io(mnt, type, infmt, IOI_OPENFILE))) { + if (!(qo = init_io(mnt, type, infmt, IOI_INITSCAN))) { errstr(_("Cannot open old format file for %ss on %s\n"), - type2name(type), mnt->mnt_dir); + _(type2name(type)), mnt->me_dir); return -1; } if (!(qn = new_io(mnt, type, outfmt))) { errstr(_("Cannot create file for %ss for new format on %s: %s\n"), - type2name(type), mnt->mnt_dir, strerror(errno)); + _(type2name(type)), mnt->me_dir, strerror(errno)); end_io(qo); return -1; } @@ -332,7 +332,7 @@ static int convert_format(int type, struct mntent *mnt) return ret; } -static int convert_endian(int type, struct mntent *mnt) +static int convert_endian(int type, struct mount_entry *mnt) { int ret = 0; int ofd; @@ -341,7 +341,7 @@ static int convert_endian(int type, struct mntent *mnt) if (get_qf_name(mnt, type, QF_VFSV0, NF_EXIST, &qfname) < 0) return -1; if ((ofd = open(qfname, O_RDONLY)) < 0) { - errstr(_("Cannot open old quota file on %s: %s\n"), mnt->mnt_dir, strerror(errno)); + errstr(_("Cannot open old quota file on %s: %s\n"), mnt->me_dir, strerror(errno)); free(qfname); return -1; } @@ -352,7 +352,7 @@ static int convert_endian(int type, struct mntent *mnt) } if (!(qn = new_io(mnt, type, QF_VFSV0))) { errstr(_("Cannot create file for %ss for new format on %s: %s\n"), - type2name(type), mnt->mnt_dir, strerror(errno)); + type2name(type), mnt->me_dir, strerror(errno)); close(ofd); return -1; } @@ -369,7 +369,7 @@ static int convert_endian(int type, struct mntent *mnt) return rename_file(type, QF_VFSV0, mnt); } -static int convert_file(int type, struct mntent *mnt) +static int convert_file(int type, struct mount_entry *mnt) { switch (action) { case ACT_FORMAT: @@ -383,7 +383,7 @@ static int convert_file(int type, struct mntent *mnt) int main(int argc, char **argv) { - struct mntent *mnt; + struct mount_entry *mnt; int ret = 0; gettexton(); diff --git a/doc/CVS/Entries b/doc/CVS/Entries deleted file mode 100644 index fc29a60..0000000 --- a/doc/CVS/Entries +++ /dev/null @@ -1,5 +0,0 @@ -/quotadoc.sgml/1.5/Mon Oct 13 17:29:18 2008// -/quotas-1.eps/1.1.1.1/Mon Oct 13 17:29:18 2008// -/quotas.ms/1.1.1.1/Mon Oct 13 17:29:18 2008// -/quotas.preformated/1.1.1.1/Mon Oct 13 17:29:18 2008// -D diff --git a/doc/CVS/Repository b/doc/CVS/Repository deleted file mode 100644 index 9ca943d..0000000 --- a/doc/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -quota-tools/doc diff --git a/doc/CVS/Root b/doc/CVS/Root deleted file mode 100644 index 3d66810..0000000 --- a/doc/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -jkar8572@linuxquota.cvs.sf.net:/cvsroot/linuxquota/ diff --git a/edquota.8 b/edquota.8 index 7ade64a..4b1406b 100644 --- a/edquota.8 +++ b/edquota.8 @@ -100,8 +100,8 @@ Currently, pathnames of NFSv4 mountpoints are sent without leading slash in the .BR rpc.rquotad uses this to recognize NFSv4 mounts and properly prepend pseudoroot of NFS filesystem to the path. If you specify this option, -.BR setquota -will always send paths with a trailing slash. This can be useful for legacy reasons but +.BR edquota +will always send paths with a leading slash. This can be useful for legacy reasons but be aware that quota over RPC will stop working if you are using new .BR rpc.rquotad . .TP @@ -116,6 +116,10 @@ Duplicate the quotas of the prototypical user specified for each user specified. This is the normal mechanism used to initialize quotas for groups of users. .TP +.B --always-resolve +Always try to translate user / group name to uid / gid even if the name +is composed of digits only. +.TP .B -F, --format=\f2format-name\f1 Edit quota for specified format (ie. don't perform format autodetection). Possible format names are: diff --git a/edquota.c b/edquota.c index b340d13..f433417 100644 --- a/edquota.c +++ b/edquota.c @@ -66,12 +66,12 @@ char *progname; -int flags, quotatype; -int fmt = -1; -char *protoname; -char *dirname; +static int flags, quotatype; +static int fmt = -1; +static char *protoname; +static char *dirname; -void usage(void) +static void usage(void) { #if defined(RPC_SETQUOTA) char *rpcflag = "[-rm] "; @@ -80,8 +80,8 @@ void usage(void) #endif errstr(_("Usage:\n\tedquota %1$s[-u] [-F formatname] [-p username] [-f filesystem] username ...\n\ \tedquota %1$s-g [-F formatname] [-p groupname] [-f filesystem] groupname ...\n\ -\tedquota %1$s[-u|g] [-F formatname] [-f filesystem] -t\n\ -\tedquota %1$s[-u|g] [-F formatname] [-f filesystem] -T username|groupname ...\n"), rpcflag); +\tedquota [-u|g] [-F formatname] [-f filesystem] -t\n\ +\tedquota [-u|g] [-F formatname] [-f filesystem] -T username|groupname ...\n"), rpcflag); fputs(_("\n\ -u, --user edit user data\n\ -g, --group edit group data\n"), stderr); @@ -102,7 +102,7 @@ void usage(void) exit(1); } -int parse_options(int argc, char **argv) +static int parse_options(int argc, char **argv) { int ret; struct option long_opts[] = { @@ -128,9 +128,9 @@ int parse_options(int argc, char **argv) quotatype = USRQUOTA; #if defined(RPC_SETQUOTA) - while ((ret = getopt_long(argc, argv, "ugrmntTVp:F:f:", long_opts, NULL)) != -1) { + while ((ret = getopt_long(argc, argv, "ughrmntTVp:F:f:", long_opts, NULL)) != -1) { #else - while ((ret = getopt_long(argc, argv, "ugtTVp:F:f:", long_opts, NULL)) != -1) { + while ((ret = getopt_long(argc, argv, "ughtTVp:F:f:", long_opts, NULL)) != -1) { #endif switch (ret) { case 'p': @@ -170,6 +170,7 @@ int parse_options(int argc, char **argv) case 'V': version(); exit(0); + case 'h': default: usage(); } @@ -182,10 +183,14 @@ int parse_options(int argc, char **argv) errstr(_("Prototype name does not make sense when editing grace period or times.\n")); usage(); } + if (flags & FL_REMOTE && (flags & (FL_EDIT_TIMES | FL_EDIT_PERIOD))) { + errstr(_("Cannot change grace times over RPC protocol.\n")); + usage(); + } return optind; } -void copy_prototype(int argc, char **argv, struct quota_handle **handles) +static void copy_prototype(int argc, char **argv, struct quota_handle **handles) { int ret, protoid, id; struct dquot *protoprivs, *curprivs, *pprivs, *cprivs; @@ -328,7 +333,11 @@ int main(int argc, char **argv) continue; } close(tmpfd); - if ((tmpfd = open(tmpfil, O_RDONLY)) < 0) + /* + * Open in rw mode because we can reuse the file for + * editting next user as well. + */ + if ((tmpfd = open(tmpfil, O_RDWR)) < 0) die(1, _("Cannot reopen!")); if (readprivs(curprivs, tmpfd) < 0) { errstr(_("Cannot read quotas from file.\n")); diff --git a/ldap-scripts/CVS/Entries b/ldap-scripts/CVS/Entries deleted file mode 100644 index 5c538db..0000000 --- a/ldap-scripts/CVS/Entries +++ /dev/null @@ -1,6 +0,0 @@ -/applySystemQuotas.pl/1.2/Mon Oct 13 17:29:18 2008// -/edquota_editor/1.2/Mon Oct 13 17:29:18 2008// -/quota.schema/1.1/Mon Oct 13 17:29:18 2008// -/setSystemQuotas.pl/1.1/Mon Oct 13 17:29:18 2008// -/setquota-ldap.pl/1.1/Mon Oct 13 17:29:18 2008// -D diff --git a/ldap-scripts/CVS/Repository b/ldap-scripts/CVS/Repository deleted file mode 100644 index 1141060..0000000 --- a/ldap-scripts/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -quota-tools/ldap-scripts diff --git a/ldap-scripts/CVS/Root b/ldap-scripts/CVS/Root deleted file mode 100644 index 3d66810..0000000 --- a/ldap-scripts/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -jkar8572@linuxquota.cvs.sf.net:/cvsroot/linuxquota/ diff --git a/mntopt.h b/mntopt.h index 90673fc..63905bd 100644 --- a/mntopt.h +++ b/mntopt.h @@ -7,6 +7,7 @@ #define MNTTYPE_EXT2 "ext2" /* 2nd Extended file system */ #define MNTTYPE_EXT3 "ext3" /* ext2 + journaling */ #define MNTTYPE_EXT4 "ext4" /* ext4 filesystem */ +#define MNTTYPE_NEXT3 "next3" /* next3 filesystem */ #define MNTTYPE_EXT4DEV "ext4dev"/* ext4dev filesystem */ #define MNTTYPE_MINIX "minix" /* MINIX file system */ #define MNTTYPE_UFS "ufs" /* UNIX file system */ @@ -18,6 +19,7 @@ #define MNTTYPE_NFS4 "nfs4" /* NFSv4 filesystem */ #define MNTTYPE_MPFS "mpfs" /* EMC Celerra MPFS filesystem */ #define MNTTYPE_OCFS2 "ocfs2" /* Oracle Cluster filesystem */ +#define MNTTYPE_GFS2 "gfs2" /* Red Hat Global filesystem 2 */ /* mount options */ #define MNTOPT_NOQUOTA "noquota" /* don't enforce quota */ diff --git a/packaging/quota-4.0.pre1.tar b/packaging/quota-4.0.pre1.tar deleted file mode 100644 index e69de29..0000000 diff --git a/packaging/quota-4.0.pre1.tar.bz2 b/packaging/quota-4.0.pre1.tar.bz2 deleted file mode 100644 index da0ae84..0000000 Binary files a/packaging/quota-4.0.pre1.tar.bz2 and /dev/null differ diff --git a/packaging/quota.changes b/packaging/quota.changes deleted file mode 100644 index 324df17..0000000 --- a/packaging/quota.changes +++ /dev/null @@ -1,11 +0,0 @@ -* Wed May 30 03:17:39 UTC 2012 - Lin Yang - 4.0.pre1 -- Initial commit to Gerrit - -* Tue Apr 10 23:14:30 UTC 2012 - tracy.graydon@intel.com -- Directly apply the stripping fix patch changes and ditch the patch. - -* Tue Apr 10 00:54:53 UTC 2012 - tracy.graydon@intel.com -- Stole Auke's initial packaging and added the quota-3.06-no-stripping.patch - -* Thu Jul 28 2011 Auke Kok - 4.0~pre1 -- Initial packaging, mostly from Bernd Wachter. diff --git a/packaging/quota.spec b/packaging/quota.spec deleted file mode 100644 index 47aad39..0000000 --- a/packaging/quota.spec +++ /dev/null @@ -1,62 +0,0 @@ -Name: quota -Version: 4.0.pre1 -%define _version 4.00-pre1 -Release: 1 -Summary: Userland for disk quota -Group: System/Base -License: BSD, GPLv2, LGPLv2.1 -URL: http://sourceforge.net/projects/linuxquota/ -Source0: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} -BuildRequires: pkgconfig(openssl) -BuildRequires: pkgconfig(ext2fs) -BuildRequires: pkgconfig(dbus-1) -BuildRequires: gettext - -%description -%{summary}. - -%package devel -Summary: Development files for %{name} -Group: Development/Libraries - -%description devel -%{summary}. - -%prep -%setup -q -n %{name}-%{version} - -%build -%configure \ - --enable-netlink=no \ - --with-ext2direct=yes \ - --enable-rpcsetquota=yes -make %{?_smp_mflags} - -%install -mkdir -p %{buildroot}/sbin -mkdir -p %{buildroot}%{_sysconfdir} -mkdir -p %{buildroot}%{_sbindir} -mkdir -p %{buildroot}%{_bindir} -mkdir -p %{buildroot}%{_mandir}/{man1,man3,man8} -make install INSTALL='install -p' ROOTDIR=%{buildroot} - - -%find_lang %{name} - -%files -f %{name}.lang -%defattr(-,root,root,-) -%config %{_sysconfdir}/quota* -%config %{_sysconfdir}/*.conf -%attr(0755,root,root) %{_bindir}/* -%attr(0755,root,root) %{_sbindir}/* -%attr(0644,root,root) %{_mandir}/man1/*.gz -%attr(0644,root,root) %{_mandir}/man2/*.gz -%attr(0644,root,root) %{_mandir}/man3/*.gz -%attr(0644,root,root) %{_mandir}/man8/*.gz - -%files devel -%dir %{_includedir}/rpcsvc -%{_includedir}/rpcsvc/* -%attr(0644,root,root) %{_mandir}/man3/* - diff --git a/po/CVS/Entries b/po/CVS/Entries deleted file mode 100644 index 7be7731..0000000 --- a/po/CVS/Entries +++ /dev/null @@ -1,3 +0,0 @@ -/fr.po/1.2/Mon Oct 13 17:29:17 2008// -/pl.po/1.11/Mon Oct 13 17:29:17 2008// -D diff --git a/po/CVS/Repository b/po/CVS/Repository deleted file mode 100644 index 49f91b6..0000000 --- a/po/CVS/Repository +++ /dev/null @@ -1 +0,0 @@ -quota-tools/po diff --git a/po/CVS/Root b/po/CVS/Root deleted file mode 100644 index 3d66810..0000000 --- a/po/CVS/Root +++ /dev/null @@ -1 +0,0 @@ -jkar8572@linuxquota.cvs.sf.net:/cvsroot/linuxquota/ diff --git a/po/cs.po b/po/cs.po new file mode 100644 index 0000000..dc2cd1c --- /dev/null +++ b/po/cs.po @@ -0,0 +1,3173 @@ +# Czech translation of quota-tools. +# Copyright (C) 2010 THE PACKAGE'S COPYRIGHT HOLDER +# msgids are distributed under the same license as particular source files. +# msgstrs (i.e. translations) are distributed under GPLv2+. +# Petr Pisar , 2010, 2011, 2012. +# +# grace period → perioda odkladu +# grace time → doba odkladu +# hard limit → pevný limit +# quotafile → kvótový soubor, soubor s kvótami +# soft limit → měkký limit +# +msgid "" +msgstr "" +"Project-Id-Version: quota-tools v4.00-10-g400e4b3\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-02-28 15:27+0100\n" +"PO-Revision-Date: 2012-02-28 16:17+0100\n" +"Last-Translator: Petr Pisar \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: bylabel.c:253 +#, c-format +msgid "Found an invalid UUID: %s\n" +msgstr "Nalezeno neplatné UUID: %s\n" + +#: bylabel.c:273 +#, c-format +msgid "Error checking device name: %s\n" +msgstr "Chyba při kontrole názvu zařízení: %s\n" + +#: common.c:124 +#, c-format +msgid "Quota utilities version %s.\n" +msgstr "Kvótové nástroje (quota-tools) verze %s.\n" + +#: common.c:125 +#, c-format +msgid "Compiled with:%s\n" +msgstr "Přeloženo s:%s\n" + +#: common.c:126 convertquota.c:48 quotacheck.c:318 quotasync.c:26 +#: repquota.c:64 warnquota.c:994 +#, c-format +msgid "Bugs to %s\n" +msgstr "Chyby hlaste na <%s>\n" + +#: convertquota.c:41 +#, c-format +msgid "" +"Utility for converting quota files.\n" +"Usage:\n" +"\t%s [options] mountpoint\n" +"\n" +"-u, --user convert user quota file\n" +"-g, --group convert group quota file\n" +"-e, --convert-endian convert quota file to correct endianity\n" +"-f, --convert-format oldfmt,newfmt convert from old to VFSv0 quota format\n" +"-h, --help show this help text and exit\n" +"-V, --version output version information and exit\n" +"\n" +msgstr "" +"Nástroj na převod kvótových souborů.\n" +"Použití:\n" +"\t%s [přepínače] bod_připojení\n" +"\n" +"-u, --user převede soubor s kvótami uživatelů\n" +"-g, --group převede soubor s kvótami skupin\n" +"-e, --convert-endian převede soubor s kvótami na správnou\n" +" endianitu\n" +"-f, --convert-format starý,nový převede ze starého formátu do formátu " +"VFSv0\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-V, --version zobrazí informace o verzi a skončí\n" +"\n" + +#: convertquota.c:97 +msgid "You have to specify source and target format of conversion.\n" +msgstr "Musíte zadat zdrojový a cílový formát převodu.\n" + +#: convertquota.c:112 quotacheck.c:404 quotaon.c:135 quotasync.c:64 +#: repquota.c:141 setquota.c:221 +msgid "Bad number of arguments.\n" +msgstr "Å patný počet argumentů.\n" + +#: convertquota.c:119 +msgid "You have to specify action to perform.\n" +msgstr "Musíte určit požadovanou akci.\n" + +#: convertquota.c:166 quotacheck_v2.c:241 quotaio_tree.c:58 +#, c-format +msgid "Cannot read block %u: %s\n" +msgstr "Blok %u nelze přečíst: %s\n" + +#: convertquota.c:191 convertquota.c:283 +#, c-format +msgid "Cannot commit dquot for id %u: %s\n" +msgstr "Nelze zapsat dquot pro ID %u: %s\n" + +#: convertquota.c:239 +msgid "Cannot read header of old quotafile.\n" +msgstr "Hlavičku starého souboru s kvótami nelze přečíst.\n" + +#: convertquota.c:243 +msgid "" +"Bad file magic or version (probably not quotafile with bad endianity).\n" +msgstr "" +"Å patný magický kód nebo verze (pravděpodobně se nejedná o kvótový soubor\n" +"s chybnou endianitou).\n" + +#: convertquota.c:254 +msgid "Cannot read information about old quotafile.\n" +msgstr "Údaje o starém kvótovém souboru nelze přečíst.\n" + +#: convertquota.c:296 +msgid "Cannot get name of new quotafile.\n" +msgstr "Nelze získat název nového souboru s kvótami.\n" + +#: convertquota.c:302 quotacheck.c:753 +#, c-format +msgid "Cannot rename new quotafile %s to name %s: %s\n" +msgstr "Nový kvótový soubor %s nelze přejmenovat na %s: %s\n" + +#: convertquota.c:316 +#, c-format +msgid "Cannot open old format file for %ss on %s\n" +msgstr "Nelze otevřít soubor ve starém formátu pro %s na %s\n" + +#: convertquota.c:321 convertquota.c:354 +#, c-format +msgid "Cannot create file for %ss for new format on %s: %s\n" +msgstr "Nelze vytvořit soubor pro %s v novém formátu na %s: %s\n" + +#: convertquota.c:344 +#, c-format +msgid "Cannot open old quota file on %s: %s\n" +msgstr "Nelze otevřít starý kvótový soubor na %s: %s\n" + +#: convertquota.c:380 +msgid "Unknown action should be performed.\n" +msgstr "Provedena by měla být neznámá akce.\n" + +#: edquota.c:81 +#, c-format +msgid "" +"Usage:\n" +"\tedquota %1$s[-u] [-F formatname] [-p username] [-f filesystem] " +"username ...\n" +"\tedquota %1$s-g [-F formatname] [-p groupname] [-f filesystem] " +"groupname ...\n" +"\tedquota [-u|g] [-F formatname] [-f filesystem] -t\n" +"\tedquota [-u|g] [-F formatname] [-f filesystem] -T username|groupname ...\n" +msgstr "" +"Použití:\n" +"\tedquota %1$s[-u] [-F FORMÁT] [-p UŽIVATEL] [-f SOUBOROVÝ_SYSTÉM] " +"UŽIVATEL…\n" +"\tedquota %1$s-g [-F FORMÁT] [-p SKUPINA] [-f SOUBOROVÝ_SYSTÉM] SKUPINA…\n" +"\tedquota [-u|g] [-F FORMÁT] [-f SOUBOROVÝ_SYSTÉM] -t\n" +"\tedquota [-u|g] [-F FORMÁT] [-f SOUBOROVÝ_SYSTÉM] -T UŽIVATEL|SKUPINA…\n" + +#: edquota.c:85 +msgid "" +"\n" +"-u, --user edit user data\n" +"-g, --group edit group data\n" +msgstr "" +"\n" +"-u, --user upraví údaje o uživateli\n" +"-g, --group upraví údaje o skupině\n" + +#: edquota.c:89 +msgid "" +"-r, --remote edit remote quota (via RPC)\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +msgstr "" +"-r, --remote upraví vzdálenou kvótu (přes RPC)\n" +"-m, --no-mixed-pathnames odstraní z připojovacích míst NFSv4 počáteční\n" +" lomítka\n" + +#: edquota.c:92 +msgid "" +"-F, --format=formatname edit quotas of a specific format\n" +"-p, --prototype=name copy data from a prototype user/group\n" +" --always-resolve always try to resolve name, even if it is\n" +" composed only of digits\n" +"-f, --filesystem=filesystem edit data only on a specific filesystem\n" +"-t, --edit-period edit grace period\n" +"-T, --edit-times edit grace time of a user/group\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"-F, --format=FORMÁT upraví kvóty v zadaném formátu\n" +"-p, --prototype=JMÉNO zkopíruje údaje z uživatele/skupiny coby " +"vzoru\n" +" --always-resolve vždy zkusí přeložit jméno, i když je tvořeno\n" +" jen číslicemi\n" +"-f, --filesystem=SOUBOROVÝ_SYSTÉM\n" +" upraví údaje jen na zadaném " +"SOUBOROVÉM_SYSTÉMU\n" +"-t, --edit-period upraví periodu odkladu\n" +"-T, --edit-times upraví dobu odkladu pro uživatele/skupinu\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-V, --version zobrazí údaje o verzi a skončí\n" +"\n" + +#: edquota.c:101 quota.c:111 setquota.c:79 +#, c-format +msgid "Bugs to: %s\n" +msgstr "" +"Chyby v programu zasílejte (anglicky) na: %s\n" +"Chyby v překladu (česky) na: \n" + +#: edquota.c:183 +msgid "" +"Prototype name does not make sense when editing grace period or times.\n" +msgstr "Při úpravě periody nebo doby odkladu nedává jméno vzoru smysl.\n" + +#: edquota.c:187 +msgid "Cannot change grace times over RPC protocol.\n" +msgstr "Doby odkladu nelze měnit přes protokol RPC.\n" + +#: edquota.c:205 +#, c-format +msgid "Cannot get quota information for user %s\n" +msgstr "Údaj o kvótě uživatele %s nelze získat\n" + +#: edquota.c:211 +msgid "fsname mismatch\n" +msgstr "fsname (název souborového systému) se neshoduje\n" + +#: edquota.c:253 +msgid "No filesystems with quota detected.\n" +msgstr "Nenalezeny žádné souborové systémy s kvótou.\n" + +#: edquota.c:269 +#, c-format +msgid "Cannot create temporary file: %s\n" +msgstr "Nelze vytvořit dočasný soubor: %s\n" + +#: edquota.c:274 +#, c-format +msgid "Cannot change owner of temporary file: %s\n" +msgstr "Nelze změnit vlastníka dočasného souboru: %s\n" + +#: edquota.c:281 +msgid "Cannot write grace times to file.\n" +msgstr "Do souboru nelze zapsat doby odkladu.\n" + +#: edquota.c:285 +msgid "Error while editing grace times.\n" +msgstr "Chyba při úpravě dob odkladu.\n" + +#: edquota.c:289 +msgid "Failed to parse grace times file.\n" +msgstr "Rozbor souboru s dobami odkladu se nezdařil.\n" + +#: edquota.c:298 edquota.c:324 +#, c-format +msgid "Cannot get quota information for user %s.\n" +msgstr "Údaj o kvótě uživatele %s nelze získat.\n" + +#: edquota.c:300 +msgid "Cannot write individual grace times to file.\n" +msgstr "Do souboru nelze zapsat jednotlivé doby odkladu.\n" + +#: edquota.c:305 +msgid "Error while editing individual grace times.\n" +msgstr "Chyba při úpravě jednotlivých dob odkladu.\n" + +#: edquota.c:310 +msgid "Cannot read individual grace times from file.\n" +msgstr "Ze souboru nelze načíst jednotlivé doby odkladu.\n" + +#: edquota.c:326 +msgid "Cannot write quotas to file.\n" +msgstr "Kvóty nelze do souboru zapsat.\n" + +#: edquota.c:331 +msgid "Error while editing quotas.\n" +msgstr "Chyba při úpravě kvót.\n" + +#: edquota.c:337 +msgid "Cannot reopen!" +msgstr "Nelze znovu otevřít!" + +#: edquota.c:339 +msgid "Cannot read quotas from file.\n" +msgstr "Kvóty nelze ze souboru.\n" + +#: quota.c:85 +msgid "Usage: quota [-guqvswim] [-l | [-Q | -A]] [-F quotaformat]\n" +msgstr "Použití: quota [-guqvswim] [-l | [-Q | -A]] [-f FORMÁT]\n" + +#: quota.c:86 +msgid "\tquota [-qvswim] [-l | [-Q | -A]] [-F quotaformat] -u username ...\n" +msgstr "\tquota [-qvswim] [-l | [-Q | -A]] [-F FORMÁT] -u UŽIVATEL…\n" + +#: quota.c:87 +msgid "\tquota [-qvswim] [-l | [-Q | -A]] [-F quotaformat] -g groupname ...\n" +msgstr "\tquota [-qvswim] [-l | [-Q | -A]] [-F FORMÁT] -g SKUPINA…\n" + +#: quota.c:88 +msgid "\tquota [-qvswugQm] [-F quotaformat] -f filesystem ...\n" +msgstr "\tquota [-qvswugQm] [-F FORMÁT] -f SOUBOROVÝ_SYSTÉM…\n" + +#: quota.c:89 +msgid "" +"\n" +"-u, --user display quota for user\n" +"-g, --group display quota for group\n" +"-q, --quiet print more terse message\n" +"-v, --verbose print more verbose message\n" +"-s, --human-readable display numbers in human friendly units (MB, " +"GB...)\n" +" --always-resolve always try to translate name to id, even if it is\n" +"\t\t\t composed of only digits\n" +"-w, --no-wrap do not wrap long lines\n" +"-p, --raw-grace print grace time in seconds since epoch\n" +"-l, --local-only do not query NFS filesystems\n" +"-Q, --quiet-refuse do not print error message when NFS server does\n" +" not respond\n" +"-i, --no-autofs do not query autofs mountpoints\n" +"-F, --format=formatname display quota of a specific format\n" +"-f, --filesystem-list display quota information only for given " +"filesystems\n" +"-A, --nfs-all display quota for all NFS mountpoints\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +" --show-mntpoint show mount point of the file system in output\n" +" --hide-device do not show file system device in output\n" +"-h, --help display this help message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"\n" +"-u, --user zobrazí kvótu uživatele\n" +"-g, --group zobrazí kvótu skupiny\n" +"-q, --quiet vypisuje stručnější hlášky\n" +"-v, --verbose vypisuje podrobnější hlášky\n" +"-s, --human-readable čísla zobrazí v přirozeném tvaru (MB, GB…)\n" +" --always-resolve vždy zkusí přeložit jméno na ID, i když je " +"tvořeno\n" +" jen číslicemi\n" +"-w, --no-wrap nezalamuje dlouhé řádky\n" +"-p, --raw-grace dobu odkladu vypíše v sekundách od počátku epochy\n" +"-l, --local-only nedotazuje se souborových systémů přes NFS\n" +"-Q, --quiet-refuse nevypisuje chybové hlášení, když NFS server " +"neodpoví\n" +"-i, --no-autofs nedotazuje se bodů připojení typu autofs\n" +"-F, --format=FORMÁT zobrazí kvótu určeného FORMÁTU\n" +"-f, --filesystem-list zobrazí údaje o kvótách jen pro zadané systémy\n" +" souborů\n" +"-A, --nfs-all zobrazí kvóty pro vÅ¡echny místa připojení typu " +"NFS\n" +"-m, --no-mixed-pathnames odstraní úvodní lomítka z míst připojení typu " +"NFSv4\n" +" --show-mntpoint zobrazí bod připojení systému souborů\n" +" --hide-device nezobrazí zařízení systému souborů\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-V, --version zobrazí údaje o verzi a skončí\n" +"\n" + +#: quota.c:120 +msgid "space" +msgstr "místo" + +#: quota.c:122 +msgid "blocks" +msgstr "bloky" + +# FIXME: third argument is first character of first argument +# (user/group → u/g-id). This is not localizable. +#: quota.c:124 +#, c-format +msgid "Disk quotas for %s %s (%cid %u): %s\n" +msgstr "Diskové kvóty pro %s %s (%cid %u): %s\n" + +# FIXME: printf(3) counts bytes, not columns +#: quota.c:127 +msgid "Filesystem" +msgstr "Souborovy system" + +# FIXME: printf(3) counts bytes, not columns +#: quota.c:128 quota.c:129 +msgid "quota" +msgstr "kvota" + +# FIXME: printf(3) counts bytes, not columns +#: quota.c:128 quota.c:129 +msgid "limit" +msgstr "limit" + +# FIXME: printf(3) counts bytes, not columns +#: quota.c:128 quota.c:129 +msgid "grace" +msgstr "odklad" + +# FIXME: printf(3) counts bytes, not columns +#: quota.c:129 +msgid "files" +msgstr "souboru" + +#: quota.c:201 +msgid "File limit reached on" +msgstr "Omezení počtu souborů dosaženo na" + +#: quota.c:207 +msgid "In file grace period on" +msgstr "V periodě odkladu počtu souborů na" + +#: quota.c:211 +msgid "Over file quota on" +msgstr "Kvóta na počet souborů přesažena na" + +#: quota.c:217 +msgid "Block limit reached on" +msgstr "Omezení na počet bloků dosaženo na" + +#: quota.c:223 +msgid "In block grace period on" +msgstr "V periodě odkladu počtu bloků na" + +#: quota.c:227 +msgid "Over block quota on" +msgstr "Kvóta na počet bloků překročena na" + +# FIXME: context +# None limit +# None grace +#: quota.c:290 quotasys.c:288 +msgid "none" +msgstr "žádný" + +#: quota.c:396 +#, c-format +msgid "Warning: Ignoring -%c when filesystem list specified.\n" +msgstr "Pozor: Je-li zadán seznam souborových systémů, -%c bude ignorován.\n" + +#: quota.c:403 +msgid "No filesystem specified.\n" +msgstr "Nezadán žádný systém souborů.\n" + +#: quota.c:411 +#, c-format +msgid "Gid set allocation (%d): %s\n" +msgstr "Alokace množiny GID (%d): %s\n" + +#: quota.c:417 +#, c-format +msgid "getgroups(): %s\n" +msgstr "getgroups(): %s\n" + +#: quotacheck.c:96 +msgid "Not enough memory.\n" +msgstr "Nedostatek paměti.\n" + +#: quotacheck.c:128 +#, c-format +msgid "Adding hardlink for ino %llu\n" +msgstr "Přidává se pevný odkaz na iuzel %llu\n" + +#: quotacheck.c:171 +#, c-format +msgid "Adding dquot structure type %s for %d\n" +msgstr "Přidává se struktura dquot typu %s pro %d\n" + +#: quotacheck.c:257 +#, c-format +msgid "Cannot open file %s: %s\n" +msgstr "Soubor %s nelze otevřít: %s\n" + +#: quotacheck.c:262 +msgid "Cannot get exact used space... Results might be inaccurate.\n" +msgstr "" +"Nelze zjistit přesné množství zabraného místa. Výsledky mohou být\n" +"nepřesné.\n" + +#: quotacheck.c:300 +#, c-format +msgid "" +"Utility for checking and repairing quota files.\n" +"%s [-gucbfinvdmMR] [-F ] filesystem|-a\n" +"\n" +"-u, --user check user files\n" +"-g, --group check group files\n" +"-c, --create-files create new quota files\n" +"-b, --backup create backups of old quota files\n" +"-f, --force force check even if quotas are enabled\n" +"-i, --interactive interactive mode\n" +"-n, --use-first-dquot use the first copy of duplicated structure\n" +"-v, --verbose print more information\n" +"-d, --debug print even more messages\n" +"-m, --no-remount do not remount filesystem read-only\n" +"-M, --try-remount try remounting filesystem read-only,\n" +" continue even if it fails\n" +"-R, --exclude-root exclude root when checking all filesystems\n" +"-F, --format=formatname check quota files of specific format\n" +"-a, --all check all filesystems\n" +"-h, --help display this message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"Nástroj pro kontrolu a opravu kvótových souborů.\n" +"%s [-gucbfinvdmMR] [-F FORMÁT_KVÓTY] SOUBOROVÝ_SYSTÉM|-a\n" +"\n" +"-u, --user zkontrolovat soubory uživatele\n" +"-g, --group zkontrolovat soubory skupiny\n" +"-c, --create-files vytvořit nové soubory kvót\n" +"-b, --backup vytvořit zálohy starých souborů kvót\n" +"-f, --force vynutit kontrolu, i když kvóty jsou zapnuté\n" +"-i, --interactive interaktivní režim\n" +"-n, --use-first-dquot použít první kopii zdvojené struktury\n" +"-v, --verbose zobrazovat podrobnosti\n" +"-d, --debug zobrazovat jeÅ¡tě více podrobností\n" +"-m, --no-remount nepřepojovat souborový systém jen pro čtení\n" +"-M, --try-remount zkusit přepojit souborový systém jen pro čtení,\n" +" pokračovat, i když se nezdaří\n" +"-R, --exclude-root vynechat kořenový systém, pokud se kontrolují\n" +" vÅ¡echny souborové systémy\n" +"-F, --format=FORMÁT_KVÓTY\n" +" zkontrolovat kvótové soubory daného formátu\n" +"-a, --all zkontrolovat vÅ¡echny souborové systémy\n" +"-h, --help zobrazit tuto zprávu a skončit\n" +"-V, --version zobrazit údaje o verzi a skončit\n" +"\n" + +#: quotacheck.c:430 +#, c-format +msgid "error (%d) while opening %s\n" +msgstr "chyba (%d) při otevírání %s\n" + +#: quotacheck.c:435 +#, c-format +msgid "error (%d) while allocating inode file bitmap\n" +msgstr "chyba (%d) při alokaci bitmapy iuzlů souborů\n" + +#: quotacheck.c:440 +#, c-format +msgid "errstr (%d) while allocating inode directory bitmap\n" +msgstr "chyba (%d) při alokaci bitmapy iuzlů adresářů\n" + +#: quotacheck.c:445 +#, c-format +msgid "error (%d) while opening inode scan\n" +msgstr "chyba (%d) při otevírání vyhledávače iuzlů\n" + +#: quotacheck.c:450 +#, c-format +msgid "error (%d) while starting inode scan\n" +msgstr "chyba (%d) při zahájení prohledávání iuzlů\n" + +#: quotacheck.c:458 +#, c-format +msgid "Found i_num %ld, blocks %ld\n" +msgstr "Nalezen i_num %ld, bloků %ld\n" + +#: quotacheck.c:464 +msgid "High uid detected.\n" +msgstr "Nalezeno vysoké UID.\n" + +#: quotacheck.c:480 +#, c-format +msgid "Something weird happened while scanning. Error %d\n" +msgstr "Při prohledávání se stalo něco divného. Chyba %d\n" + +#: quotacheck.c:504 +#, c-format +msgid "Cannot stat directory %s: %s\n" +msgstr "Údaje o adresáři %s nelze získat: %s\n" + +#: quotacheck.c:516 +#, c-format +msgid "" +"\n" +"Can open directory %s: %s\n" +msgstr "" +"\n" +"Adresář %s nelze otevřít: %s\n" + +#: quotacheck.c:528 +#, c-format +msgid "" +"lstat Cannot stat `%s/%s': %s\n" +"Guess you'd better run fsck first !\n" +"exiting...\n" +msgstr "" +"lstat: Nelze získat údaje o „%s/%s“: %s\n" +"Bylo by lepší, kdybyste nejprve spustili fsck!\n" +"Končí se…\n" + +#: quotacheck.c:539 +#, c-format +msgid "pushd %s/%s\n" +msgstr "pushd %s/%s\n" + +#: quotacheck.c:555 +#, c-format +msgid "\tAdding %s size %lld ino %d links %d uid %u gid %u\n" +msgstr "\tPřidává se %s: velikost %lld iuzel %d odkazů %d, UID %u GID %u\n" + +#: quotacheck.c:565 +msgid "Scanning stored directories from directory stack\n" +msgstr "Prohledávají se adresáře uložené na zásobníku adresářů\n" + +#: quotacheck.c:569 +#, c-format +msgid "" +"popd %s\n" +"Entering directory %s\n" +msgstr "" +"popd %s\n" +"Vstupuje se do adresáře %s\n" + +#: quotacheck.c:581 +#, c-format +msgid "Leaving %s\n" +msgstr "OpouÅ¡tí se %s\n" + +#: quotacheck.c:621 +#, c-format +msgid "Going to check %s quota file of %s\n" +msgstr "Bude se kontrolovat %s kvótový soubor systému %s\n" + +#: quotacheck.c:627 +#, c-format +msgid "" +"Quota for %ss is enabled on mountpoint %s so quotacheck might damage the " +"file.\n" +msgstr "" +"Kvóta pro %s je na systému %s zapnuta,\n" +"takže quotacheck by mohl daný soubor poÅ¡kodit.\n" + +#: quotacheck.c:628 quotacheck.c:939 +msgid "Should I continue" +msgstr "Má se pokračovat?" + +#: quotacheck.c:629 quotacheck.c:940 +#, c-format +msgid "As you wish... Canceling check of this file.\n" +msgstr "Jak si přejete. Kontrola tohoto souboru se ruší.\n" + +#: quotacheck.c:634 +#, c-format +msgid "" +"Quota for %ss is enabled on mountpoint %s so quotacheck might damage the " +"file.\n" +"Please turn quotas off or use -f to force checking.\n" +msgstr "" +"Kvóta pro %s je na systému %s zapnuta,\n" +"takže quotacheck by mohl daný soubor poÅ¡kodit. Prosím, kvóty vypněte,\n" +"nebo kontrolu vynuÅ¥te přepínačem „-f“.\n" + +#: quotacheck.c:641 +#, c-format +msgid "Error while syncing quotas on %s: %s\n" +msgstr "Chyba při synchronizaci kvót na %s: %s\n" + +#: quotacheck.c:646 +#, c-format +msgid "Cannot get quotafile name for %s\n" +msgstr "Nelze získat název kvótového souboru pro %s\n" + +#: quotacheck.c:651 quotaio.c:150 quotasys.c:552 +#, c-format +msgid "Cannot open quotafile %s: %s\n" +msgstr "Kvótový soubor %s nelze otevřít: %s\n" + +#: quotacheck.c:691 +msgid "Renaming new files to proper names.\n" +msgstr "Nové soubory se přejmenovávají na správné názvy.\n" + +#: quotacheck.c:693 +#, c-format +msgid "Cannot get name of old quotafile on %s.\n" +msgstr "Nelze zjistit název starého kvótového souboru na %s.\n" + +#: quotacheck.c:696 +msgid "Old file not found.\n" +msgstr "Starý kvótový soubor nenalezen.\n" + +#: quotacheck.c:699 +#, c-format +msgid "Error while searching for old quota file %s: %s\n" +msgstr "Chyba při hledávání starého kvótového souboru %s: %s\n" + +#: quotacheck.c:708 +msgid "Old file found removed during check!\n" +msgstr "Starý soubor byl během kontroly odstraněn!\n" + +#: quotacheck.c:711 +#, c-format +msgid "Error while opening old quota file %s: %s\n" +msgstr "Chyba při otevírání starého kvótového souboru %s: %s\n" + +#: quotacheck.c:717 +#, c-format +msgid "EXT2_IOC_GETFLAGS failed: %s\n" +msgstr "Volání EXT2_IOC_GETFLAGS selhalo: %s\n" + +#: quotacheck.c:721 +#, c-format +msgid "Quota file %s has IMMUTABLE flag set. Clearing.\n" +msgstr "" +"Kvótový soubor %s má nastaven příznak\n" +"NEMĚNITELNOSTI (immutable). Příznak odebrán.\n" + +#: quotacheck.c:724 +#, c-format +msgid "Failed to remove IMMUTABLE flag from quota file %s: %s\n" +msgstr "Odebrání příznaku NEMĚNITELNOSTI z kvótového souboru %s selhalo: %s\n" + +#: quotacheck.c:733 +#, c-format +msgid "Renaming old quotafile to %s~\n" +msgstr "Starý kvótový soubor se přejmenovává na %s~\n" + +#: quotacheck.c:739 +#, c-format +msgid "Name of quota file too long. Contact %s.\n" +msgstr "Název kvótového souboru je příliÅ¡ dlouhý. Kontaktujte %s.\n" + +#: quotacheck.c:741 +#, c-format +msgid "Cannot rename old quotafile %s to %s: %s\n" +msgstr "Starý kvótový soubor %s nelze přejmenovat na %s: %s\n" + +#: quotacheck.c:747 +msgid "Renaming new quotafile\n" +msgstr "Přejmenovává se nový kvótový soubor\n" + +#: quotacheck.c:759 +#, c-format +msgid "Cannot change permission of %s: %s\n" +msgstr "Nelze změnit práva souboru %s: %s\n" + +#: quotacheck.c:766 +#, c-format +msgid "Cannot open new quota file %s: %s\n" +msgstr "Nový kvótový soubor %s nelze otevřít: %s\n" + +#: quotacheck.c:771 +#, c-format +msgid "Warning: Cannot set EXT2 flags on %s: %s\n" +msgstr "Pozor: Příznak EXT2 nelze u %s nastavit: %s\n" + +#: quotacheck.c:791 +#, c-format +msgid "Dumping gathered data for %ss.\n" +msgstr "Zapisují se data nasbíraná pro %s.\n" + +#: quotacheck.c:794 +#, c-format +msgid "Cannot initialize IO on xfs/gfs2 quotafile: %s\n" +msgstr "Nelze inicializovat I/O na kvótovém souboru XFS/GFS2: %s\n" + +#: quotacheck.c:800 +#, c-format +msgid "Cannot initialize IO on new quotafile: %s\n" +msgstr "Nelze inicializovat I/O na novém kvótovém souboru: %s\n" + +#: quotacheck.c:827 +#, c-format +msgid "Cannot finish IO on new quotafile: %s\n" +msgstr "Nelze dokončit I/O na novém kvótovém souboru: %s\n" + +#: quotacheck.c:830 +msgid "Data dumped.\n" +msgstr "Data zapsána.\n" + +#: quotacheck.c:835 +#, c-format +msgid "Cannot find checked quota file for %ss on %s!\n" +msgstr "Nelze najít kontrolovaný kvótový soubor pro %s na %s!\n" + +#: quotacheck.c:839 +#, c-format +msgid "" +"Cannot turn %s quotas off on %s: %s\n" +"Kernel won't know about changes quotacheck did.\n" +msgstr "" +"Kvóty %s na %s nelze vypnout: %s\n" +"Jádro se nedozví o změnách, které nástroj quotacheck provedl.\n" + +#: quotacheck.c:852 +#, c-format +msgid "" +"Cannot turn %s quotas on on %s: %s\n" +"Kernel won't know about changes quotacheck did.\n" +msgstr "" +"Kvóty %s na %s nelze zapnout: %s\n" +"Jádro se nedozví o změnách, které nástroj quotacheck provedl.\n" + +#: quotacheck.c:874 +#, c-format +msgid "Substracting space used by old %s quota file.\n" +msgstr "Odečítá se místo zabrané starým %s kvótovým souborem.\n" + +#: quotacheck.c:876 +#, c-format +msgid "" +"Old %s file name could not been determined. Usage will not be substracted.\n" +msgstr "" +"Název starého %s souboru nemohl být určen. Místo nebude odečteno.\n" + +#: quotacheck.c:881 +#, c-format +msgid "Cannot stat old %s quota file %s: %s. Usage will not be substracted.\n" +msgstr "" +"Nebylo možné zjistit údaje o starém kvótovém %s souboru %s: %s.\n" +"Místo nebude odečteno.\n" + +#: quotacheck.c:893 +#, c-format +msgid "" +"Quota structure for %s owning quota file not present! Something is really " +"wrong...\n" +msgstr "" +"Kvótová struktura pro %s vlastnícího kvótový soubor není přítomna!\n" +"Něco se opravdu pokazilo.\n" + +# FIXME: plural +#: quotacheck.c:898 +#, c-format +msgid "Substracted %lu bytes.\n" +msgstr "Odečteno %'lu bajtů.\n" + +#: quotacheck.c:911 +#, c-format +msgid "Cannot stat mountpoint %s: %s\n" +msgstr "Nelze získat údaje o přípojném bodu %s: %s\n" + +#: quotacheck.c:913 +#, c-format +msgid "Mountpoint %s is not a directory?!\n" +msgstr "Přípojný bod %s není adresářem?!\n" + +#: quotacheck.c:938 +#, c-format +msgid "" +"Cannot remount filesystem mounted on %s read-only. Counted values might not " +"be right.\n" +msgstr "" +"Souborový systém připojený do %s nelze přepojit\n" +"jen pro čtení. Vypočtené hodnoty nemusí být správné.\n" + +#: quotacheck.c:946 +#, c-format +msgid "" +"Cannot remount filesystem mounted on %s read-only so counted values might " +"not be right.\n" +"Please stop all programs writing to filesystem or use -m flag to force " +"checking.\n" +msgstr "" +"Souborový systém připojený do %s nelze přepojit\n" +"jen pro čtení, tudíž vypočtené hodnoty nemusí být správné.\n" +"Prosím, zastavte vÅ¡echny programy zapisující do souborového systému, nebo\n" +"kontrolu vynuÅ¥te přepínačem -m.\n" + +#: quotacheck.c:954 +msgid "Filesystem remounted read-only\n" +msgstr "Systém souborů přepojen jen pro čtení\n" + +#: quotacheck.c:957 +#, c-format +msgid "Scanning %s [%s] " +msgstr "Prohledává se %s [%s]" + +#: quotacheck.c:974 +msgid "done\n" +msgstr "hotovo\n" + +# FIXME: plurals +#: quotacheck.c:983 +#, c-format +msgid "Checked %d directories and %d files\n" +msgstr "Zkontrolováno %d adresářů a %d souborů\n" + +#: quotacheck.c:987 +#, c-format +msgid "" +"Cannot remount filesystem %s read-write. cannot write new quota files.\n" +msgstr "" +"Systém souborů %s nelze přepojit pro zápis. Nový soubor\n" +"s kvótami nelze zapsat.\n" + +#: quotacheck.c:988 +msgid "Filesystem remounted RW.\n" +msgstr "Systém souborů přepojen pro zápis.\n" + +#: quotacheck.c:1031 +#, c-format +msgid "Cannot find quota option on filesystem %s with quotas!\n" +msgstr "U souborového systému %s s kvótami nelze nalézt kvótový parametr!\n" + +#: quotacheck.c:1037 +#, c-format +msgid "Cannot detect quota format for journalled quota on %s\n" +msgstr "U žurnálované kvóty na %s nelze určit formát\n" + +#: quotacheck.c:1103 +#, c-format +msgid "Cannot get system info: %s\n" +msgstr "Nelze získat údaje o systému: %s\n" + +#  FXIME: msgid misses new lines. +#: quotacheck.c:1123 +msgid "" +"Your kernel probably supports journaled quota but you are not using it. " +"Consider switching to journaled quota to avoid running quotacheck after an " +"unclean shutdown.\n" +msgstr "" +"VaÅ¡e jádro zjevně podporuje žurnálované kvóty, ale vy je nepoužíváte.\n" +"Zvažte použití žurnálovaných kvót, což umožňuje se vyhnout pouÅ¡tění\n" +"quotacheck po nečistém vypnutí systému.\n" + +#: quotacheck.c:1137 quotasys.c:642 +msgid "Cannot initialize mountpoint scan.\n" +msgstr "Prohledávání bodu připojení nelze inicializovat.\n" + +#: quotacheck.c:1142 +#, c-format +msgid "Skipping %s [%s]\n" +msgstr "Přeskakuje se %s [%s]\n" + +#: quotacheck.c:1159 +#, c-format +msgid "" +"Cannot guess format from filename on %s. Please specify format on " +"commandline.\n" +msgstr "" +"Z názvu souboru na %s nelze uhádnout formát.\n" +"Prosím, zadejte formát na příkazovém řádku.\n" + +#: quotacheck.c:1164 +#, c-format +msgid "Detected quota format %s\n" +msgstr "ZjiÅ¡těn formát kvóty %s\n" + +#: quotacheck.c:1185 +msgid "" +"Cannot find filesystem to check or filesystem not mounted with quota " +"option.\n" +msgstr "" +"Nelze nalézt systém souborů určený ke kontrole nebo systém souborů není\n" +"připojen s kvótovým parametrem.\n" + +# FIXME: plurals +#: quotacheck.c:1203 +#, c-format +msgid "" +"Allocated %d bytes memory\n" +"Free'd %d bytes\n" +"Lost %d bytes\n" +msgstr "" +"Alokováno %'d bajtů paměti\n" +"Uvolněno %'d bajtů\n" +"Ztraceno %'d bajtů\n" + +#: quotacheck_v1.c:32 +#, c-format +msgid "Cannot read entry for id %u from quotafile %s: %s\n" +msgstr "Z kvótového souboru %2$s nelze přečíst záznam pro ID %1$u: %3$s\n" + +#: quotacheck_v1.c:35 +#, c-format +msgid "Entry for id %u is truncated.\n" +msgstr "Záznam pro ID %u je zkrácen.\n" + +#: quotacheck_v1.c:64 +msgid "Loading first quota entry with grace times.\n" +msgstr "Načítá se první záznam kvóty s dobami odkladu.\n" + +#: quotacheck_v1.c:68 +#, c-format +msgid "Cannot read first entry from quotafile %s: %s\n" +msgstr "Z kvótového souboru %s nelze načíst první záznam: %s\n" + +# FIXME: duplicated message to quotacheck_v2.c:65 +#: quotacheck_v1.c:72 +#, c-format +msgid "" +"WARNING - Quotafile %s was probably truncated. Cannot save quota " +"settings...\n" +msgstr "" +"POZOR – Kvótový soubor %s byl pravděpodobně zkrácen. Nastavení kvót\n" +"nelze uložit…\n" + +#: quotacheck_v1.c:78 +msgid "First entry loaded.\n" +msgstr "První záznam načten.\n" + +#: quotacheck_v2.c:55 +msgid "Checking quotafile info...\n" +msgstr "Kontrolují se údaje kvótového souboru…\n" + +#: quotacheck_v2.c:60 +#, c-format +msgid "Cannot read info from quota file %s: %s\n" +msgstr "Údaje z kvótového souboru %s nelze přečíst: %s\n" + +#: quotacheck_v2.c:65 +#, c-format +msgid "" +"WARNING - Quota file %s was probably truncated. Cannot save quota " +"settings...\n" +msgstr "" +"POZOR – Kvótový soubor %s byl pravděpodobně zkrácen. Nastavení kvót\n" +"nelze uložit…\n" + +#: quotacheck_v2.c:77 +msgid "WARNING - Quota file info was corrupted.\n" +msgstr "POZOR – Údaje v kvótovém souboru byly poÅ¡kozeny.\n" + +#: quotacheck_v2.c:78 +#, c-format +msgid "" +"Size of file: %lu\n" +"Blocks: %u Free block: %u Block with free entry: %u Flags: %x\n" +msgstr "" +"Velikost souboru: %lu\n" +"Bloků: %u Volných bloků: %u Bloků z volnými záznamy: %u Příznaky: %x\n" + +#: quotacheck_v2.c:85 +#, c-format +msgid "" +"Setting grace times and other flags to default values.\n" +"Assuming number of blocks is %u.\n" +msgstr "" +"Doby odkladu a příznaku se nastavují na výchozí hodnoty.\n" +"Předpokládaný počet bloků je %u.\n" + +#: quotacheck_v2.c:102 +msgid "File info done.\n" +msgstr "Údaje souboru hotovy.\n" + +#: quotacheck_v2.c:113 +msgid "Corrupted blocks: " +msgstr "PoÅ¡kozené bloky: " + +#: quotacheck_v2.c:117 +#, c-format +msgid "Block %u: " +msgstr "Blok %u: " + +#: quotacheck_v2.c:179 +msgid "Duplicated entries." +msgstr "Zdvojené záznamy." + +#: quotacheck_v2.c:183 +#, c-format +msgid "" +"Found more structures for ID %u. Using values: BHARD: %lld BSOFT: %lld " +"IHARD: %lld ISOFT: %lld\n" +msgstr "" +"Nalezeno více struktur pro ID %u. Použijí se hodnoty:\n" +"\tBHARD: %lld BSOFT: %lld IHARD: %lld ISOFT: %lld\n" + +#: quotacheck_v2.c:191 +#, c-format +msgid "" +"Found more structures for ID %u. Values: BHARD: %lld/%lld BSOFT: %lld/%lld " +"IHARD: %lld/%lld ISOFT: %lld/%lld\n" +msgstr "" +"Nalezeno více struktur pro ID %u. Hodnoty:\n" +"\tBHARD: %lld/%lld BSOFT: %lld/%lld IHARD: %lld/%lld ISOFT: %lld/%lld\n" + +#: quotacheck_v2.c:196 +msgid "Should I use new values" +msgstr "Mají se použít nové hodnoty?" + +#: quotacheck_v2.c:206 +#, c-format +msgid "" +"ID %u has more structures. User intervention needed (use -i for interactive " +"mode or -n for automatic answer).\n" +msgstr "" +"ID %u má více struktur. Zásah uživatele nutný (použijte -i pro\n" +"interaktivní režim nebo -n pro automatickou odpověď).\n" + +#: quotacheck_v2.c:243 +#, c-format +msgid "Block %u is truncated.\n" +msgstr "Zkráceno %u bloků.\n" + +#: quotacheck_v2.c:252 +#, c-format +msgid "Reference to illegal block %u" +msgstr "Odkaz na zakázaný blok %u" + +#: quotacheck_v2.c:259 +#, c-format +msgid "Block %u in tree referenced twice" +msgstr "Blok %u odkazován ve stromě dvakrát" + +#: quotacheck_v2.c:275 +#, c-format +msgid "Illegal free block reference to block %u" +msgstr "Zakázaný odkaz volného bloku na blok %u" + +#: quotacheck_v2.c:278 +#, c-format +msgid "Corrupted number of used entries (%u)" +msgstr "PoÅ¡kozený počet použitých záznamů (%u)" + +#: quotacheck_v2.c:330 +#, c-format +msgid "" +"Quota file %s has corrupted headers. You have to specify quota format on " +"command line.\n" +msgstr "" +"Kvótový soubor %s má poÅ¡kozenou hlavičku. Formát souboru je třeba\n" +"zadat z příkazového řádku.\n" + +#: quotacheck_v2.c:346 +msgid "Checking quotafile headers...\n" +msgstr "Kontrolují se hlavičky kvótového souboru…\n" + +#: quotacheck_v2.c:350 +#, c-format +msgid "Cannot read header from quotafile %s: %s\n" +msgstr "Z kvótového souboru %s nelze přečíst hlavičku: %s\n" + +# FIXME: duplicated message to quotacheck_v2.c:65 +#: quotacheck_v2.c:352 +#, c-format +msgid "" +"WARNING - Quotafile %s was probably truncated. Cannot save quota " +"settings...\n" +msgstr "" +"POZOR – Kvótový soubor %s byl pravděpodobně zkrácen. Nastavení kvót\n" +"nelze uložit…\n" + +#: quotacheck_v2.c:358 +#, c-format +msgid "WARNING - Quota file %s has corrupted headers\n" +msgstr "POZOR – Kvótový soubor %s má poÅ¡kozené hlavičky\n" + +#: quotacheck_v2.c:362 +#, c-format +msgid "" +"Quota file format version %d does not match the one specified on command " +"line (%d). Quota file header may be corrupted.\n" +msgstr "" +"Verze formátu kvótového souboru %d neodpovídá formátu uvedenému na\n" +"příkazovém řádku (%d). Hlavička kvótového souboru může být poÅ¡kozena.\n" + +#: quotacheck_v2.c:366 +msgid "Continue checking assuming version from command line?" +msgstr "Pokračovat v kontrole předpokládaje verzi z příkazového řádku?" + +#: quotacheck_v2.c:372 +msgid "Headers checked.\n" +msgstr "Hlavičky zkontrolovány.\n" + +#: quotacheck_v2.c:388 +#, c-format +msgid "Do not know how to buffer format %d\n" +msgstr "Neví se, jak bufferovat formát %d\n" + +#: quotacheck_v2.c:398 +#, c-format +msgid "Headers of file %s checked. Going to load data...\n" +msgstr "Hlavičky souboru %s zkontrolovány. Nyní se budou nahrávat data…\n" + +#: quotacheck_v2.c:406 +msgid "Cannot gather quota data. Tree root node corrupted.\n" +msgstr "Nelze posbírat údaje o kvótách. Kořenový uzel stromu je poÅ¡kozen.\n" + +#: quotacheck_v2.c:414 +msgid "WARNING - Some data might be changed due to corruption.\n" +msgstr "POZOR – Některé údaje mohly být kvůli poÅ¡kození pozměněny.\n" + +#: quotacheck_v2.c:417 +msgid "Not found any corrupted blocks. Congratulations.\n" +msgstr "Nenalezeny žádné poÅ¡kozené bloky. Blahopřejeme.\n" + +#: quotaio.c:62 +msgid "Only RPC quota format is allowed on NFS filesystem.\n" +msgstr "Na souborových systémech NFS je povolen jen formát kvóty RPC.\n" + +#: quotaio.c:73 +msgid "RPC quota format not compiled.\n" +msgstr "Kvótový formát RPC není zakompilován.\n" + +#: quotaio.c:77 +msgid "RPC quota format specified for non-NFS filesystem.\n" +msgstr "Kvótový formát RPC zadán pro ne-NFS souborový systém.\n" + +#: quotaio.c:84 +msgid "Only XFS quota format is allowed on XFS filesystem.\n" +msgstr "Pouze kvótový formát XFS je povolen na souborovém systému XFS.\n" + +#: quotaio.c:95 +msgid "XFS quota allowed only on XFS filesystem.\n" +msgstr "XFS kvóty jsou povoleny pouze na souborovém systému XFS.\n" + +#: quotaio.c:109 +msgid "Quota not supported by the filesystem.\n" +msgstr "Kvóta není souborovým systémem podporována.\n" + +#: quotaio.c:129 +msgid "Cannot find any quota file to work on.\n" +msgstr "Nenalezeny žádné kvótové souboru ke zpracování.\n" + +#: quotaio.c:134 +msgid "Quota file not found or has wrong format.\n" +msgstr "Kvótový soubor nenalezen nebo má chybný formát.\n" + +#: quotaio.c:144 +#, c-format +msgid "Cannot sync quotas on device %s: %s\n" +msgstr "Kvóty na zařízení %s nelze synchronizovat: %s\n" + +#: quotaio.c:175 +#, c-format +msgid "Cannot initialize quota on %s: %s\n" +msgstr "Kvóty na %s nelze inicializovat: %s\n" + +#: quotaio.c:202 +#, c-format +msgid "Creation of %s quota format is not supported.\n" +msgstr "Tvorba formátu kvóty %s není podporována.\n" + +#: quotaio.c:212 +#, c-format +msgid "" +"Quota on %s is stored in system files and must be manipulated by fs tools.\n" +msgstr "" +"Kvóta na %s je uložena v souborovém systému, a musí se s ní\n" +"zacházet pomocí nástrojů souborového systému.\n" + +#: quotaio.c:222 +#, c-format +msgid "Cannot create new quotafile %s: %s\n" +msgstr "Nový kvótový soubor %s nelze vytvořit: %s\n" + +#: quotaio.c:296 +#, c-format +msgid "" +"Trying to set quota limits out of range supported by quota format on %s.\n" +msgstr "" +"Pokus nastavit limit mimo rozsah podporovaný formátem kvóty na %s.\n" + +#: quotaio.c:302 +#, c-format +msgid "" +"Trying to set quota usage out of range supported by quota format on %s.\n" +msgstr "" +"Pokus nastavit zabrané místo mimo rozsah podporovaný formátem kvóty na %s.\n" + +#: quotaio_generic.c:54 +#, c-format +msgid "Cannot get info for %s quota file from kernel on %s: %s\n" +msgstr "Z jádra nelze získat údaje o kvótovém souboru %s na %s: %s\n" + +#: quotaio_generic.c:72 +#, c-format +msgid "Cannot set info for %s quota file from kernel on %s: %s\n" +msgstr "Z jádra nelze nastavit údaje o kvótovém souboru %s na %s: %s\n" + +#: quotaio_generic.c:84 +#, c-format +msgid "Cannot get quota for %s %d from kernel on %s: %s\n" +msgstr "Z jádra nelze získat kvótu pro %s %d na %s: %s\n" + +#: quotaio_generic.c:99 +#, c-format +msgid "Cannot set quota for %s %d from kernel on %s: %s\n" +msgstr "Z jádra nelze nastavit kvótu pro %s %d na %s: %s\n" + +#: quotaio_meta.c:22 +msgid "Metadata init_io called when kernel support is not enabled.\n" +msgstr "Funkce metadat init_io zavolána, i když podpora jádra není zapnuta.\n" + +#: quotaio_meta.c:26 +msgid "" +"Metadata init_io called when kernel does not support generic quota " +"interface!\n" +msgstr "" +"Funkce metadat init_io zavolána, když jádro nepodporuje obecné rozhraní\n" +"pro kvóty!\n" + +#: quotaio_rpc.c:76 quotaio_v1.c:308 quotaio_v2.c:464 +#, c-format +msgid "Trying to write quota to readonly quotafile on %s\n" +msgstr "Pokus zapsat kvótu do kvótového souboru, který jen pro čtení, na %s\n" + +#: quotaio_tree.c:71 +#, c-format +msgid "Cannot write block (%u): %s\n" +msgstr "Nelze zapsat blok (%u): %s\n" + +#: quotaio_tree.c:94 +msgid "Cannot allocate new quota block (out of disk space).\n" +msgstr "Nelze alokovat nový kvótový blok (na disku doÅ¡lo místo).\n" + +#: quotaio_tree.c:202 +msgid "find_free_dqentry(): Data block full but it shouldn't.\n" +msgstr "find_free_dqentry(): Datový blok je plný, ačkoliv by neměl být.\n" + +#: quotaio_tree.c:237 +#, c-format +msgid "Inserting already present quota entry (block %u).\n" +msgstr "Vložení již přítomného záznamu kvóty (blok %u).\n" + +#: quotaio_tree.c:260 +#, c-format +msgid "Cannot write quota (id %u): %s\n" +msgstr "Kvótu (ID %u) nelze zapsat: %s\n" + +#: quotaio_tree.c:279 +#, c-format +msgid "Quota write failed (id %u): %s\n" +msgstr "Zápis kvóty (ID %u) selhal: %s\n" + +#: quotaio_tree.c:291 +#, c-format +msgid "Quota structure has offset to other block (%u) than it should (%u).\n" +msgstr "Struktura kvóty má pozici na jiném bloku (%u), než by měla (%u).\n" + +#: quotaio_tree.c:367 +#, c-format +msgid "Quota for id %u referenced but not present.\n" +msgstr "Kvóta pro ID %u je odkazována, ale není přítomna.\n" + +#: quotaio_tree.c:426 +#, c-format +msgid "Cannot read quota structure for id %u: %s\n" +msgstr "Strukturu kvóty pro ID %u nelze přečíst: %s\n" + +#: quotaio_tree.c:468 +#, c-format +msgid "" +"Illegal reference (%u >= %u) in %s quota file on %s. Quota file is probably " +"corrupted.\n" +"Please run quotacheck(8) and try again.\n" +msgstr "" +"Zakázaný odkaz (%u >= %u) v kvótovém souboru %s na %s.\n" +"Kvótový soubor je pravděpodobně poÅ¡kozen.\n" +"Prosím, spusÅ¥te quotacheck(8) a zkuste to znovu.\n" + +#: quotaio_v1.c:214 +#, c-format +msgid "Trying to write info to readonly quotafile on %s.\n" +msgstr "" +"Pokus zapsat údaje do kvótového souboru, který je jen pro čtení, na %s.\n" + +#: quotaio_v2.c:255 +msgid "" +"Your quota file is stored in wrong endianity. Please use convertquota(8) to " +"convert it.\n" +msgstr "" +"Váš soubor s kvótami je uložen v chybné endianitě. Prosím, převeďte jej\n" +"pomocí convertquota(8).\n" + +# FIXME: duplicate of quotaio_v1.c:206 +#: quotaio_v2.c:388 +#, c-format +msgid "Trying to write info to readonly quotafile on %s\n" +msgstr "" +"Pokus zapsat údaje do kvótového souboru, který je jen pro čtení, na %s.\n" + +#: quotaio_v2.c:518 +#, c-format +msgid "" +"Statistics:\n" +"Total blocks: %u\n" +"Data blocks: %u\n" +"Entries: %u\n" +"Used average: %f\n" +msgstr "" +"Statistika:\n" +"Celkem bloků: %u\n" +"Datových bloků: %u\n" +"Záznamů: %u\n" +"Průměrně použito: %f\n" + +#: quotaio_xfs.c:217 +#, c-format +msgid "*** Status for %s quotas on device %s\n" +msgstr "*** Stav kvót %s na zařízení %s\n" + +#: quotaio_xfs.c:219 quotaio_xfs.c:234 +msgid "ON" +msgstr "ZAPNUTO" + +#: quotaio_xfs.c:219 quotaio_xfs.c:234 +msgid "OFF" +msgstr "VYPNUTO" + +#: quotaio_xfs.c:221 quotaio_xfs.c:225 +#, c-format +msgid "Accounting: %s; Enforcement: %s\n" +msgstr "Účtování: %s; Vynucení: %s\n" + +#: quotaio_xfs.c:237 quotaio_xfs.c:241 +#, c-format +msgid "Accounting [ondisk]: %s; Enforcement [ondisk]: %s\n" +msgstr "Účtování [ondisk]: %s; Vynucení [ondisk]: %s\n" + +#: quotaio_xfs.c:250 quotaio_xfs.c:259 +#, c-format +msgid "Inode: none\n" +msgstr "Iuzel: žádný\n" + +#: quotaio_xfs.c:252 quotaio_xfs.c:261 +#, c-format +msgid "Inode: #%llu (%llu blocks, %u extents)\n" +msgstr "Iuzel: č. %llu (%'llu bloků, %'u rozsahů)\n" + +#: quota_nld.c:80 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -C --no-console do not try to write messages to console\n" +" -b --print-below write to console also information about getting below " +"hard/soft limits\n" +" -D --no-dbus do not try to write messages to DBUS\n" +" -F --foreground run daemon in foreground\n" +msgstr "" +"Použití: %s [PŘEPÍNAČE]\n" +"Přepínače jsou:\n" +" -h --help zobrazí tento text\n" +" -V --version zobrazí údaje o verzi\n" +" -C --no-console zprávy nevypisuje na konzoli\n" +" -b --print-below na konzoli hlásí rovněž přechody pod pevný/měkký limit\n" +" -D --no-dbus zprávy nezasílá přes D-bus\n" +" -F --foreground spustit na popředí\n" + +#: quota_nld.c:114 rquota_svc.c:160 +#, c-format +msgid "Unknown option '%c'.\n" +msgstr "Neznámý přepínač „%c“.\n" + +#: quota_nld.c:120 +msgid "No possible destination for messages. Nothing to do.\n" +msgstr "Zprávy není, kam posílat. Není, co dělat.\n" + +#: quota_nld.c:146 +msgid "Error parsing netlink message.\n" +msgstr "Chyba rozboru netlinkové zprávy.\n" + +#: quota_nld.c:153 +msgid "" +"Unknown format of kernel netlink message!\n" +"Maybe your quota tools are too old?\n" +msgstr "" +"Neznámý formát netlinkové zprávy z jádra!\n" +"Nejsou vaÅ¡e nástroje pro kvótu zastaralé?\n" + +#: quota_nld.c:177 +msgid "Cannot allocate netlink handle!\n" +msgstr "Nelze alokovat deskriptor netlinku!\n" + +#: quota_nld.c:181 +#, c-format +msgid "Cannot connect to netlink socket: %s\n" +msgstr "Na netlinkový socket se nelze připojit: %s\n" + +#: quota_nld.c:184 +#, c-format +msgid "Cannot resolve quota netlink name: %s\n" +msgstr "Nelze přeložit netlinkový název kvóty: %s\n" + +#: quota_nld.c:188 +#, c-format +msgid "Cannot join quota multicast group: %s\n" +msgstr "Nelze se připojit k multicastové skupině kvóty: %s\n" + +#: quota_nld.c:193 +#, c-format +msgid "Cannot register callback for netlink messages: %s\n" +msgstr "Zpětné volání pro netlinkové zprávy nelze zaregistrovat: %s\n" + +#: quota_nld.c:207 +#, c-format +msgid "Cannot connect to system DBUS: %s\n" +msgstr "Nelze se připojit k systémové sběrnici D-bus: %s\n" + +#: quota_nld.c:272 +#, c-format +msgid "Failed to find tty of user %llu to report warning to.\n" +msgstr "" +"Nebylo možné nalézt TTY uživatele %llu, kam by se mělo vypsat upozornění.\n" + +#: quota_nld.c:277 +#, c-format +msgid "Failed to open tty %s of user %llu to report warning.\n" +msgstr "" +"Otevření TTY %s uživatele %llu, kam by se mělo vypsat upozornění, selhalo.\n" + +#: quota_nld.c:283 +msgid "Warning" +msgstr "Pozor" + +#: quota_nld.c:286 +msgid "Error" +msgstr "Chyba" + +#: quota_nld.c:288 +msgid "Info" +msgstr "Na vědomí" + +#: quota_nld.c:291 +msgid "file limit reached" +msgstr "limit na soubory dosažen" + +#: quota_nld.c:294 +msgid "file quota exceeded too long" +msgstr "kvóta na soubory překročena příliÅ¡ dlouho" + +#: quota_nld.c:297 +msgid "file quota exceeded" +msgstr "Kvóta na soubory překročena" + +#: quota_nld.c:300 +msgid "block limit reached" +msgstr "limit na bloky dosažen" + +#: quota_nld.c:303 +msgid "block quota exceeded too long" +msgstr "kvóta na bloky překročena příliÅ¡ dlouho" + +#: quota_nld.c:306 +msgid "block quota exceeded" +msgstr "kvóta na bloky překročena" + +#: quota_nld.c:309 +msgid "got below file limit" +msgstr "počet souborů klesl pod limit" + +#: quota_nld.c:312 +msgid "got below file quota" +msgstr "počet souborů klesl pod kvótu" + +#: quota_nld.c:315 +msgid "got below block limit" +msgstr "počet bloků klesl pod limit" + +#: quota_nld.c:318 +msgid "got below block quota" +msgstr "počet bloků klesl pod kvótu" + +#: quota_nld.c:321 +msgid "unknown quota warning" +msgstr "neznámé upozornění kvóty" + +#: quota_nld.c:325 +#, c-format +msgid "Failed to write quota message for user %llu to %s: %s\n" +msgstr "Zápis zprávy o kvótě pro uživatele %llu na %s selhal: %s\n" + +#: quota_nld.c:338 +msgid "Cannot create DBUS message: No enough memory.\n" +msgstr "Zprávu D-bus nelze vytvořit: Nedostatek paměti.\n" + +#: quota_nld.c:356 +msgid "Failed to write message to dbus: No enough memory.\n" +msgstr "Zprávu nelze zapsat do D-bus: Nedostatek paměti.\n" + +#: quota_nld.c:372 +#, c-format +msgid "Failed to read or parse quota netlink message: %s\n" +msgstr "Netlinkovou zprávu kvóty nebylo možné přečíst nebo rozebrat: %s\n" + +#: quotaon.c:66 +#, c-format +msgid "" +"Usage:\n" +"\t%s [-guvp] [-F quotaformat] [-x state] -a\n" +"\t%s [-guvp] [-F quotaformat] [-x state] filesys ...\n" +"\n" +"-a, --all turn quotas %s for all filesystems\n" +"-f, --off turn quotas off\n" +"-u, --user operate on user quotas\n" +"-g, --group operate on group quotas\n" +"-p, --print-state print whether quotas are on or off\n" +"-x, --xfs-command=cmd perform XFS quota command\n" +"-F, --format=formatname operate on specific quota format\n" +"-v, --verbose print more messages\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +msgstr "" +"Použití:\n" +"\t%s [-guvp] [-F FORMÁT] [-x STAV] -a\n" +"\t%s [-guvp] [-F FORMÁT] [-x STAV] SYSTÉM_SOUBORŮ…\n" +"\n" +"-a, --all změní stav kvót na %s na vÅ¡ech souborových systémech\n" +"-f, --off vypne kvóty\n" +"-u, --user operuje nad kvótami uživatele\n" +"-g, --group operuje na kvótami skupiny\n" +"-p, --print-state vypíše, zda-li jsou kvóty zapnuty, nebo vypnuty\n" +"-x, --xfs-command=PŘÍKAZ provede příkaz kvóty XFS\n" +"-F, --format=FORMÁT operuje nad zadaným kvótovým formátem\n" +"-v, --verbose vypisuje podrobná hlášení\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-V, --version zobrazí údaje o verzi a skončí\n" + +# kvóta je, změní stav kvót na +#: quotaon.c:78 quotaon.c:341 +msgid "off" +msgstr "vypnuto" + +# kvóta je, změní stav kvót na +#: quotaon.c:78 quotaon.c:341 +msgid "on" +msgstr "zapnuto" + +#: quotaon.c:139 +msgid "Cannot turn on/off quotas via RPC.\n" +msgstr "Kvóty nelze přes RPC zapnout/vypnout.\n" + +#: quotaon.c:186 +#, c-format +msgid "set root_squash on %s: %s\n" +msgstr "nastavení root_squash na %s: %s\n" + +#: quotaon.c:190 +#, c-format +msgid "%s: %s root_squash turned off\n" +msgstr "%s: root_squash na %s vypnuto\n" + +#: quotaon.c:192 +#, c-format +msgid "%s: %s root_squash turned on\n" +msgstr "%s: root_squash na %s zapnuto\n" + +#: quotaon.c:210 +#, c-format +msgid "quotactl on %s [%s]: %s\n" +msgstr "quotactl na %s [%s]: %s\n" + +#: quotaon.c:213 +#, c-format +msgid "%s [%s]: %s quotas turned off\n" +msgstr "%s [%s]: kvóty pro %s vypnuty\n" + +#: quotaon.c:226 +#, c-format +msgid "cannot find %s on %s [%s]\n" +msgstr "%s nelze na %s [%s] nalézt\n" + +#: quotaon.c:228 +#, c-format +msgid "using %s on %s [%s]: %s\n" +msgstr "použití %s na %s [%s]: %s\n" + +#: quotaon.c:230 +msgid "Maybe create new quota files with quotacheck(8)?\n" +msgstr "Možná vytvořit nové kvótové soubory pomocí quotacheck(8)?\n" + +#: quotaon.c:232 +msgid "Quota format not supported in kernel.\n" +msgstr "Formát kvóty není podporován jádrem.\n" + +#: quotaon.c:235 +#, c-format +msgid "%s [%s]: %s quotas turned on\n" +msgstr "%s [%s]: kvóty %s zapnuty\n" + +#: quotaon.c:275 +msgid "Cannot change state of GFS2 quota.\n" +msgstr "Stav kvóty GFS2 nelze změnit.\n" + +#: quotaon.c:279 +msgid "Cannot change state of XFS quota. It's not compiled in kernel.\n" +msgstr "Stav kvóty XFS nelze změnit. Není zakompilováno do jádra.\n" + +#: quotaon.c:304 +#, c-format +msgid "Cannot find quota file on %s [%s] to turn quotas on/off.\n" +msgstr "" +"Pro vypnutí/zapnutí kvót je třeba kvótový soubor, který nelze na %s [%s] " +"nalézt.\n" + +#: quotaon.c:309 +#, c-format +msgid "Quota file on %s [%s] does not exist or has wrong format.\n" +msgstr "Kvótový soubor na %s [%s] neexistuje nebo má Å¡patný formát.\n" + +#: quotaon.c:340 +#, c-format +msgid "%s quota on %s (%s) is %s\n" +msgstr "Kvóta %s na %s (%s) je %s\n" + +#: quotaon.c:357 +#, c-format +msgid "Name must be quotaon or quotaoff not %s\n" +msgstr "Název musí být quotaon nebo quotaoff, ne %s\n" + +#: quotaon.c:363 +#, c-format +msgid "Required format %s not supported by kernel.\n" +msgstr "Požadovaný formát %s není podporován jádrem.\n" + +#: quotaon.c:365 +msgid "Warning: No quota format detected in the kernel.\n" +msgstr "Pozor: Žádný formát kvóty nebyl v jádře rozpoznán.\n" + +#: quotaon.c:372 +#, c-format +msgid "%s: Quota cannot be turned on on NFS filesystem\n" +msgstr "%s: Kvótu nelze souborovém systému NFS zapnout.\n" + +#: quotaon_xfs.c:36 +#, c-format +msgid "quotactl() on %s: %s\n" +msgstr "quotactl() na %s: %s\n" + +#: quotaon_xfs.c:62 quotaon_xfs.c:82 +#, c-format +msgid "Enabling %s quota on root filesystem (reboot to take effect)\n" +msgstr "" +"Zapíná se kvóta pro %s na kořenovém souborovém systému (aby se nastavení " +"projevilo, je třeba rebootovat)\n" + +#: quotaon_xfs.c:66 +#, c-format +msgid "Enable XFS %s quota accounting during mount\n" +msgstr "Zapněte účtování kvót %s při připojení systému\n" + +#: quotaon_xfs.c:76 +#, c-format +msgid "Cannot delete %s quota on %s - switch quota accounting off first\n" +msgstr "Nelze smazat kvótu %s na %s – nejprve vypněte účtování kvót\n" + +#: quotaon_xfs.c:87 +#, c-format +msgid "Enabling %s quota enforcement on %s\n" +msgstr "Zapíná se vynucování kvót %s na %s\n" + +#: quotaon_xfs.c:90 +#, c-format +msgid "Already accounting %s quota on %s\n" +msgstr "Kvóty %s na %s se již počítají\n" + +#: quotaon_xfs.c:95 +#, c-format +msgid "Disabling %s quota accounting on %s\n" +msgstr "Vypíná se účtování kvót %s na %s\n" + +#: quotaon_xfs.c:99 +#, c-format +msgid "Quota enforcement already disabled for %s on %s\n" +msgstr "Vynucování kvót %s na %s již vypnuto\n" + +#: quotaon_xfs.c:108 +#, c-format +msgid "" +"Cannot delete %s quota on %s - switch quota enforcement and accounting off " +"first\n" +msgstr "" +"Kvótu %s nelze na %s smazat – nejprve je třeba vypnout vynucování a účtování " +"kvót\n" + +#: quotaon_xfs.c:113 +#, c-format +msgid "Enforcing %s quota already on %s\n" +msgstr "Kvóta %s se na %s již vynucuje\n" + +#: quotaon_xfs.c:118 +#, c-format +msgid "Cannot switch off %s quota accounting on %s when enforcement is on\n" +msgstr "Účtování kvóty %s na %s nelze vypnout, je-li vynucování zapnuto\n" + +#: quotaon_xfs.c:124 +msgid "and accounting " +msgstr "a účtování" + +#: quotaon_xfs.c:125 +#, c-format +msgid "Disabling %s quota enforcement %son %s\n" +msgstr "Vypíná se vynucování %2$skvóty %1$s na %3$s\n" + +#: quotaon_xfs.c:131 +#, c-format +msgid "Unexpected XFS quota state sought on %s\n" +msgstr "Hledán neočekávaný stav XFS kvóty na %s\n" + +#: quotaon_xfs.c:146 +#, c-format +msgid "quotactl on %s: %s\n" +msgstr "quotactl na %s: %s\n" + +#: quotaon_xfs.c:150 +#, c-format +msgid "%s: %s quotas turned off\n" +msgstr "%s: kvóty %s vypnuty\n" + +#: quotaon_xfs.c:152 +#, c-format +msgid "%s: %s quotas turned on\n" +msgstr "%s: kvóty %s zapnuty\n" + +#: quotaon_xfs.c:166 +#, c-format +msgid "Failed to delete quota: %s\n" +msgstr "Odstranění kvóty selhalo: %s\n" + +#: quotaon_xfs.c:171 +#, c-format +msgid "%s: deleted %s quota blocks\n" +msgstr "%s: bloky kvóty %s smazány\n" + +#: quotaon_xfs.c:224 +#, c-format +msgid "Invalid argument \"%s\"\n" +msgstr "Neplatný argument „%s“\n" + +#: quotaops.c:108 +#, c-format +msgid "%s (uid %d): Permission denied\n" +msgstr "%s (UID %d): Povolení zamítnuto\n" + +#: quotaops.c:120 +#, c-format +msgid "%s (gid %d): gid set allocation (%d): %s\n" +msgstr "%s (GID %d): alokace množiny GID (%d): %s\n" + +#: quotaops.c:131 +#, c-format +msgid "%s (gid %d): error while trying getgroups(): %s\n" +msgstr "%s (GID %d): volání getgroups() skončilo chybou: %s\n" + +#: quotaops.c:142 +#, c-format +msgid "%s (gid %d): Permission denied\n" +msgstr "%s (GID %d): Povolení zamítnuto\n" + +#: quotaops.c:158 +#, c-format +msgid "error while getting quota from %s for %s (id %u): %s\n" +msgstr "chyba při zjiÅ¡Å¥ování kvóty z %s pro %s (ID %u): %s\n" + +#: quotaops.c:183 +#, c-format +msgid "Cannot write quota for %u on %s: %s\n" +msgstr "Kvótu pro %u nelze na %s zapsat: %s\n" + +#: quotaops.c:232 +msgid "Too many parameters to editor.\n" +msgstr "PříliÅ¡ mnoho parametrů editoru.\n" + +#: quotaops.c:240 +#, c-format +msgid "Cannot exec %s\n" +msgstr "%s nelze spustit\n" + +#: quotaops.c:259 quotaops.c:384 +#, c-format +msgid "Cannot duplicate descriptor of file to write to: %s\n" +msgstr "Deskriptor souboru nelze zmnožit pro zápis: %s\n" + +#: quotaops.c:261 +#, c-format +msgid "Disk quotas for %s %s (%cid %d):\n" +msgstr "Diskové kvóty pro %s %s (%cid %d):\n" + +#: quotaops.c:265 +#, c-format +msgid "" +" Filesystem blocks soft hard inodes " +"soft hard\n" +msgstr "" +" Souborový systém bloků měkký pevný iuzlů " +"měkký pevný\n" + +#: quotaops.c:298 +#, c-format +msgid "WARNING - %s: cannot change current block allocation\n" +msgstr "POZOR – %s: množství alokovaných bloků nelze změnit\n" + +#: quotaops.c:301 +#, c-format +msgid "WARNING - %s: cannot change current inode allocation\n" +msgstr "POZOR – %s: množství alokovaných iuzlů nelze změnit\n" + +#: quotaops.c:319 quotaops.c:426 +#, c-format +msgid "Cannot duplicate descriptor of temp file: %s\n" +msgstr "Deskriptor dočasného souboru nelze zmnožit: %s\n" + +#: quotaops.c:332 +#, c-format +msgid "" +"Bad format:\n" +"%s\n" +msgstr "" +"Chybný formát:\n" +"%s\n" + +#: quotaops.c:386 +#, c-format +msgid "Times to enforce softlimit for %s %s (%cid %d):\n" +msgstr "Časy vynucení měkkého limitu pro %s %s (%cid %d):\n" + +# XXX: Keep this message on one line because parser expects exact line numbers +#: quotaops.c:388 quotaops.c:490 +#, c-format +msgid "Time units may be: days, hours, minutes, or seconds\n" +msgstr "" +"Jednotky času smí být: days (dny), hours (hodiny), minutes (minuty) nebo " +"seconds (sekundy)\n" + +#: quotaops.c:390 +#, c-format +msgid "" +" Filesystem block grace inode grace\n" +msgstr "" +" Souborový systém odklad pro bloky odklad pro " +"iuzly\n" + +#: quotaops.c:395 quotaops.c:401 quotaops.c:443 quotaops.c:455 setquota.c:245 +#: setquota.c:251 +msgid "unset" +msgstr "nenastaveno" + +#: quotaops.c:397 quotaops.c:403 +msgid "0seconds" +msgstr "0sekund" + +# TODO: Pluralize +#: quotaops.c:399 quotaops.c:405 quotasys.c:320 +#, c-format +msgid "%useconds" +msgstr "%usekund" + +#: quotaops.c:440 quotaops.c:538 +#, c-format +msgid "" +"bad format:\n" +"%s\n" +msgstr "" +"chybný formát:\n" +"%s\n" + +#: quotaops.c:450 quotaops.c:543 +msgid "Bad time units. Units are 'second', 'minute', 'hour', and 'day'.\n" +msgstr "" +"Chybné jednotky času. Jednotky jsou „second“, „minute“, „hour“ a „day“.\n" + +#: quotaops.c:486 +#, c-format +msgid "Cannot duplicate descriptor of file to edit: %s\n" +msgstr "Deskriptor editovaného souboru nelze zmnožit: %s\n" + +#: quotaops.c:488 +#, c-format +msgid "Grace period before enforcing soft limits for %ss:\n" +msgstr "Perioda odkladu před vynucením měkkého limitu pro %s:\n" + +#: quotaops.c:491 +#, c-format +msgid " Filesystem Block grace period Inode grace period\n" +msgstr "" +" Souborový systém Perioda odkladu bloků Perioda odkladu iuzlů\n" + +#: quotaops.c:517 +#, c-format +msgid "Cannot reopen temp file: %s\n" +msgstr "Dočasný soubor nelze znovu otevřít: %s\n" + +#: quotastats.c:48 +#, c-format +msgid "Cannot read stat file %s: %s\n" +msgstr "Nelze načíst soubor se statistikou %s: %s\n" + +#: quotastats.c:83 +#, c-format +msgid "Error while getting quota statistics from kernel: %s\n" +msgstr "Chyba při získávání statistiky kvót z jádra: %s\n" + +#: quotastats.c:87 +#, c-format +msgid "Error while getting old quota statistics from kernel: %s\n" +msgstr "Chyba při získávání staré statistiky kvót z jádra: %s\n" + +#: quotastats.c:101 +#, c-format +msgid "Kernel quota version: old\n" +msgstr "Verze jaderného subsystému kvót: stará\n" + +#: quotastats.c:103 +#, c-format +msgid "Kernel quota version: %u.%u.%u\n" +msgstr "Verze jaderného subsystému kvót: %u.%u.%u\n" + +#: quotastats.c:104 +#, c-format +msgid "Number of dquot lookups: %ld\n" +msgstr "Počet dotazů na dquota: %ld\n" + +#: quotastats.c:105 +#, c-format +msgid "Number of dquot drops: %ld\n" +msgstr "Počet zahození dquot: %ld\n" + +#: quotastats.c:106 +#, c-format +msgid "Number of dquot reads: %ld\n" +msgstr "Počet čtení dquot: %ld\n" + +#: quotastats.c:107 +#, c-format +msgid "Number of dquot writes: %ld\n" +msgstr "Počet zápisů dquot: %ld\n" + +#: quotastats.c:108 +#, c-format +msgid "Number of quotafile syncs: %ld\n" +msgstr "Počet synchronizací souboru s kvótami: %ld\n" + +#: quotastats.c:109 +#, c-format +msgid "Number of dquot cache hits: %ld\n" +msgstr "Počet úspěšných dotazů na dquot v keÅ¡i: %ld\n" + +#: quotastats.c:110 +#, c-format +msgid "Number of allocated dquots: %ld\n" +msgstr "Počet alokovaných dquot: %ld\n" + +#: quotastats.c:111 +#, c-format +msgid "Number of free dquots: %ld\n" +msgstr "Počet volných dquot: %ld\n" + +#: quotastats.c:112 +#, c-format +msgid "Number of in use dquot entries (user/group): %ld\n" +msgstr "Počet použitých záznamů dquot (uživatel/skupina): %ld\n" + +#: quotasync.c:25 +#, c-format +msgid "" +"Utility for syncing quotas.\n" +"Usage:\n" +"%s [-ug] -a | mntpoint...\n" +"\n" +msgstr "" +"Nástroj pro synchronizaci kvót.\n" +"Použití:\n" +"%s [-ug] -a | PŘÍPOJNÝ_BOD…\n" +"\n" + +#: quotasync.c:89 +#, c-format +msgid "%s quota sync failed: %s\n" +msgstr "synchronizace kvóty %s selhala: %s\n" + +#: quotasync.c:100 +#, c-format +msgid "%s quota sync failed for %s: %s\n" +msgstr "synchronizace kvóty %s na %s selhala: %s\n" + +#: quotasys.c:94 +#, c-format +msgid "user %s does not exist.\n" +msgstr "uživatel %s neexistuje.\n" + +#: quotasys.c:123 +#, c-format +msgid "group %s does not exist.\n" +msgstr "skupina %s neexistuje.\n" + +#: quotasys.c:225 +#, c-format +msgid "" +"Unknown quota format: %s\n" +"Supported formats are:\n" +" vfsold - original quota format\n" +" vfsv0 - standard quota format\n" +" vfsv1 - quota format with 64-bit limits\n" +" rpc - use RPC calls\n" +" xfs - XFS quota format\n" +msgstr "" +"Neznámý formát kvót: %s\n" +"Podporované formáty jsou:\n" +" vfsold – původní formát kvót\n" +" vfsv0 – standardní formát kvót\n" +" vfsv1 – formát kvót s 64bitovými limity\n" +" rpc – použijí se volání RPC\n" +" xfs – formát kvót XFS\n" + +# TODO: Pluralize +#: quotasys.c:308 +#, c-format +msgid "%ddays" +msgstr "%ddnů" + +#: quotasys.c:310 +#, c-format +msgid "%02d:%02d" +msgstr "%02d:%02d" + +# TODO: Pluralize +#: quotasys.c:322 +#, c-format +msgid "%uminutes" +msgstr "%uminut" + +# TODO: Pluralize +#: quotasys.c:324 +#, c-format +msgid "%uhours" +msgstr "%uhodin" + +# TODO: Pluralize +#: quotasys.c:326 +#, c-format +msgid "%udays" +msgstr "%udnů" + +# TODO: Pluralize +#: quotasys.c:335 +msgid "second" +msgstr "sekunda" + +# TODO: Pluralize +#: quotasys.c:335 +msgid "seconds" +msgstr "sekund" + +# TODO: Pluralize +#: quotasys.c:337 +msgid "minute" +msgstr "minuta" + +# TODO: Pluralize +#: quotasys.c:337 +msgid "minutes" +msgstr "minut" + +# TODO: Pluralize +#: quotasys.c:339 +msgid "hour" +msgstr "hodina" + +# TODO: Pluralize +#: quotasys.c:339 +msgid "hours" +msgstr "hodin" + +# TODO: Pluralize +#: quotasys.c:341 +msgid "day" +msgstr "den" + +# TODO: Pluralize +#: quotasys.c:341 +msgid "days" +msgstr "dnů" + +#: quotasys.c:535 +#, c-format +msgid "Cannot stat quota file %s: %s\n" +msgstr "O souboru s kvótami %s nelze zjistit údaje: %s\n" + +#: quotasys.c:681 +msgid "Not all specified mountpoints are using quota.\n" +msgstr "Ne vÅ¡echny použité přípojné body používají kvótu.\n" + +#: quotasys.c:695 +#, c-format +msgid "Error while releasing file on %s\n" +msgstr "Chyba při uvolňování souboru na %s\n" + +#: quotasys.c:754 +#, c-format +msgid "Cannot create set for sigaction(): %s\n" +msgstr "Nelze vytvořit množinu pro sigaction(): %s\n" + +#: quotasys.c:757 +#, c-format +msgid "Cannot set signal handler: %s\n" +msgstr "Nelze nastavit obsluhu signálu: %s\n" + +#: quotasys.c:810 +#, c-format +msgid "Cannot reset signal handler: %s\n" +msgstr "Nelze znovu nastavit obsluhu signálu: %s\n" + +#: quotasys.c:950 +msgid "Cannot open any file with mount points.\n" +msgstr "Žádný soubor s body připojení nelze otevřít.\n" + +#: quotasys.c:963 +#, c-format +msgid "Cannot get device name for %s\n" +msgstr "Nelze získat název zařízení pro %s\n" + +#: quotasys.c:1017 +#, c-format +msgid "Cannot resolve mountpoint path %s: %s\n" +msgstr "Nelze přeložit cestu k bodu připojení %s: %s\n" + +#: quotasys.c:1023 +#, c-format +msgid "Cannot statfs() %s: %s\n" +msgstr "Nelze vykonat statfs() nad %s: %s\n" + +#: quotasys.c:1035 +#, c-format +msgid "Cannot stat() mounted device %s: %s\n" +msgstr "Nelze získat údaje o připojeném zařízení %s: %s\n" + +#: quotasys.c:1040 +#, c-format +msgid "" +"Device (%s) filesystem is mounted on unsupported device type. Skipping.\n" +msgstr "" +"Souborový systém ze zařízení (%s) je připojen na nepodporovaném druhu\n" +"zařízení. Přeskakuje se.\n" + +#: quotasys.c:1050 +#, c-format +msgid "Cannot stat() mountpoint %s: %s\n" +msgstr "Nad bodem připojení %s nelze zavolat stat(): %s\n" + +#: quotasys.c:1116 +#, c-format +msgid "" +"Cannot find a device with %s.\n" +"Skipping...\n" +msgstr "" +"Zařízení s %s nelze nalézt.\n" +"Přeskakuje se…\n" + +#: quotasys.c:1120 +#, c-format +msgid "" +"Cannot stat() a mountpoint with %s: %s\n" +"Skipping...\n" +msgstr "" +"Nad bodem připojení s %s nelze zavolat stat(): %s\n" +"Přeskakuje se…\n" + +#: quotasys.c:1128 +#, c-format +msgid "" +"Cannot stat() given mountpoint %s: %s\n" +"Skipping...\n" +msgstr "" +"Nad zadaným bodem připojení %s nelze zavolat stat(): %s\n" +"Přeskakuje se…\n" + +#: quotasys.c:1138 +#, c-format +msgid "Cannot find a filesystem mountpoint for directory %s\n" +msgstr "K adresáři %s nelze přiřadit bod připojení souborového systému.\n" + +#: quotasys.c:1144 +#, c-format +msgid "Cannot resolve path %s: %s\n" +msgstr "Cestu %s nelze přeložit: %s\n" + +#: quotasys.c:1155 +#, c-format +msgid "Cannot find mountpoint for device %s\n" +msgstr "K zařízení %s nelze přiřadit bod připojení.\n" + +#: quotasys.c:1161 +#, c-format +msgid "Specified path %s is not directory nor device.\n" +msgstr "Zadaná cesta %s není ani adresářem ani zařízením.\n" + +#: quotasys.c:1169 +msgid "No correct mountpoint specified.\n" +msgstr "Nezadán žádný správný bod připojení.\n" + +#: quotasys.c:1224 +#, c-format +msgid "Mountpoint (or device) %s not found or has no quota enabled.\n" +msgstr "Bod připojení (nebo zařízení) %s nenalezeno nebo nebo zapnuté kvóty.\n" + +#: quot.c:81 +#, c-format +msgid "Usage: %s [-acfugvViTq] [filesystem...]\n" +msgstr "Použití: %s [-acfugvViTq] [SYSTÉM_SOUBORŮ…]\n" + +#: quot.c:178 +#, c-format +msgid "%s (%s):\n" +msgstr "%s (%s):\n" + +#: quot.c:182 quot.c:186 +#, c-format +msgid "%d\t%llu\t%llu\n" +msgstr "%d\t%llu\t%llu\n" + +#: quot.c:195 +#, c-format +msgid "%s (%s) %s:\n" +msgstr "%s (%s) %s:\n" + +#: quot.c:203 quot.c:205 +#, c-format +msgid "%8llu " +msgstr "%8llu " + +#: quot.c:208 +#, c-format +msgid "%s" +msgstr "%s" + +#: quot.c:210 +#, c-format +msgid "%-8.8s" +msgstr "%-8.8s" + +#: quot.c:212 +#, c-format +msgid "#%-7d" +msgstr "č%-7d" + +#: quot.c:214 +#, c-format +msgid " %8llu %8llu %8llu" +msgstr " %8llu %8llu %8llu" + +#: quot.c:362 +#, c-format +msgid "cannot open %s: %s\n" +msgstr "%s nelze otevřít: %s\n" + +#: quot.c:382 +#, c-format +msgid "XFS_IOC_FSBULKSTAT ioctl failed: %s\n" +msgstr "IOCTL XFS_IOC_FSBULKSTAT selhalo: %s\n" + +#: repquota.c:50 +#, c-format +msgid "" +"Utility for reporting quotas.\n" +"Usage:\n" +"%s [-vugsi] [-c|C] [-t|n] [-F quotaformat] (-a | mntpoint)\n" +"\n" +"-v, --verbose display also users/groups without any usage\n" +"-u, --user display information about users\n" +"-g, --group display information about groups\n" +"-s, --human-readable show numbers in human friendly units (MB, " +"GB, ...)\n" +"-t, --truncate-names truncate names to 9 characters\n" +"-p, --raw-grace print grace time in seconds since epoch\n" +"-n, --no-names do not translate uid/gid to name\n" +"-i, --no-autofs avoid autofs mountpoints\n" +"-c, --batch-translation translate big number of ids at once\n" +"-C, --no-batch-translation translate ids one by one\n" +"-F, --format=formatname report information for specific format\n" +"-h, --help display this help message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"Nástroj pro hlášení kvót.\n" +"Použití:\n" +"%s [-vugsi] [-c|C] [-t|n] [-F FORMÁT_KVÓTY (-a | BOD_PŘIPOJENÍ)\n" +"\n" +"-v, --verbose zobrazí rovněž uživatele/skupiny, které žádné\n" +" místo nezabírají\n" +"-u, --user zobrazí údaje o uživatelích\n" +"-g, --group zobrazí údaje o skupinách\n" +"-s, --human-readable zobrazí počty v podobě vhodné přo člověka\n" +" (MB, GB, …)\n" +"-t, --truncate-names názvy zkrátí na 9 znaků\n" +"-p, --raw-grace dobu odkladu zobrazí v sekundách od počátku " +"epochy\n" +"-n, --no-names nepřekládá UID/GID na jména\n" +"-i, --no-autofs nezaobírá se přípojnými body typu autofs\n" +"-c, --batch-translation překládá identifikátory ve velkých dávkách\n" +"-C, --no-batch-translation překládá identifikátory po jednom\n" +"-F, --format=FORMÁT_KVÓTY hlásí údaje u zadaného formátu\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-V, --version zobrazí údaje o verzi a skončí\n" +"\n" + +#: repquota.c:145 +msgid "Repquota cannot report through RPC calls.\n" +msgstr "Repquota nedokáže pracovat přes volání RPC.\n" + +#: repquota.c:149 +msgid "Specified both -n and -t but only one of them can be used.\n" +msgstr "Zadány přepínače -n i -t, ale použít lze jen jeden z nich.\n" + +# This is first argument of `%s limits' header +#: repquota.c:292 +msgid "Space" +msgstr "místa" + +# This is first argument of `%s limits' header +#: repquota.c:294 +msgid "Block" +msgstr "bloků" + +#: repquota.c:296 +#, c-format +msgid "*** Report for %s quotas on device %s\n" +msgstr "*** Hlášení pro kvóty %s na zařízení %s\n" + +#: repquota.c:299 +#, c-format +msgid "Block grace time: %s; Inode grace time: %s\n" +msgstr "Doba odkladu bloků: %s, Doba odkladu i-uzlů: %s\n" + +#: repquota.c:300 +#, c-format +msgid " %s limits File limits\n" +msgstr " Limity %s Limity souborů\n" + +#: repquota.c:301 +#, c-format +msgid "%-9s used soft hard grace used soft hard grace\n" +msgstr "%-9s užito měkký pevný odklad užito měkký pevný odklad\n" + +#: repquota.c:301 +msgid "User" +msgstr "Uživatel" + +#: repquota.c:301 +msgid "Group" +msgstr "Skupina" + +#: rquota_svc.c:88 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -F --foreground starts the quota service in foreground\n" +" -I --autofs do not ignore mountpoints mounted by automounter\n" +" -p --port listen on given port\n" +" -s --no-setquota disables remote calls to setquota (default)\n" +" -S --setquota enables remote calls to setquota\n" +" -x --xtab set an alternative file with NFSD export table\n" +msgstr "" +"Použití: %s [PŘEPÍNAČE]\n" +"Přepínače jsou:\n" +" -h --help zobrazí tento text\n" +" -V --version zobrazí údaje o verzi\n" +" -F --foreground spustí službu kvót na popředí\n" +" -I --autofs přípojné body připojené pomocí automounteru nebudou\n" +" ignorovány\n" +" -p --port PORT poslouchá na zadaném portu\n" +" -s --no-setquota zakáže vzdálené nastavování kvót (výchozí)\n" +" -S --setquota povolí vzdálené nastavování kvót\n" +" -x --xtab CESTA určuje náhradní soubor s tabulkou exportů NFS\n" + +#: rquota_svc.c:99 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -F --foreground starts the quota service in foreground\n" +" -I --autofs do not ignore mountpoints mounted by automounter\n" +" -p --port listen on given port\n" +" -x --xtab set an alternative file with NFSD export table\n" +msgstr "" +"Použití: %s [PŘEPÍNAČE]\n" +"Přepínače jsou:\n" +" -h --help zobrazí tento text\n" +" -V --version zobrazí údaje o verzi\n" +" -F --foreground spustí službu kvót na popředí\n" +" -I --autofs přípojné body připojené pomocí automounteru nebudou\n" +" ignorovány\n" +" -p --port PORT poslouchá na zadaném portu\n" +" -x --xtab CESTA určuje náhradní soubor s tabulkou exportů NFS\n" + +#: rquota_svc.c:146 +#, c-format +msgid "Illegal port number: %s\n" +msgstr "Zakázané číslo portu: %s\n" + +#: rquota_svc.c:153 +#, c-format +msgid "Cannot access the specified xtab file %s: %s\n" +msgstr "K zadanému souboru xtab %s nelze přistoupit: %s\n" + +#: rquota_svc.c:183 +#, c-format +msgid "host %s attempted to call setquota when disabled\n" +msgstr "" +"Stroj %s se pokusil zavolat setquota, ačkoliv nastavování je zakázáno\n" + +#: rquota_svc.c:190 +#, c-format +msgid "host %s attempted to call setquota from port >= 1024\n" +msgstr "Stroj %s se pokusil zavolat setquota z portu >= 1024\n" + +#: rquota_svc.c:205 +#, c-format +msgid "Denied access to host %s\n" +msgstr "Přístup ke stroji %s zamítnut\n" + +#: rquota_svc.c:293 rquota_svc.c:379 +msgid "unable to free arguments\n" +msgstr "Argumenty nelze uvolnit\n" + +#: rquota_svc.c:402 +#, c-format +msgid "" +"Warning: Cannot open export table %s: %s\n" +"Using '/' as a pseudofilesystem root.\n" +msgstr "" +"Pozor: Tabulku exportů %s nelze otevřít: %s\n" +"Jako kořen pseudosystému souborů se použije „/“.\n" + +#: rquota_svc.c:454 +msgid "cannot create udp service.\n" +msgstr "UDP službu nelze vytvořit.\n" + +#: rquota_svc.c:458 +msgid "unable to register (RQUOTAPROG, RQUOTAVERS, udp).\n" +msgstr "Nelze zaregistrovat (RQUOTAPROG, RQUOTAVERS, UDP.)\n" + +#: rquota_svc.c:462 +msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n" +msgstr "Nelze zaregistrovat (RQUOTAPROG, EXT_RQUOTAVERS, UDP).\n" + +#: rquota_svc.c:469 +msgid "cannot create tcp service.\n" +msgstr "TCP službu nelze vytvořit.\n" + +#: rquota_svc.c:473 +msgid "unable to register (RQUOTAPROG, RQUOTAVERS, tcp).\n" +msgstr "Nelze zaregistrovat (RQUOTAPROG, RQUOTAVERS, TCP).\n" + +#: rquota_svc.c:477 +msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, tcp).\n" +msgstr "Nelze zaregistrovat (RQUOTAPROG, EXT_RQUOTAVERS, TCP).\n" + +#: rquota_svc.c:486 +msgid "svc_run returned\n" +msgstr "Funkce svc_run() se vrátila.\n" + +# TODO: Upper-case UID +#: set_limits_example.c:20 +#, c-format +msgid "copy_user_quota_limits: Failed to set userquota for uid %ld : %s\n" +msgstr "" +"copy_user_quota_limits: Nastavení kvót uživatele s UID %ld selhalo: %s\n" + +# TODO: Upper-case UID +#: set_limits_example.c:27 +#, c-format +msgid "copy_user_quota_limits: Failed to get userquota for uid %ld : %s\n" +msgstr "copy_user_quota_limits: Získání kvót uživatele s UID %ld selhalo: %s\n" + +#: set_limits_example.c:43 +#, c-format +msgid "copy_group_quota_limits: Failed to set groupquota for uid %ld : %s\n" +msgstr "copy_group_quota_limits: Nastavení kvót skupiny s ID %ld selhalo: %s\n" + +#: set_limits_example.c:50 +#, c-format +msgid "copy_group_quota_limits: Failed to get groupquota for uid %ld : %s\n" +msgstr "copy_group_quota_limits: Získání kvót skupiny s ID %ld selhalo: %s\n" + +#: setquota.c:55 +#, c-format +msgid "" +"Usage:\n" +" setquota [-u|-g] %1$s[-F quotaformat] \n" +"\t -a|" +"...\n" +" setquota [-u|-g] %1$s[-F quotaformat] <-p protouser|protogroup> -a|...\n" +" setquota [-u|-g] %1$s[-F quotaformat] -b [-c] -a|...\n" +" setquota [-u|-g] [-F quotaformat] -t -a|" +"...\n" +" setquota [-u|-g] [-F quotaformat] -T " +" -a|...\n" +"\n" +"-u, --user set limits for user\n" +"-g, --group set limits for group\n" +"-a, --all set limits for all filesystems\n" +" --always-resolve always try to resolve name, even if is\n" +" composed only of digits\n" +"-F, --format=formatname operate on specific quota format\n" +"-p, --prototype=protoname copy limits from user/group\n" +"-b, --batch read limits from standard input\n" +"-c, --continue-batch continue in input processing in case of an error\n" +msgstr "" +"Použití:\n" +" setquota [-u|-g] %1$s[-F FORMÁT_KVÓTY] UŽIVATEL|SKUPINA\n" +"\tMĚKKÝ_LIMIT_BLOKÅ® PEVNÝ_LIMIT_BLOKÅ® MĚKKÝ_LIMIT_IUZLÅ® PEVNÝ_LIMIT_IUZLÅ®\n" +"\t-a|SYSTÉM_SOUBORŮ…\n" +" setquota [-u|-g] %1$s[-F FORMÁT_KVÓTY] -p VZOROVÝ_UŽIVATEL|" +"VZOROVÁ_SKUPINA\n" +"\tUŽIVATEL|SKUPINA -a|SYSTÉM_SOUBORŮ…\n" +" setquota [-u|-g] %1$s[-F FORMÁT_KVÓTY] -b [-c] -a|SYSTÉM_SOUBORŮ…\n" +" setquota [-u|-g] [-F FORMÁT_KVÓTY] -t PERIODA_BLOKÅ® PERIODA_IUZLÅ®\n" +"\t-a|SYSTÉM_SOUBORŮ…\n" +" setquota [-u|-g] [-F FORMÁT_KVÓTY] UŽIVATEL|SKUPINA -T DOBA_BLOKÅ®\n" +"\tDOBA_IUZLÅ® -a|SYSTÉM_SOUBORŮ…\n" +"\n" +"-u, --user nastaví limity pro uživatele\n" +"-g, --group nastaví limity pro skupinu\n" +"-a, --all nastaví limity pro vÅ¡echny souborové systémy\n" +" --always-resolve vždy překládá jména, i když se skládají jen " +"z číslic\n" +"-F, --format=FORMÁT_KVÓTY pracuje nad určitým formátem kvót\n" +"-p, --prototype=VZOR zkopíruje limity z uživatele/skupiny\n" +"-b, --batch limity načte v dávce ze standardního vstupu\n" +"-c, --continue-batch pokračuje ve zpracování vstupu i v případě chyby\n" + +#: setquota.c:72 +msgid "" +"-r, --remote set remote quota (via RPC)\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +msgstr "" +"-r, --remote nastaví vzdálenou kvótu (přes RPC)\n" +"-m, --no-mixed-pathnames odstraní úvodní lomítka z systému NFSv4\n" + +#: setquota.c:75 +msgid "" +"-t, --edit-period edit grace period\n" +"-T, --edit-times edit grace times for user/group\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"-t, --edit-period změní periodu odkladu\n" +"-T, --edit-times změní dobu odkladu pro uživatele/skupinu\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-V, --version zobrazí údaje o verzi a skončí\n" +"\n" + +#: setquota.c:90 +#, c-format +msgid "Bad %s: %s\n" +msgstr "Å patná hodnota: %s: %s\n" + +#: setquota.c:186 +msgid "Group and user quotas cannot be used together.\n" +msgstr "Kvóty skupiny a uživatele nelze použít společně.\n" + +#: setquota.c:190 +msgid "Prototype user has no sense when editing grace times.\n" +msgstr "Vzorový uživatel nemá smysl, když se mění doba odkladu.\n" + +#: setquota.c:194 +msgid "Cannot set both individual and global grace time.\n" +msgstr "Jednotlivé a globální doby odkladu nelze nastavit najednou.\n" + +#: setquota.c:198 +msgid "Batch mode cannot be used for setting grace times.\n" +msgstr "Dobu odkladu nelze v dávkovém režimu nastavit.\n" + +#: setquota.c:202 +msgid "Batch mode and prototype user cannot be used together.\n" +msgstr "Dávkový režim a vzorového uživatele nelze nastavit najednou.\n" + +#: setquota.c:206 +msgid "Cannot set grace times over RPC protocol.\n" +msgstr "Doby odkladu nelze nastavit přes protokol RPC.\n" + +#: setquota.c:229 +msgid "block softlimit" +msgstr "měkký limit bloků" + +#: setquota.c:230 +msgid "block hardlimit" +msgstr "pevný limit bloků" + +#: setquota.c:231 +msgid "inode softlimit" +msgstr "měkký limit iuzlů" + +#: setquota.c:232 +msgid "inode hardlimit" +msgstr "pevný limit iuzlů" + +#: setquota.c:238 setquota.c:250 +msgid "block grace time" +msgstr "doba odkladu bloků" + +#: setquota.c:239 setquota.c:256 +msgid "inode grace time" +msgstr "doba odkladu iuzlů" + +#: setquota.c:262 +msgid "Mountpoint not specified.\n" +msgstr "Nebyl zadán bod připojení.\n" + +#: setquota.c:317 +#, c-format +msgid "Line %d too long.\n" +msgstr "Řádek %d je příliÅ¡ dlouhý.\n" + +#: setquota.c:329 +#, c-format +msgid "Cannot parse input line %d.\n" +msgstr "Vstupní řádek %d nelze rozebrat.\n" + +#: setquota.c:331 setquota.c:339 +msgid "Exitting.\n" +msgstr "Končí se.\n" + +#: setquota.c:332 setquota.c:340 +msgid "Skipping line.\n" +msgstr "Řádek bude přeskočen.\n" + +#: setquota.c:337 +#, c-format +msgid "Unable to resolve name '%s' on line %d.\n" +msgstr "Jméno „%s“ na řádku %d nelze přeložit.\n" + +#: setquota.c:383 +#, c-format +msgid "Setting grace period on %s is not supported.\n" +msgstr "Nastavování periody odkladu na %s není podporováno.\n" + +#: setquota.c:405 +#, c-format +msgid "Not setting block grace time on %s because softlimit is not exceeded.\n" +msgstr "" +"Doba odkladu bloků na %s nebude nastavena, protože měkký limit není " +"překročen.\n" + +#: setquota.c:409 +#, c-format +msgid "Not setting inode grace time on %s because softlimit is not exceeded.\n" +msgstr "" +"Doba odkladu iuzlů na %s nebude nastavena, protože měkký limit není " +"překročen.\n" + +#: setquota.c:412 +#, c-format +msgid "" +"cannot write times for %s. Maybe kernel does not support such operation?\n" +msgstr "Doby pro %s nelze zapsat. Možná jádro takovou operaci nepodporuje.\n" + +#: svc_socket.c:42 +#, c-format +msgid "Cannot create socket: %s\n" +msgstr "Socket nelze vytvořit: %s\n" + +#: svc_socket.c:49 +#, c-format +msgid "Cannot set socket options: %s\n" +msgstr "Socketu nelze nastavit parametry: %s\n" + +#: svc_socket.c:84 +#, c-format +msgid "Cannot bind to given address: %s\n" +msgstr "Na zadanou adresu se nelze přilepit: %s\n" + +#: warnquota.c:54 +msgid "" +"Hi,\n" +"\n" +"We noticed that you are in violation with the quotasystem\n" +"used on this system. We have found the following violations:\n" +"\n" +msgstr "" +"Ahoj,\n" +"\n" +"zaznamenali jsme, že jste ve sporu se systémem kvót na tomto stroji.\n" +"Nalezeny byly následující poruÅ¡ení pravidel:\n" +"\n" + +#: warnquota.c:56 +#, c-format +msgid "" +"\n" +"We hope that you will cleanup before your grace period expires.\n" +"\n" +"Basically, this means that the system thinks you are using more disk space\n" +"on the above partition(s) than you are allowed. If you do not delete files\n" +"and get below your quota before the grace period expires, the system will\n" +"prevent you from creating new files.\n" +"\n" +"For additional assistance, please contact us at %s\n" +"or via phone at %s.\n" +msgstr "" +"\n" +"Doufáme, že si uklidíte dříve, než vyprší perioda odkladu.\n" +"\n" +"V zásadě to znamená, že systém si myslí, že používáte více diskového\n" +"prostoru na oddílech uvedených výše, než máte dovoleno. Pokud soubory\n" +"nesmažete a nedostanete se pod váš limit před uplynutím periody odkladu,\n" +"systém vám bude bránit v tvorbě nových souborů.\n" +"\n" +"Potřebujete-li pomoc, napiÅ¡te nám na %s\n" +"nebo zavolejte na %s.\n" + +#: warnquota.c:63 +#, c-format +msgid "" +"Hi,\n" +"\n" +"We noticed that the group %s you are member of violates the quotasystem\n" +"used on this system. We have found the following violations:\n" +"\n" +msgstr "" +"Ahoj,\n" +"\n" +"Zaznamenali jsme, že skupina %s, jímž jste členem, poruÅ¡uje na tomto\n" +"stroji systém kvót. Byla nalezena následující poruÅ¡ení:\n" +"\n" + +#: warnquota.c:65 +#, c-format +msgid "" +"\n" +"Please cleanup the group data before the grace period expires.\n" +"\n" +"Basically, this means that the system thinks group is using more disk space\n" +"on the above partition(s) than it is allowed. If you do not delete files\n" +"and get below group quota before the grace period expires, the system will\n" +"prevent you and other members of the group from creating new files owned by\n" +"the group.\n" +"\n" +"For additional assistance, please contact us at %s\n" +"or via phone at %s.\n" +msgstr "" +"\n" +"Prosíme, abyste uklidili data skupiny před vyprÅ¡ením periody odkladu.\n" +"\n" +"V zásadě to znamená, že systém si myslí, že skupina používá více diskového\n" +"prostoru na oddílech uvedených výše, než má dovoleno. Pokud soubory\n" +"nesmažete a nedostanete se pod limit skupiny před uplynutím periody\n" +"odkladu, systém vám a dalším členům skupiny bude bránit v tvorbě nových\n" +"souborů.\n" +"\n" +"Potřebujete-li pomoc, napiÅ¡te nám na %s\n" +"nebo zavolejte na %s.\n" + +#: warnquota.c:182 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: warnquota.c:226 +#, c-format +msgid "Cannot get name for uid/gid %u.\n" +msgstr "UID/GID %u nelze přeložit na jméno.\n" + +#: warnquota.c:310 +#, c-format +msgid "Cannot create pipe: %s\n" +msgstr "Nelze vytvořit rouru: %s\n" + +#: warnquota.c:316 +#, c-format +msgid "Cannot fork: %s\n" +msgstr "Voláni fork() selhalo: %s\n" + +#: warnquota.c:321 +#, c-format +msgid "Cannot duplicate descriptor: %s\n" +msgstr "Deskriptor nelze zdvojit: %s\n" + +#: warnquota.c:325 +#, c-format +msgid "Cannot execute '%s': %s\n" +msgstr "„%s“ nelze spustit: %s\n" + +#: warnquota.c:330 +#, c-format +msgid "Cannot open pine: %s\n" +msgstr "Nelze otevřít rouru: %s\n" + +#: warnquota.c:411 +msgid "Could not setup ldap connection, returning.\n" +msgstr "Spojení LDAP nelze nastavit.\n" + +#: warnquota.c:434 +#, c-format +msgid "Error with %s.\n" +msgstr "Chyba u %s.\n" + +#: warnquota.c:442 +#, c-format +msgid "Multiple entries found for client %s, %d not sending mail.\n" +msgstr "Nalezeno více záznamů pro klienta %s (%d). E-mail nebude odeslán.\n" + +#: warnquota.c:446 +#, c-format +msgid "Entry not found for client %s, %d not sending mail.\n" +msgstr "Záznam pro klienta %s nenalezen (%d). E-mail nebude odeslán.\n" + +#: warnquota.c:457 +#, c-format +msgid "Could not get values for %s.\n" +msgstr "Hodnoty pro %s nebylo možné získat.\n" + +#: warnquota.c:489 +#, c-format +msgid "Administrator for a group %s not found. Cancelling mail.\n" +msgstr "Správce skupiny %s nenalezen. E-mail zruÅ¡en.\n" + +#: warnquota.c:534 +#, c-format +msgid "" +"\n" +" Block limits File limits\n" +msgstr "" +"\n" +" Limity bloků Limity souborů\n" + +#: warnquota.c:535 +#, c-format +msgid "" +"Filesystem used soft hard grace used soft hard grace\n" +msgstr "" +"Souborový systém užito měkký pevný odklad užito měkký pevný odklad\n" + +#: warnquota.c:575 +#, c-format +msgid "Cannot wait for mailer: %s\n" +msgstr "Nelze se dočkat dokončení odeslání poÅ¡ty: %s\n" + +#: warnquota.c:577 +msgid "Warning: Mailer exitted abnormally.\n" +msgstr "Pozor: Odesílání poÅ¡ty skončilo mimořádně.\n" + +#: warnquota.c:634 +#, c-format +msgid "" +"Cannot open %s: %s\n" +"Will use device names.\n" +msgstr "" +"%s nelze otevřít: %s\n" +"Použijí se názvy zařízení.\n" + +#: warnquota.c:657 +#, c-format +msgid "Cannot parse line %d in quotatab (missing ':')\n" +msgstr "V souboru quotatab nelze rozebrat řádek %d (chybí „:“)\n" + +#: warnquota.c:671 +#, c-format +msgid "Cannot stat device %s (maybe typo in quotatab)\n" +msgstr "O zařízení %s nelze získat údaje (možná překlep v souboru quotatab)\n" + +#: warnquota.c:691 +#, c-format +msgid "" +"Incorrect format string for variable %s.\n" +"Unrecognized expression %%%c.\n" +msgstr "" +"Nesprávný formátovací řetězec proměnné %s.\n" +"Nerozpoznaný výraz %%%c.\n" + +#: warnquota.c:730 +#, c-format +msgid "Cannot open %s: %s\n" +msgstr "%s nelze otevřít: %s\n" + +#: warnquota.c:750 +#, c-format +msgid "Line %d too long. Truncating.\n" +msgstr "Řádek %d je příliÅ¡ dlouhý. Bude zkrácen.\n" + +#: warnquota.c:822 +#, c-format +msgid "Cannot parse time at CC_BEFORE variable (line %d).\n" +msgstr "Čas v proměnné CC_BEFORE nelze rozebrat (řádek %d).\n" + +#: warnquota.c:846 +#, c-format +msgid "Error in config file (line %d), ignoring\n" +msgstr "Chyba v konfiguračním souboru (řádek %d), ignoruje se.\n" + +#: warnquota.c:849 +#, c-format +msgid "Possible error in config file (line %d), ignoring\n" +msgstr "Možná chyba v konfiguračním souboru (řádek %d), ignoruje se.\n" + +#: warnquota.c:852 +msgid "Unterminated last line, ignoring\n" +msgstr "Neukončený poslední řádek, ignoruje se.\n" + +#: warnquota.c:859 +#, c-format +msgid "" +"LDAP library version >= 2.3 detected. Please use LDAP_URI instead of " +"hostname and port.\n" +"Generated URI %s\n" +msgstr "" +"ZjiÅ¡těna verze LDAP knihovny >= 2.3. Prosím, použijte LDAP_URI namísto\n" +"názvu stroje a portu.\n" +"Vytvořené URI: %s\n" + +#: warnquota.c:863 +msgid "LDAP library does not support ldap_initialize() but URI is specified." +msgstr "LDAP knihovna nepodporuje ldap_initialize(), třebaže je zadáno URI." + +#: warnquota.c:885 +#, c-format +msgid "Cannot open file with group administrators: %s\n" +msgstr "Soubor se správci skupin nelze otevřít: %s\n" + +#: warnquota.c:900 +#, c-format +msgid "Parse error at line %d. Cannot find end of group name.\n" +msgstr "Chyba při rozboru řádku %d. Nelze nalézt konec názvu skupiny.\n" + +#: warnquota.c:909 +#, c-format +msgid "Parse error at line %d. Cannot find administrators name.\n" +msgstr "Chyba při rozboru řádku %d. Nelze nalézt jméno správce.\n" + +#: warnquota.c:919 +#, c-format +msgid "" +"Parse error at line %d. Trailing characters after administrators name.\n" +msgstr "Chyba při rozboru řádku %d. Přebytečné znaky za jménem správce.\n" + +#: warnquota.c:982 +msgid "" +"Usage:\n" +" warnquota [-ugsid] [-F quotaformat] [-c configfile] [-q quotatabfile] [-a " +"adminsfile] [filesystem...]\n" +"\n" +"-u, --user warn users\n" +"-g, --group warn groups\n" +"-s, --human-readable send information in more human friendly " +"units\n" +"-i, --no-autofs avoid autofs mountpoints\n" +"-d, --no-details do not send quota information itself\n" +"-F, --format=formatname use quotafiles of specific format\n" +"-c, --config=config-file non-default config file\n" +"-q, --quota-tab=quotatab-file non-default quotatab\n" +"-a, --admins-file=admins-file non-default admins file\n" +"-h, --help display this help message and exit\n" +"-v, --version display version information and exit\n" +"\n" +msgstr "" +"Použití:\n" +" warnquota [-ugsid] [-F FORMÁT_KVÓT] [-c KONFIGURAČNÍ_SOUBOR]\n" +" [-q SOUBOR_QUOTATAB [-a SOUBOR_SE_SPRÁVCI] [SYSTÉM_SOUBORŮ…]\n" +"\n" +"-u, --user upozorní uživatele\n" +"-g, --group upozorní skupiny\n" +"-s, --human-readable odesílá údaje v jednotkách vhodných pro\n" +" člověka\n" +"-i, --no-autofs vynechá přípojné body typu autofs\n" +"-d, --no-details neodesílá samotné údaje o kvótách\n" +"-F, --format=FORMÁT_KVÓT použije kvótové soubory zadaného formátu\n" +"-c, --config=KONFIGURAČNÍ_SOUBOR jiný konfigurační soubor\n" +"-q, --quota-tab=SOUBOR_QUOTATAB jiný quotatab\n" +"-a, --admins-file=SOUBOR_SE_SPRÁVCI\n" +" jiný soubor správců\n" +"-h, --help zobrazí tuto nápovědu a skončí\n" +"-v, --version zobrazí údaje o verzi a skončí\n" +"\n" + +#: warnquota.c:1063 +#, c-format +msgid "Cannot get host name: %s\n" +msgstr "Nelze získat název stroje: %s\n" + +#: xqmstats.c:32 xqmstats.c:37 +msgid "The running kernel does not support XFS\n" +msgstr "Bežící jádro nepodporuje XFS\n" + +#: xqmstats.c:49 +#, c-format +msgid "XFS Quota Manager dquot statistics\n" +msgstr "Statistika quot Správce kvót XFS\n" + +#: xqmstats.c:50 +#, c-format +msgid " reclaims: %u\n" +msgstr " uvolnění: %u\n" + +#: xqmstats.c:51 +#, c-format +msgid " missed reclaims: %u\n" +msgstr " nenalezená uvolnění: %u\n" + +#: xqmstats.c:52 +#, c-format +msgid " dquot dups: %u\n" +msgstr " duplikací dquot: %u\n" + +#: xqmstats.c:53 +#, c-format +msgid " cache misses: %u\n" +msgstr " nenalezení v keÅ¡i: %u\n" + +#: xqmstats.c:54 +#, c-format +msgid " cache hits: %u\n" +msgstr " zásahů v keÅ¡i: %u\n" + +#: xqmstats.c:55 +#, c-format +msgid " dquot wants: %u\n" +msgstr " požadavků na dquot: %u\n" + +#: xqmstats.c:56 +#, c-format +msgid " shake reclaims: %u\n" +msgstr " uvolnění setřesením: %u\n" + +#: xqmstats.c:57 +#, c-format +msgid " inact reclaims: %u\n" +msgstr " uvolnění neaktivních: %u\n" + +#: xqmstats.c:62 +#, c-format +msgid "Maximum %u dquots (currently %u incore, %u on freelist)\n" +msgstr "Maximum %u dquot (nyní %u v jádře, %u na seznamu volných)\n" + +#~ msgid "XFS quota format needs no checking.\n" +#~ msgstr "Kvóta formátu XFS nevyžaduje žádnou kontrolu.\n" + +# FIXME: I18N first argument +#~ msgid "Cannot stat old %s quota file: %s\n" +#~ msgstr "O starém %s kvótovém souboru nelze získat údaje: %s\n" + +#~ msgid "Operation not supported for filesystems with hidden quota files!\n" +#~ msgstr "" +#~ "U souborových systémů se skrytými kvótovými soubory není operace " +#~ "podporována\n" + +# TODO: internationalize first argument +#~ msgid "Quotas for %s %s:\n" +#~ msgstr "Kvóty pro %s %s:\n" + +#~ msgid "%s %d, limits (soft = %d, hard = %d)\n" +#~ msgstr "%s %d, limity (měkký = %d, pevný = %d)\n" + +#~ msgid "blocks in use:" +#~ msgstr "použitých bloků:" + +#~ msgid "\tinodes in use:" +#~ msgstr "\tpoužitých iuzlů:" + +#~ msgid "%s - bad format\n" +#~ msgstr "%s – chybný formát\n" + +#~ msgid "%s - %s -- bad format\n" +#~ msgstr "%s – %s – chybný formát\n" + +#~ msgid " blocks in use: %llu, limits (soft = %llu, hard = %llu)" +#~ msgstr " použitých bloků: %llu, limity (měkký = %llu, pevný = %llu)" + +#~ msgid "%s - %s -- bad format\n" +#~ msgstr "%s – %s – chybný formát\n" + +#~ msgid "\tinodes in use: %llu, limits (soft = %llu, hard = %llu)" +#~ msgstr "\tpoužitých iuzlů: %llu, limity (měkký = %llu, pevný = %llu)" + +#~ msgid "block grace period: %s, file grace period: %s\n" +#~ msgstr "perioda odkladu bloků: %s, perioda odkladu souborů: %s\n" + +#~ msgid " block grace period: %d %s file grace period: %d %s" +#~ msgstr " perioda odkladu bloků: %d %s perioda odkladu souborů: %d %s" + +#~ msgid "Cannot find device of loopback mount in options for %s. Skipping.\n" +#~ msgstr "" +#~ "Z voleb připojení %s nelze určit zařízení připojené přes loopback.\n" +#~ " Přeskakuje se.\n" + +#~ msgid "Cannot stat() loopback device %s: %s\n" +#~ msgstr "Nad loopback zařízením %s nelze zavolat stat(): %s\n" + +#~ msgid "Loopback device %s is not block device!\n" +#~ msgstr "Loopback zařízení %s není blokovým zařízením!\n" diff --git a/po/de.po b/po/de.po new file mode 100644 index 0000000..f140781 --- /dev/null +++ b/po/de.po @@ -0,0 +1,2944 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +msgid "" +msgstr "" +"Project-Id-Version: quota-tools\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2010-02-21 12:18+0100\n" +"PO-Revision-Date: 2010-02-21 13:10+0100\n" +"Last-Translator: Michael Bunk \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: German\n" +"X-Poedit-Country: GERMANY\n" + +#: bylabel.c:253 +#, c-format +msgid "Found an invalid UUID: %s\n" +msgstr "Ungültige UUID gefunden: %s\n" + +#: bylabel.c:273 +#, c-format +msgid "Error checking device name: %s\n" +msgstr "Fehler bei Prüfung des Gerätenamens: %s\n" + +#: common.c:124 +#, c-format +msgid "Quota utilities version %s.\n" +msgstr "Quota-Hilfsprogramme Version %s.\n" + +#: common.c:125 +#, c-format +msgid "Compiled with:%s\n" +msgstr "Compiliert mit:%s\n" + +#: common.c:126 +#: convertquota.c:48 +#: quotacheck.c:318 +#: repquota.c:64 +#: warnquota.c:996 +#, c-format +msgid "Bugs to %s\n" +msgstr "Fehler an %s\n" + +#: convertquota.c:41 +#, c-format +msgid "" +"Utility for converting quota files.\n" +"Usage:\n" +"\t%s [options] mountpoint\n" +"\n" +"-u, --user convert user quota file\n" +"-g, --group convert group quota file\n" +"-e, --convert-endian convert quota file to correct endianity\n" +"-f, --convert-format oldfmt,newfmt convert from old to VFSv0 quota format\n" +"-h, --help show this help text and exit\n" +"-V, --version output version information and exit\n" +"\n" +msgstr "" +"Hilfsprogramm zur Konvertierung von Quota-Dateien.\n" +"Verwendung:\n" +"\t%s [Optionen] Mountpunkt\n" +"\n" +"-u, --user Eine Nutzerquotadatei umwandeln\n" +"-g, --group Eine Gruppenquotadatei umwandel\n" +"-e, --convert-endian Quotadatei in richtige Bytereihenfolge umwandeln\n" +"-f, --convert-format oldfmt,newfmt Aus altem Format in das VFSv0-Quotaformat umwandeln\n" +"-h, --help Diesen Hilfetext anzeigen und beenden\n" +"-V, --version Versionsinformation ausgeben und beenden\n" +"\n" + +#: convertquota.c:97 +msgid "You have to specify source and target format of conversion.\n" +msgstr "Für Konvertierungen müssen Sie das Quell- und das Zielformat angeben.\n" + +#: convertquota.c:112 +#: quotacheck.c:404 +#: quotaon.c:133 +#: repquota.c:141 +#: setquota.c:217 +msgid "Bad number of arguments.\n" +msgstr "Falsche Anzahl an Argumenten.\n" + +#: convertquota.c:119 +msgid "You have to specify action to perform.\n" +msgstr "Sie müssen die auszuführende Aktion angeben.\n" + +#: convertquota.c:166 +#: quotacheck_v2.c:241 +#: quotaio_tree.c:58 +#, c-format +msgid "Cannot read block %u: %s\n" +msgstr "Kann Block nicht lesen %u: %s\n" + +#: convertquota.c:191 +#: convertquota.c:283 +#, c-format +msgid "Cannot commit dquot for id %u: %s\n" +msgstr "Kann dquot für id %u nicht speichern: %s\n" + +#: convertquota.c:239 +msgid "Cannot read header of old quotafile.\n" +msgstr "Kann Kopfinformation einer Quotadatei alten Formats nicht lesen.\n" + +#: convertquota.c:243 +msgid "Bad file magic or version (probably not quotafile with bad endianity).\n" +msgstr "Falsche Magische Bytefolge oder Version (wahrscheinlich keine Quotadatei mit falscher Bytereihenfolge).\n" + +#: convertquota.c:254 +msgid "Cannot read information about old quotafile.\n" +msgstr "Kann Information über Quotadatei im alten Format nicht lesen.\n" + +#: convertquota.c:296 +msgid "Cannot get name of new quotafile.\n" +msgstr "Kann Namen der Quotadatei im neuen Format nicht bekommen.\n" + +#: convertquota.c:302 +#: quotacheck.c:752 +#, c-format +msgid "Cannot rename new quotafile %s to name %s: %s\n" +msgstr "Kann neue Quotadatei %s nicht in %s umbenennen: %s\n" + +#: convertquota.c:316 +#, c-format +msgid "Cannot open old format file for %ss on %s\n" +msgstr "Kann Quotadatei alten Formats nicht für %ss in %s öffnen\n" + +#: convertquota.c:321 +#: convertquota.c:354 +#, c-format +msgid "Cannot create file for %ss for new format on %s: %s\n" +msgstr "Kann Datei für %ss im neuen Format auf %s nicht anlegen: %s\n" + +#: convertquota.c:344 +#, c-format +msgid "Cannot open old quota file on %s: %s\n" +msgstr "Kann Quotadatei im alten Format auf %s nicht öffnen: %s\n" + +#: convertquota.c:380 +msgid "Unknown action should be performed.\n" +msgstr "Unbekannte Aktion sollte ausgeführt werden.\n" + +#: edquota.c:81 +#, c-format +msgid "" +"Usage:\n" +"\tedquota %1$s[-u] [-F formatname] [-p username] [-f filesystem] username ...\n" +"\tedquota %1$s-g [-F formatname] [-p groupname] [-f filesystem] groupname ...\n" +"\tedquota %1$s[-u|g] [-F formatname] [-f filesystem] -t\n" +"\tedquota %1$s[-u|g] [-F formatname] [-f filesystem] -T username|groupname ...\n" +msgstr "" +"Verwendung:\n" +"\tedquota %1$s[-u] [-F formatname] [-p benutzername] [-f dateisystem] benutzername ...\n" +"\tedquota %1$s-g [-F formatname] [-p gruppenname] [-f dateisystem] gruppenname ...\n" +"\tedquota %1$s[-u|g] [-F formatname] [-f dateisystem] -t\n" +"\tedquota %1$s[-u|g] [-F formatname] [-f dateisystem] -T benutzername|gruppenname ...\n" + +#: edquota.c:85 +msgid "" +"\n" +"-u, --user edit user data\n" +"-g, --group edit group data\n" +msgstr "" +"\n" +"-u, --user Benutzerdaten bearbeiten\n" +"-g, --group Gruppendaten bearbeiten\n" + +#: edquota.c:89 +msgid "" +"-r, --remote edit remote quota (via RPC)\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +msgstr "" +"-r, --remote entferne Quota bearbeiten (über RPC)\n" +"-m, --no-mixed-pathnames entferne führende Schrägstriche von NFSv4-Mountpunkten\n" + +#: edquota.c:92 +msgid "" +"-F, --format=formatname edit quotas of a specific format\n" +"-p, --prototype=name copy data from a prototype user/group\n" +" --always-resolve always try to resolve name, even if it is\n" +" composed only of digits\n" +"-f, --filesystem=filesystem edit data only on a specific filesystem\n" +"-t, --edit-period edit grace period\n" +"-T, --edit-times edit grace time of a user/group\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"-F, --format=formatname Quotas eines bestimmten Formats bearbeiten\n" +"-p, --prototype=name Kopiere Daten von einem Vorlagenutzer/einer Vorlagegruppe\n" +" --always-resolve Versuche stets, einen Namen aufzulösen, auch wenn er\n" +" nur aus Ziffern besteht\n" +"-f, --filesystem=filesystem Bearbeite nur Daten eines bestimmten Dateisystems\n" +"-t, --edit-period Bearbeite Standard-Gnadenfrist\n" +"-T, --edit-times Bearbeite Gradenfrist eines Nutzers/einer Gruppe\n" +"-h, --help Zeige diesen Hilfetext and und beende das Programm\n" +"-V, --version Zeige Versionsinformationen and und beende das Programm\n" +"\n" + +#: edquota.c:101 +#: quota.c:107 +#: setquota.c:79 +#, c-format +msgid "Bugs to: %s\n" +msgstr "Fehler an: %s\n" + +#: edquota.c:182 +msgid "Prototype name does not make sense when editing grace period or times.\n" +msgstr "Die Angabe eines Vorlagenamens macht keinen Sinn, wenn Gnadenfrist oder Standard-Gnadenfrist bearbeitet werden soll.\n" + +#: edquota.c:200 +#, c-format +msgid "Cannot get quota information for user %s\n" +msgstr "Kann Quota-Informationen für Nutzer %s nicht erhalten\n" + +#: edquota.c:206 +msgid "fsname mismatch\n" +msgstr "Dateisystemname paßt nicht\n" + +#: edquota.c:248 +msgid "No filesystems with quota detected.\n" +msgstr "Keine Dateisysteme mit Quotainformationen gefunden.\n" + +#: edquota.c:264 +#, c-format +msgid "Cannot create temporary file: %s\n" +msgstr "Kann temporäre Datei nicht anlegen: %s\n" + +#: edquota.c:269 +#, c-format +msgid "Cannot change owner of temporary file: %s\n" +msgstr "Kann Eigentümer einer temporären Datei nicht ändern: %s\n" + +#: edquota.c:276 +msgid "Cannot write grace times to file.\n" +msgstr "Kann Gnadenfristen nicht in Datei ablegen.\n" + +#: edquota.c:280 +msgid "Error while editing grace times.\n" +msgstr "Fehler beim Bearbeiten von Gnadenfristen.\n" + +#: edquota.c:284 +msgid "Failed to parse grace times file.\n" +msgstr "Konnte Gnadenfristendatei nicht parsen.\n" + +#: edquota.c:293 +#: edquota.c:319 +#, c-format +msgid "Cannot get quota information for user %s.\n" +msgstr "Kann Quota-Informationen für Nutzer %s nicht erhalten.\n" + +#: edquota.c:295 +msgid "Cannot write individual grace times to file.\n" +msgstr "Kann einzelne Gnadenfristen nicht in Datei schreiben.\n" + +#: edquota.c:300 +msgid "Error while editing individual grace times.\n" +msgstr "Fehler bei Bearbeitung einzelner Gnadenfristen.\n" + +#: edquota.c:305 +msgid "Cannot read individual grace times from file.\n" +msgstr "Kann einzelne Gnadenfristen nicht aus Datei lesen.\n" + +#: edquota.c:321 +msgid "Cannot write quotas to file.\n" +msgstr "Kann Quotainformationen nicht in Datei schreiben.\n" + +#: edquota.c:326 +msgid "Error while editing quotas.\n" +msgstr "Fehler beim Bearbeiten von Quotas.\n" + +#: edquota.c:332 +msgid "Cannot reopen!" +msgstr "Kann Datei nicht zum wiederholten Male öffnen!" + +#: edquota.c:334 +msgid "Cannot read quotas from file.\n" +msgstr "Kann Quotas nicht aus Datei lesen.\n" + +#: quot.c:81 +#, c-format +msgid "Usage: %s [-acfugvViTq] [filesystem...]\n" +msgstr "Verwendung: %s [-acfugvViTq] [Dateisystem...]\n" + +#: quot.c:178 +#, c-format +msgid "%s (%s):\n" +msgstr "%s (%s):\n" + +#: quot.c:182 +#: quot.c:186 +#, c-format +msgid "%d\t%llu\t%llu\n" +msgstr "%d\t%llu\t%llu\n" + +#: quot.c:195 +#, c-format +msgid "%s (%s) %s:\n" +msgstr "%s (%s) %s:\n" + +#: quot.c:203 +#: quot.c:205 +#, c-format +msgid "%8llu " +msgstr "%8llu " + +#: quot.c:208 +#, c-format +msgid "%s" +msgstr "%s" + +#: quot.c:210 +#, c-format +msgid "%-8.8s" +msgstr "%-8.8s" + +#: quot.c:212 +#, c-format +msgid "#%-7d" +msgstr "#%-7d" + +#: quot.c:214 +#, c-format +msgid " %8llu %8llu %8llu" +msgstr " %8llu %8llu %8llu" + +#: quot.c:362 +#, c-format +msgid "cannot open %s: %s\n" +msgstr "Kann nicht öffnen %s: %s\n" + +#: quot.c:382 +#, c-format +msgid "XFS_IOC_FSBULKSTAT ioctl failed: %s\n" +msgstr "XFS_IOC_FSBULKSTAT ioctl-Aufruf fehlgeschlagen: %s\n" + +#: quota.c:83 +msgid "Usage: quota [-guqvswim] [-l | [-Q | -A]] [-F quotaformat]\n" +msgstr "Verwendung: quota [-guqvswim] [-l | [-Q | -A]] [-F quotaformat]\n" + +#: quota.c:84 +msgid "\tquota [-qvswim] [-l | [-Q | -A]] [-F quotaformat] -u username ...\n" +msgstr "\tquota [-qvswim] [-l | [-Q | -A]] [-F Quotaformat] -u Benutzername ...\n" + +#: quota.c:85 +msgid "\tquota [-qvswim] [-l | [-Q | -A]] [-F quotaformat] -g groupname ...\n" +msgstr "\tquota [-qvswim] [-l | [-Q | -A]] [-F Quotaformat] -g Gruppenname ...\n" + +#: quota.c:86 +msgid "\tquota [-qvswugQm] [-F quotaformat] -f filesystem ...\n" +msgstr "\tquota [-qvswugQm] [-F Quotaformat] -f Dateisystem ...\n" + +#: quota.c:87 +msgid "" +"\n" +"-u, --user display quota for user\n" +"-g, --group display quota for group\n" +"-q, --quiet print more terse message\n" +"-v, --verbose print more verbose message\n" +"-s, --human-readable display numbers in human friendly units (MB, GB...)\n" +" --always-resolve always try to translate name to id, even if it is\n" +"\t\t\t composed of only digits\n" +"-w, --no-wrap do not wrap long lines\n" +"-p, --raw-grace print grace time in seconds since epoch\n" +"-l, --local-only do not query NFS filesystems\n" +"-Q, --quiet-refuse do not print error message when NFS server does\n" +" not respond\n" +"-i, --no-autofs do not query autofs mountpoints\n" +"-F, --format=formatname display quota of a specific format\n" +"-f, --filesystem-list display quota information only for given filesystems\n" +"-A, --nfs-all display quota for all NFS mountpoints\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +"-h, --help display this help message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"\n" +"-u, --user Quota für Nutzer anzeigen\n" +"-g, --group Quota für Gruppe anzeigen\n" +"-q, --quiet Kürzere Nachricht ausgeben\n" +"-v, --verbose Ausführlichere Nachricht ausgeben\n" +"-s, --human-readable Zeige Zahlen in menschenfreundlichen Einheiten an (MB, GB...)\n" +" --always-resolve Versuche immer, Namen in Benutzerids umzuwandeln, sogar wenn\n" +"\t\t\t der Name nur aus Ziffern besteht\n" +"-w, --no-wrap Lange Zeilen nicht umbrechen\n" +"-p, --raw-grace Gnadenfrist in Sekunden seit der Epoche ausgeben\n" +"-l, --local-only NFS-Dateisysteme nicht abfragen\n" +"-Q, --quiet-refuse Keine Fehlermeldung ausgeben, wenn ein NFS-Server\n" +" nicht antwortet\n" +"-i, --no-autofs Autofs-Mountpunkte nicht abfragen\n" +"-F, --format=formatname Quotas für ein bestimmtes Format anzeigen\n" +"-f, --filesystem-list Quota-Informationen nur für die gegebenen Dateisysteme anzeigen\n" +"-A, --nfs-all Quotas für alle NFS-Mountpunkte ausgeben\n" +"-m, --no-mixed-pathnames Entferne führende Schrägstriche von NFSv4-Mountpunkten\n" +"-h, --help Diese Hilfenachricht ausgeben und beenden\n" +"-V, --version Versionsinformation ausgeben und beenden\n" +"\n" + +#: quota.c:116 +msgid "space" +msgstr "Platz" + +#: quota.c:118 +msgid "blocks" +msgstr "Blöcke" + +#: quota.c:120 +#, c-format +msgid "Disk quotas for %s %s (%cid %u): %s\n" +msgstr "Dateisystemquotas für %s %s (%cid %u): %s\n" + +#: quota.c:123 +msgid "Filesystem" +msgstr "Dateisystem" + +#: quota.c:124 +#: quota.c:125 +msgid "quota" +msgstr "Quota" + +#: quota.c:124 +#: quota.c:125 +msgid "limit" +msgstr "Limit" + +#: quota.c:124 +#: quota.c:125 +msgid "grace" +msgstr "Gnadenfrist" + +#: quota.c:125 +msgid "files" +msgstr "Dateien" + +#: quota.c:155 +msgid "File limit reached on" +msgstr "Dateilimit erreicht auf" + +#: quota.c:161 +msgid "In file grace period on" +msgstr "In der Dateignadenfrist auf" + +#: quota.c:165 +msgid "Over file quota on" +msgstr "Über dem Dateiquota auf" + +#: quota.c:171 +msgid "Block limit reached on" +msgstr "Blocklimit erreicht auf" + +#: quota.c:177 +msgid "In block grace period on" +msgstr "In der Blockgnadenfrist auf" + +#: quota.c:181 +msgid "Over block quota on" +msgstr "Über dem Blockquota auf" + +#: quota.c:243 +#: quotasys.c:324 +msgid "none" +msgstr "kein" + +#: quota.c:339 +#, c-format +msgid "Warning: Ignoring -%c when filesystem list specified.\n" +msgstr "Warnung: Ignoriere -%c, wenn eine Dateisystemliste angegeben wurde.\n" + +#: quota.c:346 +msgid "No filesystem specified.\n" +msgstr "Kein Dateisystem angegeben.\n" + +#: quota.c:354 +#, c-format +msgid "Gid set allocation (%d): %s\n" +msgstr "Gid-set-Speicheranforderung (ngroups=%d): %s\n" + +#: quota.c:360 +#, c-format +msgid "getgroups(): %s\n" +msgstr "getgroups(): %s\n" + +#: quota_nld.c:80 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -C --no-console do not try to write messages to console\n" +" -b --print-below write to console also information about getting below hard/soft limits\n" +" -D --no-dbus do not try to write messages to DBUS\n" +" -F --foreground run daemon in foreground\n" +msgstr "" +"Verwendung: %s [Optionen]\n" +"Optionen sind:\n" +" -h --help Zeigt diesen Text\n" +" -V --version Zeigt Versionsinformation\n" +" -C --no-console Versuche, keine Nachrichten auf die Konsole auszugeben\n" +" -b --print-below Auch Nachrichten auf Konsole ausgeben, wenn weiche oder harte Limits unterschritten werden\n" +" -D --no-dbus Versuche nicht, Nachrichten an DBUS zu schicken\n" +" -F --foreground Lasse den Dämon im Vordergrund laufen\n" + +#: quota_nld.c:114 +#: rquota_svc.c:162 +#, c-format +msgid "Unknown option '%c'.\n" +msgstr "Unbekannte Option '%c'.\n" + +#: quota_nld.c:120 +msgid "No possible destination for messages. Nothing to do.\n" +msgstr "Kein mögliches Ziel für Nachrichten. Nichts zu tun.\n" + +#: quota_nld.c:146 +msgid "Error parsing netlink message.\n" +msgstr "Fehler beim Parsen einer Netlink-Nachricht.\n" + +#: quota_nld.c:153 +msgid "" +"Unknown format of kernel netlink message!\n" +"Maybe your quota tools are too old?\n" +msgstr "" +"Unbekanntes Format einer Netlink-Nachricht vom Kernel!\n" +"Vielleicht sind Ihre Quota-Tools zu alt?\n" + +#: quota_nld.c:177 +msgid "Cannot allocate netlink handle!\n" +msgstr "Kann keinen Speicher für ein Netlink-Handle reservieren!\n" + +#: quota_nld.c:181 +#, c-format +msgid "Cannot connect to netlink socket: %s\n" +msgstr "Kann nicht zum Netlink-Socket verbinden: %s\n" + +#: quota_nld.c:184 +#, c-format +msgid "Cannot resolve quota netlink name: %s\n" +msgstr "Kann Quota-Netlink-Namen nicht auflösen: %s\n" + +#: quota_nld.c:188 +#, c-format +msgid "Cannot join quota multicast group: %s\n" +msgstr "Kann mich Quota-Muticast-Gruppe nicht anschließen: %s\n" + +#: quota_nld.c:193 +#, c-format +msgid "Cannot register callback for netlink messages: %s\n" +msgstr "Kann Callbackfunktion für Netlink-Nachrichten nicht registrieren: %s\n" + +#: quota_nld.c:207 +#, c-format +msgid "Cannot connect to system DBUS: %s\n" +msgstr "Kann nicht zum System-DBUS verbinden: %s\n" + +#: quota_nld.c:267 +#, c-format +msgid "Failed to find tty of user %llu to report warning to.\n" +msgstr "Konnte TTY von Nutzer %llu nicht finden, um eine Warnung dorthin auszugeben.\n" + +#: quota_nld.c:272 +#, c-format +msgid "Failed to open tty %s of user %llu to report warning.\n" +msgstr "Konnte TTY %s von Nutzer %llu nicht öffnen, um eine Warnung auszugeben.\n" + +#: quota_nld.c:278 +msgid "Warning" +msgstr "Warnung" + +#: quota_nld.c:281 +msgid "Error" +msgstr "Fehler" + +#: quota_nld.c:283 +msgid "Info" +msgstr "Info" + +#: quota_nld.c:286 +msgid "file limit reached" +msgstr "Dateilimit erreicht" + +#: quota_nld.c:289 +msgid "file quota exceeded too long" +msgstr "Dateiquota zu lange überschritten" + +#: quota_nld.c:292 +msgid "file quota exceeded" +msgstr "Dateiquota überschritten" + +#: quota_nld.c:295 +msgid "block limit reached" +msgstr "Blocklimit erreicht" + +#: quota_nld.c:298 +msgid "block quota exceeded too long" +msgstr "Blockquota zu lange überschritten" + +#: quota_nld.c:301 +msgid "block quota exceeded" +msgstr "Blockquota überschritten" + +#: quota_nld.c:304 +msgid "got below file limit" +msgstr "Dateilimit unterschritten" + +#: quota_nld.c:307 +msgid "got below file quota" +msgstr "Dateiquota unterschritten" + +#: quota_nld.c:310 +msgid "got below block limit" +msgstr "Blocklimit unterschritten" + +#: quota_nld.c:313 +msgid "got below block quota" +msgstr "Blockquota unterschritten" + +#: quota_nld.c:316 +msgid "unknown quota warning" +msgstr "Unbekannte Block-Quota-Warnung" + +#: quota_nld.c:320 +#, c-format +msgid "Failed to write quota message for user %llu to %s: %s\n" +msgstr "Konnte Quotanachricht für Nutzer %llu an %s nicht schreiben: %s\n" + +#: quota_nld.c:333 +msgid "Cannot create DBUS message: No enough memory.\n" +msgstr "Kann DBUS-Nachricht nicht erzeugen: Nicht genug Speicher.\n" + +#: quota_nld.c:351 +msgid "Failed to write message to dbus: No enough memory.\n" +msgstr "Konnte Nachricht nicht an DBUS schreiben: Nicht genug Speicher.\n" + +#: quota_nld.c:367 +#, c-format +msgid "Failed to read or parse quota netlink message: %s\n" +msgstr "Konnte Quota-Netlink-Nachricht nicht lesen oder parsen: %s\n" + +#: quotacheck.c:96 +msgid "Not enough memory.\n" +msgstr "Nicht genug Speicher.\n" + +#: quotacheck.c:128 +#, c-format +msgid "Adding hardlink for ino %llu\n" +msgstr "Füge Hardlink für I-Node %llu hinzu\n" + +#: quotacheck.c:171 +#, c-format +msgid "Adding dquot structure type %s for %d\n" +msgstr "Füge dquot-Strukturtyp %s für %d hinzu\n" + +#: quotacheck.c:257 +#, c-format +msgid "Cannot open file %s: %s\n" +msgstr "Kann Datei nicht öffnen %s: %s\n" + +#: quotacheck.c:262 +msgid "Cannot get exact used space... Results might be inaccurate.\n" +msgstr "Kann genau verwendeten Platz nicht bestimmen... Die Ergebnisse können ungenau sein.\n" + +#: quotacheck.c:300 +#, c-format +msgid "" +"Utility for checking and repairing quota files.\n" +"%s [-gucbfinvdmMR] [-F ] filesystem|-a\n" +"\n" +"-u, --user check user files\n" +"-g, --group check group files\n" +"-c, --create-files create new quota files\n" +"-b, --backup create backups of old quota files\n" +"-f, --force force check even if quotas are enabled\n" +"-i, --interactive interactive mode\n" +"-n, --use-first-dquot use the first copy of duplicated structure\n" +"-v, --verbose print more information\n" +"-d, --debug print even more messages\n" +"-m, --no-remount do not remount filesystem read-only\n" +"-M, --try-remount try remounting filesystem read-only,\n" +" continue even if it fails\n" +"-R, --exclude-root exclude root when checking all filesystems\n" +"-F, --format=formatname check quota files of specific format\n" +"-a, --all check all filesystems\n" +"-h, --help display this message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"Hilfsprogramm zum Prüfen und Reparieren von Quotadateien.\n" +"%s [-gucbfinvdmMR] [-F ] filesystem|-a\n" +"\n" +"-u, --user Benutzerdateien prüfen\n" +"-g, --group Gruppendateien prüfen\n" +"-c, --create-files Neue Quotadateien erzeugen\n" +"-b, --backup Sicherungskopien alter Quotadateien erzeugen\n" +"-f, --force Prüfung erzwingen, sogar wenn Quotas aktiviert sind\n" +"-i, --interactive interaktiver Modus\n" +"-n, --use-first-dquot Verwende die erste Kopie einer \"duplicated structure\"\n" +"-v, --verbose gib mehr Informationen aus\n" +"-d, --debug gib noch mehr Informationen aus\n" +"-m, --no-remount Dateisystem nicht als nur-lesbar neu mounten\n" +"-M, --try-remount Versuche, das Dateisystem als nur-lesbar zu mounten,\n" +" aber setze fort, wenn das fehlschlägt\n" +"-R, --exclude-root Das Root-Dateisystem nicht prüfen, wenn alle Dateisysteme geprüft werden\n" +"-F, --format=formatname Quotadateien eines bestimmten Formats prüfen\n" +"-a, --all Prüfe alle Dateisysteme\n" +"-h, --help Zeige diese Nachricht an und beende\n" +"-V, --version Zeige Versionsinformation und beende\n" +"\n" + +#: quotacheck.c:408 +msgid "XFS quota format needs no checking.\n" +msgstr "XFS-Quotaformat erfordert keine Prüfung.\n" + +#: quotacheck.c:434 +#, c-format +msgid "error (%d) while opening %s\n" +msgstr "Fehler (%d) beim Öffnen von %s\n" + +#: quotacheck.c:439 +#, c-format +msgid "error (%d) while allocating inode file bitmap\n" +msgstr "Fehler (%d) bei Speicherreservierung für I-Node-Datei-Bittabelle\n" + +#: quotacheck.c:444 +#, c-format +msgid "errstr (%d) while allocating inode directory bitmap\n" +msgstr "Fehler (%d) bei Speicheranforderung für Inode-Verzeichnis-Bitmap\n" + +#: quotacheck.c:449 +#, c-format +msgid "error (%d) while opening inode scan\n" +msgstr "Fehler (%d) beim Öffnen des \"Inode-Scans\"\n" + +#: quotacheck.c:454 +#, c-format +msgid "error (%d) while starting inode scan\n" +msgstr "Fehler (%d) beim Start des Inode-Scans\n" + +#: quotacheck.c:460 +#, c-format +msgid "Found i_num %ld, blocks %ld\n" +msgstr "i_num %ld, Blöcke %ld gefunden\n" + +#: quotacheck.c:466 +msgid "High uid detected.\n" +msgstr "Hohe uid festgestellt.\n" + +#: quotacheck.c:482 +#, c-format +msgid "Something weird happened while scanning. Error %d\n" +msgstr "Etwas seltsames ist beim Scannnen passiert. Fehler %d\n" + +#: quotacheck.c:506 +#, c-format +msgid "Cannot stat directory %s: %s\n" +msgstr "Kann Verzeichnisinformationen nicht abrufen %s: %s\n" + +#: quotacheck.c:518 +#, c-format +msgid "" +"\n" +"Can open directory %s: %s\n" +msgstr "" +"\n" +"Kann Verzeichnis öffnen %s: %s\n" + +#: quotacheck.c:530 +#, c-format +msgid "" +"lstat Cannot stat `%s/%s': %s\n" +"Guess you'd better run fsck first !\n" +"exiting...\n" +msgstr "" +"lstat kann kein stat `%s/%s': %s\n" +"Ich denke, du solltest besser erst fsck laufen lassen !\n" +"Beende...\n" + +#: quotacheck.c:541 +#, c-format +msgid "pushd %s/%s\n" +msgstr "pushd %s/%s\n" + +#: quotacheck.c:557 +#, c-format +msgid "\tAdding %s size %lld ino %d links %d uid %u gid %u\n" +msgstr "\tAdding %s size %lld ino %d links %d uid %u gid %u\n" + +#: quotacheck.c:567 +msgid "Scanning stored directories from directory stack\n" +msgstr "Scanne auf dem Verzeichnisstapel gespeicherte Verzeichnisse\n" + +#: quotacheck.c:571 +#, c-format +msgid "" +"popd %s\n" +"Entering directory %s\n" +msgstr "" +"popd %s\n" +"Entering directory %s\n" + +#: quotacheck.c:583 +#, c-format +msgid "Leaving %s\n" +msgstr "Leaving %s\n" + +#: quotacheck.c:623 +#, c-format +msgid "Going to check %s quota file of %s\n" +msgstr "Going to check %s quota file of %s\n" + +#: quotacheck.c:629 +#, c-format +msgid "Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n" +msgstr "Quota für %ss ist am Mountpunkt %s aktiviert, dh. quotacheck könnte die Datei beschädigen.\n" + +#: quotacheck.c:630 +#: quotacheck.c:909 +msgid "Should I continue" +msgstr "Soll ich fortsetzten" + +#: quotacheck.c:631 +#: quotacheck.c:910 +#, c-format +msgid "As you wish... Canceling check of this file.\n" +msgstr "WIe du wünschst... breche Prüfung dieser Datei ab.\n" + +#: quotacheck.c:636 +#, c-format +msgid "" +"Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n" +"Please turn quotas off or use -f to force checking.\n" +msgstr "" +"Quota für %ss ist bei Mountpunkte %s aktiviert, dh. quotacheck könnte die Datei beschädigen.\n" +"Bitte deaktivieren sie Quotas oder verwenden sie -f, um die Prüfung zu erzwingen.\n" + +#: quotacheck.c:643 +#, c-format +msgid "Error while syncing quotas on %s: %s\n" +msgstr "Fehler beim Syncen der Quotas auf Dateisystem %s: %s\n" + +#: quotacheck.c:648 +#, c-format +msgid "Cannot get quotafile name for %s\n" +msgstr "Kann Quotadateinamen für %s nicht erhalten\n" + +#: quotacheck.c:653 +#: quotaio.c:151 +#: quotasys.c:539 +#, c-format +msgid "Cannot open quotafile %s: %s\n" +msgstr "Kann Quotadatei nicht öffnen %s: %s\n" + +#: quotacheck.c:690 +msgid "Renaming new files to proper names.\n" +msgstr "Benenne neue Dateien mit letztendlichen Namen.\n" + +#: quotacheck.c:692 +#, c-format +msgid "Cannot get name of old quotafile on %s.\n" +msgstr "Kann Namen der alten Quotadatei auf Dateisystem %s nicht bekommen.\n" + +#: quotacheck.c:695 +msgid "Old file not found.\n" +msgstr "Alte Datei nicht gefunden.\n" + +#: quotacheck.c:698 +#, c-format +msgid "Error while searching for old quota file %s: %s\n" +msgstr "Fehler beim Suchen nach der alten Quotadatei %s: %s\n" + +#: quotacheck.c:707 +msgid "Old file found removed during check!\n" +msgstr "Die alte gefundene Datei wurde während der Prüfung entfernt!\n" + +#: quotacheck.c:710 +#, c-format +msgid "Error while opening old quota file %s: %s\n" +msgstr "Fehler beim Öffnen der alten Quotadatei %s: %s\n" + +#: quotacheck.c:716 +#, c-format +msgid "EXT2_IOC_GETFLAGS failed: %s\n" +msgstr "EXT2_IOC_GETFLAGS fehlgeschlagen: %s\n" + +#: quotacheck.c:720 +#, c-format +msgid "Quota file %s has IMMUTABLE flag set. Clearing.\n" +msgstr "Quotadatei %s hat das IMMUTABLE-Flag gesetzt. Lösche es.\n" + +#: quotacheck.c:723 +#, c-format +msgid "Failed to remove IMMUTABLE flag from quota file %s: %s\n" +msgstr "Konnte IMMUTABLE-Flag in der Quotadatei nicht löschen %s: %s\n" + +#: quotacheck.c:732 +#, c-format +msgid "Renaming old quotafile to %s~\n" +msgstr "Benenne alte Quotadatei in %s~ um\n" + +#: quotacheck.c:738 +#, c-format +msgid "Name of quota file too long. Contact %s.\n" +msgstr "Name der Quotadatei zu lang. Kontaktiere %s.\n" + +#: quotacheck.c:740 +#, c-format +msgid "Cannot rename old quotafile %s to %s: %s\n" +msgstr "Kann alte Quotadatei %s nicht in %s umbenennen: %s\n" + +#: quotacheck.c:746 +msgid "Renaming new quotafile\n" +msgstr "Benenne neue Quotadatei um\n" + +#: quotacheck.c:758 +#, c-format +msgid "Cannot change permission of %s: %s\n" +msgstr "Kann Zugriffsrechte von %s nicht ändern: %s\n" + +#: quotacheck.c:765 +#, c-format +msgid "Cannot open new quota file %s: %s\n" +msgstr "Kann neue Quotadatei %s nicht öffnen: %s\n" + +#: quotacheck.c:770 +#, c-format +msgid "Warning: Cannot set EXT2 flags on %s: %s\n" +msgstr "Warnung: Kann EXT2-Flags für %s nicht setzen: %s\n" + +#: quotacheck.c:789 +#, c-format +msgid "Dumping gathered data for %ss.\n" +msgstr "Gebe gesammelte Daten für %ss aus.\n" + +#: quotacheck.c:791 +#, c-format +msgid "Cannot initialize IO on new quotafile: %s\n" +msgstr "Kann IO für neue Quotadatei nicht initialisieren: %s\n" + +#: quotacheck.c:809 +#, c-format +msgid "Cannot finish IO on new quotafile: %s\n" +msgstr "Kann IO an neuer Quotadatei nicht beenden: %s\n" + +#: quotacheck.c:812 +msgid "Data dumped.\n" +msgstr "Daten ausgegeben.\n" + +#: quotacheck.c:817 +#, c-format +msgid "Cannot find checked quota file for %ss on %s!\n" +msgstr "Kann geprüfte Quotadatei für %ss auf %s nicht finden!\n" + +#: quotacheck.c:821 +#, c-format +msgid "" +"Cannot turn %s quotas off on %s: %s\n" +"Kernel won't know about changes quotacheck did.\n" +msgstr "" +"Kann Quotas vom Typ %s auf %s nicht deaktivieren: %s\n" +"Der Kernel wird nichts von quotachecks Änderungen mitbekommen.\n" + +#: quotacheck.c:834 +#, c-format +msgid "" +"Cannot turn %s quotas on on %s: %s\n" +"Kernel won't know about changes quotacheck did.\n" +msgstr "" +"Kann Quotas vom Typ %s auf %s nicht aktivieren: %s\n" +"Der Kernel wird nichts von quotachecks Änderungen mitbekommen.\n" + +#: quotacheck.c:855 +#, c-format +msgid "Substracting space used by old %s quota file.\n" +msgstr "Subtrahiere den Platz, den die alte Quotadatei für Quotas vom Typ %s verwendet.\n" + +#: quotacheck.c:857 +#, c-format +msgid "Old %s file not found. Usage will not be substracted.\n" +msgstr "Alte Quotadatei für Quotas vom Typ %s nicht gefunden. Verwendung wird nicht subtrahiert werden.\n" + +#: quotacheck.c:862 +#, c-format +msgid "Cannot stat old %s quota file: %s\n" +msgstr "Kann stat() für alte %s-Quotadatei aufrufen: %s\n" + +#: quotacheck.c:874 +#, c-format +msgid "Quota structure for %s owning quota file not present! Something is really wrong...\n" +msgstr "Quota-Datenstruktur in Quotadatei für Typ %s nicht vorhanden! Etwas ist wirklich nicht in Ordnung...\n" + +#: quotacheck.c:879 +#, c-format +msgid "Substracted %lu bytes.\n" +msgstr "%lu Bytes subtrahiert.\n" + +#: quotacheck.c:889 +#, c-format +msgid "Cannot stat mountpoint %s: %s\n" +msgstr "Kann stat() für Mountpunkt %s nicht aufrufen: %s\n" + +#: quotacheck.c:891 +#, c-format +msgid "Mountpoint %s is not a directory?!\n" +msgstr "Mountpunkt %s ist kein Verzeichnis?!\n" + +#: quotacheck.c:908 +#, c-format +msgid "Cannot remount filesystem mounted on %s read-only. Counted values might not be right.\n" +msgstr "Kann das Dateisystem auf %s nicht als nur-lesbar ummounten. Gezählte Werte könnten falsch sein.\n" + +#: quotacheck.c:915 +#, c-format +msgid "" +"Cannot remount filesystem mounted on %s read-only so counted values might not be right.\n" +"Please stop all programs writing to filesystem or use -m flag to force checking.\n" +msgstr "" +"Kann das Dateisystem auf %s nicht als nur-lesbar ummounten. Gezählte Werte könnten falsch sein.\n" +"Bitte beenden sie alle Programme, die auf das Dateisystem schreiben oder verwenden sie -m, um die Prüfung zu erzwingen.\n" + +#: quotacheck.c:922 +msgid "Filesystem remounted read-only\n" +msgstr "Dateisystem als nur-lesbar umgemountet\n" + +#: quotacheck.c:924 +#, c-format +msgid "Scanning %s [%s] " +msgstr "Prüfe %s [%s] " + +#: quotacheck.c:941 +msgid "done\n" +msgstr "fertig\n" + +#: quotacheck.c:950 +#, c-format +msgid "Checked %d directories and %d files\n" +msgstr "%d Verzeichnisse und %d Dateien geprüft\n" + +#: quotacheck.c:954 +#, c-format +msgid "Cannot remount filesystem %s read-write. cannot write new quota files.\n" +msgstr "Kann Dateisystem %s nicht als les- und schreibbar ummounten. Kann neue Quotadateien nicht schreiben.\n" + +#: quotacheck.c:955 +msgid "Filesystem remounted RW.\n" +msgstr "Dateisystem als les- und schreibbar umgemountet.\n" + +#: quotacheck.c:993 +#, c-format +msgid "Cannot find quota option on filesystem %s with quotas!\n" +msgstr "Kann die Quotaoption auf dem Dateisystem %s mit Quotas nicht finden!\n" + +#: quotacheck.c:999 +#, c-format +msgid "Cannot detect quota format for journalled quota on %s\n" +msgstr "Kann das Quotaformat für das Journalquota auf %s nicht feststellen\n" + +#: quotacheck.c:1048 +#: quotasys.c:632 +msgid "Cannot initialize mountpoint scan.\n" +msgstr "Kann die Mountpunkt-Prüfung nicht initialisieren.\n" + +#: quotacheck.c:1054 +#, c-format +msgid "Skipping %s [%s]\n" +msgstr "Überspringe %s [%s]\n" + +#: quotacheck.c:1071 +#, c-format +msgid "Cannot guess format from filename on %s. Please specify format on commandline.\n" +msgstr "Kann das Format nicht aus dem Dateinamen auf Dateisysetm %s ableiten. Bitte geben sie das Format auf der Kommandozeile an.\n" + +#: quotacheck.c:1075 +#, c-format +msgid "Detected quota format %s\n" +msgstr "Quotaformat %s erkannt\n" + +#: quotacheck.c:1090 +#, c-format +msgid "Cannot get system info: %s\n" +msgstr "Kann Syseminformationen nicht abrufen: %s\n" + +#: quotacheck.c:1102 +msgid "Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.\n" +msgstr "Ihr Kernel unterstützt wahrscheinlich Journalquotas, aber sie verwenden sie nicht. Vielleicht sollten sie auf Journalquotas umsteigen, um nicht mehr quotacheck nach jedem unsauberen Herunterfahren ausführen zu müssen.\n" + +#: quotacheck.c:1113 +msgid "Cannot find filesystem to check or filesystem not mounted with quota option.\n" +msgstr "Kann kein Dateisystem zum Prüfen finden oder Dateisystem nicht mit der Quota-Option gemountet.\n" + +#: quotacheck.c:1126 +#, c-format +msgid "" +"Allocated %d bytes memory\n" +"Free'd %d bytes\n" +"Lost %d bytes\n" +msgstr "" +"%d Bytes Speicher belegt\n" +"%d Bytes freigegeben\n" +"%d Bytes verloren\n" + +#: quotacheck_v1.c:32 +#, c-format +msgid "Cannot read entry for id %u from quotafile %s: %s\n" +msgstr "Kann Eintrag für Id %u aus Quotadatei %s nicht lesen: %s\n" + +#: quotacheck_v1.c:35 +#, c-format +msgid "Entry for id %u is truncated.\n" +msgstr "Eintrag für Id %u ist abgeschnitten.\n" + +#: quotacheck_v1.c:64 +msgid "Loading first quota entry with grace times.\n" +msgstr "Lade den ersten Quotaeintrag mit Gnadenfristen.\n" + +#: quotacheck_v1.c:68 +#, c-format +msgid "Cannot read first entry from quotafile %s: %s\n" +msgstr "Kann ersten Eintrag aus der Quotadatei %s nicht lesen: %s\n" + +#: quotacheck_v1.c:72 +#, c-format +msgid "WARNING - Quotafile %s was probably truncated. Cannot save quota settings...\n" +msgstr "WARNUNG - Quotadatei %s wurde wahrscheinlich abgeschnitten. Kann Quotaeinstellungen nicht retten...\n" + +#: quotacheck_v1.c:78 +msgid "First entry loaded.\n" +msgstr "Ersten Eintrag geladen.\n" + +#: quotacheck_v2.c:55 +msgid "Checking quotafile info...\n" +msgstr "Prüfe Informationen der Quotadatei...\n" + +#: quotacheck_v2.c:60 +#, c-format +msgid "Cannot read info from quota file %s: %s\n" +msgstr "Kann Information nicht aus Quotadatei %s lesen: %s\n" + +#: quotacheck_v2.c:65 +#, c-format +msgid "WARNING - Quota file %s was probably truncated. Cannot save quota settings...\n" +msgstr "WARNUNG - Quotadatei %s wurde wahrscheinlich abgeschnitten. Kann Quotaeinstellungen nicht retten...\n" + +#: quotacheck_v2.c:77 +msgid "WARNING - Quota file info was corrupted.\n" +msgstr "WARNUNG - Quotadateiinformation wurde zerstört.\n" + +#: quotacheck_v2.c:78 +#, c-format +msgid "" +"Size of file: %lu\n" +"Blocks: %u Free block: %u Block with free entry: %u Flags: %x\n" +msgstr "" +"Dateigröße: %lu\n" +"Blöcke: %u Freier Block: %u Block mit freiem Eintrag: %u Flags: %x\n" + +#: quotacheck_v2.c:85 +#, c-format +msgid "" +"Setting grace times and other flags to default values.\n" +"Assuming number of blocks is %u.\n" +msgstr "" +"Setze Gnadenfristen und andere Flags auf Standardwerde.\n" +"Nehme an, daß die Blockanzahl %u beträgt.\n" + +#: quotacheck_v2.c:102 +msgid "File info done.\n" +msgstr "Dateiinformationen abgearbeitet.\n" + +#: quotacheck_v2.c:113 +msgid "Corrupted blocks: " +msgstr "Zerstörte Blöcke: " + +#: quotacheck_v2.c:117 +#, c-format +msgid "Block %u: " +msgstr "Block %u: " + +#: quotacheck_v2.c:179 +msgid "Duplicated entries." +msgstr "Doppelte Einträge." + +#: quotacheck_v2.c:183 +#, c-format +msgid "Found more structures for ID %u. Using values: BHARD: %lld BSOFT: %lld IHARD: %lld ISOFT: %lld\n" +msgstr "Mehrere Strukturen für Id %u gefunden. Verwende Werte: BHARD: %lld BSOFT: %lld IHARD: %lld ISOFT: %lld\n" + +#: quotacheck_v2.c:191 +#, c-format +msgid "Found more structures for ID %u. Values: BHARD: %lld/%lld BSOFT: %lld/%lld IHARD: %lld/%lld ISOFT: %lld/%lld\n" +msgstr "Mehrere Strukturen für Id %u gefunden. Werte: BHARD: %lld/%lld BSOFT: %lld/%lld IHARD: %lld/%lld ISOFT: %lld/%lld\n" + +#: quotacheck_v2.c:196 +msgid "Should I use new values" +msgstr "Soll ich neue Werte verwenden" + +#: quotacheck_v2.c:206 +#, c-format +msgid "ID %u has more structures. User intervention needed (use -i for interactive mode or -n for automatic answer).\n" +msgstr "Id %u hat mehrere Strukturen. Benutzereingriff erforderlich (verwende -i für interaktiven Modus oder -n für automatische Antworten).\n" + +#: quotacheck_v2.c:243 +#, c-format +msgid "Block %u is truncated.\n" +msgstr "Block %u ist abgeschnitten.\n" + +#: quotacheck_v2.c:252 +#, c-format +msgid "Reference to illegal block %u" +msgstr "Referenz zu ungültigem Block %u" + +#: quotacheck_v2.c:259 +#, c-format +msgid "Block %u in tree referenced twice" +msgstr "Block %u wird im Baum doppelt referenziert" + +#: quotacheck_v2.c:275 +#, c-format +msgid "Illegal free block reference to block %u" +msgstr "Ungültige Referenz auf freien Block %u" + +#: quotacheck_v2.c:278 +#, c-format +msgid "Corrupted number of used entries (%u)" +msgstr "Ungültige Anzahl verwendeter Einträge (%u)" + +#: quotacheck_v2.c:330 +#, c-format +msgid "Quota file %s has corrupted headers. You have to specify quota format on command line.\n" +msgstr "Kopfinformationen der Quotadatei %s sind zerstört. Bitte geben sie das Format auf der Kommandozeile an.\n" + +#: quotacheck_v2.c:346 +msgid "Checking quotafile headers...\n" +msgstr "Prüfe Kopfinformationen der Quotadateien...\n" + +#: quotacheck_v2.c:350 +#, c-format +msgid "Cannot read header from quotafile %s: %s\n" +msgstr "Kann Kopfinformationen aus Quotadatei %s nicht lesen: %s\n" + +#: quotacheck_v2.c:352 +#, c-format +msgid "WARNING - Quotafile %s was probably truncated. Cannot save quota settings...\n" +msgstr "WARNUNG - Quotadatei %s wurde wahrscheinlich abgeschnitten. Kann Quotaeinstellungen nicht retten...\n" + +#: quotacheck_v2.c:358 +#, c-format +msgid "WARNING - Quota file %s has corrupted headers\n" +msgstr "WARNUNG - Quotadatei %s hat ungültige Kopfinformationen\n" + +#: quotacheck_v2.c:362 +#, c-format +msgid "Quota file format version %d does not match the one specified on command line (%d). Quota file header may be corrupted.\n" +msgstr "Quotadateiformatversion %d stimmt nicht mit der Version überein, die auf der Kommandozeile angegeben wurde (%d). Quotadateikopf könnte inkonsistent sein.\n" + +#: quotacheck_v2.c:366 +msgid "Continue checking assuming version from command line?" +msgstr "Prüfung unter Annahme der Version von der Kommandozeile fortsetzen?" + +#: quotacheck_v2.c:372 +msgid "Headers checked.\n" +msgstr "Kopfinformationen geprüft.\n" + +#: quotacheck_v2.c:388 +#, c-format +msgid "Do not know how to buffer format %d\n" +msgstr "Ich weiß nicht, wie das Format %d zwischenzuspeichern ist\n" + +#: quotacheck_v2.c:398 +#, c-format +msgid "Headers of file %s checked. Going to load data...\n" +msgstr "Kopfinformationen von Datei %s geprüft. Lade Daten...\n" + +#: quotacheck_v2.c:406 +msgid "Cannot gather quota data. Tree root node corrupted.\n" +msgstr "Kann Quotadaten nicht laden. Der Baumwurzelknoten ist zerstört.\n" + +#: quotacheck_v2.c:414 +msgid "WARNING - Some data might be changed due to corruption.\n" +msgstr "WARNUNG - Einige Daten könnten wegen der Zerstörung geändert werden.\n" + +#: quotacheck_v2.c:417 +msgid "Not found any corrupted blocks. Congratulations.\n" +msgstr "Keine zerstörten Blöcke gefunden. Gratulation.\n" + +#: quotaio.c:64 +msgid "Only RPC quota format is allowed on NFS filesystem.\n" +msgstr "Nur das RPC-Quotaformat ist bei NFS-Dateisystemen erlaubt.\n" + +#: quotaio.c:73 +msgid "RPC quota format not compiled.\n" +msgstr "RPC-Quotaformat nicht mit einkompiliert.\n" + +#: quotaio.c:77 +msgid "RPC quota format specified for non-NFS filesystem.\n" +msgstr "Es wurde das RPC-Quotaformat für ein Nicht-NFS-Dateisystemen angegeben.\n" + +#: quotaio.c:83 +msgid "Only XFS quota format is allowed on XFS filesystem.\n" +msgstr "Nur das XFS-Quotaformat ist auf XFS-Dateisystemen erlaubt.\n" + +#: quotaio.c:94 +msgid "XFS quota allowed only on XFS filesystem.\n" +msgstr "XFS-Quotaformat nur auf XFS-Dateisystemen erlaubt.\n" + +#: quotaio.c:108 +msgid "Quota not supported by the filesystem.\n" +msgstr "Das Dateisystem unterstützt keine Quotas.\n" + +#: quotaio.c:112 +msgid "Operation not supported for filesystems with hidden quota files!\n" +msgstr "Operation bei Dateisystemen mit versteckten Quotadateien nicht unterstützt!\n" + +#: quotaio.c:137 +msgid "Cannot find any quota file to work on.\n" +msgstr "Kann keine Quotadatei finden, um sie zu bearbeiten.\n" + +#: quotaio.c:144 +msgid "Quota file not found or has wrong format.\n" +msgstr "Quotadatei nicht gefunden oder hat falsches Format.\n" + +#: quotaio.c:176 +#, c-format +msgid "Cannot initialize quota on %s: %s\n" +msgstr "Kann Quotas auf %s nicht initialisieren: %s\n" + +#: quotaio.c:204 +#, c-format +msgid "Creation of %s quota format is not supported.\n" +msgstr "Erzeugung des %s-Quotaformats wird nicht unterstützt.\n" + +#: quotaio.c:214 +#, c-format +msgid "Cannot create new quotafile %s: %s\n" +msgstr "Kann neue Quotadatei %s nicht anlegen: %s\n" + +#: quotaio_generic.c:51 +#, c-format +msgid "Cannot get info for %s quota file from kernel on %s: %s\n" +msgstr "Kann Informationen für %s-Quotadatei auf %s nicht vom Kernel bekommen: %s\n" + +#: quotaio_generic.c:69 +#, c-format +msgid "Cannot set info for %s quota file from kernel on %s: %s\n" +msgstr "Kann Informationen für %s-Quotadatei vom Kernel auf %s nicht setzen: %s\n" + +#: quotaio_generic.c:81 +#, c-format +msgid "Cannot get quota for %s %d from kernel on %s: %s\n" +msgstr "Kann Quota für %s %d vom Kernel auf %s nicht bekommen: %s\n" + +#: quotaio_generic.c:96 +#, c-format +msgid "Cannot set quota for %s %d from kernel on %s: %s\n" +msgstr "Kann Quota für %s %d vom Kernel auf %s nicht setzen: %s\n" + +#: quotaio_meta.c:22 +msgid "Metadata init_io called when kernel support is not enabled.\n" +msgstr "Metadata init_io aufgerufen, obwohl Kernelunterstützung dafür nicht aktiviert.\n" + +#: quotaio_meta.c:26 +msgid "Metadata init_io called when kernel does not support generic quota interface!\n" +msgstr "Metadata init_io aufgerufen, obwohl Kernel die allgemeine Quotaschnittstelle nicht unterstützt!\n" + +#: quotaio_rpc.c:58 +#: quotaio_v1.c:300 +#: quotaio_v2.c:447 +#, c-format +msgid "Trying to write quota to readonly quotafile on %s\n" +msgstr "Versuche Quota in eine nur-lesbare Quotadatei auf %s zu schreiben\n" + +#: quotaio_tree.c:71 +#, c-format +msgid "Cannot write block (%u): %s\n" +msgstr "Kann Block nicht schreiben (%u): %s\n" + +#: quotaio_tree.c:94 +msgid "Cannot allocate new quota block (out of disk space).\n" +msgstr "Kann keinen neune Quotablock belegen (kein Festplattenspeicherplatz mehr).\n" + +#: quotaio_tree.c:202 +msgid "find_free_dqentry(): Data block full but it shouldn't.\n" +msgstr "find_free_dqentry(): Datenblock voll, aber er sollte es nicht sein.\n" + +#: quotaio_tree.c:237 +#, c-format +msgid "Inserting already present quota entry (block %u).\n" +msgstr "Füge schon vorhandenen Quotaeintrag ein (Block %u).\n" + +#: quotaio_tree.c:260 +#, c-format +msgid "Cannot write quota (id %u): %s\n" +msgstr "Kann Quota nicht schreiben (Id %u): %s\n" + +#: quotaio_tree.c:278 +#, c-format +msgid "Quota write failed (id %u): %s\n" +msgstr "Quotaschreiben fehlgeschlagen (Id %u): %s\n" + +#: quotaio_tree.c:290 +#, c-format +msgid "Quota structure has offset to other block (%u) than it should (%u).\n" +msgstr "Quotastruktur hat Versatz (offset) zu einem anderen Block (%u) als sie sollte (%u).\n" + +#: quotaio_tree.c:366 +#, c-format +msgid "Quota for id %u referenced but not present.\n" +msgstr "Quota für Id %u referenziert aber nicht vorhanden.\n" + +#: quotaio_tree.c:424 +#, c-format +msgid "Cannot read quota structure for id %u: %s\n" +msgstr "Kann Quotastruktur für Id %u nicht lesen: %s\n" + +#: quotaio_tree.c:465 +#, c-format +msgid "" +"Illegal reference (%u >= %u) in %s quota file on %s. Quota file is probably corrupted.\n" +"Please run quotacheck(8) and try again.\n" +msgstr "" +"Ungültige Referenz (%u >= %u) in %s-Quotadatei auf %s. Quotadatei ist wahrscheinlich defekt.\n" +"Bitte lassen sie quotacheck(8) laufen und versuchen sie es nochmal.\n" + +#: quotaio_v1.c:206 +#, c-format +msgid "Trying to write info to readonly quotafile on %s.\n" +msgstr "Versuche Information in eine nur-lesbare Quotadatei auf %s zu schreiben.\n" + +#: quotaio_v1.c:354 +#: quotaio_v2.c:490 +#, c-format +msgid "Cannot sync quotas on device %s: %s\n" +msgstr "Kann Quotas auf Gerät %s nicht synchronisieren: %s\n" + +#: quotaio_v2.c:254 +msgid "Your quota file is stored in wrong endianity. Please use convertquota(8) to convert it.\n" +msgstr "Ihre Quotadatei ist in der falschen Bytereihenfolge gespeichert. Bitte konvertieren sie sie mit convertquota(8).\n" + +#: quotaio_v2.c:371 +#, c-format +msgid "Trying to write info to readonly quotafile on %s\n" +msgstr "Versuche Information in eine nur-lesbare Quotadatei auf %s zu schreiben\n" + +#: quotaio_v2.c:501 +#, c-format +msgid "" +"Statistics:\n" +"Total blocks: %u\n" +"Data blocks: %u\n" +"Entries: %u\n" +"Used average: %f\n" +msgstr "" +"Statistik:\n" +"Gesamtblockzahl: %u\n" +"Datenblöcke: %u\n" +"Enträge: %u\n" +"Durchschnittlich verwendet: %f\n" + +#: quotaio_xfs.c:243 +#, c-format +msgid "*** Status for %s quotas on device %s\n" +msgstr "*** Status für %s-Quotas auf Gerät %s\n" + +#: quotaio_xfs.c:245 +#: quotaio_xfs.c:260 +msgid "ON" +msgstr "AN" + +#: quotaio_xfs.c:245 +#: quotaio_xfs.c:260 +msgid "OFF" +msgstr "AUS" + +#: quotaio_xfs.c:247 +#: quotaio_xfs.c:251 +#, c-format +msgid "Accounting: %s; Enforcement: %s\n" +msgstr "Kontierung: %s; Vollstreckung: %s\n" + +#: quotaio_xfs.c:263 +#: quotaio_xfs.c:267 +#, c-format +msgid "Accounting [ondisk]: %s; Enforcement [ondisk]: %s\n" +msgstr "Kontierung [auf Datenträger]: %s; Vollstreckung [auf Datenträger]: %s\n" + +#: quotaio_xfs.c:276 +#: quotaio_xfs.c:285 +#, c-format +msgid "Inode: none\n" +msgstr "Inode: keines\n" + +#: quotaio_xfs.c:278 +#: quotaio_xfs.c:287 +#, c-format +msgid "Inode: #%llu (%llu blocks, %u extents)\n" +msgstr "Inode: #%llu (%llu Blöcke, %u Extents)\n" + +#: quotaon.c:65 +#, c-format +msgid "" +"Usage:\n" +"\t%s [-guvp] [-F quotaformat] [-x state] -a\n" +"\t%s [-guvp] [-F quotaformat] [-x state] filesys ...\n" +"\n" +"-a, --all turn quotas on for all filesystems\n" +"-f, --off turn quotas off\n" +"-u, --user operate on user quotas\n" +"-g, --group operate on group quotas\n" +"-p, --print-state print whether quotas are on or off\n" +"-x, --xfs-command=cmd perform XFS quota command\n" +"-F, --format=formatname operate on specific quota format\n" +"-v, --verbose print more messages\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +msgstr "" +"Verwendung:\n" +"\t%s [-guvp] [-F quotaformat] [-x zustand] -a\n" +"\t%s [-guvp] [-F quotaformat] [-x zustand] dateisystem ...\n" +"\n" +"-a, --all aktiviere Quoatas für alle Dateisysteme\n" +"-f, --off deaktiviere Quotas\n" +"-u, --user ändere Benutzerquotas\n" +"-g, --group ändere Gruppenquotas\n" +"-p, --print-state Ausgeben, ob Quotas aktiv sind\n" +"-x, --xfs-command=cmd XFS-Quota-Kommando ausführen\n" +"-F, --format=formatname ändere bestimmtes Quotaformat\n" +"-v, --verbose mehr Nachrichten ausgeben\n" +"-h, --help zeige diesen Hilfetext und beende\n" +"-V, --version zeige Versionsinformation und beende\n" + +#: quotaon.c:137 +msgid "Cannot turn on/off quotas via RPC.\n" +msgstr "Kann Quotas via RPC nicht an-/ausschalten.\n" + +#: quotaon.c:171 +#, c-format +msgid "set root_squash on %s: %s\n" +msgstr "Setze root_squash auf %s: %s\n" + +#: quotaon.c:175 +#, c-format +msgid "%s: %s root_squash turned off\n" +msgstr "%s: %s root_squash abgeschalten\n" + +#: quotaon.c:177 +#, c-format +msgid "%s: %s root_squash turned on\n" +msgstr "%s: %s root_squash angeschalten\n" + +#: quotaon.c:195 +#, c-format +msgid "quotactl on %s [%s]: %s\n" +msgstr "quotactl auf %s [%s]: %s\n" + +#: quotaon.c:199 +#, c-format +msgid "%s [%s]: %s quotas turned off\n" +msgstr "%s [%s]: %s Quotas abgeschalten\n" + +#: quotaon.c:212 +#, c-format +msgid "cannot find %s on %s [%s]\n" +msgstr "Kann %s auf %s [%s] nicht finden\n" + +#: quotaon.c:214 +#, c-format +msgid "using %s on %s [%s]: %s\n" +msgstr "verwende %s auf %s [%s]: %s\n" + +#: quotaon.c:216 +msgid "Maybe create new quota files with quotacheck(8)?\n" +msgstr "Vielleicht sollten sie neue Quotadateien mit quotacheck(8) erzeugen?\n" + +#: quotaon.c:218 +msgid "Quota format not supported in kernel.\n" +msgstr "Quotaformat wird vom Kernel nicht unterstützt.\n" + +#: quotaon.c:222 +#, c-format +msgid "%s [%s]: %s quotas turned on\n" +msgstr "%s [%s]: %s Quotas angeschalten\n" + +#: quotaon.c:278 +msgid "Cannot change state of XFS quota. It's not compiled in kernel.\n" +msgstr "Kann Zustand des XFS-Quotas nicht ändern. Unterstützung dafür wurde nicht in den Kernel einkompiliert.\n" + +#: quotaon.c:308 +#, c-format +msgid "Cannot find quota file on %s [%s] to turn quotas on/off.\n" +msgstr "Kann Quotadatei auf %s [%s] nicht finden, um Quotas zu (de-)aktivieren.\n" + +#: quotaon.c:313 +#, c-format +msgid "Quota file on %s [%s] does not exist or has wrong format.\n" +msgstr "Quotadatei auf %s [%s] existiert nicht oder hat falsches Format.\n" + +#: quotaon.c:343 +#, c-format +msgid "%s quota on %s (%s) is %s\n" +msgstr "%s-Quota auf %s (%s) ist %s\n" + +#: quotaon.c:344 +msgid "on" +msgstr "an" + +#: quotaon.c:344 +msgid "off" +msgstr "aus" + +#: quotaon.c:360 +#, c-format +msgid "Name must be quotaon or quotaoff not %s\n" +msgstr "Name muss entweder quotaon oder quotaoff sein, aber nicht %s\n" + +#: quotaon.c:366 +#, c-format +msgid "Required format %s not supported by kernel.\n" +msgstr "Erforderliches Format %s wird nicht vom Kernel unterstützt.\n" + +#: quotaon.c:368 +msgid "Warning: No quota format detected in the kernel.\n" +msgstr "Warnung: Kein Quotaformat im Kernel festgestellt.\n" + +#: quotaon_xfs.c:36 +#, c-format +msgid "quotactl() on %s: %s\n" +msgstr "quotactl() auf %s: %s\n" + +#: quotaon_xfs.c:62 +#: quotaon_xfs.c:82 +#, c-format +msgid "Enabling %s quota on root filesystem (reboot to take effect)\n" +msgstr "Aktiviere %s-Quota auf dem root-Dateisystem (starten sie neu, damit diese Änderung wirksam wird)\n" + +#: quotaon_xfs.c:66 +#, c-format +msgid "Enable XFS %s quota accounting during mount\n" +msgstr "Aktiviere XFS-%s-Quota-Kontierung während des Mountens\n" + +#: quotaon_xfs.c:76 +#, c-format +msgid "Cannot delete %s quota on %s - switch quota accounting off first\n" +msgstr "Kann %s-Quota auf %s nicht löschen - deaktivieren sie zuerst Quotakontierung\n" + +#: quotaon_xfs.c:87 +#, c-format +msgid "Enabling %s quota enforcement on %s\n" +msgstr "Aktiviere %s-Quotavollstreckung auf %s\n" + +#: quotaon_xfs.c:90 +#, c-format +msgid "Already accounting %s quota on %s\n" +msgstr "Kontierung für %s-Quota auf %s ist schon aktiv\n" + +#: quotaon_xfs.c:95 +#, c-format +msgid "Disabling %s quota accounting on %s\n" +msgstr "Deaktiviere %s-Quota-Kontierung auf %s\n" + +#: quotaon_xfs.c:99 +#, c-format +msgid "Quota enforcement already disabled for %s on %s\n" +msgstr "Quotavollstreckung schon deaktiviert für %s auf %s\n" + +#: quotaon_xfs.c:108 +#, c-format +msgid "Cannot delete %s quota on %s - switch quota enforcement and accounting off first\n" +msgstr "Kann %s-Quota auf %s nicht löschen - schalten sie Quotavollstreckuckung und -kontierung zuerst ab\n" + +#: quotaon_xfs.c:113 +#, c-format +msgid "Enforcing %s quota already on %s\n" +msgstr "Vollstreckung der %s-Quota schon aktiv auf %s\n" + +#: quotaon_xfs.c:118 +#, c-format +msgid "Cannot switch off %s quota accounting on %s when enforcement is on\n" +msgstr "Kann %s-Quota-Kontierung nicht abschalten auf %s, wenn Vollstreckung aktiv ist\n" + +#: quotaon_xfs.c:124 +msgid "and accounting " +msgstr "und -kontierung " + +#: quotaon_xfs.c:125 +#, c-format +msgid "Disabling %s quota enforcement %son %s\n" +msgstr "Deaktiviere %s-Quota-Vollstreckung %sauf %s\n" + +#: quotaon_xfs.c:131 +#, c-format +msgid "Unexpected XFS quota state sought on %s\n" +msgstr "Unerwarteter XFS-Quota-Zielzustand angefordert auf %s\n" + +#: quotaon_xfs.c:146 +#, c-format +msgid "quotactl on %s: %s\n" +msgstr "quotactl auf %s: %s\n" + +#: quotaon_xfs.c:150 +#, c-format +msgid "%s: %s quotas turned off\n" +msgstr "%s: %s-Quotas deaktiviert\n" + +#: quotaon_xfs.c:152 +#, c-format +msgid "%s: %s quotas turned on\n" +msgstr "%s: %s-Quotas aktiv\n" + +#: quotaon_xfs.c:166 +#, c-format +msgid "Failed to delete quota: %s\n" +msgstr "Konnte Quota nicht löschen: %s\n" + +#: quotaon_xfs.c:172 +#, c-format +msgid "%s: deleted %s quota blocks\n" +msgstr "%s: %s-Quota-Blöcke gelöscht\n" + +#: quotaon_xfs.c:233 +#, c-format +msgid "Invalid argument \"%s\"\n" +msgstr "Ungültiges Argument \"%s\"\n" + +#: quotaops.c:108 +#, c-format +msgid "%s (uid %d): Permission denied\n" +msgstr "%s (Benutzer-Id %d): Zugriff verweigert\n" + +#: quotaops.c:120 +#, c-format +msgid "%s (gid %d): gid set allocation (%d): %s\n" +msgstr "%s (Gid %d): gid set Speicheranforderung (%d): %s\n" + +#: quotaops.c:131 +#, c-format +msgid "%s (gid %d): error while trying getgroups(): %s\n" +msgstr "%s (Gid %d): Fehler beim Aufruf von getgroups(): %s\n" + +#: quotaops.c:142 +#, c-format +msgid "%s (gid %d): Permission denied\n" +msgstr "%s (Gid %d): Zugriff verweigert\n" + +#: quotaops.c:158 +#, c-format +msgid "error while getting quota from %s for %s (id %u): %s\n" +msgstr "Fehler beim Holen der Quotas von %s für %s (Id %u): %s\n" + +#: quotaops.c:183 +#, c-format +msgid "Cannot write quota for %u on %s: %s\n" +msgstr "Kann Quota für %u auf %s nicht schreiben: %s\n" + +#: quotaops.c:232 +msgid "Too many parameters to editor.\n" +msgstr "Zu viele Parameter für den Editor.\n" + +#: quotaops.c:240 +#, c-format +msgid "Cannot exec %s\n" +msgstr "Kann 'exec %' nicht ausführen\n" + +#: quotaops.c:259 +#: quotaops.c:444 +#, c-format +msgid "Cannot duplicate descriptor of file to write to: %s\n" +msgstr "Kann Dateideskriptor nicht zum Schreiben duplizieren: %s\n" + +#: quotaops.c:262 +#, c-format +msgid "Disk quotas for %s %s (%cid %d):\n" +msgstr "Datenträgerquotas für %s %s (%cid %d):\n" + +#: quotaops.c:266 +#, c-format +msgid " Filesystem blocks soft hard inodes soft hard\n" +msgstr " Dateisystem Blöcke weich hart Inodes weich hart\n" + +#: quotaops.c:278 +#, c-format +msgid "Quotas for %s %s:\n" +msgstr "Quotas für %s %s:\n" + +#: quotaops.c:280 +#: quotaops.c:284 +#, c-format +msgid "%s %d, limits (soft = %d, hard = %d)\n" +msgstr "%s %d, Limits (weich = %d, hart = %d)\n" + +#: quotaops.c:281 +msgid "blocks in use:" +msgstr "Blöcke verwendet:" + +#: quotaops.c:285 +msgid "\tinodes in use:" +msgstr "\tInodes verwendet:" + +#: quotaops.c:311 +#, c-format +msgid "WARNING - %s: cannot change current block allocation\n" +msgstr "WARNUNG - %s: Kann aktuelle Blockbelegung nicht ändern\n" + +#: quotaops.c:314 +#, c-format +msgid "WARNING - %s: cannot change current inode allocation\n" +msgstr "WARNUNG - %s: Kann aktuelle Inodebelegung nicht ändern\n" + +#: quotaops.c:337 +#: quotaops.c:486 +#, c-format +msgid "Cannot duplicate descriptor of temp file: %s\n" +msgstr "Kann Dateideskriptor einer temporären Datei nicht duplizieren: %s\n" + +#: quotaops.c:351 +#, c-format +msgid "" +"Bad format:\n" +"%s\n" +msgstr "" +"Falsches Format:\n" +"%s\n" + +#: quotaops.c:364 +#: quotaops.c:628 +#, c-format +msgid "%s - bad format\n" +msgstr "%s - falsches Format\n" + +#: quotaops.c:368 +#, c-format +msgid "%s - %s -- bad format\n" +msgstr "%s - %s -- falsches Format\n" + +#: quotaops.c:373 +#, c-format +msgid " blocks in use: %llu, limits (soft = %llu, hard = %llu)" +msgstr " Blöcke verwendet: %llu, Limits (weich = %llu, hart = %llu)" + +#: quotaops.c:376 +#: quotaops.c:382 +#: quotaops.c:390 +#: quotaops.c:632 +#: quotaops.c:639 +#, c-format +msgid "%s - %s -- bad format\n" +msgstr "%s - %s -- falsches Format\n" + +#: quotaops.c:387 +#, c-format +msgid "\tinodes in use: %llu, limits (soft = %llu, hard = %llu)" +msgstr "\tInodes verwendet: %llu, Limits (weich = %llu, hart = %llu)" + +#: quotaops.c:446 +#, c-format +msgid "Times to enforce softlimit for %s %s (%cid %d):\n" +msgstr "Gnadenfristen, bis weiche Limits durchgesetzt werden für %s %s (%cid %d):\n" + +#: quotaops.c:448 +#: quotaops.c:551 +#: quotaops.c:560 +#, c-format +msgid "Time units may be: days, hours, minutes, or seconds\n" +msgstr "Zeiteinheiten dürfen sein: days, hours, minutes, oder seconds\n" + +#: quotaops.c:450 +#, c-format +msgid " Filesystem block grace inode grace\n" +msgstr " Dateisystem Blockgnadenfrist Inodegnadenfrist\n" + +#: quotaops.c:455 +#: quotaops.c:461 +#: quotaops.c:503 +#: quotaops.c:515 +#: setquota.c:241 +#: setquota.c:247 +msgid "unset" +msgstr "nicht festgelegt" + +#: quotaops.c:457 +#: quotaops.c:463 +msgid "0seconds" +msgstr "0seconds" + +#: quotaops.c:465 +#: quotasys.c:356 +#, c-format +msgid "%useconds" +msgstr "%useconds" + +#: quotaops.c:500 +#: quotaops.c:616 +#, c-format +msgid "" +"bad format:\n" +"%s\n" +msgstr "" +"falsches Format:\n" +"%s\n" + +#: quotaops.c:510 +#: quotaops.c:646 +msgid "Bad time units. Units are 'second', 'minute', 'hour', and 'day'.\n" +msgstr "Fehlerhafte Zeiteinheiten. Einheiten sind 'second', 'minute', 'hour' und 'day'.\n" + +#: quotaops.c:546 +#, c-format +msgid "Cannot duplicate descriptor of file to edit: %s\n" +msgstr "Kann Dateideskriptor der zu bearbeitenden Datei nicht duplizieren: %s\n" + +#: quotaops.c:549 +#: quotaops.c:561 +#, c-format +msgid "Grace period before enforcing soft limits for %ss:\n" +msgstr "Gnadenfrist bevor die weichen Limits durchgesetzt werden für %ss:\n" + +#: quotaops.c:552 +#, c-format +msgid " Filesystem Block grace period Inode grace period\n" +msgstr " Dateisystem Blockgnadenfrist Inodegnadenfrist\n" + +#: quotaops.c:566 +#, c-format +msgid "block grace period: %s, file grace period: %s\n" +msgstr "Blockgnadenfrist: %s, Dateignadenfrist: %s\n" + +#: quotaops.c:594 +#, c-format +msgid "Cannot reopen temp file: %s\n" +msgstr "Kann temporäre Datei nicht neu öffnen: %s\n" + +#: quotaops.c:636 +#, c-format +msgid " block grace period: %d %s file grace period: %d %s" +msgstr " Blockgnadenfrist: %d %s Dateignadenfrist: %d %s" + +#: quotastats.c:50 +#, c-format +msgid "Cannot read stat file %s: %s\n" +msgstr "Kann 'stat'-Datei %s nicht lesen: %s\n" + +#: quotastats.c:85 +#, c-format +msgid "Error while getting quota statistics from kernel: %s\n" +msgstr "Fehler beim Holen von Quotastatistiken vom Kernel: %s\n" + +#: quotastats.c:89 +#, c-format +msgid "Error while getting old quota statistics from kernel: %s\n" +msgstr "Fehler beim Holen von alten Quotastatistiken vom Kernel: %s\n" + +#: quotastats.c:103 +#, c-format +msgid "Kernel quota version: old\n" +msgstr "Kernel Quota Version: alt\n" + +#: quotastats.c:105 +#, c-format +msgid "Kernel quota version: %u.%u.%u\n" +msgstr "Kernel Quota Version: %u.%u.%u\n" + +#: quotastats.c:106 +#, c-format +msgid "Number of dquot lookups: %ld\n" +msgstr "Anzahl an dquot-Nachschlagungen: %ld\n" + +#: quotastats.c:107 +#, c-format +msgid "Number of dquot drops: %ld\n" +msgstr "Anzahl an dquot-Löschungen: %ld\n" + +#: quotastats.c:108 +#, c-format +msgid "Number of dquot reads: %ld\n" +msgstr "Anzahl an dquot-Lesevorgängen: %ld\n" + +#: quotastats.c:109 +#, c-format +msgid "Number of dquot writes: %ld\n" +msgstr "Anzahl an dquot-Schreibvorgängen: %ld\n" + +#: quotastats.c:110 +#, c-format +msgid "Number of quotafile syncs: %ld\n" +msgstr "Anzahl an Quotadatei-Synchronisierungen: %ld\n" + +#: quotastats.c:111 +#, c-format +msgid "Number of dquot cache hits: %ld\n" +msgstr "Anzahl an dquot-Cachetreffern: %ld\n" + +#: quotastats.c:112 +#, c-format +msgid "Number of allocated dquots: %ld\n" +msgstr "Anzahl an belegten dquot-Datenstrukturen: %ld\n" + +#: quotastats.c:113 +#, c-format +msgid "Number of free dquots: %ld\n" +msgstr "Anzahl freier dquot-Datenstrukturen: %ld\n" + +#: quotastats.c:114 +#, c-format +msgid "Number of in use dquot entries (user/group): %ld\n" +msgstr "Anzahl verwendeter dquot-Einträge (Benutzer/Gruppen): %ld\n" + +#: quotasys.c:130 +#, c-format +msgid "user %s does not exist.\n" +msgstr "Benutzer %s existiert nicht.\n" + +#: quotasys.c:159 +#, c-format +msgid "group %s does not exist.\n" +msgstr "Gruppe %s existiert nicht.\n" + +#: quotasys.c:261 +#, c-format +msgid "" +"Unknown quota format: %s\n" +"Supported formats are:\n" +" vfsold - original quota format\n" +" vfsv0 - standard quota format\n" +" vfsv1 - quota format with 64-bit limits\n" +" rpc - use RPC calls\n" +" xfs - XFS quota format\n" +msgstr "" +"Unbekanntes Quotaformat: %s\n" +"Unterstützte Formate sind:\n" +" vfsold - originalas Quotaformat\n" +" vfsv0 - neues Quotaformat\n" +" vfsv1 - Quotaformat mit 64-bit-Limits\n" +" rpc - verwende RPC-Aufrufe\n" +" xfs - XFS-Quotaformat\n" + +#: quotasys.c:344 +#, c-format +msgid "%ddays" +msgstr "%ddays" + +#: quotasys.c:346 +#, c-format +msgid "%02d:%02d" +msgstr "%02d:%02d" + +#: quotasys.c:358 +#, c-format +msgid "%uminutes" +msgstr "%uminutes" + +#: quotasys.c:360 +#, c-format +msgid "%uhours" +msgstr "%uhours" + +#: quotasys.c:362 +#, c-format +msgid "%udays" +msgstr "%udays" + +#: quotasys.c:522 +#, c-format +msgid "Cannot stat quota file %s: %s\n" +msgstr "Kann Informationen über Quotadatei %s nicht abrufen: %s\n" + +#: quotasys.c:668 +msgid "Not all specified mountpoints are using quota.\n" +msgstr "Nicht alle angegebenen Mountpunkte verwenden Quotas.\n" + +#: quotasys.c:682 +#, c-format +msgid "Error while releasing file on %s\n" +msgstr "Fehler bei Dateifreigabe auf %s\n" + +#: quotasys.c:741 +#, c-format +msgid "Cannot create set for sigaction(): %s\n" +msgstr "Kann Menge für sigaction() nicht erzeugen: %s\n" + +#: quotasys.c:744 +#, c-format +msgid "Cannot set signal handler: %s\n" +msgstr "Kann Signalbehandler nicht setzen: %s\n" + +#: quotasys.c:794 +#, c-format +msgid "Cannot reset signal handler: %s\n" +msgstr "Kann Signalbehandler nicht zurücksetzen: %s\n" + +#: quotasys.c:928 +msgid "Cannot open any file with mount points.\n" +msgstr "Kann keine Datei mit Einhängepunkten öffnen.\n" + +#: quotasys.c:939 +#, c-format +msgid "Cannot get device name for %s\n" +msgstr "Kann Gerätenamen für %s nicht bekommen\n" + +#: quotasys.c:976 +#, c-format +msgid "Cannot resolve mountpoint path %s: %s\n" +msgstr "Kann Mountpunkt-Pfad %s nicht auflösen: %s\n" + +#: quotasys.c:982 +#, c-format +msgid "Cannot statfs() %s: %s\n" +msgstr "statfs() für %s fehlgeschlagen: %s\n" + +#: quotasys.c:994 +#, c-format +msgid "Cannot stat() mounted device %s: %s\n" +msgstr "stat() für eingebundenes Gerät %s fehlgeschlagen: %s\n" + +#: quotasys.c:1000 +#, c-format +msgid "Device (%s) filesystem is mounted on unsupported device type. Skipping.\n" +msgstr "Gerät (%s): Dateisystem ist auf einem nicht unterstützten Gerätetyp eingehängt. Überspringe.\n" + +#: quotasys.c:1015 +#, c-format +msgid "Cannot find device of loopback mount in options for %s. Skipping.\n" +msgstr "Kann Gerät des Loopback-Mounts in den Optionen für %s nicht finden. Überspringe.\n" + +#: quotasys.c:1024 +#, c-format +msgid "Cannot stat() loopback device %s: %s\n" +msgstr "stat() für Loopbackgerät %s fehlgeschlagen: %s\n" + +#: quotasys.c:1029 +#, c-format +msgid "Loopback device %s is not block device!\n" +msgstr "Loopbackgerät %s ist kein Blockgerät!\n" + +#: quotasys.c:1047 +#, c-format +msgid "Cannot stat() mountpoint %s: %s\n" +msgstr "stat() für Einhängepunkt %s fehlgeschlagen: %s\n" + +#: quotasys.c:1111 +#, c-format +msgid "" +"Cannot find a device with %s.\n" +"Skipping...\n" +msgstr "" +"Kann kein Gerät mit %s finden.\n" +"Überspringe...\n" + +#: quotasys.c:1115 +#, c-format +msgid "" +"Cannot stat() a mountpoint with %s: %s\n" +"Skipping...\n" +msgstr "" +"stat() für Einhängepunkt %s fehlgeschlagen: %s\n" +"Überspringe...\n" + +#: quotasys.c:1123 +#, c-format +msgid "" +"Cannot stat() given mountpoint %s: %s\n" +"Skipping...\n" +msgstr "" +"stat() für Einhängepunkt %s fehlgeschlagen: %s\n" +"Überspringe...\n" + +#: quotasys.c:1133 +#, c-format +msgid "Cannot find a filesystem mountpoint for directory %s\n" +msgstr "Kann keinen Dateisystem-Einhängepunkt für Verzeichnis %s finden\n" + +#: quotasys.c:1139 +#, c-format +msgid "Cannot resolve path %s: %s\n" +msgstr "Kann Pfad %s nicht auflösen: %s\n" + +#: quotasys.c:1150 +#, c-format +msgid "Cannot find mountpoint for device %s\n" +msgstr "Kann Einhängepunkt für Gerät %s nicht finden\n" + +#: quotasys.c:1156 +#, c-format +msgid "Specified path %s is not directory nor device.\n" +msgstr "Angegebener Pfad %s ist weder ein Verzeichnis noch ein Gerät.\n" + +#: quotasys.c:1164 +msgid "No correct mountpoint specified.\n" +msgstr "Es wurde kein korrekter Einhängepunkt angegeben.\n" + +#: quotasys.c:1225 +#, c-format +msgid "Mountpoint (or device) %s not found or has no quota enabled.\n" +msgstr "Einhängepunkt oder Gerät %s nicht gefunden oder hat keine aktivierten Quotas.\n" + +#: repquota.c:50 +#, c-format +msgid "" +"Utility for reporting quotas.\n" +"Usage:\n" +"%s [-vugsi] [-c|C] [-t|n] [-F quotaformat] (-a | mntpoint)\n" +"\n" +"-v, --verbose display also users/groups without any usage\n" +"-u, --user display information about users\n" +"-g, --group display information about groups\n" +"-s, --human-readable show numbers in human friendly units (MB, GB, ...)\n" +"-t, --truncate-names truncate names to 8 characters\n" +"-p, --raw-grace print grace time in seconds since epoch\n" +"-n, --no-names do not translate uid/gid to name\n" +"-i, --no-autofs avoid autofs mountpoints\n" +"-c, --batch-translation translate big number of ids at once\n" +"-C, --no-batch-translation translate ids one by one\n" +"-F, --format=formatname report information for specific format\n" +"-h, --help display this help message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"Werkzeug zum Berichten von Quotas.\n" +"Verwendung:\n" +"%s [-vugsi] [-c|C] [-t|n] [-F quotaformat] (-a | mntpoint)\n" +"\n" +"-v, --verbose Zeige auch Benutzer/Gruppen ohne Quotaverwendung\n" +"-u, --user Zeige Informationen über Benutzer\n" +"-g, --group Zeige Informationen über Gruppen\n" +"-s, --human-readable Zeige Zahlen in menschenfreundlichen Einheiten (MB, GB, ...)\n" +"-t, --truncate-names Beschneide Namen auf 8 Zeichen\n" +"-p, --raw-grace Zeige Gnadenfrist in Sekunden seit Beginn der UNIX-Epoche\n" +"-n, --no-names Keine Übersetzung von Uids/Gids zu Namen\n" +"-i, --no-autofs Vermeide autofs-Einhängepunkte\n" +"-c, --batch-translation Übersetze große Mengen an Ids auf einmal\n" +"-C, --no-batch-translation Übersetze Ids einzeln\n" +"-F, --format=formatname Berichte Informationen für ein bestimmtes Format\n" +"-h, --help Zeige diese Hilfenachnicht und beende\n" +"-V, --version Zeige Versionsinformation und beende\n" +"\n" + +#: repquota.c:145 +msgid "Repquota cannot report through RPC calls.\n" +msgstr "Repquota funktioniert nicht über RPC.\n" + +#: repquota.c:149 +msgid "Specified both -n and -t but only one of them can be used.\n" +msgstr "Sowohl -n als auch -t wurden angegeben, aber nur eines von beiden kann verwendet werden.\n" + +#: repquota.c:292 +msgid "Space" +msgstr "Platz" + +#: repquota.c:294 +msgid "Block" +msgstr "Block" + +#: repquota.c:296 +#, c-format +msgid "*** Report for %s quotas on device %s\n" +msgstr "*** Report für %s Quotas auf Gerät %s\n" + +#: repquota.c:299 +#, c-format +msgid "Block grace time: %s; Inode grace time: %s\n" +msgstr "Blockgnadenfrist: %s; Inodegnadenfrist: %s\n" + +#: repquota.c:300 +#, c-format +msgid " %s limits File limits\n" +msgstr " %s Limits Dateilimits\n" + +#: repquota.c:301 +#, c-format +msgid "%-9s used soft hard grace used soft hard grace\n" +msgstr "%-9s belegt weich hart Gnade belegt weich hart Gnade\n" + +#: repquota.c:301 +msgid "User" +msgstr "Benutzer" + +#: repquota.c:301 +msgid "Group" +msgstr "Gruppe" + +#: rquota_svc.c:90 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -F --foreground starts the quota service in foreground\n" +" -I --autofs do not ignore mountpoints mounted by automounter\n" +" -p --port listen on given port\n" +" -s --no-setquota disables remote calls to setquota (default)\n" +" -S --setquota enables remote calls to setquota\n" +" -x --xtab set an alternative file with NFSD export table\n" +msgstr "" +"Verwendung: %s [Optionen]\n" +"Optionen sind:\n" +" -h --help zeigt diesen Text\n" +" -V --version zeigt Versionsinformationen\n" +" -F --foreground Startet den Quota-Service im Vordergrund\n" +" -I --autofs Einhängepunkte vom Automounter nicht ignorieren\n" +" -p --port Lausche auf gegebenem Port\n" +" -s --no-setquota Deaktiviert entfernte Aufrufe für setquota (Voreinstellung)\n" +" -S --setquota Aktivierte entfernte Aufrufe für setquota\n" +" -x --xtab Daeipfad zu alternativer NFSD-export-Tabelle\n" + +#: rquota_svc.c:101 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -F --foreground starts the quota service in foreground\n" +" -I --autofs do not ignore mountpoints mounted by automounter\n" +" -p --port listen on given port\n" +" -x --xtab set an alternative file with NFSD export table\n" +msgstr "" +"Verwendung: %s [Optionen]\n" +"Optionen sind:\n" +" -h --help zeigt diesen Text\n" +" -V --version zeigt Versionsinformationen\n" +" -F --foreground Startet den Quota-Service im Vordergrund\n" +" -I --autofs Einhängepunkte vom Automounter nicht ignorieren\n" +" -p --port Lausche auf gegebenem Port\n" +" -x --xtab Daeipfad zu alternativer NFSD-export-Tabelle\n" + +#: rquota_svc.c:148 +#, c-format +msgid "Illegal port number: %s\n" +msgstr "Illegale Portnummer: %s\n" + +#: rquota_svc.c:155 +#, c-format +msgid "Cannot access the specified xtab file %s: %s\n" +msgstr "Kann auf angegebene xtab-Datei %s nicht zugreifen: %s\n" + +#: rquota_svc.c:185 +#, c-format +msgid "host %s attempted to call setquota when disabled\n" +msgstr "Rechner %s versuchte setquota aufzurufen, während es deaktiviert ist\n" + +#: rquota_svc.c:192 +#, c-format +msgid "host %s attempted to call setquota from port >= 1024\n" +msgstr "Rechner %s hat versucht, setquota von einem Port >= 1024 aufzurufen\n" + +#: rquota_svc.c:207 +#, c-format +msgid "Denied access to host %s\n" +msgstr "Zugang verweigert für Rechner %s\n" + +#: rquota_svc.c:295 +#: rquota_svc.c:381 +msgid "unable to free arguments\n" +msgstr "Unfähig Argumente freizugeben\n" + +#: rquota_svc.c:404 +#, c-format +msgid "" +"Warning: Cannot open export table %s: %s\n" +"Using '/' as a pseudofilesystem root.\n" +msgstr "" +"Warnung: Kann Exporttabelle %s nicht öffnen: %s\n" +"Verwende '/' als Pseudodateisystemwurzel.\n" + +#: rquota_svc.c:456 +msgid "cannot create udp service.\n" +msgstr "Kann keinen UDP-Dienst erzeugen.\n" + +#: rquota_svc.c:460 +msgid "unable to register (RQUOTAPROG, RQUOTAVERS, udp).\n" +msgstr "Registrierung fehlgeschlagen (RQUOTAPROG, RQUOTAVERS, udp).\n" + +#: rquota_svc.c:464 +msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n" +msgstr "Registrierung fehlgeschlagen (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n" + +#: rquota_svc.c:471 +msgid "cannot create tcp service.\n" +msgstr "Kann keinen TCP-Dienst erzeugen.\n" + +#: rquota_svc.c:475 +msgid "unable to register (RQUOTAPROG, RQUOTAVERS, tcp).\n" +msgstr "Registrierung fehlgeschlagen (RQUOTAPROG, RQUOTAVERS, tcp).\n" + +#: rquota_svc.c:479 +msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, tcp).\n" +msgstr "Registrierung fehlgeschlagen (RQUOTAPROG, EXT_RQUOTAVERS, tcp).\n" + +#: rquota_svc.c:488 +msgid "svc_run returned\n" +msgstr "svc_run ist zurückgekehrt\n" + +#: set_limits_example.c:20 +#, c-format +msgid "copy_user_quota_limits: Failed to set userquota for uid %ld : %s\n" +msgstr "copy_user_quota_limits: Benutzerquota für uid %ld setzen fehlgeschlagen: %s\n" + +#: set_limits_example.c:27 +#, c-format +msgid "copy_user_quota_limits: Failed to get userquota for uid %ld : %s\n" +msgstr "copy_user_quota_limits: Benutzerquota für uid %ld holen fehlgeschlagen: %s\n" + +#: set_limits_example.c:43 +#, c-format +msgid "copy_group_quota_limits: Failed to set groupquota for uid %ld : %s\n" +msgstr "copy_group_quota_limits: Gruppenquota für uid (gid?) %ld setzen fehlgeschlagen: %s\n" + +#: set_limits_example.c:50 +#, c-format +msgid "copy_group_quota_limits: Failed to get groupquota for uid %ld : %s\n" +msgstr "copy_group_quota_limits: Gruppenquota für uid (gid?) %ld holen fehlgeschlagen: %s\n" + +#: setquota.c:55 +#, c-format +msgid "" +"Usage:\n" +" setquota [-u|-g] %1$s[-F quotaformat] \n" +"\t -a|...\n" +" setquota [-u|-g] %1$s[-F quotaformat] <-p protouser|protogroup> -a|...\n" +" setquota [-u|-g] %1$s[-F quotaformat] -b [-c] -a|...\n" +" setquota [-u|-g] [-F quotaformat] -t -a|...\n" +" setquota [-u|-g] [-F quotaformat] -T -a|...\n" +"\n" +"-u, --user set limits for user\n" +"-g, --group set limits for group\n" +"-a, --all set limits for all filesystems\n" +" --always-resolve always try to resolve name, even if is\n" +" composed only of digits\n" +"-F, --format=formatname operate on specific quota format\n" +"-p, --prototype=protoname copy limits from user/group\n" +"-b, --batch read limits from standard input\n" +"-c, --continue-batch continue in input processing in case of an error\n" +msgstr "" +"Verwendung:\n" +" setquota [-u|-g] %1$s[-F Quotaformat] \n" +"\t -a|...\n" +" setquota [-u|-g] %1$s[-F Quotaformat] <-p protouser|protogroup> -a|...\n" +" setquota [-u|-g] %1$s[-F Quotaformat] -b [-c] -a|...\n" +" setquota [-u|-g] [-F Quotaformat] -t -a|...\n" +" setquota [-u|-g] [-F Quotaformat] -T -a|...\n" +"\n" +"-u, --user Setze Limit für Benutzer\n" +"-g, --group Setze Limits für Gruppe\n" +"-a, --all Setze Limits für alle Dateisysteme\n" +" --always-resolve Versuche stets einen Namen aufzulösen, auch wenn er\n" +" nur aus Ziffern besteht\n" +"-F, --format=Quotaformat Operiere auf einem bestimmten Quotaformat\n" +"-p, --prototype=protoname Kopiere Limits von Benutzer/Gruppe\n" +"-b, --batch Lese Limits von Standardeingabe\n" +"-c, --continue-batch Eingabeverarbeitung auch bei Fehlern fortsetzen\n" + +#: setquota.c:72 +msgid "" +"-r, --remote set remote quota (via RPC)\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +msgstr "" +"-r, --remote Setze entferntes Quota (über RPC)\n" +"-m, --no-mixed-pathnames Entferne führende Schrägstriche (/) von NFSv4-Einhängepunkten\n" + +#: setquota.c:75 +msgid "" +"-t, --edit-period edit grace period\n" +"-T, --edit-times edit grace times for user/group\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" +"-t, --edit-period Bearbeite Standard-Gnadenfrist\n" +"-T, --edit-times Bearbeite Gnadenfristen für Benutzer/Gruppe\n" +"-h, --help Zeige diese Hilfe und beende\n" +"-V, --version Zeige Versionsinformationen und beende\n" +"\n" + +#: setquota.c:90 +#, c-format +msgid "Bad %s: %s\n" +msgstr "Fehlerhafte Angabe für %s: %s\n" + +#: setquota.c:186 +msgid "Group and user quotas cannot be used together.\n" +msgstr "Gruppen- und Benutzerquotas können nicht gleichzeitig verändert werden.\n" + +#: setquota.c:190 +msgid "Prototype user has no sense when editing grace times.\n" +msgstr "Prototyp macht keinen Sinn beim Bearbeiten von Gnadenfristen.\n" + +#: setquota.c:194 +msgid "Cannot set both individual and global grace time.\n" +msgstr "Kann nicht gleichzeitig die individuelle und die Standard-Gnadenfrist setzen.\n" + +#: setquota.c:198 +msgid "Batch mode cannot be used for setting grace times.\n" +msgstr "Stapelmodus kann nicht verwendet werden, um Gnadenfristen zu setzen.\n" + +#: setquota.c:202 +msgid "Batch mode and prototype user cannot be used together.\n" +msgstr "Stapelmodus und Prototypen können nicht zusammen verwendet werden.\n" + +#: setquota.c:225 +msgid "block softlimit" +msgstr "weiches Blocklimit" + +#: setquota.c:226 +msgid "block hardlimit" +msgstr "hartes Blocklimit" + +#: setquota.c:227 +msgid "inode softlimit" +msgstr "weiches Inodelimit" + +#: setquota.c:228 +msgid "inode hardlimit" +msgstr "hartes Inodelimit" + +#: setquota.c:234 +#: setquota.c:246 +msgid "block grace time" +msgstr "Blockgnadenfrist" + +#: setquota.c:235 +#: setquota.c:252 +msgid "inode grace time" +msgstr "Inodegnadenfrist" + +#: setquota.c:258 +msgid "Mountpoint not specified.\n" +msgstr "Einhängepunkt nicht angegeben.\n" + +#: setquota.c:313 +#, c-format +msgid "Line %d too long.\n" +msgstr "Zeile %d zu lang.\n" + +#: setquota.c:325 +#, c-format +msgid "Cannot parse input line %d.\n" +msgstr "Kann Eingabezeile %d nicht verarbeiten.\n" + +#: setquota.c:327 +#: setquota.c:335 +msgid "Exitting.\n" +msgstr "Beende.\n" + +#: setquota.c:328 +#: setquota.c:336 +msgid "Skipping line.\n" +msgstr "Überspringe Zeile.\n" + +#: setquota.c:333 +#, c-format +msgid "Unable to resolve name '%s' on line %d.\n" +msgstr "Kann Namen '%s' in Zeile %d nicht auflösen.\n" + +#: setquota.c:396 +#, c-format +msgid "Not setting block grace time on %s because softlimit is not exceeded.\n" +msgstr "Setze Blockgnadenfrist auf %s nicht, denn das weiche Limit ist nicht überschritten.\n" + +#: setquota.c:400 +#, c-format +msgid "Not setting inode grace time on %s because softlimit is not exceeded.\n" +msgstr "Setze Inodegnadenfrist auf %s nicht, denn das weiche Limit ist nicht überschritten.\n" + +#: setquota.c:403 +#, c-format +msgid "cannot write times for %s. Maybe kernel does not support such operation?\n" +msgstr "Kann die Zeiten für %s nicht schreiben. Vielleicht unterstützt der Kernel diese Operation nicht?\n" + +#: svc_socket.c:42 +#, c-format +msgid "Cannot create socket: %s\n" +msgstr "Konnte Socket nicht erzeugen: %s\n" + +#: svc_socket.c:49 +#, c-format +msgid "Cannot set socket options: %s\n" +msgstr "Konnte Socketoptionen nicht setzen: %s\n" + +#: svc_socket.c:84 +#, c-format +msgid "Cannot bind to given address: %s\n" +msgstr "Kinnd bind-Operation zu gegebener Adresse nicht ausführen: %s\n" + +#: warnquota.c:56 +msgid "" +"Hi,\n" +"\n" +"We noticed that you are in violation with the quotasystem\n" +"used on this system. We have found the following violations:\n" +"\n" +msgstr "" +"Hallo,\n" +"\n" +"wir haben festgestellt, dass sie die Quotalimits auf diesem System\n" +"überschreiten. Wir haben folgende Überschreitungen festgestellt:\n" +"\n" + +#: warnquota.c:58 +#, c-format +msgid "" +"\n" +"We hope that you will cleanup before your grace period expires.\n" +"\n" +"Basically, this means that the system thinks you are using more disk space\n" +"on the above partition(s) than you are allowed. If you do not delete files\n" +"and get below your quota before the grace period expires, the system will\n" +"prevent you from creating new files.\n" +"\n" +"For additional assistance, please contact us at %s\n" +"or via phone at %s.\n" +msgstr "" +"\n" +"Wir hoffen, dass sie aufräumen bevor die Gnadenfrist abgelaufen ist.\n" +"\n" +"Sie erhalten diese Mitteilung, weil sie auf den oben genannten Dateisystemen\n" +"mehr Speicherplatz belegen bzw. Dateien angelegt haben, als ihnen erlaubt ist.\n" +"Wenn sie keinen Speicherplatz freigeben bzw. Dateien löschen und wieder unter\n" +"ihr Quota kommen bevor die Gnadenfrist abgelaufen ist, werden sie keinen\n" +"weiteren Speicherplatz belegen bzw. keine weiteren Dateien anlegen können.\n" +"\n" +"Für Unterstützung wenden sie sich bitte per E-Mail an %s\n" +"oder per Telefon an %s.\n" + +#: warnquota.c:65 +#, c-format +msgid "" +"Hi,\n" +"\n" +"We noticed that the group %s you are member of violates the quotasystem\n" +"used on this system. We have found the following violations:\n" +"\n" +msgstr "" +"Hallo,\n" +"\n" +"wir haben festgestellt, dass die Gruppe %s, in der sie Mitglied sind, Quotas dieses Systems\n" +"überschreitet. Folgende Quotas wurden überschritten:\n" +"\n" + +#: warnquota.c:67 +#, c-format +msgid "" +"\n" +"Please cleanup the group data before the grace period expires.\n" +"\n" +"Basically, this means that the system thinks group is using more disk space\n" +"on the above partition(s) than it is allowed. If you do not delete files\n" +"and get below group quota before the grace period expires, the system will\n" +"prevent you and other members of the group from creating new files owned by\n" +"the group.\n" +"\n" +"For additional assistance, please contact us at %s\n" +"or via phone at %s.\n" +msgstr "" +"\n" +"Wir hoffen, dass sie aufräumen bevor die Gnadenfrist abgelaufen ist.\n" +"\n" +"Sie erhalten diese Mitteilung, weil sie auf den oben genannten Dateisystemen\n" +"mehr Speicherplatz belegen bzw. Dateien angelegt haben, als ihnen erlaubt ist.\n" +"Wenn sie keinen Speicherplatz freigeben bzw. Dateien löschen und wieder unter\n" +"ihr Quota kommen bevor die Gnadenfrist abgelaufen ist, werden sie keinen\n" +"weiteren Speicherplatz belegen bzw. keine weiteren Dateien anlegen können.\n" +"\n" +"Für Unterstützung wenden sie sich bitte per E-Mail an %s\n" +"oder per Telefon an %s.\n" + +#: warnquota.c:184 +#, c-format +msgid "%s: %s\n" +msgstr "%s: %s\n" + +#: warnquota.c:228 +#, c-format +msgid "Cannot get name for uid/gid %u.\n" +msgstr "Kann Namen für uid/gid %u nicht auflösen.\n" + +#: warnquota.c:312 +#, c-format +msgid "Cannot create pipe: %s\n" +msgstr "Konnte keine Pipe erzeugen: %s\n" + +#: warnquota.c:318 +#, c-format +msgid "Cannot fork: %s\n" +msgstr "fork() fehlgeschlagen: %s\n" + +#: warnquota.c:323 +#, c-format +msgid "Cannot duplicate descriptor: %s\n" +msgstr "Konnte Dateideskriptor nicht duplizieren: %s\n" + +#: warnquota.c:327 +#, c-format +msgid "Cannot execute '%s': %s\n" +msgstr "Konnte '%s' nicht ausführen: %s\n" + +#: warnquota.c:332 +#, c-format +msgid "Cannot open pine: %s\n" +msgstr "Konnte pine nicht öffnen: %s\n" + +#: warnquota.c:413 +msgid "Could not setup ldap connection, returning.\n" +msgstr "Konnte LDAP-Verbindung nicht herstellen, kehre zurück.\n" + +#: warnquota.c:436 +#, c-format +msgid "Error with %s.\n" +msgstr "Fehler mit %s.\n" + +#: warnquota.c:444 +#, c-format +msgid "Multiple entries found for client %s, %d not sending mail.\n" +msgstr "Mehrere Einträge für Client %s gefunden (nämlich %d). Sende keine Mail.\n" + +#: warnquota.c:448 +#, c-format +msgid "Entry not found for client %s, %d not sending mail.\n" +msgstr "Eintrag für Client %s nicht gefunden (Gefundene LDAP-Einträge: %d). Sende keine Mail.\n" + +#: warnquota.c:459 +#, c-format +msgid "Could not get values for %s.\n" +msgstr "Konnte keine Werte für %s bekommen.\n" + +#: warnquota.c:491 +#, c-format +msgid "Administrator for a group %s not found. Cancelling mail.\n" +msgstr "Administrator für Gruppe %s nicht gefunden. Sende keine Mail.\n" + +#: warnquota.c:536 +#, c-format +msgid "" +"\n" +" Block limits File limits\n" +msgstr "" +"\n" +" Blocklimits Dateilimits\n" + +#: warnquota.c:537 +#, c-format +msgid "Filesystem used soft hard grace used soft hard grace\n" +msgstr "Dateisystem belegt soft hart Gnadenf. belegt soft hart Gnadenf.\n" + +#: warnquota.c:577 +#, c-format +msgid "Cannot wait for mailer: %s\n" +msgstr "Kann nicht auf das Mailprogramm warten: %s\n" + +#: warnquota.c:579 +msgid "Warning: Mailer exitted abnormally.\n" +msgstr "Warnung: Mailprogramm hat sich nicht korrekt beendet.\n" + +#: warnquota.c:636 +#, c-format +msgid "" +"Cannot open %s: %s\n" +"Will use device names.\n" +msgstr "" +"Kann %s nicht öffnen: %s\n" +"Werde Gerätenamen verwenden.\n" + +#: warnquota.c:659 +#, c-format +msgid "Cannot parse line %d in quotatab (missing ':')\n" +msgstr "Kann Zeile %d in Quotatabelle nicht verarbeiten (fehlender ':')\n" + +#: warnquota.c:673 +#, c-format +msgid "Cannot stat device %s (maybe typo in quotatab)\n" +msgstr "stat()-Aufruf für Gerät %s fehlgeschlagen (vielleicht ein Fehler in der Quotatabelle)\n" + +#: warnquota.c:693 +#, c-format +msgid "" +"Incorrect format string for variable %s.\n" +"Unrecognized expression %%%c.\n" +msgstr "" +"Ungültige Formatierungsanweisung für Variable %s.\n" +"Nicht erkannter Ausdruck %%%c.\n" + +#: warnquota.c:732 +#, c-format +msgid "Cannot open %s: %s\n" +msgstr "Kann %s nicht öffnen: %s\n" + +#: warnquota.c:752 +#, c-format +msgid "Line %d too long. Truncating.\n" +msgstr "Zeile %d zu lang. Schneide sie ab.\n" + +#: warnquota.c:824 +#, c-format +msgid "Cannot parse time at CC_BEFORE variable (line %d).\n" +msgstr "Kann die Zeit bei CC_BEFORE-Variable nicht verarbeiten (Zeile %d).\n" + +#: warnquota.c:848 +#, c-format +msgid "Error in config file (line %d), ignoring\n" +msgstr "Fehler in Konfigurationsdatei (Zeile %d). Ignoriere.\n" + +#: warnquota.c:851 +#, c-format +msgid "Possible error in config file (line %d), ignoring\n" +msgstr "Möglicher Fehler in Konfigurationsdatei in Zeile %d. Ignoriere.\n" + +#: warnquota.c:854 +msgid "Unterminated last line, ignoring\n" +msgstr "Fehlendes Zeilendendezeichen in der letzten Zeile. Ignoriere.\n" + +#: warnquota.c:861 +#, c-format +msgid "" +"LDAP library version >= 2.3 detected. Please use LDAP_URI instead of hostname and port.\n" +"Generated URI %s\n" +msgstr "" +"LDAP-Bibliotheksversion >= 2.3 festgestellt. Bitte verwenden sie LDAP_URI anstelle von Rechnername und Port.\n" +"Generierte URI %s\n" + +#: warnquota.c:865 +msgid "LDAP library does not support ldap_initialize() but URI is specified." +msgstr "LDAP-Bibliothek unterstützt ldap_initialize() nicht, aber ein URI wurde angegeben." + +#: warnquota.c:887 +#, c-format +msgid "Cannot open file with group administrators: %s\n" +msgstr "Kann Datei der Gruppenadministratoren nicht öffnen: %s\n" + +#: warnquota.c:902 +#, c-format +msgid "Parse error at line %d. Cannot find end of group name.\n" +msgstr "Einlesefehler in Zeile %d. Kann kein Ende des Gruppennamens finden.\n" + +#: warnquota.c:911 +#, c-format +msgid "Parse error at line %d. Cannot find administrators name.\n" +msgstr "Einlesefehler in Zeile %d. Kann Administratornamen nicht finden.\n" + +#: warnquota.c:921 +#, c-format +msgid "Parse error at line %d. Trailing characters after administrators name.\n" +msgstr "Einlesefehler in Zeile %d. Zusätzliche Zeichen nach dem Administratornamen.\n" + +#: warnquota.c:984 +msgid "" +"Usage:\n" +" warnquota [-ugsid] [-F quotaformat] [-c configfile] [-q quotatabfile] [-a adminsfile]\n" +"\n" +"-u, --user warn users\n" +"-g, --group warn groups\n" +"-s, --human-readable send information in more human friendly units\n" +"-i, --no-autofs avoid autofs mountpoints\n" +"-d, --no-details do not send quota information itself\n" +"-F, --format=formatname use quotafiles of specific format\n" +"-c, --config=config-file non-default config file\n" +"-q, --quota-tab=quotatab-file non-default quotatab\n" +"-a, --admins-file=admins-file non-default admins file\n" +"-h, --help display this help message and exit\n" +"-v, --version display version information and exit\n" +"\n" +msgstr "" +"Verwendung:\n" +" warnquota [-ugsid] [-F Quotaformat] [-c Konfigurationsdatei] [-q Quotatabelle] [-a Admindatei]\n" +"\n" +"-u, --user Benutzer warnen\n" +"-g, --group Gruppen warnen\n" +"-s, --human-readable Angaben in menschenfreundlicheren Einheiten senden\n" +"-i, --no-autofs Vermeide Autofs-Einhängepunkte\n" +"-d, --no-details Sende keine detaillierten Quotainformationen\n" +"-F, --format=Quotaformat Verwende Quotadateien eines bestimmten Formats\n" +"-c, --config=Konfigurationsdatein Nichtstandard-Konfigurationsdatei\n" +"-q, --quota-tab=Quotatabelle Nichtstandard-Quotatabellendatei\n" +"-a, --admins-file=Admindatei Nichtstandard-Gruppenadministratorendatei\n" +"-h, --help Hilfe anzeigen und beenden\n" +"-v, --version Versionsinformationen anzeigen und beenden\n" +"\n" + +#: warnquota.c:1065 +#, c-format +msgid "Cannot get host name: %s\n" +msgstr "Kann Rechnernamen nicht bekommen: %s\n" + +#: xqmstats.c:32 +#: xqmstats.c:37 +msgid "The running kernel does not support XFS\n" +msgstr "Der laufende Kernel unterstützt kein XFS.\n" + +#: xqmstats.c:49 +#, c-format +msgid "XFS Quota Manager dquot statistics\n" +msgstr "XFS-Quota-Manager dquot-Statistiken\n" + +#: xqmstats.c:50 +#, c-format +msgid " reclaims: %u\n" +msgstr " reclaims: %u\n" + +#: xqmstats.c:51 +#, c-format +msgid " missed reclaims: %u\n" +msgstr " missed reclaims: %u\n" + +#: xqmstats.c:52 +#, c-format +msgid " dquot dups: %u\n" +msgstr " dquot dups: %u\n" + +#: xqmstats.c:53 +#, c-format +msgid " cache misses: %u\n" +msgstr " cache misses: %u\n" + +#: xqmstats.c:54 +#, c-format +msgid " cache hits: %u\n" +msgstr " cache hits: %u\n" + +#: xqmstats.c:55 +#, c-format +msgid " dquot wants: %u\n" +msgstr " dquot wants: %u\n" + +#: xqmstats.c:56 +#, c-format +msgid " shake reclaims: %u\n" +msgstr " shake reclaims: %u\n" + +#: xqmstats.c:57 +#, c-format +msgid " inact reclaims: %u\n" +msgstr " inact reclaims: %u\n" + +#: xqmstats.c:62 +#, c-format +msgid "Maximum %u dquots (currently %u incore, %u on freelist)\n" +msgstr "Maximum %u dquots (currently %u incore, %u on freelist)\n" + +#~ msgid "Bad number of arguments." +#~ msgstr "Falsche Anzahl an Argumenten." +#~ msgid "Too new quotafile format on %s\n" +#~ msgstr "Zu neues Quotadateiformat auf Dateisystem %s\n" +#~ msgid "Unknown format" +#~ msgstr "Unbekanntes Format" + diff --git a/po/pl.po.orig b/po/pl.po.orig deleted file mode 100644 index 3ba3756..0000000 --- a/po/pl.po.orig +++ /dev/null @@ -1,2696 +0,0 @@ -# Polish translation for quota. -# Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc. -# PAUL NIEWIADOMSKI , 2000. -# Jakub Bogusz , 2003-2007. -# -msgid "" -msgstr "" -"Project-Id-Version: quota 3.15\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2007-08-05 02:34+0200\n" -"PO-Revision-Date: 2007-08-05 02:35+0200\n" -"Last-Translator: Jakub Bogusz \n" -"Language-Team: Polish \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=ISO-8859-2\n" -"Content-Transfer-Encoding: 8bit\n" - -#: bylabel.c:251 -#, c-format -msgid "Found an invalid UUID: %s\n" -msgstr "Znaleziono nieprawid³owy UUID: %s\n" - -#: bylabel.c:271 -#, c-format -msgid "Error checking device name: %s\n" -msgstr "B³±d podczas sprawdzania nazwy urz±dzenia: %s\n" - -#: common.c:122 -#, c-format -msgid "Quota utilities version %s.\n" -msgstr "Narzêdzia Quota w wersji %s.\n" - -#: common.c:124 -#, c-format -msgid "Compiled with " -msgstr "Skompilowano z " - -#: common.c:126 -msgid "RPC and EXT2_DIRECT" -msgstr "RPC i EXT2_DIRECT" - -#: common.c:128 -msgid "RPC" -msgstr "RPC" - -#: common.c:130 -msgid "EXT2_DIRECT" -msgstr "EXT2_DIRECT" - -#: common.c:133 convertquota.c:45 quotacheck.c:317 repquota.c:62 -#: warnquota.c:982 -#, c-format -msgid "Bugs to %s\n" -msgstr "B³êdy na adres %s\n" - -#: convertquota.c:38 -#, c-format -msgid "" -"Utility for converting quota files.\n" -"Usage:\n" -"\t%s [options] mountpoint\n" -"\n" -"-u, --user convert user quota file\n" -"-g, --group convert group quota file\n" -"-e, --convert-endian convert quota file to correct endianity\n" -"-f, --convert-format convert from old to VFSv0 quota format\n" -"-h, --help show this help text and exit\n" -"-V, --version output version information and exit\n" -"\n" -msgstr "" -"Narzêdzie do konwersji plików limitów.\n" -"Sk³adnia:\n" -"\t%s [opcje] punkt-montowania\n" -"\n" -"-u, --user konwersja pliku limitów u¿ytkowników (user)\n" -"-g, --group konwersja pliku limitów grup (group)\n" -"-e, --convert-endian konwersja pliku limitów do poprawnej kolejno¶ci bajtów\n" -"-f, --convert-format konwersja ze starego formatu limitów na VFSv0\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" - -#: convertquota.c:87 -msgid "Bad number of arguments." -msgstr "B³êdna liczba argumentów." - -#: convertquota.c:137 quotacheck_v2.c:219 quotaio_v2.c:276 -#, c-format -msgid "Cannot read block %u: %s\n" -msgstr "Nie mo¿na odczytaæ bloku %u: %s\n" - -#: convertquota.c:161 convertquota.c:253 -#, c-format -msgid "Cannot commit dquot for id %u: %s\n" -msgstr "Nie mo¿na utrwaliæ dquot dla id %u: %s\n" - -#: convertquota.c:209 -msgid "Cannot read header of old quotafile.\n" -msgstr "Nie mo¿na odczytaæ nag³ówka starego pliku limitów.\n" - -#: convertquota.c:213 -msgid "Bad file magic or version (probably not quotafile with bad endianity).\n" -msgstr "B³êdny magic lub wersja (raczej nie plik limitów dla innego procesora).\n" - -#: convertquota.c:224 -msgid "Cannot read information about old quotafile.\n" -msgstr "Nie mo¿na odczytaæ informacji o starym pliku limitów.\n" - -#: convertquota.c:266 -msgid "Cannot get name of new quotafile.\n" -msgstr "Nie mo¿na uzyskaæ nazwy nowego pliku limitów.\n" - -#: convertquota.c:272 quotacheck.c:746 -#, c-format -msgid "Cannot rename new quotafile %s to name %s: %s\n" -msgstr "Nie mo¿na zmieniæ nazwy nowego pliku limitów %s na %s: %s\n" - -#: convertquota.c:286 -#, c-format -msgid "Cannot open old format file for %ss on %s\n" -msgstr "Nie mo¿na otworzyæ pliku limitów %s w starym formacie na %s\n" - -#: convertquota.c:291 convertquota.c:324 -#, c-format -msgid "Cannot create file for %ss for new format on %s: %s\n" -msgstr "Nie mo¿na utworzyæ pliku limitów %s dla nowego formatu na %s: %s\n" - -#: convertquota.c:314 -#, c-format -msgid "Cannot open old quota file on %s: %s\n" -msgstr "Nie mo¿na otworzyæ starego pliku limitów na %s: %s\n" - -#: convertquota.c:350 -msgid "Unknown action should be performed.\n" -msgstr "Mia³a byæ wykonana nieznana akcja.\n" - -#: edquota.c:82 -#, c-format -msgid "" -"Usage:\n" -"\tedquota %1$s[-u] [-F formatname] [-p username] [-f filesystem] username ...\n" -"\tedquota %1$s-g [-F formatname] [-p groupname] [-f filesystem] groupname ...\n" -"\tedquota %1$s[-u|g] [-F formatname] [-f filesystem] -t\n" -"\tedquota %1$s[-u|g] [-F formatname] [-f filesystem] -T username|groupname ...\n" -msgstr "" -"Sk³adnia:\n" -"\tedquota %1$s[-u] [-F format] [-p u¿ytkownik] [-f system-plików] u¿ytkownik ...\n" -"\tedquota %1$s-g [-F format] [-p grupa] [-f system-plików] grupa ...\n" -"\tedquota %1$s[-u|g] [-F format] [-f system-plików] -t\n" -"\tedquota %1$s[-u|g] [-F format] [-f system-plików] -T u¿ytkownik|grupa ...\n" - -#: edquota.c:86 -msgid "" -"\n" -"-u, --user edit user data\n" -"-g, --group edit group data\n" -msgstr "" -"\n" -"-u, --user zmiana danych u¿ytkownika\n" -"-g, --group zmiana danych grupy\n" - -#: edquota.c:90 -msgid "-r, --remote edit remote quota (via RPC)\n" -msgstr "-r, --remote zmiana zdalnego limitu (poprzez RPC)\n" - -#: edquota.c:92 -msgid "" -"-F, --format=formatname edit quotas of a specific format\n" -"-p, --prototype=name copy data from a prototype user/group\n" -" --always-resolve always try to resolve name, even if it is\n" -" composed only of digits\n" -"-f, --filesystem=filesystem edit data only on a specific filesystem\n" -"-t, --edit-period edit grace period\n" -"-T, --edit-times edit grace time of a user/group\n" -"-h, --help display this help text and exit\n" -"-V, --version display version information and exit\n" -"\n" -msgstr "" -"-F, --format=format zmiana limitów w podanym formacie\n" -"-p, --prototype=nazwa skopiowanie danych od wzorcowego u¿ytkownika/grupy\n" -" --always-resolve próba rozwi±zania nazwy zawsze, nawet je¶li\n" -" sk³ada siê wy³±cznie z cyfr\n" -"-f, --filesystem=system-plików zmiana danych tylko na podanym systemie plików\n" -"-t, --edit-period zmiana okresu pob³a¿liwo¶ci\n" -"-T, --edit-times zmiana czasu pob³a¿liwo¶ci u¿ytkownika/grupy\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" -"\n" - -#: edquota.c:101 quota.c:107 setquota.c:71 -#, c-format -msgid "Bugs to: %s\n" -msgstr "B³êdy na adres: %s\n" - -#: edquota.c:178 -msgid "Prototype name does not make sence when editting grace period or times.\n" -msgstr "Wzorcowy u¿ytkownik nie ma sensu przy edycji okresów pob³a¿liwo¶ci.\n" - -#: edquota.c:199 -msgid "fsname mismatch\n" -msgstr "nazwa systemu plików siê nie zgadza\n" - -#: edquota.c:239 -msgid "No filesystems with quota detected.\n" -msgstr "Nie wykryto systemów plików z limitami.\n" - -#: edquota.c:255 -#, c-format -msgid "Cannot create temporary file: %s\n" -msgstr "Nie mo¿na utworzyæ pliku tymczasowego: %s\n" - -#: edquota.c:260 -#, c-format -msgid "Cannot change owner of temporary file: %s\n" -msgstr "Nie mo¿na zmieniæ w³a¶ciciela pliku tymczasowego: %s\n" - -#: edquota.c:267 -msgid "Cannot write grace times to file.\n" -msgstr "Nie mo¿na zapisaæ okresów pob³a¿liwo¶ci do pliku.\n" - -#: edquota.c:271 -msgid "Error while editting grace times.\n" -msgstr "B³±d podczas edycji okresów pob³a¿liwo¶ci.\n" - -#: edquota.c:275 -msgid "Failed to parse grace times file.\n" -msgstr "Analiza pliku okresów pob³a¿liwo¶ci nie powiod³a siê.\n" - -#: edquota.c:284 -msgid "Cannot write individual grace times to file.\n" -msgstr "Nie mo¿na zapisaæ do pliku pojedynczych okresów pob³a¿liwo¶ci.\n" - -#: edquota.c:289 -msgid "Error while editting individual grace times.\n" -msgstr "B³±d podczas edycji pojedynczych okresów pob³a¿liwo¶ci.\n" - -#: edquota.c:294 -msgid "Cannot read individual grace times from file.\n" -msgstr "Nie mo¿na odczytaæ z pliku pojedynczych okresów pob³a¿liwo¶ci.\n" - -#: edquota.c:308 -msgid "Cannot write quotas to file.\n" -msgstr "Nie mo¿na zapisaæ limitów do pliku.\n" - -#: edquota.c:313 -msgid "Error while editting quotas.\n" -msgstr "B³±d podczas edycji limitów.\n" - -#: edquota.c:319 -msgid "Cannot reopen!" -msgstr "Nie mo¿na ponownie otworzyæ!" - -#: edquota.c:321 -msgid "Cannot read quotas from file.\n" -msgstr "Nie mo¿na odczytaæ limitów z pliku.\n" - -#: quot.c:83 -#, c-format -msgid "Usage: %s [-acfugvViTq] [filesystem...]\n" -msgstr "Sk³adnia: %s [-acfugvViTq] [system-plików...]\n" - -#: quot.c:180 -#, c-format -msgid "%s (%s):\n" -msgstr "%s (%s):\n" - -#: quot.c:184 quot.c:188 -#, c-format -msgid "%d\t%llu\t%llu\n" -msgstr "%d\t%llu\t%llu\n" - -#: quot.c:197 -#, c-format -msgid "%s (%s) %s:\n" -msgstr "%s (%s) %s:\n" - -#: quot.c:205 quot.c:207 -#, c-format -msgid "%8llu " -msgstr "%8llu " - -#: quot.c:210 -#, c-format -msgid "%s" -msgstr "%s" - -#: quot.c:212 -#, c-format -msgid "%-8.8s" -msgstr "%-8.8s" - -#: quot.c:214 -#, c-format -msgid "#%-7d" -msgstr "#%-7d" - -#: quot.c:216 -#, c-format -msgid " %8llu %8llu %8llu" -msgstr " %8llu %8llu %8llu" - -#: quot.c:364 -#, c-format -msgid "cannot open %s: %s\n" -msgstr "nie mo¿na otworzyæ %s: %s\n" - -#: quot.c:384 -#, c-format -msgid "XFS_IOC_FSBULKSTAT ioctl failed: %s\n" -msgstr "ioctl XFS_IOC_FSBULKSTAT nie powiód³ siê: %s\n" - -#: quota.c:84 -msgid "Usage: quota [-guqvsw] [-l | [-Q | -A]] [-i] [-F quotaformat]\n" -msgstr "Sk³adnia: quota [-guqvsw] [-l | [-Q | -A]] [-i] [-F format]\n" - -#: quota.c:85 -msgid "\tquota [-qvsw] [-l | [-Q | -A]] [-i] [-F quotaformat] -u username ...\n" -msgstr "\tquota [-qvsw] [-l | [-Q | -A]] [-i] [-F format] -u u¿ytkownik ...\n" - -#: quota.c:86 -msgid "\tquota [-qvsw] [-l | [-Q | -A]] [-i] [-F quotaformat] -g groupname ...\n" -msgstr "\tquota [-qvsw] [-l | [-Q | -A]] [-i] [-F format] -g grupa ...\n" - -#: quota.c:87 -msgid "\tquota [-qvswugQ] [-F quotaformat] -f filesystem ...\n" -msgstr "\tquota [-qvswugQ] [-F format] -f system-plików ...\n" - -#: quota.c:88 -msgid "" -"\n" -"-u, --user display quota for user\n" -"-g, --group display quota for group\n" -"-q, --quiet print more terse message\n" -"-v, --verbose print more verbose message\n" -"-s, --human-readable display numbers in human friendly units (MB, GB...)\n" -" --always-resolve always try to translate name to id, even if it is\n" -"\t\t\t composed of only digits\n" -"-w, --no-wrap do not wrap long lines\n" -"-p, --raw-grace print grace time in seconds since epoch\n" -"-l, --local-only do not query NFS filesystems\n" -"-Q, --quiet-refuse do not print error message when NFS server does\n" -" not respond\n" -"-i, --no-autofs do not query autofs mountpoints\n" -"-F, --format=formatname display quota of a specific format\n" -"-f, --filesystem-list display quota information only for given filesystems\n" -"-A, --nfs-all display quota for all NFS mountpoints\n" -"-h, --help display this help message and exit\n" -"-V, --version display version information and exit\n" -"\n" -msgstr "" -"\n" -"-u, --user wy¶wietlenie limitów dla u¿ytkownika\n" -"-g, --group wy¶wietlenie limitów dla grupy\n" -"-q, --quiet wypisywanie bardziej zwiêz³ych komunikatów\n" -"-v, --verbose wypisywanie bardziej wyczerpuj±cych komunikatów\n" -"-s, --human-readable wy¶wietlanie liczb w jednostkach przyjaznych dla\n" -" cz³owieka (MB, GB...)\n" -" --always-resolve próba rozwi±zania nazwy zawsze, nawet je¶li sk³ada\n" -" siê wy³±cznie z cyfr\n" -"-w, --no-wrap nie zawijanie d³ugich linii\n" -"-p, --raw-grace wypisywanie czasu pob³a¿liwo¶ci w sekundach od epoch\n" -"-l, --local-only nie odpytywanie serwera NFS\n" -"-Q, --quiet-refuse nie wypisywanie komunikatów b³êdów je¶li serwer NFS\n" -" nie odpowiada\n" -"-i, --no-autofs nie odpytywanie punktów montowania autofs\n" -"-F, --format=format wy¶wietlenie limitów w podanym formacie\n" -"-f, --filesystem-list wy¶wietlenie informacji tylko dla podanych systemów\n" -" plików\n" -"-A, --nfs-all wy¶wietlenie limitów dla wszystkich NFS-ów\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" -"\n" - -#: quota.c:113 -#, c-format -msgid "Disk quotas for %s %s (%cid %u): %s\n" -msgstr "Ograniczenia dyskowe %s %s (%cid %u): %s\n" - -#: quota.c:116 -msgid "Filesystem" -msgstr "System plików" - -#: quota.c:117 -msgid "blocks" -msgstr "bloki" - -#: quota.c:117 quota.c:118 -msgid "quota" -msgstr "miêkki" - -#: quota.c:117 quota.c:118 -msgid "limit" -msgstr "twardy" - -#: quota.c:117 quota.c:118 -msgid "grace" -msgstr "pob³." - -#: quota.c:118 -msgid "files" -msgstr "pliki" - -#: quota.c:144 -msgid "File limit reached on" -msgstr "Twardy limit plików osi±gniêty na" - -#: quota.c:150 -msgid "In file grace period on" -msgstr "Okres pob³a¿liwo¶ci dla plików na" - -#: quota.c:154 -msgid "Over file quota on" -msgstr "Miêkki limit dla plików przekroczony na" - -#: quota.c:160 -msgid "Block limit reached on" -msgstr "Twardy limit bloków osi±gniêty na" - -#: quota.c:166 -msgid "In block grace period on" -msgstr "Okres pob³a¿liwo¶ci dla bloków na" - -#: quota.c:170 -msgid "Over block quota on" -msgstr "Miêkki limit dla bloków przekroczony na" - -#: quota.c:232 quotasys.c:298 -msgid "none" -msgstr "brak" - -#: quota.c:324 -#, c-format -msgid "Warning: Ignoring -%c when filesystem list specified.\n" -msgstr "Uwaga: Zignorowano -%c kiedy zosta³a podana lista systemów plików.\n" - -#: quota.c:331 -msgid "No filesystem specified.\n" -msgstr "Nie podano systemu plików.\n" - -#: quota.c:339 -#, c-format -msgid "Gid set allocation (%d): %s\n" -msgstr "Przydzielenie zbioru gid (%d): %s\n" - -#: quota.c:345 -#, c-format -msgid "getgroups(): %s\n" -msgstr "getgroups(): %s\n" - -#: quota_nld.c:93 -#, c-format -msgid "" -"Usage: %s [options]\n" -"Options are:\n" -" -h --help shows this text\n" -" -V --version shows version information\n" -" -C --no-console do not try to write messages to console\n" -" -D --no-dbus do not try to write messages to DBUS\n" -" -F --foreground run daemon in foreground\n" -msgstr "" -"Sk³adnia: %s [opcje]\n" -"Opcje to:\n" -" -h --help wy¶wietlenie tego opisu\n" -" -V --version wy¶wietlenie informacji o wersji\n" -" -C --no-console nie wypisywanie komunikatów na konsoli\n" -" -D --no-dbus nie wypisywanie komunikatów przez DBUS\n" -" -F --foreground uruchomienie demona jako procesu pierwszoplanowego\n" - -#: quota_nld.c:123 rquota_svc.c:158 -#, c-format -msgid "Unknown option '%c'.\n" -msgstr "Nieznana opcja '%c'.\n" - -#: quota_nld.c:129 -msgid "No possible destination for messages. Nothing to do.\n" -msgstr "Brak celu dla komunikatów. Nie ma nic do roboty.\n" - -#: quota_nld.c:157 -msgid "Cannot allocate netlink handle!\n" -msgstr "Nie mo¿na przydzieliæ uchwytu netlink!\n" - -#: quota_nld.c:161 -#, c-format -msgid "Cannot connect to netlink socket: %s\n" -msgstr "Nie mo¿na po³±czyæ siê z gniazdem netlink: %s\n" - -#: quota_nld.c:164 -#, c-format -msgid "Cannot resolve quota netlink name: %s\n" -msgstr "Nie mo¿na rozwi±zaæ nazwy netlink limitów: %s\n" - -#: quota_nld.c:168 -#, c-format -msgid "Cannot join quota multicast group: %s\n" -msgstr "Nie mo¿na do³±czyæ do grupy multicastowej limitów: %s\n" - -#: quota_nld.c:172 -#, c-format -msgid "Cannot register netlink family: %s\n" -msgstr "Nie mo¿na zarejestrowaæ rodziny netlink: %s\n" - -#: quota_nld.c:185 -#, c-format -msgid "Cannot connect to system DBUS: %s\n" -msgstr "Nie mo¿na po³±czyæ siê z systemowym DBUS-em: %s\n" - -#: quota_nld.c:240 -#, c-format -msgid "Failed to find tty of user %Lu to report warning to.\n" -msgstr "Nie uda³o siê odnale¼æ tty u¿ytkownika %Lu w celu zg³oszenia ostrze¿enia.\n" - -#: quota_nld.c:245 -#, c-format -msgid "Failed to open tty %s of user %Lu to report warning.\n" -msgstr "Nie uda³o siê otworzyæ tty %s u¿ytkownika %Lu w celu zg³oszenia ostrze¿enia.\n" - -#: quota_nld.c:277 -#, c-format -msgid "Failed to write quota message for user %Lu to %s: %s\n" -msgstr "Nie uda³o siê wypisaæ komunikatu o limicie dla u¿ytkownika %Lu na %s: %s\n" - -#: quota_nld.c:290 -msgid "Cannot create DBUS message: No enough memory.\n" -msgstr "Nie mo¿na utworzyæ komunikatu DBUS: za ma³o pamiêci.\n" - -#: quota_nld.c:308 -msgid "Failed to write message to dbus: No enough memory.\n" -msgstr "Nie uda³o siê wypisaæ komunikatu przez dbus: za ma³o pamiêci.\n" - -#: quota_nld.c:329 -#, c-format -msgid "Read from netlink socket failed: %s\n" -msgstr "Odczyt z gniazda netlink nie powiód³ siê: %s\n" - -#: quota_nld.c:344 -#, c-format -msgid "Failed parsing netlink command: %s\n" -msgstr "Nie uda³o siê przeanalizowaæ polecenia netlink: %s\n" - -#: quotacheck.c:95 -msgid "Not enough memory.\n" -msgstr "Za ma³o pamiêci.\n" - -#: quotacheck.c:127 -#, c-format -msgid "Adding hardlink for ino %llu\n" -msgstr "Dodawanie dowi±zania dla i-wêz³a %llu\n" - -#: quotacheck.c:170 -#, c-format -msgid "Adding dquot structure type %s for %d\n" -msgstr "Dodawanie struktury dquot typu %s dla %d\n" - -#: quotacheck.c:256 -#, c-format -msgid "Cannot open file %s: %s\n" -msgstr "Nie mo¿na otworzyæ pliku %s: %s\n" - -#: quotacheck.c:261 -msgid "Cannot get exact used space... Results might be inaccurate.\n" -msgstr "Nie mo¿na dok³adnie uzyskaæ u¿ytej przestrzeni... wyniki mog± byæ niedok³adne.\n" - -#: quotacheck.c:299 -#, c-format -msgid "" -"Utility for checking and repairing quota files.\n" -"%s [-gucbfinvdmMR] [-F ] filesystem|-a\n" -"\n" -"-u, --user check user files\n" -"-g, --group check group files\n" -"-c, --create-files create new quota files\n" -"-b, --backup create backups of old quota files\n" -"-f, --force force check even if quotas are enabled\n" -"-i, --interactive interactive mode\n" -"-n, --use-first-dquot use the first copy of duplicated structure\n" -"-v, --verbose print more information\n" -"-d, --debug print even more messages\n" -"-m, --no-remount do not remount filesystem read-only\n" -"-M, --try-remount try remounting filesystem read-only,\n" -" continue even if it fails\n" -"-R, --exclude-root exclude root when checking all filesystems\n" -"-F, --format=formatname check quota files of specific format\n" -"-a, --all check all filesystems\n" -"-h, --help display this message and exit\n" -"-V, --version display version information and exit\n" -"\n" -msgstr "" -"Narzêdzie do sprawdzania i naprawy plików limitów.\n" -"%s [-gucbfinvdmMR] [-F ] system-plików|-a\n" -"\n" -"-u, --user sprawdzenie plików u¿ytkowników (user)\n" -"-g, --group sprawdzenie plików grup (group)\n" -"-c, --create-files utworzenie nowych plików limitów\n" -"-b, --backup utworzenie kopii zapasowych starych plików limitów\n" -"-f, --force wymuszenie sprawdzenia nawet je¶li limity s± w³±czone\n" -"-i, --interactive tryb interaktywny\n" -"-n, --use-first-dquot u¿ycie pierwszej kopii powielonej struktury\n" -"-v, --verbose wypisywanie wiêkszej ilo¶ci informacji\n" -"-d, --debug wypisywanie jeszcze wiêkszej liczby komunikatów\n" -"-m, --no-remount nie przemontowywanie systemu plików tylko do odczytu\n" -"-M, --try-remount próba przemontowania systemu plików tylko do odczytu,\n" -" kontynuacja nawet je¶li siê to nie powiedzie\n" -"-R, --exclude-root wykluczenie g³ównego systemu plików przy sprawdzaniu\n" -" wszystkich systemów plików\n" -"-F, --format=format sprawdzenie plików limitów w podanym formacie\n" -"-a, --all sprawdzenie wszystkich systemów plików\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" -"\n" - -#: quotacheck.c:403 quotaon.c:135 repquota.c:139 setquota.c:201 -msgid "Bad number of arguments.\n" -msgstr "B³êdna liczba argumentów.\n" - -#: quotacheck.c:407 -msgid "XFS quota format needs no checking.\n" -msgstr "Limity w formacie XFS nie wymagaj± sprawdzania.\n" - -#: quotacheck.c:433 -#, c-format -msgid "error (%d) while opening %s\n" -msgstr "b³±d (%d) podczas otwierania %s\n" - -#: quotacheck.c:438 -#, c-format -msgid "error (%d) while allocating inode file bitmap\n" -msgstr "b³±d (%d) podczas przydzielania bitmapy i-wêz³ów plików\n" - -#: quotacheck.c:443 -#, c-format -msgid "errstr (%d) while allocating inode directory bitmap\n" -msgstr "errstr (%d) podczas przydzielania bitmapy i-wêz³ów katalogów\n" - -#: quotacheck.c:448 -#, c-format -msgid "error (%d) while opening inode scan\n" -msgstr "b³±d (%d) podczas otwierania skanu i-wêz³ów\n" - -#: quotacheck.c:453 -#, c-format -msgid "error (%d) while starting inode scan\n" -msgstr "b³±d (%d) podczas uruchamiania skanu i-wêz³ów\n" - -#: quotacheck.c:459 -#, c-format -msgid "Found i_num %ld, blocks %ld\n" -msgstr "Znaleziono i_num %ld, %ld bloków\n" - -#: quotacheck.c:465 -msgid "High uid detected.\n" -msgstr "Wykryto du¿y uid.\n" - -#: quotacheck.c:481 -#, c-format -msgid "Something weird happened while scanning. Error %d\n" -msgstr "Podczas skanowania zdarzy³o siê co¶ dziwnego. B³±d %d\n" - -#: quotacheck.c:505 -#, c-format -msgid "Cannot stat directory %s: %s\n" -msgstr "Nie mo¿na wykonaæ stat na katalogu %s: %s\n" - -#: quotacheck.c:517 -#, c-format -msgid "" -"\n" -"Can open directory %s: %s\n" -msgstr "" -"\n" -"Nie mo¿na otworzyæ katalogu %s: %s\n" - -#: quotacheck.c:529 -#, c-format -msgid "" -"lstat Cannot stat `%s/%s': %s\n" -"Guess you'd better run fsck first !\n" -"exiting...\n" -msgstr "" -"lstat: Nie mo¿na wykonaæ stat na `%s/%s': %s\n" -"Lepiej najpierw uruchomiæ fsck!\n" -"zakoñczenie...\n" - -#: quotacheck.c:540 -#, c-format -msgid "pushd %s/%s\n" -msgstr "pushd %s/%s\n" - -#: quotacheck.c:556 -#, c-format -msgid "\tAdding %s size %Ld ino %d links %d uid %u gid %u\n" -msgstr "\tDodawanie %s, o rozmiarze %Ld, i-wêze³ %d, dowi±zañ %d uid %u gid %u\n" - -#: quotacheck.c:566 -msgid "Scanning stored directories from directory stack\n" -msgstr "Skanowanie zapisanych na stosie katalogów\n" - -#: quotacheck.c:570 -#, c-format -msgid "" -"popd %s\n" -"Entering directory %s\n" -msgstr "" -"popd %s\n" -"Wej¶cie do katalogu %s\n" - -#: quotacheck.c:582 -#, c-format -msgid "Leaving %s\n" -msgstr "Opuszczanie %s\n" - -#: quotacheck.c:622 -#, c-format -msgid "Going to check %s quota file of %s\n" -msgstr "Rozpoczynanie sprawdzania pliku limitów %s na %s\n" - -#: quotacheck.c:628 -#, c-format -msgid "Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n" -msgstr "Limity %s w³±czone w punkcie montowania %s - quotacheck mo¿e uszkodziæ plik.\n" - -#: quotacheck.c:629 quotacheck.c:903 -msgid "Should I continue" -msgstr "Czy kontynuowaæ" - -#: quotacheck.c:630 quotacheck.c:904 -#, c-format -msgid "As you wish... Canceling check of this file.\n" -msgstr "Wedle ¿yczenia... anulowanie sprawdzania tego pliku.\n" - -#: quotacheck.c:635 -#, c-format -msgid "" -"Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n" -"Please turn quotas off or use -f to force checking.\n" -msgstr "" -"Limity %s w³±czone w punkcie montowania %s - quotacheck mo¿e uszkodziæ plik.\n" -"Proszê wy³±czyæ limity lub u¿yæ -f, aby wymusiæ sprawdzanie.\n" - -#: quotacheck.c:642 -#, c-format -msgid "Error while syncing quotas on %s: %s\n" -msgstr "B³±d podczas synchronizacji limitów na %s: %s\n" - -#: quotacheck.c:647 -#, c-format -msgid "Cannot get quotafile name for %s\n" -msgstr "Nie mo¿na uzyskaæ nazwy pliku limitów dla %s\n" - -#: quotacheck.c:652 quotaio.c:105 quotasys.c:509 -#, c-format -msgid "Cannot open quotafile %s: %s\n" -msgstr "Nie mo¿na otworzyæ pliku limitów %s: %s\n" - -#: quotacheck.c:668 -#, c-format -msgid "Too new quotafile format on %s\n" -msgstr "Za nowy format pliku limitów na %s\n" - -#: quotacheck.c:696 -msgid "Renaming new files to proper names.\n" -msgstr "Zmiana nazw nowych plików na w³a¶ciwe.\n" - -#: quotacheck.c:698 -#, c-format -msgid "Cannot get name of old quotafile on %s.\n" -msgstr "Nie mo¿na uzyskaæ nazwy starego pliku limitów na %s.\n" - -#: quotacheck.c:701 -msgid "Old file not found.\n" -msgstr "Nie znaleziono starego pliku.\n" - -#: quotacheck.c:704 -#, c-format -msgid "Error while searching for old quota file %s: %s\n" -msgstr "B³±d podczas poszukiwania starego pliku limitów %s: %s\n" - -#: quotacheck.c:713 -msgid "Old file found removed during check!\n" -msgstr "Stary plik zosta³ usuniêty przy sprawdzaniu!\n" - -#: quotacheck.c:716 -#, c-format -msgid "Error while opening old quota file %s: %s\n" -msgstr "B³±d podczas otwierania starego pliku limitów %s: %s\n" - -#: quotacheck.c:722 -#, c-format -msgid "EXT2_IOC_GETFLAGS failed: %s\n" -msgstr "ioctl XFS_IOC_GETFLAGS nie powiód³ siê: %s\n" - -#: quotacheck.c:726 -#, c-format -msgid "Renaming old quotafile to %s~\n" -msgstr "Zmiana nazwy starego pliku limitów na %s~\n" - -#: quotacheck.c:732 -#, c-format -msgid "Name of quota file too long. Contact %s.\n" -msgstr "Nazwa pliku limitów zbyt d³uga. Proszê o kontakt z %s.\n" - -#: quotacheck.c:734 -#, c-format -msgid "Cannot rename old quotafile %s to %s: %s\n" -msgstr "Nie mo¿na zmieniæ nazwy starego pliku limitów %s na %s: %s\n" - -#: quotacheck.c:740 -msgid "Renaming new quotafile\n" -msgstr "Zmiana nazwy nowego pliku limitów\n" - -#: quotacheck.c:752 -#, c-format -msgid "Cannot change permission of %s: %s\n" -msgstr "Nie mo¿na zmieniæ uprawnieñ %s: %s\n" - -#: quotacheck.c:759 -#, c-format -msgid "Cannot open new quota file %s: %s\n" -msgstr "Nie mo¿na otworzyæ nowego pliku limitów %s: %s\n" - -#: quotacheck.c:764 -#, c-format -msgid "Warning: Cannot set EXT2 flags on %s: %s\n" -msgstr "Uwaga: Nie mo¿na ustawiæ flag EXT2 na %s: %s\n" - -#: quotacheck.c:783 -#, c-format -msgid "Dumping gathered data for %ss.\n" -msgstr "Zrzucanie zgromadzonych danych typu %s.\n" - -#: quotacheck.c:785 -#, c-format -msgid "Cannot initialize IO on new quotafile: %s\n" -msgstr "Nie mo¿na zainicjowaæ we/wy na nowym pliku limitów: %s\n" - -#: quotacheck.c:803 -#, c-format -msgid "Cannot finish IO on new quotafile: %s\n" -msgstr "Nie mo¿na zakoñczyæ we/wy na nowym pliku limitów: %s\n" - -#: quotacheck.c:806 -msgid "Data dumped.\n" -msgstr "Dane zrzucone.\n" - -#: quotacheck.c:811 -#, c-format -msgid "Cannot find checked quota file for %ss on %s!\n" -msgstr "Nie mo¿na znale¼æ sprawdzonego pliku limitów %s na %s!\n" - -#: quotacheck.c:815 -#, c-format -msgid "" -"Cannot turn %s quotas off on %s: %s\n" -"Kernel won't know about changes quotacheck did.\n" -msgstr "" -"Nie mo¿na wy³±czyæ limitów %s na %s: %s\n" -"J±dro nie zauwa¿y zmian wykonanych przez checkquota.\n" - -#: quotacheck.c:828 -#, c-format -msgid "" -"Cannot turn %s quotas on on %s: %s\n" -"Kernel won't know about changes quotacheck did.\n" -msgstr "" -"Nie mo¿na w³±czyæ limitów %s na %s: %s\n" -"J±dro nie zauwa¿y zmian wykonanych przez checkquota.\n" - -#: quotacheck.c:849 -#, c-format -msgid "Substracting space used by old %s quota file.\n" -msgstr "Odejmowanie miejsca u¿ytego przez stary plik limitów %s.\n" - -#: quotacheck.c:851 -#, c-format -msgid "Old %s file not found. Usage will not be substracted.\n" -msgstr "Stary plik %s nie znaleziony. Miejsce nie bêdzie odjête.\n" - -#: quotacheck.c:856 -#, c-format -msgid "Cannot stat old %s quota file: %s\n" -msgstr "Nie mo¿na wykonaæ stat na starym pliku limitów %s: %s\n" - -#: quotacheck.c:868 -#, c-format -msgid "Quota structure for %s owning quota file not present! Something is really wrong...\n" -msgstr "Brak struktury limitów %s dla w³a¶ciciela pliku limitów! Co¶ jest naprawdê ¼le...\n" - -#: quotacheck.c:873 -#, c-format -msgid "Substracted %lu bytes.\n" -msgstr "Odjêto %lu bajtów.\n" - -#: quotacheck.c:883 -#, c-format -msgid "Cannot stat mountpoint %s: %s\n" -msgstr "Nie mo¿na wykonaæ stat na punkcie montowania %s: %s\n" - -#: quotacheck.c:885 -#, c-format -msgid "Mountpoint %s is not a directory?!\n" -msgstr "Punkt montowania %s nie jest katalogiem?!\n" - -#: quotacheck.c:902 -#, c-format -msgid "Cannot remount filesystem mounted on %s read-only. Counted values might not be right.\n" -msgstr "Nie mo¿na przemontowaæ r/o systemu plików zamontowanego pod %s. Policzone warto¶ci mog± byæ b³êdne.\n" - -#: quotacheck.c:909 -#, c-format -msgid "" -"Cannot remount filesystem mounted on %s read-only so counted values might not be right.\n" -"Please stop all programs writing to filesystem or use -m flag to force checking.\n" -msgstr "" -"Nie mo¿na przemontowaæ r/o systemu plików zamontowanego pod %s, wiêc policzone\n" -"warto¶ci mog± byæ b³êdne. Proszê zatrzymaæ wszystkie programy pisz±ce na ten\n" -"system plików lub u¿yæ flagi -m, aby wymusiæ sprawdzanie.\n" - -#: quotacheck.c:916 -msgid "Filesystem remounted read-only\n" -msgstr "System plików przemontowany tylko do odczytu\n" - -#: quotacheck.c:918 -#, c-format -msgid "Scanning %s [%s] " -msgstr "Skanowanie %s [%s] " - -#: quotacheck.c:935 -msgid "done\n" -msgstr "zrobiono\n" - -#: quotacheck.c:944 -#, c-format -msgid "Checked %d directories and %d files\n" -msgstr "Sprawdzono %d katalogów i %d plików\n" - -#: quotacheck.c:948 -#, c-format -msgid "Cannot remount filesystem %s read-write. cannot write new quota files.\n" -msgstr "Nie mo¿na przemontowaæ r/w systemu plików %s. Nie mo¿na zapisaæ nowych plików.\n" - -#: quotacheck.c:949 -msgid "Filesystem remounted RW.\n" -msgstr "Przemontowano system plików do zapisu i odczytu.\n" - -#: quotacheck.c:986 -#, c-format -msgid "Cannot find quota option on filesystem %s with quotas!\n" -msgstr "Nie mo¿na znale¼æ opcji limitów dla systemu plików %s z limitami!\n" - -#: quotacheck.c:993 -#, c-format -msgid "Cannot detect quota format for journalled quota on %s\n" -msgstr "Nie mo¿na wykryæ formatu limitów dla limitów z kronik± na %s\n" - -#: quotacheck.c:1033 quotasys.c:595 -msgid "Cannot initialize mountpoint scan.\n" -msgstr "Nie mo¿na zainicjowaæ skanu punktów montowania.\n" - -#: quotacheck.c:1038 -#, c-format -msgid "Skipping %s [%s]\n" -msgstr "Pomijanie %s [%s]\n" - -#: quotacheck.c:1054 -#, c-format -msgid "Cannot guess format from filename on %s. Please specify format on commandline.\n" -msgstr "Nie mo¿na odgadn±æ formatu z nazwy pliku na %s. Proszê podaæ format w poleceniu.\n" - -#: quotacheck.c:1058 -#, c-format -msgid "Detected quota format %s\n" -msgstr "Wykryto format limitów %s\n" - -#: quotacheck.c:1065 -msgid "Cannot find filesystem to check or filesystem not mounted with quota option.\n" -msgstr "Nie znaleziono systemu plików do sprawdzenia lub nie jest zamontowany z obs³ug± limitów.\n" - -#: quotacheck.c:1078 -#, c-format -msgid "" -"Allocated %d bytes memory\n" -"Free'd %d bytes\n" -"Lost %d bytes\n" -msgstr "" -"Przydzielono %d bajtów pamiêci\n" -"Zwolniono %d bajtów\n" -"Stracono %d bajtów\n" - -#: quotacheck_v1.c:30 -#, c-format -msgid "Cannot read entry for id %u from quotafile %s: %s\n" -msgstr "Nie mo¿na odczytaæ wpisu dla id %u z pliku limitów %s: %s\n" - -#: quotacheck_v1.c:33 -#, c-format -msgid "Entry for id %u is truncated.\n" -msgstr "Wpis dla id %u jest uciêty.\n" - -#: quotacheck_v1.c:62 -msgid "Loading first quota entry with grace times.\n" -msgstr "Wczytywanie pierwszego wpisu limitów z okresami pob³a¿liwo¶ci.\n" - -#: quotacheck_v1.c:66 -#, c-format -msgid "Cannot read first entry from quotafile %s: %s\n" -msgstr "Nie mo¿na odczytaæ pierwszego wpisu z pliku limitów %s: %s\n" - -#: quotacheck_v1.c:70 -#, c-format -msgid "WARNING - Quotafile %s was probably truncated. Cannot save quota settings...\n" -msgstr "UWAGA - plik limitów %s zapewne by³ uciêty. Nie mo¿na zapisaæ ustawieñ...\n" - -#: quotacheck_v1.c:76 -msgid "First entry loaded.\n" -msgstr "Wczytano pierwszy wpis.\n" - -#: quotacheck_v2.c:51 -msgid "Checking quotafile info...\n" -msgstr "Sprawdzanie informacji w pliku limitów...\n" - -#: quotacheck_v2.c:56 -#, c-format -msgid "Cannot read info from quota file %s: %s\n" -msgstr "Nie mo¿na odczytaæ informacji z pliku limitów %s: %s\n" - -#: quotacheck_v2.c:61 -#, c-format -msgid "WARNING - Quota file %s was probably truncated. Cannot save quota settings...\n" -msgstr "UWAGA - plik limitów %s zapewne by³ uciêty. Nie mo¿na zapisaæ ustawieñ...\n" - -#: quotacheck_v2.c:73 -msgid "WARNING - Quota file info was corrupted.\n" -msgstr "UWAGA - informacje w pliku limitów by³y uszkodzone.\n" - -#: quotacheck_v2.c:74 -#, c-format -msgid "" -"Size of file: %lu\n" -"Blocks: %u Free block: %u Block with free entry: %u Flags: %x\n" -msgstr "" -"Rozmiar pliku: %lu\n" -"Bloki: %u Wolny blok: %u Blok z wolnym wpisem: %u Flagi: %x\n" - -#: quotacheck_v2.c:81 -#, c-format -msgid "" -"Setting grace times and other flags to default values.\n" -"Assuming number of blocks is %u.\n" -msgstr "" -"Ustawianie okresów pob³a¿liwo¶ci i innych flag na warto¶ci domy¶lne.\n" -"Przyjêcie liczby bloków %u.\n" - -#: quotacheck_v2.c:91 -msgid "File info done.\n" -msgstr "Informacje z pliku wczytane.\n" - -#: quotacheck_v2.c:102 -msgid "Corrupted blocks: " -msgstr "Bloki uszkodzone: " - -#: quotacheck_v2.c:106 -#, c-format -msgid "Block %u: " -msgstr "Blok %u: " - -#: quotacheck_v2.c:157 -msgid "Duplicated entries." -msgstr "Powtórzone wpisy." - -#: quotacheck_v2.c:161 -#, c-format -msgid "Found more structures for ID %u. Using values: BHARD: %Ld BSOFT: %Ld IHARD: %Ld ISOFT: %Ld\n" -msgstr "Znaleziono wiêcej struktur dla ID %u. U¿ycie warto¶ci: BHARD: %Ld BSOFT %Ld IHARD: %Ld ISOFT: %Ld\n" - -#: quotacheck_v2.c:169 -#, c-format -msgid "Found more structures for ID %u. Values: BHARD: %Ld/%Ld BSOFT: %Ld/%Ld IHARD: %Ld/%Ld ISOFT: %Ld/%Ld\n" -msgstr "Znaleziono wiêcej struktur dla ID %u. Warto¶ci: BHARD %Ld/%Ld BSOFT: %Ld/%Ld IHARD: %Ld/%Ld ISOFT: %Ld/%Ld\n" - -#: quotacheck_v2.c:174 -msgid "Should I use new values" -msgstr "Czy u¿yæ nowych warto¶ci" - -#: quotacheck_v2.c:184 -#, c-format -msgid "ID %u has more structures. User intervention needed (use -i for interactive mode or -n for automatic answer).\n" -msgstr "ID %u ma wiêcej struktur. Potrzebna inwencja u¿ytkownika (-i dla trybu interaktywnego lub -n dla automatycznej odpowiedzi).\n" - -#: quotacheck_v2.c:221 -#, c-format -msgid "Block %u is truncated.\n" -msgstr "Blok %u jest uciêty.\n" - -#: quotacheck_v2.c:230 -#, c-format -msgid "Reference to illegal block %u" -msgstr "Odniesienie do nieprawid³owego bloku %u" - -#: quotacheck_v2.c:237 -#, c-format -msgid "Block %u in tree referenced twice" -msgstr "Dwukrotne odniesienie w drzewie do bloku %u" - -#: quotacheck_v2.c:252 -#, c-format -msgid "Illegal free block reference to block %u" -msgstr "B³êdne odniesienie pustego bloku do bloku %u" - -#: quotacheck_v2.c:255 -#, c-format -msgid "Corrupted number of used entries (%u)" -msgstr "Uszkodzona liczba u¿ytych wpisów (%u)" - -#: quotacheck_v2.c:301 -msgid "Checking quotafile headers...\n" -msgstr "Sprawdzanie nag³ówków pliku limitów...\n" - -#: quotacheck_v2.c:305 -#, c-format -msgid "Cannot read header from quotafile %s: %s\n" -msgstr "Nie mo¿na odczytaæ nag³ówka z pliku limitów %s: %s\n" - -#: quotacheck_v2.c:307 -#, c-format -msgid "WARNING - Quotafile %s was probably truncated. Cannot save quota settings...\n" -msgstr "UWAGA - plik limitów %s zapewne by³ uciêty. Nie mo¿na zapisaæ ustawieñ...\n" - -#: quotacheck_v2.c:312 -#, c-format -msgid "WARNING - Quota file %s has corrupted headers\n" -msgstr "UWAGA - plik limitów %s ma uszkodzone nag³ówki\n" - -#: quotacheck_v2.c:314 -msgid "Headers checked.\n" -msgstr "Nag³ówki sprawdzone.\n" - -#: quotacheck_v2.c:332 -#, c-format -msgid "Headers of file %s checked. Going to load data...\n" -msgstr "Nag³ówki pliku %s sprawdzone. Rozpoczêcie wczytywania danych...\n" - -#: quotacheck_v2.c:340 -msgid "Cannot gather quota data. Tree root node corrupted.\n" -msgstr "Nie mo¿na zgromadziæ danych o limitach. Korzeñ drzewa uszkodzony.\n" - -#: quotacheck_v2.c:348 -msgid "WARNING - Some data might be changed due to corruption.\n" -msgstr "UWAGA - czê¶æ danych mo¿e byæ zmieniona z powodu uszkodzenia.\n" - -#: quotacheck_v2.c:351 -msgid "Not found any corrupted blocks. Congratulations.\n" -msgstr "Nie znaleziono ¿adnych uszkodzonych bloków. Gratulacje.\n" - -#: quotaio.c:59 -msgid "Only RPC quota format is allowed on NFS filesystem.\n" -msgstr "Na systemie plików NFS dozwolony jest tylko format limitów RPC.\n" - -#: quotaio.c:68 -msgid "RPC quota format not compiled.\n" -msgstr "Format limitów RPC nie wkompilowany.\n" - -#: quotaio.c:75 -msgid "Only XFS quota format is allowed on XFS filesystem.\n" -msgstr "Na systemie plików XFS dozwolony jest tylko format limitów XFS.\n" - -#: quotaio.c:86 -msgid "XFS quota allowed only on XFS filesystem.\n" -msgstr "Format limitów XFS dozwolony tylko na systemie plików XFS.\n" - -#: quotaio.c:99 -msgid "Quota file not found or has wrong format.\n" -msgstr "Pliku limitów nie znaleziono lub ma z³y format.\n" - -#: quotaio.c:128 -#, c-format -msgid "Cannot initialize quota on %s: %s\n" -msgstr "Nie mo¿na zainicjowaæ limitów na %s: %s\n" - -#: quotaio.c:156 -#, c-format -msgid "Creation of %s quota format is not supported.\n" -msgstr "Tworzenie limitów w formacie %s nie jest obs³ugiwane.\n" - -#: quotaio.c:166 -#, c-format -msgid "Cannot create new quotafile %s: %s\n" -msgstr "Nie mo¿na utworzyæ nowego pliku limitów %s: %s\n" - -#: quotaio_generic.c:49 -#, c-format -msgid "Cannot get info for %s quota file from kernel on %s: %s\n" -msgstr "Nie mo¿na uzyskaæ od j±dra informacji o pliku limitów %s na %s: %s\n" - -#: quotaio_generic.c:67 -#, c-format -msgid "Cannot set info for %s quota file from kernel on %s: %s\n" -msgstr "Nie mo¿na ustawiæ w j±drze informacji o pliku limitów %s na %s: %s\n" - -#: quotaio_generic.c:79 -#, c-format -msgid "Cannot get quota for %s %d from kernel on %s: %s\n" -msgstr "Nie mo¿na uzyskaæ od j±dra limitu %s dla id %d na %s: %s\n" - -#: quotaio_generic.c:94 -#, c-format -msgid "Cannot set quota for %s %d from kernel on %s: %s\n" -msgstr "Nie mo¿na ustawiæ w j±drze limitu %s dla id %d na %s: %s\n" - -#: quotaio_rpc.c:56 quotaio_v1.c:302 quotaio_v2.c:684 -#, c-format -msgid "Trying to write quota to readonly quotafile on %s\n" -msgstr "Próba zapisu limitów do pliku limitów tylko do odczytu na %s\n" - -#: quotaio_v1.c:208 -#, c-format -msgid "Trying to write info to readonly quotafile on %s.\n" -msgstr "Próba zapisu informacji do pliku limitów tylko do odczytu na %s.\n" - -#: quotaio_v1.c:356 quotaio_v2.c:806 -#, c-format -msgid "Cannot sync quotas on device %s: %s\n" -msgstr "Nie mo¿na zsynchronizowaæ limitów na urz±dzeniu %s: %s\n" - -#: quotaio_v2.c:152 -msgid "Your quota file is stored in wrong endianity. Please use convertquota(8) to convert it.\n" -msgstr "Plik limitów jest zapisany dla innego procesora. Do konwersji s³u¿y convertquota(8).\n" - -#: quotaio_v2.c:234 -#, c-format -msgid "Trying to write info to readonly quotafile on %s\n" -msgstr "Próba zapisu informacji do pliku limitów tylko do odczytu na %s\n" - -#: quotaio_v2.c:289 -#, c-format -msgid "Cannot write block (%u): %s\n" -msgstr "Nie mo¿na zapisaæ bloku (%u): %s\n" - -#: quotaio_v2.c:312 -msgid "Cannot allocate new quota block (out of disk space).\n" -msgstr "Nie mo¿na przydzieliæ nowego bloku limitów (brak miejsca na dysku).\n" - -#: quotaio_v2.c:418 -msgid "find_free_dqentry(): Data block full but it shouldn't.\n" -msgstr "find_free_dqentry(): Blok danych jest pe³ny, a nie powinien.\n" - -#: quotaio_v2.c:454 -#, c-format -msgid "Inserting already present quota entry (block %u).\n" -msgstr "Wstawianie ju¿ obecnego wpisu limitów (blok %u).\n" - -#: quotaio_v2.c:477 -#, c-format -msgid "Cannot write quota (id %u): %s\n" -msgstr "Nie mo¿na zapisaæ limitów (id %u): %s\n" - -#: quotaio_v2.c:495 -#, c-format -msgid "Quota write failed (id %u): %s\n" -msgstr "Zapis limitów nie powiód³ siê (id %u): %s\n" - -#: quotaio_v2.c:506 -#, c-format -msgid "Quota structure has offset to other block (%u) than it should (%u).\n" -msgstr "Struktura limitów ma wskazanie na inny blok (%u) ni¿ powinna (%u).\n" - -#: quotaio_v2.c:586 -#, c-format -msgid "Quota for id %u referenced but not present.\n" -msgstr "Limit dla id %u nie istnieje, ale jest odniesienie do niego.\n" - -#: quotaio_v2.c:662 -#, c-format -msgid "Cannot read quota structure for id %u: %s\n" -msgstr "Nie mo¿na odczytaæ struktury limitów dla id %u: %s\n" - -#: quotaio_v2.c:755 -#, c-format -msgid "" -"Illegal reference in %s quota file on %s. Quota file is probably corrupted.\n" -"Please run quotacheck(8) and try again.\n" -msgstr "" -"B³êdne odniesienie w pliku limitów %s na %s. Plik limitów jest prawdopodobnie\n" -"uszkodzony. Proszê uruchomiæ quotacheck(8) i spróbowaæ ponownie.\n" - -#: quotaio_v2.c:830 -#, c-format -msgid "" -"Statistics:\n" -"Total blocks: %u\n" -"Data blocks: %u\n" -"Entries: %u\n" -"Used average: %f\n" -msgstr "" -"Statystyki:\n" -"Bloków w sumie: %u\n" -"Bloków danych: %u\n" -"Wpisów: %u\n" -"U¿yte ¶rednio: %f\n" - -#: quotaio_xfs.c:242 -#, c-format -msgid "*** Status for %s quotas on device %s\n" -msgstr "*** Raport dla limitów %s na urz±dzeniu %s\n" - -#: quotaio_xfs.c:244 quotaio_xfs.c:259 -msgid "ON" -msgstr "W£¡CZONE" - -#: quotaio_xfs.c:244 quotaio_xfs.c:259 -msgid "OFF" -msgstr "WY£¡CZONE" - -#: quotaio_xfs.c:246 quotaio_xfs.c:250 -#, c-format -msgid "Accounting: %s; Enforcement: %s\n" -msgstr "Podliczanie: %s; Wymuszanie: %s\n" - -#: quotaio_xfs.c:262 quotaio_xfs.c:266 -#, c-format -msgid "Accounting [ondisk]: %s; Enforcement [ondisk]: %s\n" -msgstr "Podliczanie [na dysku]: %s; Wymuszanie [na dysku]: %s\n" - -#: quotaio_xfs.c:275 quotaio_xfs.c:284 -#, c-format -msgid "Inode: none\n" -msgstr "I-wêze³: ¿aden\n" - -#: quotaio_xfs.c:277 quotaio_xfs.c:286 -#, c-format -msgid "Inode: #%Lu (%Lu blocks, %u extents)\n" -msgstr "I-wêze³: #%Lu (%Lu bloków, %u zasiêgów)\n" - -#: quotaon.c:67 -#, c-format -msgid "" -"Usage:\n" -"\t%s [-guvp] [-F quotaformat] [-x state] -a\n" -"\t%s [-guvp] [-F quotaformat] [-x state] filesys ...\n" -"\n" -"-a, --all turn quotas on for all filesystems\n" -"-f, --off turn quotas off\n" -"-u, --user operate on user quotas\n" -"-g, --group operate on group quotas\n" -"-p, --print-state print whether quotas are on or off\n" -"-x, --xfs-command=cmd perform XFS quota command\n" -"-F, --format=formatname operate on specific quota format\n" -"-v, --verbose print more messages\n" -"-h, --help display this help text and exit\n" -"-V, --version display version information and exit\n" -msgstr "" -"Skladnia:\n" -"\t%s [-guvp] [-F format] [-x stan] -a\n" -"\t%s [-guvp] [-F format] [-x stan] system-plików ...\n" -"\n" -"-a, --all w³±czenie limitów na wszystkich systemach plików\n" -"-f, --off wy³±czenie limitów\n" -"-u, --user operowanie na limitach u¿ytkowników\n" -"-g, --group operowanie na limitach grup\n" -"-p, --print-state wypisanie, czy limity s± w³±czone czy wy³±czone\n" -"-x, --xfs-command=polecenie wykonanie polecenia dla limitów XFS\n" -"-F, --format=format operowanie na podanym formacie limitów\n" -"-v, --verbose wypisywanie wiêkszej liczby komunikatów\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --verbose wy¶wietlenie informacji o wersji i zakoñczenie\n" - -#: quotaon.c:139 -msgid "Cannot turn on/off quotas via RPC.\n" -msgstr "Nie mo¿na w³±czyæ/wy³±czyæ limitów przez RPC.\n" - -#: quotaon.c:167 -msgid "Cannot change state of XFS quota. It's not compiled in kernel.\n" -msgstr "Nie mo¿na zmieniæ stanu limitów XFS. Nie s± wkompilowane w j±dro.\n" - -#: quotaon.c:181 -#, c-format -msgid "Cannot find quota file on %s [%s] to turn quotas on/off.\n" -msgstr "Nie mo¿na znale¼æ pliku limitów na %s [%s], aby w³±czyæ/wy³±czyæ limity.\n" - -#: quotaon.c:208 -#, c-format -msgid "%s quota on %s (%s) is %s\n" -msgstr "Limity %s na %s (%s) s± %s\n" - -#: quotaon.c:209 -msgid "on" -msgstr "w³±czone" - -#: quotaon.c:209 -msgid "off" -msgstr "wy³±czone" - -#: quotaon.c:227 -#, c-format -msgid "quotactl on %s [%s]: %s\n" -msgstr "quotactl na %s [%s]: %s\n" - -#: quotaon.c:231 -#, c-format -msgid "%s [%s]: %s quotas turned off\n" -msgstr "%s [%s]: limity %s wy³±czone\n" - -#: quotaon.c:244 -#, c-format -msgid "cannot find %s on %s [%s]\n" -msgstr "nie mo¿na znale¼æ %s na %s [%s]\n" - -#: quotaon.c:246 -#, c-format -msgid "using %s on %s [%s]: %s\n" -msgstr "u¿ycie %s na %s [%s]: %s\n" - -#: quotaon.c:248 -msgid "Maybe create new quota files with quotacheck(8)?\n" -msgstr "Mo¿e utworzyæ nowe pliki limitów przez quotacheck(8)?\n" - -#: quotaon.c:250 -msgid "Quota format not supported in kernel.\n" -msgstr "Format limitów nie obs³ugiwany przez j±dro.\n" - -#: quotaon.c:254 -#, c-format -msgid "%s [%s]: %s quotas turned on\n" -msgstr "%s [%s]: limity %s w³±czone\n" - -#: quotaon.c:281 -#, c-format -msgid "set root_squash on %s: %s\n" -msgstr "ustawianie root_squash na %s: %s\n" - -#: quotaon.c:285 -#, c-format -msgid "%s: %s root_squash turned off\n" -msgstr "%s: wy³±czono %s root_squash\n" - -#: quotaon.c:287 -#, c-format -msgid "%s: %s root_squash turned on\n" -msgstr "%s: w³±czono %s root_squash\n" - -#: quotaon.c:339 -#, c-format -msgid "Name must be quotaon or quotaoff not %s\n" -msgstr "Nazw± musi byæ quotaon, lub quotaoff, nie %s\n" - -#: quotaon.c:345 -#, c-format -msgid "Required format %s not supported by kernel.\n" -msgstr "Wymagany format %s nie obs³ugiwany przez j±dro.\n" - -#: quotaon.c:347 -msgid "Warning: No quota format detected in the kernel.\n" -msgstr "Uwaga: Nie wykryto formatu limitów w j±drze.\n" - -#: quotaon_xfs.c:35 -#, c-format -msgid "quotactl() on %s: %s\n" -msgstr "quotactl() na %s: %s\n" - -#: quotaon_xfs.c:61 quotaon_xfs.c:81 -#, c-format -msgid "Enabling %s quota on root filesystem (reboot to take effect)\n" -msgstr "W³±czanie limitów %s na / (zostan± uwzglêdnione po reboocie)\n" - -#: quotaon_xfs.c:65 -#, c-format -msgid "Enable XFS %s quota accounting during mount\n" -msgstr "Nale¿y w³±czyæ podliczanie limitów %s na XFS podczas montowania\n" - -#: quotaon_xfs.c:75 -#, c-format -msgid "Cannot delete %s quota on %s - switch quota accounting off first\n" -msgstr "Nie mo¿na usun±æ limitów %s na %s - najpierw trzeba wy³±czyæ podliczanie\n" - -#: quotaon_xfs.c:86 -#, c-format -msgid "Enabling %s quota enforcement on %s\n" -msgstr "W³±czanie wymuszania limitów %s na %s\n" - -#: quotaon_xfs.c:89 -#, c-format -msgid "Already accounting %s quota on %s\n" -msgstr "Podliczanie limitów %s by³o ju¿ w³±czone na %s\n" - -#: quotaon_xfs.c:94 -#, c-format -msgid "Disabling %s quota accounting on %s\n" -msgstr "Wy³±czanie podliczania limitów %s na %s\n" - -#: quotaon_xfs.c:98 -#, c-format -msgid "Quota enforcement already disabled for %s on %s\n" -msgstr "Wymuszenie limitów %s by³o ju¿ wy³±czone na %s\n" - -#: quotaon_xfs.c:107 -#, c-format -msgid "Cannot delete %s quota on %s - switch quota enforcement and accounting off first\n" -msgstr "Nie mo¿na usun±æ limitów %s na %s - najpierw nale¿y wy³±czyæ wymuszanie i podliczanie\n" - -#: quotaon_xfs.c:112 -#, c-format -msgid "Enforcing %s quota already on %s\n" -msgstr "Wymuszanie limitów %s by³o ju¿ w³±czone na %s\n" - -#: quotaon_xfs.c:117 -#, c-format -msgid "Cannot switch off %s quotaaccounting on %s when enforcement is on\n" -msgstr "Nie mo¿na wy³±czyæ podliczania limitów %s na %s kiedy wymuszanie jest w³±czone\n" - -#: quotaon_xfs.c:123 -msgid "and accounting " -msgstr "i podliczania " - -#: quotaon_xfs.c:124 -#, c-format -msgid "Disabling %s quota enforcement %son %s\n" -msgstr "Wy³±czanie wymuszania %2$slimitów %1$s na %3$s\n" - -#: quotaon_xfs.c:130 -#, c-format -msgid "Unexpected XFS quota state sought on %s\n" -msgstr "Zauwa¿ono nieoczekiwany stan limitów XFS na %s\n" - -#: quotaon_xfs.c:145 -#, c-format -msgid "quotactl on %s: %s\n" -msgstr "quotactl na %s: %s\n" - -#: quotaon_xfs.c:149 -#, c-format -msgid "%s: %s quotas turned off\n" -msgstr "%s: limity %s wy³±czone\n" - -#: quotaon_xfs.c:151 -#, c-format -msgid "%s: %s quotas turned on\n" -msgstr "%s: limity %s w³±czone\n" - -#: quotaon_xfs.c:165 -#, c-format -msgid "Failed to delete quota: %s\n" -msgstr "Nie uda³o siê usun±æ limitów: %s\n" - -#: quotaon_xfs.c:171 -#, c-format -msgid "%s: deleted %s quota blocks\n" -msgstr "%s: usuniêto bloki limitów %s\n" - -#: quotaon_xfs.c:232 -#, c-format -msgid "Invalid argument \"%s\"\n" -msgstr "B³êdny argument \"%s\"\n" - -#: quotaops.c:110 -#, c-format -msgid "%s (uid %d): Permission denied\n" -msgstr "%s (uid %d): Brak uprawnieñ\n" - -#: quotaops.c:122 -#, c-format -msgid "%s (gid %d): gid set allocation (%d): %s\n" -msgstr "%s (gid %d): przydzielenie zbioru gid (%d): %s\n" - -#: quotaops.c:133 -#, c-format -msgid "%s (gid %d): error while trying getgroups(): %s\n" -msgstr "%s (gid %d): b³±d podczas próby wykonania getgroups(): %s\n" - -#: quotaops.c:144 -#, c-format -msgid "%s (gid %d): Permission denied\n" -msgstr "%s (gid %d): Brak uprawnieñ\n" - -#: quotaops.c:158 -#, c-format -msgid "error while getting quota from %s for %s (id %u): %s\n" -msgstr "b³±d podczas uzyskiwania limitów z %s dla %s (id %u): %s\n" - -#: quotaops.c:183 -#, c-format -msgid "Cannot write quota for %u on %s: %s\n" -msgstr "Nie mo¿na zapisaæ limitów dla %u na %s: %s\n" - -#: quotaops.c:232 -msgid "Too many parameters to editor.\n" -msgstr "Zbyt du¿o parametrów dla edytora.\n" - -#: quotaops.c:240 -#, c-format -msgid "Cannot exec %s\n" -msgstr "Nie mo¿na uruchomiæ %s\n" - -#: quotaops.c:259 quotaops.c:444 -#, c-format -msgid "Cannot duplicate descriptor of file to write to: %s\n" -msgstr "Nie mo¿na powieliæ deskryptora pliku do zapisu: %s\n" - -#: quotaops.c:262 -#, c-format -msgid "Disk quotas for %s %s (%cid %d):\n" -msgstr "Limity dyskowe %s %s (%cid %d):\n" - -#: quotaops.c:266 -#, c-format -msgid " Filesystem blocks soft hard inodes soft hard\n" -msgstr " System plików bloki miêkki twardy i-wêz³y miêkki twardy\n" - -#: quotaops.c:278 -#, c-format -msgid "Quotas for %s %s:\n" -msgstr "Limity %s %s:\n" - -#: quotaops.c:280 quotaops.c:284 -#, c-format -msgid "%s %d, limits (soft = %d, hard = %d)\n" -msgstr "%s %d, limity (miêkki = %d, twardy = %d)\n" - -#: quotaops.c:281 -msgid "blocks in use:" -msgstr "u¿ywanych bloków:" - -#: quotaops.c:285 -msgid "\tinodes in use:" -msgstr "\tu¿ywanych i-wêz³ów:" - -#: quotaops.c:311 -#, c-format -msgid "WARNING - %s: cannot change current block allocation\n" -msgstr "UWAGA - %s: nie mo¿na zmieniæ aktualnego przydzia³u bloków\n" - -#: quotaops.c:314 -#, c-format -msgid "WARNING - %s: cannot change current inode allocation\n" -msgstr "UWAGA - %s: nie mo¿na zmieniæ aktualnego przydzia³u i-wêz³ów\n" - -#: quotaops.c:337 quotaops.c:486 -#, c-format -msgid "Cannot duplicate descriptor of temp file: %s\n" -msgstr "Nie mo¿na powieliæ deskryptora pliku tymczasowego: %s\n" - -#: quotaops.c:351 -#, c-format -msgid "" -"Bad format:\n" -"%s\n" -msgstr "" -"Z³y format:\n" -"%s\n" - -#: quotaops.c:364 quotaops.c:628 -#, c-format -msgid "%s - bad format\n" -msgstr "%s - z³y format\n" - -#: quotaops.c:368 -#, c-format -msgid "%s - %s -- bad format\n" -msgstr "%s - %s -- z³y format\n" - -#: quotaops.c:373 -#, c-format -msgid " blocks in use: %Lu, limits (soft = %Lu, hard = %Lu)" -msgstr " u¿ywanych bloków: %Lu, limity (miêkki = %Lu, twardy = %Lu)" - -#: quotaops.c:376 quotaops.c:382 quotaops.c:390 quotaops.c:632 quotaops.c:639 -#, c-format -msgid "%s - %s -- bad format\n" -msgstr "%s - %s -- z³y format\n" - -#: quotaops.c:387 -#, c-format -msgid "\tinodes in use: %Lu, limits (soft = %Lu, hard = %Lu)" -msgstr "\tu¿ywanych i-wêz³ów: %Lu, limity (miêkki = %Lu, twardy = %Lu)" - -#: quotaops.c:446 -#, c-format -msgid "Times to enforce softlimit for %s %s (%cid %d):\n" -msgstr "Okresy wymuszenia miêkkich limitów %s %s (%cid %d):\n" - -#: quotaops.c:448 quotaops.c:551 quotaops.c:560 -#, c-format -msgid "Time units may be: days, hours, minutes, or seconds\n" -msgstr "Jednostkami czasu mog± byæ: days, hours, minutes, seconds\n" - -#: quotaops.c:450 -#, c-format -msgid " Filesystem block grace inode grace\n" -msgstr " System plików Pob³a¿liwo¶æ dla bloków Pob³a¿liwo¶æ dla i-wêz³ów\n" - -#: quotaops.c:455 quotaops.c:461 quotaops.c:503 quotaops.c:515 setquota.c:225 -#: setquota.c:231 -msgid "unset" -msgstr "nie ustawiona" - -#: quotaops.c:457 quotaops.c:463 -msgid "0seconds" -msgstr "0 sekund" - -#: quotaops.c:465 quotasys.c:330 -#, c-format -msgid "%useconds" -msgstr "%u sekund" - -#: quotaops.c:500 quotaops.c:616 -#, c-format -msgid "" -"bad format:\n" -"%s\n" -msgstr "" -"z³y format:\n" -"%s\n" - -#: quotaops.c:510 quotaops.c:646 -msgid "Bad time units. Units are 'second', 'minute', 'hour', and 'day'.\n" -msgstr "Z³e jednostki czasu. Jednostkami s± 'second', 'minute', 'hour' i 'day'.\n" - -#: quotaops.c:546 -#, c-format -msgid "Cannot duplicate descriptor of file to edit: %s\n" -msgstr "Nie mo¿na powieliæ deskryptora pliku do edycji: %s\n" - -#: quotaops.c:549 quotaops.c:561 -#, c-format -msgid "Grace period before enforcing soft limits for %ss:\n" -msgstr "Okres pob³a¿liwo¶ci przed wymuszeniem miêkkich limitów %s:\n" - -#: quotaops.c:552 -#, c-format -msgid " Filesystem Block grace period Inode grace period\n" -msgstr " System plików Pob³a¿liwo¶æ dla bloków Pob³a¿liwo¶æ dla i-wêz³ów\n" - -#: quotaops.c:566 -#, c-format -msgid "block grace period: %s, file grace period: %s\n" -msgstr "okres pob³a¿liwo¶ci dla bloków: %s, okres pob³a¿liwo¶ci dla plików: %s\n" - -#: quotaops.c:594 -#, c-format -msgid "Cannot reopen temp file: %s\n" -msgstr "Nie mo¿na ponownie otworzyæ pliku tymczasowego: %s\n" - -#: quotaops.c:636 -#, c-format -msgid " block grace period: %d %s file grace period: %d %s" -msgstr " okres pob³a¿liwo¶ci dla bloków: %d %s okres pob³a¿liwo¶ci dla plików: %d %s" - -#: quotastats.c:48 -#, c-format -msgid "Cannot read stat file %s: %s\n" -msgstr "Nie mo¿na odczytaæ pliku statystyk %s: %s\n" - -#: quotastats.c:83 -#, c-format -msgid "Error while getting quota statistics from kernel: %s\n" -msgstr "B³±d podczas pobierania od j±dra statystyk limitów: %s\n" - -#: quotastats.c:87 -#, c-format -msgid "Error while getting old quota statistics from kernel: %s\n" -msgstr "B³±d podczas pobierania od j±dra starych statystyk limitów: %s\n" - -#: quotastats.c:101 -#, c-format -msgid "Kernel quota version: old\n" -msgstr "Wersja limitów w j±drze: stara\n" - -#: quotastats.c:103 -#, c-format -msgid "Kernel quota version: %u.%u.%u\n" -msgstr "Wersja limitów w j±drze: %u.%u.%u\n" - -#: quotastats.c:104 -#, c-format -msgid "Number of dquot lookups: %ld\n" -msgstr "Liczba poszukiwañ dquot: %ld\n" - -#: quotastats.c:105 -#, c-format -msgid "Number of dquot drops: %ld\n" -msgstr "Liczba zrzutów dquot: %ld\n" - -#: quotastats.c:106 -#, c-format -msgid "Number of dquot reads: %ld\n" -msgstr "Liczba odczytów dquot: %ld\n" - -#: quotastats.c:107 -#, c-format -msgid "Number of dquot writes: %ld\n" -msgstr "Liczba zapisów dquot: %ld\n" - -#: quotastats.c:108 -#, c-format -msgid "Number of quotafile syncs: %ld\n" -msgstr "Liczba synchronizacji pliku limitów: %ld\n" - -#: quotastats.c:109 -#, c-format -msgid "Number of dquot cache hits: %ld\n" -msgstr "Liczba trafieñ bufora dquot: %ld\n" - -#: quotastats.c:110 -#, c-format -msgid "Number of allocated dquots: %ld\n" -msgstr "Liczba przydzielonych struktur dquot: %ld\n" - -#: quotastats.c:111 -#, c-format -msgid "Number of free dquots: %ld\n" -msgstr "Liczba wolnych dquot: %ld\n" - -#: quotastats.c:112 -#, c-format -msgid "Number of in use dquot entries (user/group): %ld\n" -msgstr "Liczba u¿ywanych wpisów dquot (u¿ytkownik/grupa): %ld\n" - -#: quotasys.c:108 -#, c-format -msgid "user %s does not exist.\n" -msgstr "u¿ytkownik %s nie istnieje.\n" - -#: quotasys.c:137 -#, c-format -msgid "group %s does not exist.\n" -msgstr "grupa %s nie istnieje.\n" - -#: quotasys.c:239 -#, c-format -msgid "" -"Unknown quota format: %s\n" -"Supported formats are:\n" -" vfsold - original quota format\n" -" vfsv0 - new quota format\n" -" rpc - use RPC calls\n" -" xfs - XFS quota format\n" -msgstr "" -"Nieznany format limitów: %s\n" -"Obs³ugiwane formaty to:\n" -" vfsold - oryginalny format limitów\n" -" vfsv0 - nowy format limitów\n" -" rpc - u¿ywanie wywo³añ RPC\n" -" xfs - format limitów na XFS\n" - -#: quotasys.c:254 -msgid "Unknown format" -msgstr "Nieznany format" - -#: quotasys.c:318 -#, c-format -msgid "%ddays" -msgstr "%d dni" - -#: quotasys.c:320 -#, c-format -msgid "%02d:%02d" -msgstr "%02d:%02d" - -#: quotasys.c:332 -#, c-format -msgid "%uminutes" -msgstr "%u minut" - -#: quotasys.c:334 -#, c-format -msgid "%uhours" -msgstr "%u godzin" - -#: quotasys.c:336 -#, c-format -msgid "%udays" -msgstr "%u dni" - -#: quotasys.c:493 -#, c-format -msgid "Cannot stat quota file %s: %s\n" -msgstr "Nie mo¿na wykonaæ stat na pliku limitów %s: %s\n" - -#: quotasys.c:616 -msgid "Not all specified mountpoints are using quota.\n" -msgstr "Nie wszystkie podane punkty montowania u¿ywaj± limitów.\n" - -#: quotasys.c:630 -#, c-format -msgid "Error while releasing file on %s\n" -msgstr "B³±d podczas zwalniania pliku na %s\n" - -#: quotasys.c:687 -#, c-format -msgid "Cannot create set for sigaction(): %s\n" -msgstr "Nie mo¿na utworzyæ zbioru dla sigaction(): %s\n" - -#: quotasys.c:690 -#, c-format -msgid "Cannot set signal handler: %s\n" -msgstr "Nie mo¿na ustawiæ obs³ugi sygna³u: %s\n" - -#: quotasys.c:737 -#, c-format -msgid "Cannot reset signal handler: %s\n" -msgstr "Nie mo¿na przywróciæ obs³ugi sygna³u: %s\n" - -#: quotasys.c:846 quotasys.c:851 warnquota.c:723 -#, c-format -msgid "Cannot open %s: %s\n" -msgstr "nie mo¿na otworzyæ %s: %s\n" - -#: quotasys.c:862 -#, c-format -msgid "Cannot get device name for %s\n" -msgstr "Nie mo¿na uzyskaæ nazwy urz±dzenia dla %s\n" - -#: quotasys.c:899 -#, c-format -msgid "Cannot resolve mountpoint path %s: %s\n" -msgstr "Nie mo¿na rozwi±zaæ ¶cie¿ki punktu montowania %s: %s\n" - -#: quotasys.c:905 -#, c-format -msgid "Cannot statfs() %s: %s\n" -msgstr "Nie mo¿na wykonaæ statfs() %s: %s\n" - -#: quotasys.c:917 -#, c-format -msgid "Cannot stat() mounted device %s: %s\n" -msgstr "Nie mo¿na wykonaæ stat() na podmontowanym urz±dzeniu %s: %s\n" - -#: quotasys.c:923 -#, c-format -msgid "Device (%s) filesystem is mounted on unsupported device type. Skipping.\n" -msgstr "Urz±dzenie (%s), na którym jest podmontowany system plików, nie jest obs³ugiwanego typu. Pominiêto.\n" - -#: quotasys.c:938 -#, c-format -msgid "Cannot find device of loopback mount in options for %s. Skipping.\n" -msgstr "Nie znaleziono urz±dzenia montowanego po loopbacku w opcjach dla %s. Pominiêto.\n" - -#: quotasys.c:947 -#, c-format -msgid "Cannot stat() loopback device %s: %s\n" -msgstr "Nie mo¿na wykonaæ stat() na urz±dzeniu loopback %s: %s\n" - -#: quotasys.c:952 -#, c-format -msgid "Loopback device %s is not block device!\n" -msgstr "Urz±dzenie loopback %s nie jest urz±dzeniem blokowym!\n" - -#: quotasys.c:970 -#, c-format -msgid "Cannot stat() mountpoint %s: %s\n" -msgstr "Nie mo¿na wykonaæ stat() na punkcie montowania %s: %s\n" - -#: quotasys.c:1034 -#, c-format -msgid "" -"Cannot find a device with %s.\n" -"Skipping...\n" -msgstr "" -"Nie mo¿na znale¼æ urz±dzenia z %s.\n" -"Pomijanie...\n" - -#: quotasys.c:1038 -#, c-format -msgid "" -"Cannot stat() a mountpoint with %s: %s\n" -"Skipping...\n" -msgstr "" -"Nie mo¿na wykonaæ stat() na punkcie montowania z %s: %s\n" -"Pomijanie...\n" - -#: quotasys.c:1046 -#, c-format -msgid "" -"Cannot stat() given mountpoint %s: %s\n" -"Skipping...\n" -msgstr "" -"Nie mo¿na wykonaæ stat() na podanym punkcie montowania %s: %s\n" -"Pomijanie...\n" - -#: quotasys.c:1056 -#, c-format -msgid "Cannot find a filesystem mountpoint for directory %s\n" -msgstr "Nie mo¿na znale¼æ punktu montowania systemu plików dla katalogu %s\n" - -#: quotasys.c:1062 -#, c-format -msgid "Cannot resolve path %s: %s\n" -msgstr "Nie mo¿na rozwi±zaæ ¶cie¿ki %s: %s\n" - -#: quotasys.c:1073 -#, c-format -msgid "Cannot find mountpoint for device %s\n" -msgstr "Nie mo¿na znale¼æ punktu montowania dla urz±dzenia %s\n" - -#: quotasys.c:1079 -#, c-format -msgid "Specified path %s is not directory nor device.\n" -msgstr "Podana ¶cie¿ka %s nie jest katalogiem ani urz±dzeniem.\n" - -#: quotasys.c:1087 -msgid "No correct mountpoint specified.\n" -msgstr "Nie podano poprawnego punktu montowania.\n" - -#: quotasys.c:1148 -#, c-format -msgid "Mountpoint (or device) %s not found or has no quota enabled.\n" -msgstr "Nie znaleziono punktu montowania (lub urz±dzenia) %s, albo nie ma on w³±czonych limitów.\n" - -#: repquota.c:48 -#, c-format -msgid "" -"Utility for reporting quotas.\n" -"Usage:\n" -"%s [-vugsi] [-c|C] [-t|n] [-F quotaformat] (-a | mntpoint)\n" -"\n" -"-v, --verbose display also users/groups without any usage\n" -"-u, --user display information about users\n" -"-g, --group display information about groups\n" -"-s, --human-readable show numbers in human friendly units (MB, GB, ...)\n" -"-t, --truncate-names truncate names to 8 characters\n" -"-p, --raw-grace print grace time in seconds since epoch\n" -"-n, --no-names do not translate uid/gid to name\n" -"-i, --no-autofs avoid autofs mountpoints\n" -"-c, --batch-translation translate big number of ids at once\n" -"-C, --no-batch-translation translate ids one by one\n" -"-F, --format=formatname report information for specific format\n" -"-h, --help display this help message and exit\n" -"-V, --version display version information and exit\n" -"\n" -msgstr "" -"Narzêdzie do raportowania o limitach.\n" -"Sk³adnia:\n" -"%s [-vugsi] [-c|C] [-t|n] [-F format] (-a | punkt-montowania)\n" -"\n" -"-v, --verbose wy¶wietlanie tak¿e u¿ytkowników/grup nie\n" -" zajmuj±cych miejsca\n" -"-u, --user wy¶wietlanie informacji o u¿ytkownikach\n" -"-g, --group wy¶wietlanie informacji o grupach\n" -"-s, --human-readable wy¶wietlanie liczb w jednostkach przyjaznych dla\n" -" cz³owieka (MB, GB...)\n" -"-t, --truncate-names obcinanie nazw do 8 znaków\n" -"-p, --raw-grace wypisywanie czasu pob³a¿liwo¶ci w sekundach od epoch\n" -"-n, --no-names nie t³umaczenie uidów/gidów na nazwy\n" -"-i, --no-autofs pomijanie punktów montowania autofs\n" -"-c, --batch-translation t³umaczenie du¿ej liczby identyfikatorów naraz\n" -"-C, --no-batch-translation t³umaczenie identyfikatorów po jednym\n" -"-F, --format=format raportowanie informacji dla podanego formatu\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" -"\n" - -#: repquota.c:143 -msgid "Repquota cannot report through RPC calls.\n" -msgstr "repquota nie mo¿e raportowaæ poprzez wywo³ania RPC.\n" - -#: repquota.c:147 -msgid "Specified both -n and -t but only one of them can be used.\n" -msgstr "Podano jednocze¶nie -n i -t, ale tylko jedna z nich mo¿e byæ u¿yte.\n" - -#: repquota.c:288 -#, c-format -msgid "*** Report for %s quotas on device %s\n" -msgstr "*** Raport dla limitów %s na urz±dzeniu %s\n" - -#: repquota.c:291 -#, c-format -msgid "Block grace time: %s; Inode grace time: %s\n" -msgstr "Okres pob³a¿liwo¶ci dla bloków: %s; Okres pob³a¿liwo¶ci dla i-wêz³ów: %s\n" - -#: repquota.c:292 -#, c-format -msgid " Block limits File limits\n" -msgstr " Limity bloków Limity plików\n" - -#: repquota.c:293 -#, c-format -msgid "%-9s used soft hard grace used soft hard grace\n" -msgstr "%-9s u¿yw. miêk. twar. pob³. u¿yw. miêk. twar. pob³.\n" - -#: repquota.c:293 -msgid "User" -msgstr "U¿ytkownik" - -#: repquota.c:293 -msgid "Group" -msgstr "Grupa" - -#: rquota_svc.c:86 -#, c-format -msgid "" -"Usage: %s [options]\n" -"Options are:\n" -" -h --help shows this text\n" -" -V --version shows version information\n" -" -F --foreground starts the quota service in foreground\n" -" -I --autofs do not ignore mountpoints mounted by automounter\n" -" -p --port listen on given port\n" -" -s --no-setquota disables remote calls to setquota (default)\n" -" -S --setquota enables remote calls to setquota\n" -" -x --xtab set an alternative file with NFSD export table\n" -msgstr "" -"Sk³adnia: %s [opcje]\n" -"Opcje to:\n" -" -h --help wy¶wietlenie tego opisu\n" -" -V --version wy¶wietlenie informacji o wersji\n" -" -F --foreground uruchomienie us³ugi quota jako procesu pierwszoplanowego\n" -" -I --autofs nie ignorowanie punktów obs³ugiwanych przez automounter\n" -" -p --port nas³uchiwanie na podanym porcie\n" -" -s --no-setquota wy³±czenie zdalnych wywo³añ setquota (domy¶lne)\n" -" -S --setquota w³±czenie zdalnych wywo³añ setquota\n" -" -x --xtab <¶cie¿ka> ustawienie alternatywnego pliku z tabel± export NFSD\n" - -#: rquota_svc.c:97 -#, c-format -msgid "" -"Usage: %s [options]\n" -"Options are:\n" -" -h --help shows this text\n" -" -V --version shows version information\n" -" -F --foreground starts the quota service in foreground\n" -" -I --autofs do not ignore mountpoints mounted by automounter\n" -" -p --port listen on given port\n" -" -x --xtab set an alternative file with NFSD export table\n" -msgstr "" -"Sk³adnia: %s [opcje]\n" -"Opcje to:\n" -" -h --help wy¶wietlenie tego opisu\n" -" -V --version wy¶wietlenie informacji o wersji\n" -" -F --foreground uruchomienie us³ugi quota jako procesu pierwszoplanowego\n" -" -I --autofs nie ignorowanie punktów obs³ugiwanych przez automounter\n" -" -p --port nas³uchiwanie na podanym porcie\n" -" -x --xtab <¶cie¿ka> ustawienie alternatywnego pliku z tabel± export NFSD\n" - -#: rquota_svc.c:144 -#, c-format -msgid "Illegal port number: %s\n" -msgstr "B³êdny numer portu: %s\n" - -#: rquota_svc.c:151 -#, c-format -msgid "Cannot access the specified xtab file %s: %s\n" -msgstr "Brak dostêpu do podanego pliku xtab %s: %s\n" - -#: rquota_svc.c:182 -#, c-format -msgid "host %s attempted to call setquota when disabled\n" -msgstr "host %s próbowa³ wywo³aæ setquota kiedy ta operacja jest wy³±czona\n" - -#: rquota_svc.c:189 -#, c-format -msgid "host %s attempted to call setquota from port >= 1024\n" -msgstr "host %s próbowa³ wywo³aæ setquota z portu >= 1024\n" - -#: rquota_svc.c:225 -#, c-format -msgid "Denied access to host %s\n" -msgstr "Odrzucono próbê dostêpu z hosta %s\n" - -#: rquota_svc.c:313 rquota_svc.c:399 -msgid "unable to free arguments\n" -msgstr "nie mo¿na usun±æ argumentów\n" - -#: rquota_svc.c:422 -#, c-format -msgid "" -"Warning: Cannot open export table %s: %s\n" -"Using '/' as a pseudofilesystem root.\n" -msgstr "" -"Uwaga: Nie mo¿na otworzyæ tabeli export %s: %s\n" -"U¿ycie '/' jako g³ównego katalogu pseudo systemu plików.\n" - -#: rquota_svc.c:474 -msgid "cannot create udp service.\n" -msgstr "nie mo¿na utworzyæ us³ugi udp.\n" - -#: rquota_svc.c:478 -msgid "unable to register (RQUOTAPROG, RQUOTAVERS, udp).\n" -msgstr "nie mo¿na zarejestrowaæ (RQUOTAPROG, RQUOTAVERS, udp).\n" - -#: rquota_svc.c:482 -msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n" -msgstr "nie mo¿na zarejestrowaæ (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n" - -#: rquota_svc.c:489 -msgid "cannot create tcp service.\n" -msgstr "nie mo¿na utworzyæ us³ugi tcp.\n" - -#: rquota_svc.c:493 -msgid "unable to register (RQUOTAPROG, RQUOTAVERS, tcp).\n" -msgstr "nie mo¿na zarejestrowaæ (RQUOTAPROG, RQUOTAVERS, tcp).\n" - -#: rquota_svc.c:497 -msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, tcp).\n" -msgstr "nie mo¿na zarejestrowaæ (RQUOTAPROG, EXT_RQOUTAVERS, tcp).\n" - -#: rquota_svc.c:506 -msgid "svc_run returned\n" -msgstr "svc_run powróci³o\n" - -#: set_limits_example.c:18 -#, c-format -msgid "copy_user_quota_limits: Failed to set userquota for uid %ld : %s\n" -msgstr "copy_user_quota_limits: nie uda³o siê ustawiæ limitów u¿ytkownika dla uid %ld : %s\n" - -#: set_limits_example.c:25 -#, c-format -msgid "copy_user_quota_limits: Failed to get userquota for uid %ld : %s\n" -msgstr "copy_user_quota_limits: nie uda³o siê pobraæ limitów u¿ytkownika dla uid %ld : %s\n" - -#: set_limits_example.c:41 -#, c-format -msgid "copy_group_quota_limits: Failed to set groupquota for uid %ld : %s\n" -msgstr "copy_group_quota_limits: nie uda³o siê ustawiæ limitów grupy dla uid %ld : %s\n" - -#: set_limits_example.c:48 -#, c-format -msgid "copy_group_quota_limits: Failed to get groupquota for uid %ld : %s\n" -msgstr "copy_group_quota_limits: nie uda³o siê odczytaæ limitów grupy dla uid %ld : %s\n" - -#: setquota.c:49 -#, c-format -msgid "" -"Usage:\n" -" setquota [-u|-g] %1$s[-F quotaformat] \n" -"\t -a|...\n" -" setquota [-u|-g] %1$s[-F quotaformat] <-p protouser|protogroup> -a|...\n" -" setquota [-u|-g] %1$s[-F quotaformat] -b -a|...\n" -" setquota [-u|-g] [-F quotaformat] -t -a|...\n" -" setquota [-u|-g] [-F quotaformat] -T -a|...\n" -"\n" -"-u, --user set limits for user\n" -"-g, --group set limits for group\n" -"-a, --all set limits for all filesystems\n" -" --always-resolve always try to resolve name, even if is\n" -" composed only of digits\n" -"-F, --format=formatname operate on specific quota format\n" -"-p, --prototype=protoname copy limits from user/group\n" -"-b, --batch read limits from standard input\n" -msgstr "" -"Sk³adnia:\n" -" setquota [-u|-g] %1$s[-F format] \n" -"\t -a|...\n" -" setquota [-u|-g] %1$s[-F format] <-p wzorcowy-u¿ytkownik|grupa> -a|...\n" -" setquota [-u|-g] %1$s[-F format] -b -a|...\n" -" setquota [-u|-g] [-F format] -t -a|...\n" -" setquota [-u|-g] [-F format] -T -a|...\n" -"\n" -"-u, --user ustawienie limitów dla u¿ytkownika\n" -"-g, --group ustawienie limitów dla grupy\n" -"-a, --all ustawienie limitów dla wszystkich systemów plików\n" -" --always-resolve próba rozwi±zania nazwy zawsze, nawet je¶li sk³ada\n" -" siê wy³±cznie z cyfr\n" -"-F, --format=nazwa operowanie na podanym formacie limitów\n" -"-p, --prototype=nazwa skopiowanie limitów od podanego u¿ytkownika/grupy\n" -"-b, --batch odczyt limitów ze standardowego wej¶cia\n" - -#: setquota.c:65 -msgid "-r, --remote set remote quota (via RPC)\n" -msgstr "-r, --remote ustawienie zdalnego limitu (poprzez RPC)\n" - -#: setquota.c:67 -msgid "" -"-t, --edit-period edit grace period\n" -"-T, --edit-times edit grace times for user/group\n" -"-h, --help display this help text and exit\n" -"-V, --version display version information and exit\n" -"\n" -msgstr "" -"-t, --edit-period zmiana okresu pob³a¿liwo¶ci\n" -"-T, --edit-times zmiana czasów pob³a¿liwo¶ci dla u¿ytkownika/grupy\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-V, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" - -#: setquota.c:82 -#, c-format -msgid "Bad %s: %s\n" -msgstr "B³êdny %s: %s\n" - -#: setquota.c:170 -msgid "Group and user quotas cannot be used together.\n" -msgstr "Limity grupy i u¿ytkownika nie mog± byæ u¿yte razem.\n" - -#: setquota.c:174 -msgid "Prototype user has no sense when editting grace times.\n" -msgstr "Wzorcowy u¿ytkownik nie ma sensu przy edycji okresów pob³a¿liwo¶ci.\n" - -#: setquota.c:178 -msgid "Cannot set both individual and global grace time.\n" -msgstr "Nie mo¿na ustawiæ jednocze¶nie jednostkowych i globalnych okresów pob³a¿liwo¶ci.\n" - -#: setquota.c:182 -msgid "Batch mode cannot be used for setting grace times.\n" -msgstr "Nie mo¿na u¿yæ trybu wsadowego do ustawienia okresów pob³a¿liwo¶ci.\n" - -#: setquota.c:186 -msgid "Batch mode and prototype user cannot be used together.\n" -msgstr "Tryb wsadowy i u¿ytkownik wzorcowy nie mog± byæ u¿yte razem.\n" - -#: setquota.c:209 -msgid "block softlimit" -msgstr "miêkki limit bloków" - -#: setquota.c:210 -msgid "block hardlimit" -msgstr "twardy limit bloków" - -#: setquota.c:211 -msgid "inode softlimit" -msgstr "miêkki limit i-wêz³ów" - -#: setquota.c:212 -msgid "inode hardlimit" -msgstr "twardy limit i-wêz³ów" - -#: setquota.c:218 setquota.c:230 -msgid "block grace time" -msgstr "okres pob³a¿liwo¶ci dla bloków" - -#: setquota.c:219 setquota.c:236 -msgid "inode grace time" -msgstr "okres pob³a¿liwo¶ci dla i-wêz³ów" - -#: setquota.c:242 -msgid "Mountpoint not specified.\n" -msgstr "Nie podano punktu montowania.\n" - -#: setquota.c:297 -#, c-format -msgid "Cannot parse input line %d.\n" -msgstr "Nie mo¿na przetworzyæ linii wej¶cia %d.\n" - -#: setquota.c:301 -#, c-format -msgid "Unable to get name '%s'.\n" -msgstr "Nie mo¿na uzyskaæ nazwy '%s'.\n" - -#: setquota.c:359 -#, c-format -msgid "cannot write times for %s. Maybe kernel does not support such operation?\n" -msgstr "nie mo¿na zapisaæ czasów %s. Mo¿e j±dro nie obs³uguje takiej operacji?\n" - -#: svc_socket.c:40 -#, c-format -msgid "Cannot create socket: %s\n" -msgstr "Nie mo¿na utworzyæ gniazda: %s\n" - -#: svc_socket.c:47 -#, c-format -msgid "Cannot set socket options: %s\n" -msgstr "Nie mo¿na ustawiæ opcji gniazda: %s\n" - -#: svc_socket.c:82 -#, c-format -msgid "Cannot bind to given address: %s\n" -msgstr "Nie mo¿na przypisaæ do podanego adresu: %s\n" - -#: warnquota.c:54 -msgid "" -"Hi,\n" -"\n" -"We noticed that you are in violation with the quotasystem\n" -"used on this system. We have found the following violations:\n" -"\n" -msgstr "" -"Cze¶æ!\n" -"\n" -"Zauwa¿yli¶my naruszenie zasad systemu limitowania przestrzeni dyskowej,\n" -"u¿ywanego na tym systemie. Znale¼li¶my nastêpuj±ce naruszenia:\n" - -#: warnquota.c:56 -#, c-format -msgid "" -"\n" -"We hope that you will cleanup before your grace period expires.\n" -"\n" -"Basically, this means that the system thinks you are using more disk space\n" -"on the above partition(s) than you are allowed. If you do not delete files\n" -"and get below your quota before the grace period expires, the system will\n" -"prevent you from creating new files.\n" -"\n" -"For additional assistance, please contact us at %s\n" -"or via phone at %s.\n" -msgstr "" -"\n" -"Mamy nadziejê, ¿e posprz±tasz przed up³yniêciem okresu pob³a¿liwo¶ci.\n" -"\n" -"Oznacza to, i¿ system uwa¿a, ¿e na podanych systemach plików u¿ywasz\n" -"wiêcej miejsca, ni¿ jeste¶ upowa¿niony. Je¿eli nie posprz±tasz tak, aby\n" -"znale¼æ siê poni¿ej limitów przed up³yniêciem okresu pob³a¿liwo¶ci, system\n" -"zabroni Ci tworzyæ nowe pliki.\n" -"\n" -"Aby uzyskaæ dodatkowe wyja¶nienia prosimy skontaktowaæ siê z nami pod\n" -"adresem %s lub telefonicznie pod numerem %s.\n" - -#: warnquota.c:63 -#, c-format -msgid "" -"Hi,\n" -"\n" -"We noticed that the group %s you are member of violates the quotasystem\n" -"used on this system. We have found the following violations:\n" -"\n" -msgstr "" -"Cze¶æ!\n" -"\n" -"Zauwa¿yli¶my, ¿e grupa %s, której jeste¶ cz³onkiem, narusza zasady\n" -"systemu limitowania przestrzeni dyskowej, u¿ywanego na tym systemie.\n" -"Znale¼li¶my nastêpuj±ce naruszenia:\n" - -#: warnquota.c:65 -#, c-format -msgid "" -"\n" -"Please cleanup the group data before the grace period expires.\n" -"\n" -"Basically, this means that the system thinks group is using more disk space\n" -"on the above partition(s) than it is allowed. If you do not delete files\n" -"and get below group quota before the grace period expires, the system will\n" -"prevent you and other members of the group from creating new files owned by\n" -"the group.\n" -"\n" -"For additional assistance, please contact us at %s\n" -"or via phone at %s.\n" -msgstr "" -"\n" -"Prosimy posprz±taæ dane grupy przed up³yniêciem okresu pob³a¿liwo¶ci.\n" -"\n" -"Oznacza to, i¿ system uwa¿a, ¿e na podanych systemach plików grupa u¿ywa\n" -"wiêcej miejsca, ni¿ jest upowa¿niona. Je¶li nie posprz±tacie tak, aby\n" -"znale¼æ siê poni¿ej limitów przed up³yniêciem okresu pob³a¿liwo¶ci, system\n" -"zabroni Ci i innym cz³onkom grupy tworzyæ nowe pliki nale¿±ce do tej grupy.\n" -"\n" -"Aby uzyskaæ dodatkowe wyja¶nienia prosimy skontaktowaæ siê z nami pod\n" -"adresem %s lub telefonicznie pod numerem %s.\n" - -#: warnquota.c:181 -#, c-format -msgid "%s: %s\n" -msgstr "%s: %s\n" - -#: warnquota.c:225 -#, c-format -msgid "Cannot get name for uid/gid %u.\n" -msgstr "Nie mo¿na uzyskaæ nazwy dla uid/gid %u.\n" - -#: warnquota.c:309 -#, c-format -msgid "Cannot create pipe: %s\n" -msgstr "Nie mo¿na utworzyæ potoku: %s\n" - -#: warnquota.c:315 -#, c-format -msgid "Cannot fork: %s\n" -msgstr "Nie mo¿na wykonaæ fork: %s\n" - -#: warnquota.c:320 -#, c-format -msgid "Cannot duplicate descriptor: %s\n" -msgstr "Nie mo¿na powieliæ deskryptora: %s\n" - -#: warnquota.c:324 -#, c-format -msgid "Cannot execute '%s': %s\n" -msgstr "Nie mo¿na uruchomiæ '%s': %s\n" - -#: warnquota.c:329 -#, c-format -msgid "Cannot open pine: %s\n" -msgstr "Nie mo¿na otworzyæ potoku: %s\n" - -#: warnquota.c:410 -msgid "Could not setup ldap connection, returning.\n" -msgstr "Nie mo¿na nawi±zaæ po³±czenia LDAP, powrót.\n" - -#: warnquota.c:433 -#, c-format -msgid "Error with %s.\n" -msgstr "B³±d przy %s.\n" - -#: warnquota.c:441 -#, c-format -msgid "Multiple entries found for client %s, %d not sending mail.\n" -msgstr "Znaleziono wiele wpisów dla klienta %s - %d, nie wys³ano poczty.\n" - -#: warnquota.c:445 -#, c-format -msgid "Entry not found for client %s, %d not sending mail.\n" -msgstr "Nie znaleziono wpisu dla klienta %s - %d, nie wys³ano poczty.\n" - -#: warnquota.c:456 -#, c-format -msgid "Could not get values for %s.\n" -msgstr "Nie mo¿na uzyskaæ warto¶ci dla %s.\n" - -#: warnquota.c:488 -#, c-format -msgid "Administrator for a group %s not found. Cancelling mail.\n" -msgstr "Nie znaleziono administratora dla grupy %s. Anulowanie poczty.\n" - -#: warnquota.c:528 -#, c-format -msgid "" -"\n" -" Block limits File limits\n" -msgstr "" -"\n" -" Limity bloków Limity plików\n" - -#: warnquota.c:529 -#, c-format -msgid "Filesystem used soft hard grace used soft hard grace\n" -msgstr "System plików u¿yw. miêk. twar. pob³. u¿yw. miêk. twar. pob³.\n" - -#: warnquota.c:569 -#, c-format -msgid "Cannot wait for mailer: %s\n" -msgstr "Nie mo¿na czekaæ na wys³anie poczty: %s\n" - -#: warnquota.c:571 -msgid "Warning: Mailer exitted abnormally.\n" -msgstr "Uwaga: Program wysy³aj±cy pocztê nie zakoñczy³ siê normalnie.\n" - -#: warnquota.c:628 -#, c-format -msgid "" -"Cannot open %s: %s\n" -"Will use device names.\n" -msgstr "" -"Nie mo¿na otworzyæ %s: %s\n" -"Bêd± u¿ywane nazwy urz±dzeñ.\n" - -#: warnquota.c:651 -#, c-format -msgid "Cannot parse line %d in quotatab (missing ':')\n" -msgstr "Nie mo¿na przeanalizowaæ linii %d w pliku quotatab (brakuje ':')\n" - -#: warnquota.c:665 -#, c-format -msgid "Cannot stat device %s (maybe typo in quotatab)\n" -msgstr "Nie mo¿na wykonaæ stat na urz±dzeniu %s (mo¿e b³±d w quotatab)\n" - -#: warnquota.c:685 -#, c-format -msgid "" -"Incorrect format string for variable %s.\n" -"Unrecognized expression %%%c.\n" -msgstr "" -"Niepoprawny ³añcuch formatuj±cy dla zmiennej %s.\n" -"Nierozpoznane wyra¿enie %%%c.\n" - -#: warnquota.c:743 -#, c-format -msgid "Line %d too long. Truncating.\n" -msgstr "Linia %d zbyt d³uga. Uciêto.\n" - -#: warnquota.c:813 -#, c-format -msgid "Cannot parse time at CC_BEFORE variable (line %d).\n" -msgstr "Nie mo¿na przetworzyæ czasu przy zmiennej CC_BEFORE (linia %d).\n" - -#: warnquota.c:837 -#, c-format -msgid "Error in config file (line %d), ignoring\n" -msgstr "B³±d w pliku konfiguracyjnym (linia %d), zignorowano\n" - -#: warnquota.c:840 -#, c-format -msgid "Possible error in config file (line %d), ignoring\n" -msgstr "Mo¿liwy b³±d w pliku konfiguracyjnym (linia %d), zignorowano\n" - -#: warnquota.c:843 -msgid "Unterminated last line, ignoring\n" -msgstr "Niezakoñczona ostatnia linia, zignorowano\n" - -#: warnquota.c:848 -#, c-format -msgid "" -"LDAP library version >= 2.3 detected. Please use LDAP_URI instead of hostname and port.\n" -"Generated URI %s\n" -msgstr "" -"Wykryto bibliotekê LDAP w wersji >= 2.3. Proszê u¿yæ LDAP_URI zamiast nazwy hosta i portu.\n" -"Wygenerowano URI %s\n" - -#: warnquota.c:852 -msgid "LDAP library does not support ldap_initialize() but URI is specified." -msgstr "Biblioteka LDAP nie obs³uguje ldap_initialize(), ale podano URI." - -#: warnquota.c:873 -#, c-format -msgid "Cannot open file with group administrators: %s\n" -msgstr "Nie mo¿na otworzyæ pliku z administratorami grup: %s\n" - -#: warnquota.c:888 -#, c-format -msgid "Parse error at line %d. Cannot find end of group name.\n" -msgstr "B³±d podczas analizy linii %d. Nie mo¿na znale¼æ nazwy grupy.\n" - -#: warnquota.c:897 -#, c-format -msgid "Parse error at line %d. Cannot find administrators name.\n" -msgstr "B³±d podczas analizy linii %d. Nie mo¿na znale¼æ nazwy administratora.\n" - -#: warnquota.c:907 -#, c-format -msgid "Parse error at line %d. Trailing characters after administrators name.\n" -msgstr "B³±d podczas analizy linii %d. Nadmiarowe znaki po nazwie administratora.\n" - -#: warnquota.c:970 -msgid "" -"Usage:\n" -" warnquota [-ugsid] [-F quotaformat] [-c configfile] [-q quotatabfile] [-a adminsfile]\n" -"\n" -"-u, --user warn users\n" -"-g, --group warn groups\n" -"-s, --human-readable send information in more human friendly units\n" -"-i, --no-autofs avoid autofs mountpoints\n" -"-d, --no-details do not send quota information itself\n" -"-F, --format=formatname use quotafiles of specific format\n" -"-c, --config=config-file non-default config file\n" -"-q, --quota-tab=quotatab-file non-default quotatab\n" -"-a, --admins-file=admins-file non-default admins file\n" -"-h, --help display this help message and exit\n" -"-v, --version display version information and exit\n" -"\n" -msgstr "" -"Sk³adnia:\n" -" warnquota [-ugsid] [-F format] [-c plik-konfiguracyjny] [-q plik-quotatab] [-a plik-admins]\n" -"\n" -"-u, --user ostrze¿enie u¿ytkowników\n" -"-g, --group ostrze¿enie grup\n" -"-s, --human-readable wysy³anie informacji w jednostkach bardziej\n" -" przyjaznych dla cz³owieka\n" -"-i, --no-autofs pomijanie punktów montowania autofs\n" -"-d, --no-details nie wysy³anie informacji o samych limitach\n" -"-F, --format=format u¿ycie plików limitów o podanym formacie\n" -"-c, --config=plik inny ni¿ domy¶lny plik konfiguracyjny\n" -"-q, --quota-tab=plik inny ni¿ domy¶lny plik quotatab\n" -"-a, --admins-file=plik inny ni¿ domy¶lny plik admins\n" -"-h, --help wy¶wietlenie tego opisu i zakoñczenie\n" -"-v, --version wy¶wietlenie informacji o wersji i zakoñczenie\n" -"\n" - -#: warnquota.c:1051 -#, c-format -msgid "Cannot get host name: %s\n" -msgstr "Nie mo¿na uzyskaæ nazwy hosta: %s\n" - -#: xqmstats.c:31 xqmstats.c:36 -msgid "The running kernel does not support XFS\n" -msgstr "Dzia³aj±ce j±dro nie obs³uguje XFS\n" - -#: xqmstats.c:48 -#, c-format -msgid "XFS Quota Manager dquot statistics\n" -msgstr "Statystyki dquot Zarz±dcy Limitów na XFS\n" - -#: xqmstats.c:49 -#, c-format -msgid " reclaims: %u\n" -msgstr " poprawki: %u\n" - -#: xqmstats.c:50 -#, c-format -msgid " missed reclaims: %u\n" -msgstr " chybione poprawki: %u\n" - -#: xqmstats.c:51 -#, c-format -msgid " dquot dups: %u\n" -msgstr " duplikaty dquot: %u\n" - -#: xqmstats.c:52 -#, c-format -msgid " cache misses: %u\n" -msgstr " chybienia bufora: %u\n" - -#: xqmstats.c:53 -#, c-format -msgid " cache hits: %u\n" -msgstr " trafienia bufora: %u\n" - -#: xqmstats.c:54 -#, c-format -msgid " dquot wants: %u\n" -msgstr " ¿±dania dquot: %u\n" - -#: xqmstats.c:55 -#, c-format -msgid " shake reclaims: %u\n" -msgstr " poprawki shake: %u\n" - -#: xqmstats.c:56 -#, c-format -msgid " inact reclaims: %u\n" -msgstr " poprawki inact: %u\n" - -#: xqmstats.c:61 -#, c-format -msgid "Maximum %u dquots (currently %u incore, %u on freelist)\n" -msgstr "Maksimum %u dquot (aktualnie %u w rdzeniu, %u na li¶cie wolnych)\n" diff --git a/po/pl.po.rej b/po/pl.po.rej deleted file mode 100644 index a52f6aa..0000000 --- a/po/pl.po.rej +++ /dev/null @@ -1,51 +0,0 @@ -*************** -*** 208,214 **** - msgstr "Nie mo¿na zapisaæ okresów pob³a¿liwo¶ci do pliku.\n" - - #: edquota.c:262 -- msgid "Error while editting grace times.\n" - msgstr "B³±d podczas edycji okresów pob³a¿liwo¶ci.\n" - - #: edquota.c:266 ---- 208,214 ---- - msgstr "Nie mo¿na zapisaæ okresów pob³a¿liwo¶ci do pliku.\n" - - #: edquota.c:262 -+ msgid "Error while editing grace times.\n" - msgstr "B³±d podczas edycji okresów pob³a¿liwo¶ci.\n" - - #: edquota.c:266 -*************** -*** 220,226 **** - msgstr "Nie mo¿na zapisaæ do pliku pojedynczych okresów pob³a¿liwo¶ci.\n" - - #: edquota.c:280 -- msgid "Error while editting individual grace times.\n" - msgstr "B³±d podczas edycji pojedynczych okresów pob³a¿liwo¶ci.\n" - - #: edquota.c:285 ---- 220,226 ---- - msgstr "Nie mo¿na zapisaæ do pliku pojedynczych okresów pob³a¿liwo¶ci.\n" - - #: edquota.c:280 -+ msgid "Error while editing individual grace times.\n" - msgstr "B³±d podczas edycji pojedynczych okresów pob³a¿liwo¶ci.\n" - - #: edquota.c:285 -*************** -*** 232,238 **** - msgstr "Nie mo¿na zapisaæ limitów do pliku.\n" - - #: edquota.c:304 -- msgid "Error while editting quotas.\n" - msgstr "B³±d podczas edycji limitów.\n" - - #: edquota.c:310 ---- 232,238 ---- - msgstr "Nie mo¿na zapisaæ limitów do pliku.\n" - - #: edquota.c:304 -+ msgid "Error while editing quotas.\n" - msgstr "B³±d podczas edycji limitów.\n" - - #: edquota.c:310 diff --git a/pot.po b/pot.po new file mode 100644 index 0000000..557390b --- /dev/null +++ b/pot.po @@ -0,0 +1,2746 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2012-03-01 23:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#: bylabel.c:253 +#, c-format +msgid "Found an invalid UUID: %s\n" +msgstr "" + +#: bylabel.c:273 +#, c-format +msgid "Error checking device name: %s\n" +msgstr "" + +#: common.c:124 +#, c-format +msgid "Quota utilities version %s.\n" +msgstr "" + +#: common.c:125 +#, c-format +msgid "Compiled with:%s\n" +msgstr "" + +#: common.c:126 convertquota.c:48 quotacheck.c:318 quotasync.c:26 +#: repquota.c:64 warnquota.c:994 +#, c-format +msgid "Bugs to %s\n" +msgstr "" + +#: convertquota.c:41 +#, c-format +msgid "" +"Utility for converting quota files.\n" +"Usage:\n" +"\t%s [options] mountpoint\n" +"\n" +"-u, --user convert user quota file\n" +"-g, --group convert group quota file\n" +"-e, --convert-endian convert quota file to correct endianity\n" +"-f, --convert-format oldfmt,newfmt convert from old to VFSv0 quota format\n" +"-h, --help show this help text and exit\n" +"-V, --version output version information and exit\n" +"\n" +msgstr "" + +#: convertquota.c:97 +msgid "You have to specify source and target format of conversion.\n" +msgstr "" + +#: convertquota.c:112 quotacheck.c:404 quotaon.c:137 quotasync.c:64 +#: repquota.c:141 setquota.c:221 +msgid "Bad number of arguments.\n" +msgstr "" + +#: convertquota.c:119 +msgid "You have to specify action to perform.\n" +msgstr "" + +#: convertquota.c:166 quotacheck_v2.c:241 quotaio_tree.c:58 +#, c-format +msgid "Cannot read block %u: %s\n" +msgstr "" + +#: convertquota.c:191 convertquota.c:283 +#, c-format +msgid "Cannot commit dquot for id %u: %s\n" +msgstr "" + +#: convertquota.c:239 +msgid "Cannot read header of old quotafile.\n" +msgstr "" + +#: convertquota.c:243 +msgid "" +"Bad file magic or version (probably not quotafile with bad endianity).\n" +msgstr "" + +#: convertquota.c:254 +msgid "Cannot read information about old quotafile.\n" +msgstr "" + +#: convertquota.c:296 +msgid "Cannot get name of new quotafile.\n" +msgstr "" + +#: convertquota.c:302 quotacheck.c:753 +#, c-format +msgid "Cannot rename new quotafile %s to name %s: %s\n" +msgstr "" + +#: convertquota.c:316 +#, c-format +msgid "Cannot open old format file for %ss on %s\n" +msgstr "" + +#: convertquota.c:321 convertquota.c:354 +#, c-format +msgid "Cannot create file for %ss for new format on %s: %s\n" +msgstr "" + +#: convertquota.c:344 +#, c-format +msgid "Cannot open old quota file on %s: %s\n" +msgstr "" + +#: convertquota.c:380 +msgid "Unknown action should be performed.\n" +msgstr "" + +#: edquota.c:81 +#, c-format +msgid "" +"Usage:\n" +"\tedquota %1$s[-u] [-F formatname] [-p username] [-f filesystem] " +"username ...\n" +"\tedquota %1$s-g [-F formatname] [-p groupname] [-f filesystem] " +"groupname ...\n" +"\tedquota [-u|g] [-F formatname] [-f filesystem] -t\n" +"\tedquota [-u|g] [-F formatname] [-f filesystem] -T username|groupname ...\n" +msgstr "" + +#: edquota.c:85 +msgid "" +"\n" +"-u, --user edit user data\n" +"-g, --group edit group data\n" +msgstr "" + +#: edquota.c:89 +msgid "" +"-r, --remote edit remote quota (via RPC)\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +msgstr "" + +#: edquota.c:92 +msgid "" +"-F, --format=formatname edit quotas of a specific format\n" +"-p, --prototype=name copy data from a prototype user/group\n" +" --always-resolve always try to resolve name, even if it is\n" +" composed only of digits\n" +"-f, --filesystem=filesystem edit data only on a specific filesystem\n" +"-t, --edit-period edit grace period\n" +"-T, --edit-times edit grace time of a user/group\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" + +#: edquota.c:101 quota.c:111 setquota.c:79 +#, c-format +msgid "Bugs to: %s\n" +msgstr "" + +#: edquota.c:183 +msgid "" +"Prototype name does not make sense when editing grace period or times.\n" +msgstr "" + +#: edquota.c:187 +msgid "Cannot change grace times over RPC protocol.\n" +msgstr "" + +#: edquota.c:205 +#, c-format +msgid "Cannot get quota information for user %s\n" +msgstr "" + +#: edquota.c:211 +msgid "fsname mismatch\n" +msgstr "" + +#: edquota.c:253 +msgid "No filesystems with quota detected.\n" +msgstr "" + +#: edquota.c:269 +#, c-format +msgid "Cannot create temporary file: %s\n" +msgstr "" + +#: edquota.c:274 +#, c-format +msgid "Cannot change owner of temporary file: %s\n" +msgstr "" + +#: edquota.c:281 +msgid "Cannot write grace times to file.\n" +msgstr "" + +#: edquota.c:285 +msgid "Error while editing grace times.\n" +msgstr "" + +#: edquota.c:289 +msgid "Failed to parse grace times file.\n" +msgstr "" + +#: edquota.c:298 edquota.c:324 +#, c-format +msgid "Cannot get quota information for user %s.\n" +msgstr "" + +#: edquota.c:300 +msgid "Cannot write individual grace times to file.\n" +msgstr "" + +#: edquota.c:305 +msgid "Error while editing individual grace times.\n" +msgstr "" + +#: edquota.c:310 +msgid "Cannot read individual grace times from file.\n" +msgstr "" + +#: edquota.c:326 +msgid "Cannot write quotas to file.\n" +msgstr "" + +#: edquota.c:331 +msgid "Error while editing quotas.\n" +msgstr "" + +#: edquota.c:337 +msgid "Cannot reopen!" +msgstr "" + +#: edquota.c:339 +msgid "Cannot read quotas from file.\n" +msgstr "" + +#: quota.c:85 +msgid "Usage: quota [-guqvswim] [-l | [-Q | -A]] [-F quotaformat]\n" +msgstr "" + +#: quota.c:86 +msgid "\tquota [-qvswim] [-l | [-Q | -A]] [-F quotaformat] -u username ...\n" +msgstr "" + +#: quota.c:87 +msgid "\tquota [-qvswim] [-l | [-Q | -A]] [-F quotaformat] -g groupname ...\n" +msgstr "" + +#: quota.c:88 +msgid "\tquota [-qvswugQm] [-F quotaformat] -f filesystem ...\n" +msgstr "" + +#: quota.c:89 +msgid "" +"\n" +"-u, --user display quota for user\n" +"-g, --group display quota for group\n" +"-q, --quiet print more terse message\n" +"-v, --verbose print more verbose message\n" +"-s, --human-readable display numbers in human friendly units (MB, " +"GB...)\n" +" --always-resolve always try to translate name to id, even if it is\n" +"\t\t\t composed of only digits\n" +"-w, --no-wrap do not wrap long lines\n" +"-p, --raw-grace print grace time in seconds since epoch\n" +"-l, --local-only do not query NFS filesystems\n" +"-Q, --quiet-refuse do not print error message when NFS server does\n" +" not respond\n" +"-i, --no-autofs do not query autofs mountpoints\n" +"-F, --format=formatname display quota of a specific format\n" +"-f, --filesystem-list display quota information only for given " +"filesystems\n" +"-A, --nfs-all display quota for all NFS mountpoints\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +" --show-mntpoint show mount point of the file system in output\n" +" --hide-device do not show file system device in output\n" +"-h, --help display this help message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" + +#: quota.c:120 +msgid "space" +msgstr "" + +#: quota.c:122 +msgid "blocks" +msgstr "" + +#: quota.c:124 +#, c-format +msgid "Disk quotas for %s %s (%cid %u): %s\n" +msgstr "" + +#: quota.c:127 +msgid "Filesystem" +msgstr "" + +#: quota.c:128 quota.c:129 +msgid "quota" +msgstr "" + +#: quota.c:128 quota.c:129 +msgid "limit" +msgstr "" + +#: quota.c:128 quota.c:129 +msgid "grace" +msgstr "" + +#: quota.c:129 +msgid "files" +msgstr "" + +#: quota.c:201 +msgid "File limit reached on" +msgstr "" + +#: quota.c:207 +msgid "In file grace period on" +msgstr "" + +#: quota.c:211 +msgid "Over file quota on" +msgstr "" + +#: quota.c:217 +msgid "Block limit reached on" +msgstr "" + +#: quota.c:223 +msgid "In block grace period on" +msgstr "" + +#: quota.c:227 +msgid "Over block quota on" +msgstr "" + +#: quota.c:290 quotasys.c:288 +msgid "none" +msgstr "" + +#: quota.c:396 +#, c-format +msgid "Warning: Ignoring -%c when filesystem list specified.\n" +msgstr "" + +#: quota.c:403 +msgid "No filesystem specified.\n" +msgstr "" + +#: quota.c:411 +#, c-format +msgid "Gid set allocation (%d): %s\n" +msgstr "" + +#: quota.c:417 +#, c-format +msgid "getgroups(): %s\n" +msgstr "" + +#: quotacheck.c:96 +msgid "Not enough memory.\n" +msgstr "" + +#: quotacheck.c:128 +#, c-format +msgid "Adding hardlink for inode %llu\n" +msgstr "" + +#: quotacheck.c:171 +#, c-format +msgid "Adding dquot structure type %s for %d\n" +msgstr "" + +#: quotacheck.c:257 +#, c-format +msgid "Cannot open file %s: %s\n" +msgstr "" + +#: quotacheck.c:262 +msgid "Cannot get exact used space... Results might be inaccurate.\n" +msgstr "" + +#: quotacheck.c:300 +#, c-format +msgid "" +"Utility for checking and repairing quota files.\n" +"%s [-gucbfinvdmMR] [-F ] filesystem|-a\n" +"\n" +"-u, --user check user files\n" +"-g, --group check group files\n" +"-c, --create-files create new quota files\n" +"-b, --backup create backups of old quota files\n" +"-f, --force force check even if quotas are enabled\n" +"-i, --interactive interactive mode\n" +"-n, --use-first-dquot use the first copy of duplicated structure\n" +"-v, --verbose print more information\n" +"-d, --debug print even more messages\n" +"-m, --no-remount do not remount filesystem read-only\n" +"-M, --try-remount try remounting filesystem read-only,\n" +" continue even if it fails\n" +"-R, --exclude-root exclude root when checking all filesystems\n" +"-F, --format=formatname check quota files of specific format\n" +"-a, --all check all filesystems\n" +"-h, --help display this message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" + +#: quotacheck.c:430 +#, c-format +msgid "error (%d) while opening %s\n" +msgstr "" + +#: quotacheck.c:435 +#, c-format +msgid "error (%d) while allocating file inode bitmap\n" +msgstr "" + +#: quotacheck.c:440 +#, c-format +msgid "errstr (%d) while allocating directory inode bitmap\n" +msgstr "" + +#: quotacheck.c:445 +#, c-format +msgid "error (%d) while opening inode scan\n" +msgstr "" + +#: quotacheck.c:450 +#, c-format +msgid "error (%d) while starting inode scan\n" +msgstr "" + +#: quotacheck.c:458 +#, c-format +msgid "Found i_num %ld, blocks %ld\n" +msgstr "" + +#: quotacheck.c:464 +msgid "High uid detected.\n" +msgstr "" + +#: quotacheck.c:480 +#, c-format +msgid "Something weird happened while scanning. Error %d\n" +msgstr "" + +#: quotacheck.c:504 +#, c-format +msgid "Cannot stat directory %s: %s\n" +msgstr "" + +#: quotacheck.c:516 +#, c-format +msgid "" +"\n" +"Can open directory %s: %s\n" +msgstr "" + +#: quotacheck.c:528 +#, c-format +msgid "" +"lstat: Cannot stat `%s/%s': %s\n" +"Guess you'd better run fsck first !\n" +"exiting...\n" +msgstr "" + +#: quotacheck.c:539 +#, c-format +msgid "pushd %s/%s\n" +msgstr "" + +#: quotacheck.c:555 +#, c-format +msgid "\tAdding %s size %lld ino %d links %d uid %u gid %u\n" +msgstr "" + +#: quotacheck.c:565 +msgid "Scanning stored directories from directory stack\n" +msgstr "" + +#: quotacheck.c:569 +#, c-format +msgid "" +"popd %s\n" +"Entering directory %s\n" +msgstr "" + +#: quotacheck.c:581 +#, c-format +msgid "Leaving %s\n" +msgstr "" + +#: quotacheck.c:621 +#, c-format +msgid "Going to check %s quota file of %s\n" +msgstr "" + +#: quotacheck.c:627 +#, c-format +msgid "" +"Quota for %ss is enabled on mountpoint %s so quotacheck might damage the " +"file.\n" +msgstr "" + +#: quotacheck.c:628 quotacheck.c:939 +msgid "Should I continue?" +msgstr "" + +#: quotacheck.c:629 quotacheck.c:940 +#, c-format +msgid "As you wish... Canceling check of this file.\n" +msgstr "" + +#: quotacheck.c:634 +#, c-format +msgid "" +"Quota for %ss is enabled on mountpoint %s so quotacheck might damage the " +"file.\n" +"Please turn quotas off or use -f to force checking.\n" +msgstr "" + +#: quotacheck.c:641 +#, c-format +msgid "Error while syncing quotas on %s: %s\n" +msgstr "" + +#: quotacheck.c:646 +#, c-format +msgid "Cannot get quotafile name for %s\n" +msgstr "" + +#: quotacheck.c:651 quotaio.c:150 quotasys.c:552 +#, c-format +msgid "Cannot open quotafile %s: %s\n" +msgstr "" + +#: quotacheck.c:691 +msgid "Renaming new files to proper names.\n" +msgstr "" + +#: quotacheck.c:693 +#, c-format +msgid "Cannot get name of old quotafile on %s.\n" +msgstr "" + +#: quotacheck.c:696 +msgid "Old file not found.\n" +msgstr "" + +#: quotacheck.c:699 +#, c-format +msgid "Error while searching for old quota file %s: %s\n" +msgstr "" + +#: quotacheck.c:708 +msgid "Old file found removed during check!\n" +msgstr "" + +#: quotacheck.c:711 +#, c-format +msgid "Error while opening old quota file %s: %s\n" +msgstr "" + +#: quotacheck.c:717 +#, c-format +msgid "EXT2_IOC_GETFLAGS failed: %s\n" +msgstr "" + +#: quotacheck.c:721 +#, c-format +msgid "Quota file %s has IMMUTABLE flag set. Clearing.\n" +msgstr "" + +#: quotacheck.c:724 +#, c-format +msgid "Failed to remove IMMUTABLE flag from quota file %s: %s\n" +msgstr "" + +#: quotacheck.c:733 +#, c-format +msgid "Renaming old quotafile to %s~\n" +msgstr "" + +#: quotacheck.c:739 +#, c-format +msgid "Name of quota file too long. Contact %s.\n" +msgstr "" + +#: quotacheck.c:741 +#, c-format +msgid "Cannot rename old quotafile %s to %s: %s\n" +msgstr "" + +#: quotacheck.c:747 +msgid "Renaming new quotafile\n" +msgstr "" + +#: quotacheck.c:759 +#, c-format +msgid "Cannot change permission of %s: %s\n" +msgstr "" + +#: quotacheck.c:766 +#, c-format +msgid "Cannot open new quota file %s: %s\n" +msgstr "" + +#: quotacheck.c:771 +#, c-format +msgid "Warning: Cannot set EXT2 flags on %s: %s\n" +msgstr "" + +#: quotacheck.c:791 +#, c-format +msgid "Dumping gathered data for %ss.\n" +msgstr "" + +#: quotacheck.c:794 +#, c-format +msgid "Cannot initialize IO on xfs/gfs2 quotafile: %s\n" +msgstr "" + +#: quotacheck.c:800 +#, c-format +msgid "Cannot initialize IO on new quotafile: %s\n" +msgstr "" + +#: quotacheck.c:827 +#, c-format +msgid "Cannot finish IO on new quotafile: %s\n" +msgstr "" + +#: quotacheck.c:830 +msgid "Data dumped.\n" +msgstr "" + +#: quotacheck.c:835 +#, c-format +msgid "Cannot find checked quota file for %ss on %s!\n" +msgstr "" + +#: quotacheck.c:839 +#, c-format +msgid "" +"Cannot turn %s quotas off on %s: %s\n" +"Kernel won't know about changes quotacheck did.\n" +msgstr "" + +#: quotacheck.c:852 +#, c-format +msgid "" +"Cannot turn %s quotas on on %s: %s\n" +"Kernel won't know about changes quotacheck did.\n" +msgstr "" + +#: quotacheck.c:874 +#, c-format +msgid "Substracting space used by old %s quota file.\n" +msgstr "" + +#: quotacheck.c:876 +#, c-format +msgid "" +"Old %s file name could not been determined. Usage will not be substracted.\n" +msgstr "" + +#: quotacheck.c:881 +#, c-format +msgid "Cannot stat old %s quota file %s: %s. Usage will not be substracted.\n" +msgstr "" + +#: quotacheck.c:893 +#, c-format +msgid "" +"Quota structure for %s owning quota file not present! Something is really " +"wrong...\n" +msgstr "" + +#: quotacheck.c:898 +#, c-format +msgid "Substracted %lu bytes.\n" +msgstr "" + +#: quotacheck.c:911 +#, c-format +msgid "Cannot stat mountpoint %s: %s\n" +msgstr "" + +#: quotacheck.c:913 +#, c-format +msgid "Mountpoint %s is not a directory?!\n" +msgstr "" + +#: quotacheck.c:938 +#, c-format +msgid "" +"Cannot remount filesystem mounted on %s read-only. Counted values might not " +"be right.\n" +msgstr "" + +#: quotacheck.c:946 +#, c-format +msgid "" +"Cannot remount filesystem mounted on %s read-only so counted values might " +"not be right.\n" +"Please stop all programs writing to filesystem or use -m flag to force " +"checking.\n" +msgstr "" + +#: quotacheck.c:954 +msgid "Filesystem remounted read-only\n" +msgstr "" + +#: quotacheck.c:957 +#, c-format +msgid "Scanning %s [%s] " +msgstr "" + +#: quotacheck.c:974 +msgid "done\n" +msgstr "" + +#: quotacheck.c:983 +#, c-format +msgid "Checked %d directories and %d files\n" +msgstr "" + +#: quotacheck.c:987 +#, c-format +msgid "" +"Cannot remount filesystem %s read-write. cannot write new quota files.\n" +msgstr "" + +#: quotacheck.c:988 +msgid "Filesystem remounted RW.\n" +msgstr "" + +#: quotacheck.c:1031 +#, c-format +msgid "Cannot find quota option on filesystem %s with quotas!\n" +msgstr "" + +#: quotacheck.c:1037 +#, c-format +msgid "Cannot detect quota format for journalled quota on %s\n" +msgstr "" + +#: quotacheck.c:1103 +#, c-format +msgid "Cannot get system info: %s\n" +msgstr "" + +#: quotacheck.c:1123 +msgid "" +"Your kernel probably supports journaled quota but you are not using it. " +"Consider switching to journaled quota to avoid running quotacheck after an " +"unclean shutdown.\n" +msgstr "" + +#: quotacheck.c:1137 quotasys.c:642 +msgid "Cannot initialize mountpoint scan.\n" +msgstr "" + +#: quotacheck.c:1142 +#, c-format +msgid "Skipping %s [%s]\n" +msgstr "" + +#: quotacheck.c:1159 +#, c-format +msgid "" +"Cannot guess format from filename on %s. Please specify format on " +"commandline.\n" +msgstr "" + +#: quotacheck.c:1164 +#, c-format +msgid "Detected quota format %s\n" +msgstr "" + +#: quotacheck.c:1185 +msgid "" +"Cannot find filesystem to check or filesystem not mounted with quota " +"option.\n" +msgstr "" + +#: quotacheck.c:1203 +#, c-format +msgid "" +"Allocated %d bytes memory\n" +"Free'd %d bytes\n" +"Lost %d bytes\n" +msgstr "" + +#: quotacheck_v1.c:32 +#, c-format +msgid "Cannot read entry for id %u from quotafile %s: %s\n" +msgstr "" + +#: quotacheck_v1.c:35 +#, c-format +msgid "Entry for id %u is truncated.\n" +msgstr "" + +#: quotacheck_v1.c:64 +msgid "Loading first quota entry with grace times.\n" +msgstr "" + +#: quotacheck_v1.c:68 +#, c-format +msgid "Cannot read first entry from quotafile %s: %s\n" +msgstr "" + +#: quotacheck_v1.c:72 +#, c-format +msgid "" +"WARNING - Quotafile %s was probably truncated. Cannot save quota " +"settings...\n" +msgstr "" + +#: quotacheck_v1.c:78 +msgid "First entry loaded.\n" +msgstr "" + +#: quotacheck_v2.c:55 +msgid "Checking quotafile info...\n" +msgstr "" + +#: quotacheck_v2.c:60 +#, c-format +msgid "Cannot read info from quota file %s: %s\n" +msgstr "" + +#: quotacheck_v2.c:65 +#, c-format +msgid "" +"WARNING - Quota file %s was probably truncated. Cannot save quota " +"settings...\n" +msgstr "" + +#: quotacheck_v2.c:77 +msgid "WARNING - Quota file info was corrupted.\n" +msgstr "" + +#: quotacheck_v2.c:78 +#, c-format +msgid "" +"Size of file: %lu\n" +"Blocks: %u Free block: %u Block with free entry: %u Flags: %x\n" +msgstr "" + +#: quotacheck_v2.c:85 +#, c-format +msgid "" +"Setting grace times and other flags to default values.\n" +"Assuming number of blocks is %u.\n" +msgstr "" + +#: quotacheck_v2.c:102 +msgid "File info done.\n" +msgstr "" + +#: quotacheck_v2.c:113 +msgid "Corrupted blocks: " +msgstr "" + +#: quotacheck_v2.c:117 +#, c-format +msgid "Block %u: " +msgstr "" + +#: quotacheck_v2.c:179 +msgid "Duplicated entries." +msgstr "" + +#: quotacheck_v2.c:183 +#, c-format +msgid "" +"Found more structures for ID %u. Using values: BHARD: %lld BSOFT: %lld " +"IHARD: %lld ISOFT: %lld\n" +msgstr "" + +#: quotacheck_v2.c:191 +#, c-format +msgid "" +"Found more structures for ID %u. Values: BHARD: %lld/%lld BSOFT: %lld/%lld " +"IHARD: %lld/%lld ISOFT: %lld/%lld\n" +msgstr "" + +#: quotacheck_v2.c:196 +msgid "Should I use new values?" +msgstr "" + +#: quotacheck_v2.c:206 +#, c-format +msgid "" +"ID %u has more structures. User intervention needed (use -i for interactive " +"mode or -n for automatic answer).\n" +msgstr "" + +#: quotacheck_v2.c:243 +#, c-format +msgid "Block %u is truncated.\n" +msgstr "" + +#: quotacheck_v2.c:252 +#, c-format +msgid "Reference to illegal block %u" +msgstr "" + +#: quotacheck_v2.c:259 +#, c-format +msgid "Block %u in tree referenced twice" +msgstr "" + +#: quotacheck_v2.c:275 +#, c-format +msgid "Illegal free block reference to block %u" +msgstr "" + +#: quotacheck_v2.c:278 +#, c-format +msgid "Corrupted number of used entries (%u)" +msgstr "" + +#: quotacheck_v2.c:330 +#, c-format +msgid "" +"Quota file %s has corrupted headers. You have to specify quota format on " +"command line.\n" +msgstr "" + +#: quotacheck_v2.c:346 +msgid "Checking quotafile headers...\n" +msgstr "" + +#: quotacheck_v2.c:350 +#, c-format +msgid "Cannot read header from quotafile %s: %s\n" +msgstr "" + +#: quotacheck_v2.c:352 +#, c-format +msgid "" +"WARNING - Quotafile %s was probably truncated. Cannot save quota " +"settings...\n" +msgstr "" + +#: quotacheck_v2.c:358 +#, c-format +msgid "WARNING - Quota file %s has corrupted headers\n" +msgstr "" + +#: quotacheck_v2.c:362 +#, c-format +msgid "" +"Quota file format version %d does not match the one specified on command " +"line (%d). Quota file header may be corrupted.\n" +msgstr "" + +#: quotacheck_v2.c:366 +msgid "Continue checking assuming version from command line?" +msgstr "" + +#: quotacheck_v2.c:372 +msgid "Headers checked.\n" +msgstr "" + +#: quotacheck_v2.c:388 +#, c-format +msgid "Do not know how to buffer format %d\n" +msgstr "" + +#: quotacheck_v2.c:398 +#, c-format +msgid "Headers of file %s checked. Going to load data...\n" +msgstr "" + +#: quotacheck_v2.c:406 +msgid "Cannot gather quota data. Tree root node corrupted.\n" +msgstr "" + +#: quotacheck_v2.c:414 +msgid "WARNING - Some data might be changed due to corruption.\n" +msgstr "" + +#: quotacheck_v2.c:417 +msgid "Not found any corrupted blocks. Congratulations.\n" +msgstr "" + +#: quotaio.c:62 +msgid "Only RPC quota format is allowed on NFS filesystem.\n" +msgstr "" + +#: quotaio.c:73 +msgid "RPC quota format not compiled.\n" +msgstr "" + +#: quotaio.c:77 +msgid "RPC quota format specified for non-NFS filesystem.\n" +msgstr "" + +#: quotaio.c:84 +msgid "Only XFS quota format is allowed on XFS filesystem.\n" +msgstr "" + +#: quotaio.c:95 +msgid "XFS quota allowed only on XFS filesystem.\n" +msgstr "" + +#: quotaio.c:109 +msgid "Quota not supported by the filesystem.\n" +msgstr "" + +#: quotaio.c:129 +msgid "Cannot find any quota file to work on.\n" +msgstr "" + +#: quotaio.c:134 +msgid "Quota file not found or has wrong format.\n" +msgstr "" + +#: quotaio.c:144 +#, c-format +msgid "Cannot sync quotas on device %s: %s\n" +msgstr "" + +#: quotaio.c:175 +#, c-format +msgid "Cannot initialize quota on %s: %s\n" +msgstr "" + +#: quotaio.c:202 +#, c-format +msgid "Creation of %s quota format is not supported.\n" +msgstr "" + +#: quotaio.c:212 +#, c-format +msgid "" +"Quota on %s is stored in system files and must be manipulated by fs tools.\n" +msgstr "" + +#: quotaio.c:222 +#, c-format +msgid "Cannot create new quotafile %s: %s\n" +msgstr "" + +#: quotaio.c:296 +#, c-format +msgid "" +"Trying to set quota limits out of range supported by quota format on %s.\n" +msgstr "" + +#: quotaio.c:302 +#, c-format +msgid "" +"Trying to set quota usage out of range supported by quota format on %s.\n" +msgstr "" + +#: quotaio_generic.c:54 +#, c-format +msgid "Cannot get info for %s quota file from kernel on %s: %s\n" +msgstr "" + +#: quotaio_generic.c:72 +#, c-format +msgid "Cannot set info for %s quota file from kernel on %s: %s\n" +msgstr "" + +#: quotaio_generic.c:84 +#, c-format +msgid "Cannot get quota for %s %d from kernel on %s: %s\n" +msgstr "" + +#: quotaio_generic.c:99 +#, c-format +msgid "Cannot set quota for %s %d from kernel on %s: %s\n" +msgstr "" + +#: quotaio_meta.c:22 +msgid "Metadata init_io called when kernel support is not enabled.\n" +msgstr "" + +#: quotaio_meta.c:26 +msgid "" +"Metadata init_io called when kernel does not support generic quota " +"interface!\n" +msgstr "" + +#: quotaio_rpc.c:76 quotaio_v1.c:308 quotaio_v2.c:464 +#, c-format +msgid "Trying to write quota to readonly quotafile on %s\n" +msgstr "" + +#: quotaio_tree.c:71 +#, c-format +msgid "Cannot write block (%u): %s\n" +msgstr "" + +#: quotaio_tree.c:94 +msgid "Cannot allocate new quota block (out of disk space).\n" +msgstr "" + +#: quotaio_tree.c:202 +msgid "find_free_dqentry(): Data block full but it shouldn't.\n" +msgstr "" + +#: quotaio_tree.c:237 +#, c-format +msgid "Inserting already present quota entry (block %u).\n" +msgstr "" + +#: quotaio_tree.c:260 +#, c-format +msgid "Cannot write quota (id %u): %s\n" +msgstr "" + +#: quotaio_tree.c:279 +#, c-format +msgid "Quota write failed (id %u): %s\n" +msgstr "" + +#: quotaio_tree.c:291 +#, c-format +msgid "Quota structure has offset to other block (%u) than it should (%u).\n" +msgstr "" + +#: quotaio_tree.c:367 +#, c-format +msgid "Quota for id %u referenced but not present.\n" +msgstr "" + +#: quotaio_tree.c:426 +#, c-format +msgid "Cannot read quota structure for id %u: %s\n" +msgstr "" + +#: quotaio_tree.c:468 +#, c-format +msgid "" +"Illegal reference (%u >= %u) in %s quota file on %s. Quota file is probably " +"corrupted.\n" +"Please run quotacheck(8) and try again.\n" +msgstr "" + +#: quotaio_v1.c:214 +#, c-format +msgid "Trying to write info to readonly quotafile on %s.\n" +msgstr "" + +#: quotaio_v2.c:255 +msgid "" +"Your quota file is stored in wrong endianity. Please use convertquota(8) to " +"convert it.\n" +msgstr "" + +#: quotaio_v2.c:388 +#, c-format +msgid "Trying to write info to readonly quotafile on %s\n" +msgstr "" + +#: quotaio_v2.c:518 +#, c-format +msgid "" +"Statistics:\n" +"Total blocks: %u\n" +"Data blocks: %u\n" +"Entries: %u\n" +"Used average: %f\n" +msgstr "" + +#: quotaio_xfs.c:217 +#, c-format +msgid "*** Status for %s quotas on device %s\n" +msgstr "" + +#: quotaio_xfs.c:219 quotaio_xfs.c:234 +msgid "ON" +msgstr "" + +#: quotaio_xfs.c:219 quotaio_xfs.c:234 +msgid "OFF" +msgstr "" + +#: quotaio_xfs.c:221 quotaio_xfs.c:225 +#, c-format +msgid "Accounting: %s; Enforcement: %s\n" +msgstr "" + +#: quotaio_xfs.c:237 quotaio_xfs.c:241 +#, c-format +msgid "Accounting [ondisk]: %s; Enforcement [ondisk]: %s\n" +msgstr "" + +#: quotaio_xfs.c:250 quotaio_xfs.c:259 +#, c-format +msgid "Inode: none\n" +msgstr "" + +#: quotaio_xfs.c:252 quotaio_xfs.c:261 +#, c-format +msgid "Inode: #%llu (%llu blocks, %u extents)\n" +msgstr "" + +#: quota_nld.c:81 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -C --no-console do not try to write messages to console\n" +" -b --print-below write to console also information about getting below " +"hard/soft limits\n" +" -D --no-dbus do not try to write messages to DBUS\n" +" -F --foreground run daemon in foreground\n" +msgstr "" + +#: quota_nld.c:115 rquota_svc.c:160 +#, c-format +msgid "Unknown option '%c'.\n" +msgstr "" + +#: quota_nld.c:121 +msgid "No possible destination for messages. Nothing to do.\n" +msgstr "" + +#: quota_nld.c:147 +msgid "Error parsing netlink message.\n" +msgstr "" + +#: quota_nld.c:154 +msgid "" +"Unknown format of kernel netlink message!\n" +"Maybe your quota tools are too old?\n" +msgstr "" + +#: quota_nld.c:178 +msgid "Cannot allocate netlink handle!\n" +msgstr "" + +#: quota_nld.c:182 +#, c-format +msgid "Cannot connect to netlink socket: %s\n" +msgstr "" + +#: quota_nld.c:185 +#, c-format +msgid "Cannot resolve quota netlink name: %s\n" +msgstr "" + +#: quota_nld.c:189 +#, c-format +msgid "Cannot join quota multicast group: %s\n" +msgstr "" + +#: quota_nld.c:194 +#, c-format +msgid "Cannot register callback for netlink messages: %s\n" +msgstr "" + +#: quota_nld.c:208 +#, c-format +msgid "Cannot connect to system DBUS: %s\n" +msgstr "" + +#: quota_nld.c:273 +#, c-format +msgid "Failed to find tty of user %llu to report warning to.\n" +msgstr "" + +#: quota_nld.c:278 +#, c-format +msgid "Failed to open tty %s of user %llu to report warning.\n" +msgstr "" + +#: quota_nld.c:284 +msgid "Warning" +msgstr "" + +#: quota_nld.c:287 +msgid "Error" +msgstr "" + +#: quota_nld.c:289 +msgid "Info" +msgstr "" + +#: quota_nld.c:292 +msgid "file limit reached" +msgstr "" + +#: quota_nld.c:295 +msgid "file quota exceeded too long" +msgstr "" + +#: quota_nld.c:298 +msgid "file quota exceeded" +msgstr "" + +#: quota_nld.c:301 +msgid "block limit reached" +msgstr "" + +#: quota_nld.c:304 +msgid "block quota exceeded too long" +msgstr "" + +#: quota_nld.c:307 +msgid "block quota exceeded" +msgstr "" + +#: quota_nld.c:310 +msgid "got below file limit" +msgstr "" + +#: quota_nld.c:313 +msgid "got below file quota" +msgstr "" + +#: quota_nld.c:316 +msgid "got below block limit" +msgstr "" + +#: quota_nld.c:319 +msgid "got below block quota" +msgstr "" + +#: quota_nld.c:322 +msgid "unknown quota warning" +msgstr "" + +#: quota_nld.c:326 +#, c-format +msgid "Failed to write quota message for user %llu to %s: %s\n" +msgstr "" + +#: quota_nld.c:339 +msgid "Cannot create DBUS message: No enough memory.\n" +msgstr "" + +#: quota_nld.c:357 +msgid "Failed to write message to dbus: No enough memory.\n" +msgstr "" + +#: quota_nld.c:373 +#, c-format +msgid "Failed to read or parse quota netlink message: %s\n" +msgstr "" + +#: quota_nld.c:384 +msgid "Undefined program name.\n" +msgstr "" + +#: quota_nld.c:389 +msgid "Not enough memory to build PID file name.\n" +msgstr "" + +#: quota_nld.c:408 +#, c-format +msgid "Could not open PID file '%s': %s\n" +msgstr "" + +#: quota_nld.c:414 +#, c-format +msgid "Could not write daemon's PID into '%s'.\n" +msgstr "" + +#: quota_nld.c:421 +#, c-format +msgid "Could not close PID file '%s'.\n" +msgstr "" + +#: quota_nld.c:451 +msgid "Could not register PID file removal on SIGTERM.\n" +msgstr "" + +#: quota_nld.c:453 +#, c-format +msgid "Could not store my PID %jd.\n" +msgstr "" + +#: quotaon.c:66 +#, c-format +msgid "" +"Usage:\n" +"\t%s [-guvp] [-F quotaformat] [-x state] -a\n" +"\t%s [-guvp] [-F quotaformat] [-x state] filesys ...\n" +"\n" +"-a, --all %s\n" +"-f, --off turn quotas off\n" +"-u, --user operate on user quotas\n" +"-g, --group operate on group quotas\n" +"-p, --print-state print whether quotas are on or off\n" +"-x, --xfs-command=cmd perform XFS quota command\n" +"-F, --format=formatname operate on specific quota format\n" +"-v, --verbose print more messages\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +msgstr "" + +#: quotaon.c:79 +msgid "turn quotas off for all filesystems" +msgstr "" + +#: quotaon.c:80 +msgid "turn quotas on for all filesystems" +msgstr "" + +#: quotaon.c:141 +msgid "Cannot turn on/off quotas via RPC.\n" +msgstr "" + +#: quotaon.c:188 +#, c-format +msgid "set root_squash on %s: %s\n" +msgstr "" + +#: quotaon.c:192 +#, c-format +msgid "%s: %s root_squash turned off\n" +msgstr "" + +#: quotaon.c:194 +#, c-format +msgid "%s: %s root_squash turned on\n" +msgstr "" + +#: quotaon.c:212 +#, c-format +msgid "quotactl on %s [%s]: %s\n" +msgstr "" + +#: quotaon.c:215 +#, c-format +msgid "%s [%s]: %s quotas turned off\n" +msgstr "" + +#: quotaon.c:228 +#, c-format +msgid "cannot find %s on %s [%s]\n" +msgstr "" + +#: quotaon.c:230 +#, c-format +msgid "using %s on %s [%s]: %s\n" +msgstr "" + +#: quotaon.c:232 +msgid "Maybe create new quota files with quotacheck(8)?\n" +msgstr "" + +#: quotaon.c:234 +msgid "Quota format not supported in kernel.\n" +msgstr "" + +#: quotaon.c:237 +#, c-format +msgid "%s [%s]: %s quotas turned on\n" +msgstr "" + +#: quotaon.c:277 +msgid "Cannot change state of GFS2 quota.\n" +msgstr "" + +#: quotaon.c:281 +msgid "Cannot change state of XFS quota. It's not compiled in kernel.\n" +msgstr "" + +#: quotaon.c:306 +#, c-format +msgid "Cannot find quota file on %s [%s] to turn quotas on/off.\n" +msgstr "" + +#: quotaon.c:311 +#, c-format +msgid "Quota file on %s [%s] does not exist or has wrong format.\n" +msgstr "" + +#: quotaon.c:342 +#, c-format +msgid "%s quota on %s (%s) is %s\n" +msgstr "" + +#: quotaon.c:343 +msgid "on" +msgstr "" + +#: quotaon.c:343 +msgid "off" +msgstr "" + +#: quotaon.c:359 +#, c-format +msgid "Name must be quotaon or quotaoff not %s\n" +msgstr "" + +#: quotaon.c:365 +#, c-format +msgid "Required format %s not supported by kernel.\n" +msgstr "" + +#: quotaon.c:367 +msgid "Warning: No quota format detected in the kernel.\n" +msgstr "" + +#: quotaon.c:374 +#, c-format +msgid "%s: Quota cannot be turned on on NFS filesystem\n" +msgstr "" + +#: quotaon_xfs.c:36 +#, c-format +msgid "quotactl() on %s: %s\n" +msgstr "" + +#: quotaon_xfs.c:62 quotaon_xfs.c:82 +#, c-format +msgid "Enabling %s quota on root filesystem (reboot to take effect)\n" +msgstr "" + +#: quotaon_xfs.c:66 +#, c-format +msgid "Enable XFS %s quota accounting during mount\n" +msgstr "" + +#: quotaon_xfs.c:76 +#, c-format +msgid "Cannot delete %s quota on %s - switch quota accounting off first\n" +msgstr "" + +#: quotaon_xfs.c:87 +#, c-format +msgid "Enabling %s quota enforcement on %s\n" +msgstr "" + +#: quotaon_xfs.c:90 +#, c-format +msgid "Already accounting %s quota on %s\n" +msgstr "" + +#: quotaon_xfs.c:95 +#, c-format +msgid "Disabling %s quota accounting on %s\n" +msgstr "" + +#: quotaon_xfs.c:99 +#, c-format +msgid "Quota enforcement already disabled for %s on %s\n" +msgstr "" + +#: quotaon_xfs.c:108 +#, c-format +msgid "" +"Cannot delete %s quota on %s - switch quota enforcement and accounting off " +"first\n" +msgstr "" + +#: quotaon_xfs.c:113 +#, c-format +msgid "Enforcing %s quota already on %s\n" +msgstr "" + +#: quotaon_xfs.c:118 +#, c-format +msgid "Cannot switch off %s quota accounting on %s when enforcement is on\n" +msgstr "" + +#: quotaon_xfs.c:124 +msgid "and accounting " +msgstr "" + +#: quotaon_xfs.c:125 +#, c-format +msgid "Disabling %s quota enforcement %son %s\n" +msgstr "" + +#: quotaon_xfs.c:131 +#, c-format +msgid "Unexpected XFS quota state sought on %s\n" +msgstr "" + +#: quotaon_xfs.c:146 +#, c-format +msgid "quotactl on %s: %s\n" +msgstr "" + +#: quotaon_xfs.c:150 +#, c-format +msgid "%s: %s quotas turned off\n" +msgstr "" + +#: quotaon_xfs.c:152 +#, c-format +msgid "%s: %s quotas turned on\n" +msgstr "" + +#: quotaon_xfs.c:166 +#, c-format +msgid "Failed to delete quota: %s\n" +msgstr "" + +#: quotaon_xfs.c:171 +#, c-format +msgid "%s: deleted %s quota blocks\n" +msgstr "" + +#: quotaon_xfs.c:224 +#, c-format +msgid "Invalid argument \"%s\"\n" +msgstr "" + +#: quotaops.c:108 +#, c-format +msgid "%s (uid %d): Permission denied\n" +msgstr "" + +#: quotaops.c:120 +#, c-format +msgid "%s (gid %d): gid set allocation (%d): %s\n" +msgstr "" + +#: quotaops.c:131 +#, c-format +msgid "%s (gid %d): error while trying getgroups(): %s\n" +msgstr "" + +#: quotaops.c:142 +#, c-format +msgid "%s (gid %d): Permission denied\n" +msgstr "" + +#: quotaops.c:158 +#, c-format +msgid "error while getting quota from %s for %s (id %u): %s\n" +msgstr "" + +#: quotaops.c:183 +#, c-format +msgid "Cannot write quota for %u on %s: %s\n" +msgstr "" + +#: quotaops.c:232 +msgid "Too many parameters to editor.\n" +msgstr "" + +#: quotaops.c:240 +#, c-format +msgid "Cannot exec %s\n" +msgstr "" + +#: quotaops.c:259 quotaops.c:384 +#, c-format +msgid "Cannot duplicate descriptor of file to write to: %s\n" +msgstr "" + +#: quotaops.c:261 +#, c-format +msgid "Disk quotas for %s %s (%cid %d):\n" +msgstr "" + +#: quotaops.c:265 +#, c-format +msgid "" +" Filesystem blocks soft hard inodes " +"soft hard\n" +msgstr "" + +#: quotaops.c:298 +#, c-format +msgid "WARNING - %s: cannot change current block allocation\n" +msgstr "" + +#: quotaops.c:301 +#, c-format +msgid "WARNING - %s: cannot change current inode allocation\n" +msgstr "" + +#: quotaops.c:319 quotaops.c:426 +#, c-format +msgid "Cannot duplicate descriptor of temp file: %s\n" +msgstr "" + +#: quotaops.c:332 +#, c-format +msgid "" +"Bad format:\n" +"%s\n" +msgstr "" + +#: quotaops.c:386 +#, c-format +msgid "Times to enforce softlimit for %s %s (%cid %d):\n" +msgstr "" + +#: quotaops.c:388 quotaops.c:490 +#, c-format +msgid "Time units may be: days, hours, minutes, or seconds\n" +msgstr "" + +#: quotaops.c:390 +#, c-format +msgid "" +" Filesystem block grace inode grace\n" +msgstr "" + +#: quotaops.c:395 quotaops.c:401 quotaops.c:443 quotaops.c:455 setquota.c:245 +#: setquota.c:251 +msgid "unset" +msgstr "" + +#: quotaops.c:397 quotaops.c:403 +msgid "0seconds" +msgstr "" + +#: quotaops.c:399 quotaops.c:405 quotasys.c:320 +#, c-format +msgid "%useconds" +msgstr "" + +#: quotaops.c:440 quotaops.c:538 +#, c-format +msgid "" +"bad format:\n" +"%s\n" +msgstr "" + +#: quotaops.c:450 quotaops.c:543 +msgid "Bad time units. Units are 'second', 'minute', 'hour', and 'day'.\n" +msgstr "" + +#: quotaops.c:486 +#, c-format +msgid "Cannot duplicate descriptor of file to edit: %s\n" +msgstr "" + +#: quotaops.c:488 +#, c-format +msgid "Grace period before enforcing soft limits for %ss:\n" +msgstr "" + +#: quotaops.c:491 +#, c-format +msgid " Filesystem Block grace period Inode grace period\n" +msgstr "" + +#: quotaops.c:517 +#, c-format +msgid "Cannot reopen temp file: %s\n" +msgstr "" + +#: quotastats.c:48 +#, c-format +msgid "Cannot read stat file %s: %s\n" +msgstr "" + +#: quotastats.c:83 +#, c-format +msgid "Error while getting quota statistics from kernel: %s\n" +msgstr "" + +#: quotastats.c:87 +#, c-format +msgid "Error while getting old quota statistics from kernel: %s\n" +msgstr "" + +#: quotastats.c:101 +#, c-format +msgid "Kernel quota version: old\n" +msgstr "" + +#: quotastats.c:103 +#, c-format +msgid "Kernel quota version: %u.%u.%u\n" +msgstr "" + +#: quotastats.c:104 +#, c-format +msgid "Number of dquot lookups: %ld\n" +msgstr "" + +#: quotastats.c:105 +#, c-format +msgid "Number of dquot drops: %ld\n" +msgstr "" + +#: quotastats.c:106 +#, c-format +msgid "Number of dquot reads: %ld\n" +msgstr "" + +#: quotastats.c:107 +#, c-format +msgid "Number of dquot writes: %ld\n" +msgstr "" + +#: quotastats.c:108 +#, c-format +msgid "Number of quotafile syncs: %ld\n" +msgstr "" + +#: quotastats.c:109 +#, c-format +msgid "Number of dquot cache hits: %ld\n" +msgstr "" + +#: quotastats.c:110 +#, c-format +msgid "Number of allocated dquots: %ld\n" +msgstr "" + +#: quotastats.c:111 +#, c-format +msgid "Number of free dquots: %ld\n" +msgstr "" + +#: quotastats.c:112 +#, c-format +msgid "Number of in use dquot entries (user/group): %ld\n" +msgstr "" + +#: quotasync.c:25 +#, c-format +msgid "" +"Utility for syncing quotas.\n" +"Usage:\n" +"%s [-ug] -a | mntpoint...\n" +"\n" +msgstr "" + +#: quotasync.c:89 +#, c-format +msgid "%s quota sync failed: %s\n" +msgstr "" + +#: quotasync.c:100 +#, c-format +msgid "%s quota sync failed for %s: %s\n" +msgstr "" + +#: quotasys.c:94 +#, c-format +msgid "user %s does not exist.\n" +msgstr "" + +#: quotasys.c:123 +#, c-format +msgid "group %s does not exist.\n" +msgstr "" + +#: quotasys.c:225 +#, c-format +msgid "" +"Unknown quota format: %s\n" +"Supported formats are:\n" +" vfsold - original quota format\n" +" vfsv0 - standard quota format\n" +" vfsv1 - quota format with 64-bit limits\n" +" rpc - use RPC calls\n" +" xfs - XFS quota format\n" +msgstr "" + +#: quotasys.c:308 +#, c-format +msgid "%ddays" +msgstr "" + +#: quotasys.c:310 +#, c-format +msgid "%02d:%02d" +msgstr "" + +#: quotasys.c:322 +#, c-format +msgid "%uminutes" +msgstr "" + +#: quotasys.c:324 +#, c-format +msgid "%uhours" +msgstr "" + +#: quotasys.c:326 +#, c-format +msgid "%udays" +msgstr "" + +#: quotasys.c:335 +msgid "second" +msgstr "" + +#: quotasys.c:335 +msgid "seconds" +msgstr "" + +#: quotasys.c:337 +msgid "minute" +msgstr "" + +#: quotasys.c:337 +msgid "minutes" +msgstr "" + +#: quotasys.c:339 +msgid "hour" +msgstr "" + +#: quotasys.c:339 +msgid "hours" +msgstr "" + +#: quotasys.c:341 +msgid "day" +msgstr "" + +#: quotasys.c:341 +msgid "days" +msgstr "" + +#: quotasys.c:535 +#, c-format +msgid "Cannot stat quota file %s: %s\n" +msgstr "" + +#: quotasys.c:681 +msgid "Not all specified mountpoints are using quota.\n" +msgstr "" + +#: quotasys.c:695 +#, c-format +msgid "Error while releasing file on %s\n" +msgstr "" + +#: quotasys.c:754 +#, c-format +msgid "Cannot create set for sigaction(): %s\n" +msgstr "" + +#: quotasys.c:757 +#, c-format +msgid "Cannot set signal handler: %s\n" +msgstr "" + +#: quotasys.c:810 +#, c-format +msgid "Cannot reset signal handler: %s\n" +msgstr "" + +#: quotasys.c:950 +msgid "Cannot open any file with mount points.\n" +msgstr "" + +#: quotasys.c:963 +#, c-format +msgid "Cannot get device name for %s\n" +msgstr "" + +#: quotasys.c:1017 +#, c-format +msgid "Cannot resolve mountpoint path %s: %s\n" +msgstr "" + +#: quotasys.c:1023 +#, c-format +msgid "Cannot statfs() %s: %s\n" +msgstr "" + +#: quotasys.c:1035 +#, c-format +msgid "Cannot stat() mounted device %s: %s\n" +msgstr "" + +#: quotasys.c:1040 +#, c-format +msgid "" +"Device (%s) filesystem is mounted on unsupported device type. Skipping.\n" +msgstr "" + +#: quotasys.c:1050 +#, c-format +msgid "Cannot stat() mountpoint %s: %s\n" +msgstr "" + +#: quotasys.c:1116 +#, c-format +msgid "" +"Cannot find a device with %s.\n" +"Skipping...\n" +msgstr "" + +#: quotasys.c:1120 +#, c-format +msgid "" +"Cannot stat() a mountpoint with %s: %s\n" +"Skipping...\n" +msgstr "" + +#: quotasys.c:1128 +#, c-format +msgid "" +"Cannot stat() given mountpoint %s: %s\n" +"Skipping...\n" +msgstr "" + +#: quotasys.c:1138 +#, c-format +msgid "Cannot find a filesystem mountpoint for directory %s\n" +msgstr "" + +#: quotasys.c:1144 +#, c-format +msgid "Cannot resolve path %s: %s\n" +msgstr "" + +#: quotasys.c:1155 +#, c-format +msgid "Cannot find mountpoint for device %s\n" +msgstr "" + +#: quotasys.c:1161 +#, c-format +msgid "Specified path %s is not directory nor device.\n" +msgstr "" + +#: quotasys.c:1169 +msgid "No correct mountpoint specified.\n" +msgstr "" + +#: quotasys.c:1224 +#, c-format +msgid "Mountpoint (or device) %s not found or has no quota enabled.\n" +msgstr "" + +#: quot.c:81 +#, c-format +msgid "Usage: %s [-acfugvViTq] [filesystem...]\n" +msgstr "" + +#: quot.c:178 +#, c-format +msgid "%s (%s):\n" +msgstr "" + +#: quot.c:182 quot.c:186 +#, c-format +msgid "%d\t%llu\t%llu\n" +msgstr "" + +#: quot.c:195 +#, c-format +msgid "%s (%s) %s:\n" +msgstr "" + +#: quot.c:203 quot.c:205 +#, c-format +msgid "%8llu " +msgstr "" + +#: quot.c:208 +#, c-format +msgid "%s" +msgstr "" + +#: quot.c:210 +#, c-format +msgid "%-8.8s" +msgstr "" + +#: quot.c:212 +#, c-format +msgid "#%-7d" +msgstr "" + +#: quot.c:214 +#, c-format +msgid " %8llu %8llu %8llu" +msgstr "" + +#: quot.c:362 +#, c-format +msgid "cannot open %s: %s\n" +msgstr "" + +#: quot.c:382 +#, c-format +msgid "XFS_IOC_FSBULKSTAT ioctl failed: %s\n" +msgstr "" + +#: repquota.c:50 +#, c-format +msgid "" +"Utility for reporting quotas.\n" +"Usage:\n" +"%s [-vugsi] [-c|C] [-t|n] [-F quotaformat] (-a | mntpoint)\n" +"\n" +"-v, --verbose display also users/groups without any usage\n" +"-u, --user display information about users\n" +"-g, --group display information about groups\n" +"-s, --human-readable show numbers in human friendly units (MB, " +"GB, ...)\n" +"-t, --truncate-names truncate names to 9 characters\n" +"-p, --raw-grace print grace time in seconds since epoch\n" +"-n, --no-names do not translate uid/gid to name\n" +"-i, --no-autofs avoid autofs mountpoints\n" +"-c, --batch-translation translate big number of ids at once\n" +"-C, --no-batch-translation translate ids one by one\n" +"-F, --format=formatname report information for specific format\n" +"-h, --help display this help message and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" + +#: repquota.c:145 +msgid "Repquota cannot report through RPC calls.\n" +msgstr "" + +#: repquota.c:149 +msgid "Specified both -n and -t but only one of them can be used.\n" +msgstr "" + +#: repquota.c:292 +msgid "Space" +msgstr "" + +#: repquota.c:294 +msgid "Block" +msgstr "" + +#: repquota.c:296 +#, c-format +msgid "*** Report for %s quotas on device %s\n" +msgstr "" + +#: repquota.c:299 +#, c-format +msgid "Block grace time: %s; Inode grace time: %s\n" +msgstr "" + +#: repquota.c:300 +#, c-format +msgid " %s limits File limits\n" +msgstr "" + +#: repquota.c:301 +#, c-format +msgid "%-9s used soft hard grace used soft hard grace\n" +msgstr "" + +#: repquota.c:301 +msgid "User" +msgstr "" + +#: repquota.c:301 +msgid "Group" +msgstr "" + +#: rquota_svc.c:88 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -F --foreground starts the quota service in foreground\n" +" -I --autofs do not ignore mountpoints mounted by automounter\n" +" -p --port listen on given port\n" +" -s --no-setquota disables remote calls to setquota (default)\n" +" -S --setquota enables remote calls to setquota\n" +" -x --xtab set an alternative file with NFSD export table\n" +msgstr "" + +#: rquota_svc.c:99 +#, c-format +msgid "" +"Usage: %s [options]\n" +"Options are:\n" +" -h --help shows this text\n" +" -V --version shows version information\n" +" -F --foreground starts the quota service in foreground\n" +" -I --autofs do not ignore mountpoints mounted by automounter\n" +" -p --port listen on given port\n" +" -x --xtab set an alternative file with NFSD export table\n" +msgstr "" + +#: rquota_svc.c:146 +#, c-format +msgid "Illegal port number: %s\n" +msgstr "" + +#: rquota_svc.c:153 +#, c-format +msgid "Cannot access the specified xtab file %s: %s\n" +msgstr "" + +#: rquota_svc.c:183 +#, c-format +msgid "host %s attempted to call setquota when disabled\n" +msgstr "" + +#: rquota_svc.c:190 +#, c-format +msgid "host %s attempted to call setquota from port >= 1024\n" +msgstr "" + +#: rquota_svc.c:205 +#, c-format +msgid "Denied access to host %s\n" +msgstr "" + +#: rquota_svc.c:293 rquota_svc.c:379 +msgid "unable to free arguments\n" +msgstr "" + +#: rquota_svc.c:402 +#, c-format +msgid "" +"Warning: Cannot open export table %s: %s\n" +"Using '/' as a pseudofilesystem root.\n" +msgstr "" + +#: rquota_svc.c:454 +msgid "cannot create udp service.\n" +msgstr "" + +#: rquota_svc.c:458 +msgid "unable to register (RQUOTAPROG, RQUOTAVERS, udp).\n" +msgstr "" + +#: rquota_svc.c:462 +msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n" +msgstr "" + +#: rquota_svc.c:469 +msgid "cannot create tcp service.\n" +msgstr "" + +#: rquota_svc.c:473 +msgid "unable to register (RQUOTAPROG, RQUOTAVERS, tcp).\n" +msgstr "" + +#: rquota_svc.c:477 +msgid "unable to register (RQUOTAPROG, EXT_RQUOTAVERS, tcp).\n" +msgstr "" + +#: rquota_svc.c:486 +msgid "svc_run returned\n" +msgstr "" + +#: set_limits_example.c:20 +#, c-format +msgid "copy_user_quota_limits: Failed to set userquota for uid %ld : %s\n" +msgstr "" + +#: set_limits_example.c:27 +#, c-format +msgid "copy_user_quota_limits: Failed to get userquota for uid %ld : %s\n" +msgstr "" + +#: set_limits_example.c:43 +#, c-format +msgid "copy_group_quota_limits: Failed to set groupquota for gid %ld : %s\n" +msgstr "" + +#: set_limits_example.c:50 +#, c-format +msgid "copy_group_quota_limits: Failed to get groupquota for gid %ld : %s\n" +msgstr "" + +#: setquota.c:55 +#, c-format +msgid "" +"Usage:\n" +" setquota [-u|-g] %1$s[-F quotaformat] \n" +"\t -a|" +"...\n" +" setquota [-u|-g] %1$s[-F quotaformat] <-p protouser|protogroup> -a|...\n" +" setquota [-u|-g] %1$s[-F quotaformat] -b [-c] -a|...\n" +" setquota [-u|-g] [-F quotaformat] -t -a|" +"...\n" +" setquota [-u|-g] [-F quotaformat] -T " +" -a|...\n" +"\n" +"-u, --user set limits for user\n" +"-g, --group set limits for group\n" +"-a, --all set limits for all filesystems\n" +" --always-resolve always try to resolve name, even if is\n" +" composed only of digits\n" +"-F, --format=formatname operate on specific quota format\n" +"-p, --prototype=protoname copy limits from user/group\n" +"-b, --batch read limits from standard input\n" +"-c, --continue-batch continue in input processing in case of an error\n" +msgstr "" + +#: setquota.c:72 +msgid "" +"-r, --remote set remote quota (via RPC)\n" +"-m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n" +msgstr "" + +#: setquota.c:75 +msgid "" +"-t, --edit-period edit grace period\n" +"-T, --edit-times edit grace times for user/group\n" +"-h, --help display this help text and exit\n" +"-V, --version display version information and exit\n" +"\n" +msgstr "" + +#: setquota.c:90 warnquota.c:182 +#, c-format +msgid "%s: %s\n" +msgstr "" + +#: setquota.c:186 +msgid "Group and user quotas cannot be used together.\n" +msgstr "" + +#: setquota.c:190 +msgid "Prototype user has no sense when editing grace times.\n" +msgstr "" + +#: setquota.c:194 +msgid "Cannot set both individual and global grace time.\n" +msgstr "" + +#: setquota.c:198 +msgid "Batch mode cannot be used for setting grace times.\n" +msgstr "" + +#: setquota.c:202 +msgid "Batch mode and prototype user cannot be used together.\n" +msgstr "" + +#: setquota.c:206 +msgid "Cannot set grace times over RPC protocol.\n" +msgstr "" + +#: setquota.c:229 +msgid "Bad block softlimit" +msgstr "" + +#: setquota.c:230 +msgid "Bad block hardlimit" +msgstr "" + +#: setquota.c:231 +msgid "Bad inode softlimit" +msgstr "" + +#: setquota.c:232 +msgid "Bad inode hardlimit" +msgstr "" + +#: setquota.c:238 setquota.c:250 +msgid "Bad block grace time" +msgstr "" + +#: setquota.c:239 setquota.c:256 +msgid "Bad inode grace time" +msgstr "" + +#: setquota.c:262 +msgid "Mountpoint not specified.\n" +msgstr "" + +#: setquota.c:317 +#, c-format +msgid "Line %d too long.\n" +msgstr "" + +#: setquota.c:329 +#, c-format +msgid "Cannot parse input line %d.\n" +msgstr "" + +#: setquota.c:331 setquota.c:339 +msgid "Exitting.\n" +msgstr "" + +#: setquota.c:332 setquota.c:340 +msgid "Skipping line.\n" +msgstr "" + +#: setquota.c:337 +#, c-format +msgid "Unable to resolve name '%s' on line %d.\n" +msgstr "" + +#: setquota.c:383 +#, c-format +msgid "Setting grace period on %s is not supported.\n" +msgstr "" + +#: setquota.c:405 +#, c-format +msgid "Not setting block grace time on %s because softlimit is not exceeded.\n" +msgstr "" + +#: setquota.c:409 +#, c-format +msgid "Not setting inode grace time on %s because softlimit is not exceeded.\n" +msgstr "" + +#: setquota.c:412 +#, c-format +msgid "" +"cannot write times for %s. Maybe kernel does not support such operation?\n" +msgstr "" + +#: svc_socket.c:42 +#, c-format +msgid "Cannot create socket: %s\n" +msgstr "" + +#: svc_socket.c:49 +#, c-format +msgid "Cannot set socket options: %s\n" +msgstr "" + +#: svc_socket.c:84 +#, c-format +msgid "Cannot bind to given address: %s\n" +msgstr "" + +#: warnquota.c:54 +msgid "" +"Hi,\n" +"\n" +"We noticed that you are in violation with the quotasystem\n" +"used on this system. We have found the following violations:\n" +"\n" +msgstr "" + +#: warnquota.c:56 +#, c-format +msgid "" +"\n" +"We hope that you will cleanup before your grace period expires.\n" +"\n" +"Basically, this means that the system thinks you are using more disk space\n" +"on the above partition(s) than you are allowed. If you do not delete files\n" +"and get below your quota before the grace period expires, the system will\n" +"prevent you from creating new files.\n" +"\n" +"For additional assistance, please contact us at %s\n" +"or via phone at %s.\n" +msgstr "" + +#: warnquota.c:63 +#, c-format +msgid "" +"Hi,\n" +"\n" +"We noticed that the group %s you are member of violates the quotasystem\n" +"used on this system. We have found the following violations:\n" +"\n" +msgstr "" + +#: warnquota.c:65 +#, c-format +msgid "" +"\n" +"Please cleanup the group data before the grace period expires.\n" +"\n" +"Basically, this means that the system thinks group is using more disk space\n" +"on the above partition(s) than it is allowed. If you do not delete files\n" +"and get below group quota before the grace period expires, the system will\n" +"prevent you and other members of the group from creating new files owned by\n" +"the group.\n" +"\n" +"For additional assistance, please contact us at %s\n" +"or via phone at %s.\n" +msgstr "" + +#: warnquota.c:226 +#, c-format +msgid "Cannot get name for uid/gid %u.\n" +msgstr "" + +#: warnquota.c:310 +#, c-format +msgid "Cannot create pipe: %s\n" +msgstr "" + +#: warnquota.c:316 +#, c-format +msgid "Cannot fork: %s\n" +msgstr "" + +#: warnquota.c:321 +#, c-format +msgid "Cannot duplicate descriptor: %s\n" +msgstr "" + +#: warnquota.c:325 +#, c-format +msgid "Cannot execute '%s': %s\n" +msgstr "" + +#: warnquota.c:330 +#, c-format +msgid "Cannot open pipe: %s\n" +msgstr "" + +#: warnquota.c:411 +msgid "Could not setup ldap connection, returning.\n" +msgstr "" + +#: warnquota.c:434 +#, c-format +msgid "Error with %s.\n" +msgstr "" + +#: warnquota.c:442 +#, c-format +msgid "Multiple entries found for client %s (%d). Not sending mail.\n" +msgstr "" + +#: warnquota.c:446 +#, c-format +msgid "Entry not found for client %s. Not sending mail.\n" +msgstr "" + +#: warnquota.c:457 +#, c-format +msgid "Could not get values for %s.\n" +msgstr "" + +#: warnquota.c:489 +#, c-format +msgid "Administrator for a group %s not found. Cancelling mail.\n" +msgstr "" + +#: warnquota.c:534 +#, c-format +msgid "" +"\n" +" Block limits File limits\n" +msgstr "" + +#: warnquota.c:535 +#, c-format +msgid "" +"Filesystem used soft hard grace used soft hard grace\n" +msgstr "" + +#: warnquota.c:575 +#, c-format +msgid "Cannot wait for mailer: %s\n" +msgstr "" + +#: warnquota.c:577 +msgid "Warning: Mailer exitted abnormally.\n" +msgstr "" + +#: warnquota.c:634 +#, c-format +msgid "" +"Cannot open %s: %s\n" +"Will use device names.\n" +msgstr "" + +#: warnquota.c:657 +#, c-format +msgid "Cannot parse line %d in quotatab (missing ':')\n" +msgstr "" + +#: warnquota.c:671 +#, c-format +msgid "Cannot stat device %s (maybe typo in quotatab)\n" +msgstr "" + +#: warnquota.c:691 +#, c-format +msgid "" +"Incorrect format string for variable %s.\n" +"Unrecognized expression %%%c.\n" +msgstr "" + +#: warnquota.c:730 +#, c-format +msgid "Cannot open %s: %s\n" +msgstr "" + +#: warnquota.c:750 +#, c-format +msgid "Line %d too long. Truncating.\n" +msgstr "" + +#: warnquota.c:822 +#, c-format +msgid "Cannot parse time at CC_BEFORE variable (line %d).\n" +msgstr "" + +#: warnquota.c:846 +#, c-format +msgid "Error in config file (line %d), ignoring\n" +msgstr "" + +#: warnquota.c:849 +#, c-format +msgid "Possible error in config file (line %d), ignoring\n" +msgstr "" + +#: warnquota.c:852 +msgid "Unterminated last line, ignoring\n" +msgstr "" + +#: warnquota.c:859 +#, c-format +msgid "" +"LDAP library version >= 2.3 detected. Please use LDAP_URI instead of " +"hostname and port.\n" +"Generated URI %s\n" +msgstr "" + +#: warnquota.c:863 +msgid "LDAP library does not support ldap_initialize() but URI is specified." +msgstr "" + +#: warnquota.c:885 +#, c-format +msgid "Cannot open file with group administrators: %s\n" +msgstr "" + +#: warnquota.c:900 +#, c-format +msgid "Parse error at line %d. Cannot find end of group name.\n" +msgstr "" + +#: warnquota.c:909 +#, c-format +msgid "Parse error at line %d. Cannot find administrators name.\n" +msgstr "" + +#: warnquota.c:919 +#, c-format +msgid "" +"Parse error at line %d. Trailing characters after administrators name.\n" +msgstr "" + +#: warnquota.c:982 +msgid "" +"Usage:\n" +" warnquota [-ugsid] [-F quotaformat] [-c configfile] [-q quotatabfile] [-a " +"adminsfile] [filesystem...]\n" +"\n" +"-u, --user warn users\n" +"-g, --group warn groups\n" +"-s, --human-readable send information in more human friendly " +"units\n" +"-i, --no-autofs avoid autofs mountpoints\n" +"-d, --no-details do not send quota information itself\n" +"-F, --format=formatname use quotafiles of specific format\n" +"-c, --config=config-file non-default config file\n" +"-q, --quota-tab=quotatab-file non-default quotatab\n" +"-a, --admins-file=admins-file non-default admins file\n" +"-h, --help display this help message and exit\n" +"-v, --version display version information and exit\n" +"\n" +msgstr "" + +#: warnquota.c:1063 +#, c-format +msgid "Cannot get host name: %s\n" +msgstr "" + +#: xqmstats.c:32 xqmstats.c:37 +msgid "The running kernel does not support XFS\n" +msgstr "" + +#: xqmstats.c:49 +#, c-format +msgid "XFS Quota Manager dquot statistics\n" +msgstr "" + +#: xqmstats.c:50 +#, c-format +msgid " reclaims: %u\n" +msgstr "" + +#: xqmstats.c:51 +#, c-format +msgid " missed reclaims: %u\n" +msgstr "" + +#: xqmstats.c:52 +#, c-format +msgid " dquot dups: %u\n" +msgstr "" + +#: xqmstats.c:53 +#, c-format +msgid " cache misses: %u\n" +msgstr "" + +#: xqmstats.c:54 +#, c-format +msgid " cache hits: %u\n" +msgstr "" + +#: xqmstats.c:55 +#, c-format +msgid " dquot wants: %u\n" +msgstr "" + +#: xqmstats.c:56 +#, c-format +msgid " shake reclaims: %u\n" +msgstr "" + +#: xqmstats.c:57 +#, c-format +msgid " inact reclaims: %u\n" +msgstr "" + +#: xqmstats.c:62 +#, c-format +msgid "Maximum %u dquots (currently %u incore, %u on freelist)\n" +msgstr "" + +#: quota.h:19 +msgid "user" +msgstr "" + +#: quota.h:20 +msgid "group" +msgstr "" + +#: quota.h:21 +msgid "undefined" +msgstr "" diff --git a/quot.c b/quot.c index 3e1f8d8..6311f77 100644 --- a/quot.c +++ b/quot.c @@ -56,8 +56,8 @@ #include "quotasys.h" #define TSIZE 500 -__uint64_t sizes[TSIZE]; -__uint64_t overflow; +static __uint64_t sizes[TSIZE]; +static __uint64_t overflow; static int aflag; static int cflag; @@ -73,8 +73,8 @@ char *progname; static void mounttable(void); static char *idname(__uint32_t, int); -static void report(const char *, char *, int); -static void creport(const char *, char *); +static void report(const char *, const char *, int); +static void creport(const char *, const char *); static void usage(void) { @@ -139,20 +139,20 @@ int main(int argc, char **argv) static void mounttable(void) { int doit = 0; - struct mntent *mntp; + struct mount_entry *mntp; while ((mntp = get_next_mount())) { /* Currently, only XFS is implemented... */ - if (strcmp(mntp->mnt_type, MNTTYPE_XFS) == 0) { - checkXFS(mntp->mnt_fsname, mntp->mnt_dir); + if (strcmp(mntp->me_type, MNTTYPE_XFS) == 0) { + checkXFS(mntp->me_devname, mntp->me_dir); doit = 1; } /* ...additional filesystems types here. */ if (doit) { - if (cflag) creport(mntp->mnt_fsname, mntp->mnt_dir); - if (!cflag && uflag) report(mntp->mnt_fsname, mntp->mnt_dir, 0); - if (!cflag && gflag) report(mntp->mnt_fsname, mntp->mnt_dir, 1); + if (cflag) creport(mntp->me_devname, mntp->me_dir); + if (!cflag && uflag) report(mntp->me_devname, mntp->me_dir, 0); + if (!cflag && gflag) report(mntp->me_devname, mntp->me_dir, 1); } } } @@ -170,7 +170,7 @@ static int qcmp(du_t * p1, du_t * p2) return 0; } -static void creport(const char *file, char *fsdir) +static void creport(const char *file, const char *fsdir) { int i; __uint64_t t = 0; @@ -188,11 +188,11 @@ static void creport(const char *file, char *fsdir) (unsigned long long) (overflow + t)); } -static void report(const char *file, char *fsdir, int type) +static void report(const char *file, const char *fsdir, int type) { du_t *dp; - printf(_("%s (%s) %s:\n"), file, fsdir, type? "groups" : "users"); + printf(_("%s (%s) %ss:\n"), file, fsdir, _(type2name(type))); if (!qflag) qsort(du[type], ndu[type], sizeof(du[type][0]), (int (*)(const void *, const void *))qcmp); for (dp = du[type]; dp < &du[type][ndu[type]]; dp++) { @@ -334,7 +334,7 @@ static void acctXFS(xfs_bstat_t *p) } } -static void checkXFS(const char *file, char *fsdir) +static void checkXFS(const char *file, const char *fsdir) { xfs_fsop_bulkreq_t bulkreq; __u64 last = 0; diff --git a/quot.h b/quot.h index 4f3de0b..07ea39d 100644 --- a/quot.h +++ b/quot.h @@ -106,7 +106,7 @@ typedef struct xfs_fsop_bulkreq { #endif #define NBSTAT 4069 /* XFS bulkstat inodes */ -static void checkXFS(const char *file, char *fsdir); +static void checkXFS(const char *file, const char *fsdir); /* * === End of XFS specific types and definitions === diff --git a/quota-nfs.sh b/quota-nfs.sh new file mode 100755 index 0000000..de4334e --- /dev/null +++ b/quota-nfs.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +# This is a script which generates more user friendly output of quota(1) +# command for systems with NFS-mounted home directories. +# +# In the simplest case it is enough to edit BASEDIR to point to a directory +# under which home directories are mounted. In more complicated cases, +# updating the shell matching code should be simple enough. +# +# Note that you can use also device name (NFS export in case of NFS mount +# point) for your matching. + +BASEDIR="/home" + +DIRS=`quota -A -Q -v --show-mntpoint --no-wrap | +sed -n -e '3,$p' | +cut -d ' ' -f 1,2 | +while read DEVICE DIR; do + case $DIR in + $BASEDIR/$LOGNAME) echo -n "$DIR " ;; + $BASEDIR/*) ;; + *) echo -n "$DIR " ;; + esac +done` + +if [ -n "$DIRS" ]; then + quota $@ -f $DIRS +fi diff --git a/quota.1 b/quota.1 index 705629c..7a62764 100644 --- a/quota.1 +++ b/quota.1 @@ -96,6 +96,10 @@ option will make .BR quota (1) try to choose units for showing limits, used space and used inodes. .TP +.B --always-resolve +Always try to translate user / group name to uid / gid even if the name +is composed of digits only. +.TP .B -p, --raw-grace When user is in grace period, report time in seconds since epoch when his grace time runs out (or has run out). Field is '0' when no grace time is in effect. @@ -111,13 +115,16 @@ report quotas only on local filesystems (ie. ignore NFS mounted filesystems). report quotas for all NFS filesystems even if they report to be on the same device. .TP +.B -f, --filesystem-list +report quotas only for filesystems specified on command line. +.TP .B -m, --no-mixed-pathnames Currently, pathnames of NFSv4 mountpoints are sent without leading slash in the path. .BR rpc.rquotad uses this to recognize NFSv4 mounts and properly prepend pseudoroot of NFS filesystem to the path. If you specify this option, -.BR setquota -will always send paths with a trailing slash. This can be useful for legacy reasons but +.BR quota +will always send paths with a leading slash. This can be useful for legacy reasons but be aware that quota over RPC will stop working if you are using new .BR rpc.rquotad . .TP @@ -138,6 +145,12 @@ Do not wrap the line if the device name is too long. This can be useful when par the output of .BR quota (1) by a script. +.TP +.B --show-mntpoint +Show also mount point as a filesystem identification. +.TP +.B --hide-device +Do not show device name in a filesystem identification. .LP Specifying both .B \-g @@ -187,4 +200,5 @@ default filesystems .BR quotaon (8), .BR quota_nld (8), .BR repquota (8), -.DR warnquota (8) +.BR warnquota (8), +.BR setquota (8) diff --git a/quota.c b/quota.c index ba44930..56e71a8 100644 --- a/quota.c +++ b/quota.c @@ -73,11 +73,13 @@ #define FL_NFSALL 2048 #define FL_RAWGRACE 4096 #define FL_NO_MIXED_PATHS 8192 +#define FL_SHOW_MNTPOINT 16384 +#define FL_SHOW_DEVICE 32768 -int flags, fmt = -1; +static int flags, fmt = -1; char *progname; -void usage(void) +static void usage(void) { errstr( "%s%s%s%s%s", _("Usage: quota [-guqvswim] [-l | [-Q | -A]] [-F quotaformat]\n"), @@ -102,13 +104,15 @@ void usage(void) -f, --filesystem-list display quota information only for given filesystems\n\ -A, --nfs-all display quota for all NFS mountpoints\n\ -m, --no-mixed-pathnames trim leading slashes from NFSv4 mountpoints\n\ + --show-mntpoint show mount point of the file system in output\n\ + --hide-device do not show file system device in output\n\ -h, --help display this help message and exit\n\ -V, --version display version information and exit\n\n")); fprintf(stderr, _("Bugs to: %s\n"), MY_EMAIL); exit(1); } -void heading(int type, qid_t id, char *name, char *tag) +static void heading(int type, qid_t id, char *name, char *tag) { char *spacehdr; @@ -117,16 +121,58 @@ void heading(int type, qid_t id, char *name, char *tag) else spacehdr = _("blocks"); - printf(_("Disk quotas for %s %s (%cid %u): %s\n"), type2name(type), + printf(_("Disk quotas for %s %s (%cid %u): %s\n"), _(type2name(type)), name, *type2name(type), (uint) id, tag); if (!(flags & FL_QUIET) && !tag[0]) { printf("%15s%8s %7s%8s%8s%8s %7s%8s%8s\n", _("Filesystem"), - spacehdr,_("quota"), _("limit"), _("grace"), + spacehdr, _("quota"), _("limit"), _("grace"), _("files"), _("quota"), _("limit"), _("grace")); } } -int showquotas(int type, qid_t id, int mntcnt, char **mnt) +static void print_fs_location(struct dquot *q) +{ + struct quota_handle *h = q->dq_h; + + if (flags & FL_QUIET) { + if (flags & FL_SHOW_DEVICE) + printf(" %s", h->qh_quotadev); + if (flags & FL_SHOW_MNTPOINT) + printf(" %s", h->qh_dir); + putchar('\n'); + } else { + int wrap = 0; + + if (flags & FL_SHOW_DEVICE && flags & FL_SHOW_MNTPOINT && + !(flags & FL_NOWRAP)) + wrap = 1; + else if (flags & FL_SHOW_DEVICE && strlen(h->qh_quotadev) > 15 && + !(flags & FL_NOWRAP)) + wrap = 1; + else if (flags & FL_SHOW_MNTPOINT && strlen(h->qh_dir) > 15 && + !(flags & FL_NOWRAP)) + wrap = 1; + + if (flags & FL_SHOW_DEVICE) { + if (wrap || flags & FL_SHOW_MNTPOINT) + printf("%s", h->qh_quotadev); + else + printf("%15s", h->qh_quotadev); + } + if (flags & FL_SHOW_MNTPOINT) { + if (flags & FL_SHOW_DEVICE) + putchar(' '); + if (wrap || flags & FL_SHOW_DEVICE) + printf("%s", h->qh_dir); + else + printf("%15s", h->qh_dir); + } + if (wrap) + printf("\n%15s", ""); + } +} + +static int showquotas(int type, qid_t id, int mntcnt, char **mnt) { struct dquot *qlist, *q; char *msgi, *msgb; @@ -186,10 +232,14 @@ int showquotas(int type, qid_t id, int mntcnt, char **mnt) if (flags & FL_QUIET) { if ((msgi || msgb) && !lines++) heading(type, id, name, ""); - if (msgi) - printf("\t%s %s\n", msgi, q->dq_h->qh_quotadev); - if (msgb) - printf("\t%s %s\n", msgb, q->dq_h->qh_quotadev); + if (msgi) { + printf("\t%s", msgi); + print_fs_location(q); + } + if (msgb) { + printf("\t%s", msgb); + print_fs_location(q); + } continue; } if ((flags & FL_VERBOSE) || q->dq_dqb.dqb_curspace || q->dq_dqb.dqb_curinodes) { @@ -197,10 +247,7 @@ int showquotas(int type, qid_t id, int mntcnt, char **mnt) if (!lines++) heading(type, id, name, ""); - if (strlen(q->dq_h->qh_quotadev) > 15 && !(flags & FL_NOWRAP)) - printf("%s\n%15s", q->dq_h->qh_quotadev, ""); - else - printf("%15s", q->dq_h->qh_quotadev); + print_fs_location(q); if (!(flags & FL_RAWGRACE)) { if (bover) difftime2str(q->dq_dqb.dqb_btime, timebuf); @@ -269,13 +316,16 @@ int main(int argc, char **argv) { "filesystem-list", 0, NULL, 'f' }, { "all-nfs", 0, NULL, 'A' }, { "no-mixed-pathnames", 0, NULL, 'm' }, + { "show-mntpoint", 0, NULL, 257 }, + { "hide-device", 0, NULL, 258 }, { NULL, 0, NULL, 0 } }; gettexton(); progname = basename(argv[0]); - while ((ret = getopt_long(argc, argv, "guqvsVliQF:wfApm", long_opts, NULL)) != -1) { + flags |= FL_SHOW_DEVICE; + while ((ret = getopt_long(argc, argv, "hguqvsVliQF:wfApm", long_opts, NULL)) != -1) { switch (ret) { case 'g': flags |= FL_GROUP; @@ -323,9 +373,16 @@ int main(int argc, char **argv) case 'm': flags |= FL_NO_MIXED_PATHS; break; + case 257: + flags |= FL_SHOW_MNTPOINT; + break; + case 258: + flags &= ~FL_SHOW_DEVICE; + break; case 'V': version(); exit(0); + case 'h': default: usage(); } diff --git a/quota.h b/quota.h index 565fc7e..ac034d0 100644 --- a/quota.h +++ b/quota.h @@ -12,11 +12,13 @@ typedef int64_t qsize_t; /* Type in which we store size limitations */ /* * Definitions for the default names of the quotas files. + * N_ is gettext magic for static strings */ +#define N_(x) (x) #define INITQFNAMES { \ - "user", /* USRQUOTA */ \ - "group", /* GRPQUOTA */ \ - "undefined", \ + N_("user"), /* USRQUOTA */ \ + N_("group"), /* GRPQUOTA */ \ + N_("undefined"), \ } /* @@ -95,6 +97,8 @@ struct if_dqblk { #define IIF_FLAGS 4 #define IIF_ALL (IIF_BGRACE | IIF_IGRACE | IIF_FLAGS) +#define DQF_SYS_FILE 0x10000 /* Quota stored in a system file */ + struct if_dqinfo { u_int64_t dqi_bgrace; u_int64_t dqi_igrace; diff --git a/quota_nld b/quota_nld new file mode 100755 index 0000000..93aad12 Binary files /dev/null and b/quota_nld differ diff --git a/quota_nld.c b/quota_nld.c index 538702d..1decd96 100644 --- a/quota_nld.c +++ b/quota_nld.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -62,8 +63,8 @@ static struct nla_policy quota_nl_warn_cmd_policy[QUOTA_NL_A_MAX+1] = { #define FL_NODAEMON 4 #define FL_PRINTBELOW 8 -int flags; -DBusConnection *dhandle; +static int flags; +static DBusConnection *dhandle; static const struct option options[] = { { "version", 0, NULL, 'V' }, @@ -75,7 +76,7 @@ static const struct option options[] = { { NULL, 0, NULL, 0 } }; -void show_help(void) +static void show_help(void) { errstr(_("Usage: %s [options]\nOptions are:\n\ -h --help shows this text\n\ @@ -264,7 +265,12 @@ static void write_console_warning(struct quota_warning *warn) } } if (!max_atime) { - errstr(_("Failed to find tty of user %llu to report warning to.\n"), (unsigned long long)warn->caused_id); + /* + * This can happen quite easily so don't spam syslog with + * the error + */ + if (flags & FL_NODAEMON) + errstr(_("Failed to find tty of user %llu to report warning to.\n"), (unsigned long long)warn->caused_id); return; } fd = open(max_dev, O_WRONLY); @@ -369,6 +375,84 @@ static void run(struct nl_handle *nhandle) } } +/* Build file name (absolute path) to PID file of this daemon. + * The returned name is allocated on heap. */ +static char *build_pid_file_name(void) +{ + char *pid_name = NULL; + if (!progname) { + errstr(_("Undefined program name.\n")); + return NULL; + } + pid_name = malloc(9 + strlen(progname) + 4 + 1); + if (!pid_name) { + errstr(_("Not enough memory to build PID file name.\n")); + return NULL; + } + sprintf(pid_name, "/var/run/%s.pid", progname); + return pid_name; +} + +/* Store daemon's PID to file */ +static int store_pid(void) +{ + FILE *pid_file; + char *pid_name; + + pid_name = build_pid_file_name(); + if (!pid_name) + return -1; + + pid_file = fopen(pid_name, "w"); + if (!pid_file) { + errstr(_("Could not open PID file '%s': %s\n"), + pid_name, strerror(errno)); + free(pid_name); + return -1; + } + if (fprintf(pid_file, "%jd\n", (intmax_t)getpid()) < 0) { + errstr(_("Could not write daemon's PID into '%s'.\n"), + pid_name); + fclose(pid_file); + free(pid_name); + return -1; + } + if (fclose(pid_file)) { + errstr(_("Could not close PID file '%s'.\n"), pid_name); + free(pid_name); + return -1; + } + + free(pid_name); + return 0; +} + +/* Handler for SIGTERM to remove PID file */ +static void remove_pid(int signal) +{ + char *pid_name; + + pid_name = build_pid_file_name(); + if (pid_name) { + unlink(pid_name); + free(pid_name); + } + exit(EXIT_SUCCESS); +} + +/* Store daemon's PID into file and register its removal on SIGTERM */ +static void use_pid_file(void) +{ + struct sigaction term_action; + + term_action.sa_handler = remove_pid; + term_action.sa_flags = 0; + if (sigaction(SIGTERM, &term_action, NULL)) + errstr(_("Could not register PID file removal on SIGTERM.\n")); + if (store_pid()) + errstr(_("Could not store my PID %jd.\n"), (intmax_t )getpid()); +} + int main(int argc, char **argv) { struct nl_handle *nhandle; @@ -383,6 +467,7 @@ int main(int argc, char **argv) if (!(flags & FL_NODAEMON)) { use_syslog(); daemon(0, 0); + use_pid_file(); } run(nhandle); return 0; diff --git a/quotacheck.8 b/quotacheck.8 index ed23e73..fe020f4 100644 --- a/quotacheck.8 +++ b/quotacheck.8 @@ -17,7 +17,7 @@ quotacheck \- scan a filesystem for disk usage, create, check and repair quota f .B quotacheck examines each filesystem, builds a table of current disk usage, and compares this table against that recorded in the disk quota file for the -filesystem (this step is ommitted if option +filesystem (this step is omitted if option .B -c is specified). If any inconsistencies are detected, both the quota file and the current system copy of the incorrect quotas are updated (the diff --git a/quotacheck.c b/quotacheck.c index 41901f1..0d0d4b2 100644 --- a/quotacheck.c +++ b/quotacheck.c @@ -62,24 +62,24 @@ struct dirs { #define BITS_SIZE 4 /* sizeof(bits) == 5 */ #define BLIT_RATIO 10 /* Blit in just 1/10 of blit() calls */ -dev_t cur_dev; /* Device we are working on */ -int files_done, dirs_done; +static dev_t cur_dev; /* Device we are working on */ +static int files_done, dirs_done; int flags, fmt = -1, cfmt; /* Options from command line; Quota format to use spec. by user; Actual format to check */ -int uwant, gwant, ucheck, gcheck; /* Does user want to check user/group quota; Do we check user/group quota? */ -char *mntpoint; /* Mountpoint to check */ +static int uwant, gwant, ucheck, gcheck; /* Does user want to check user/group quota; Do we check user/group quota? */ +static char *mntpoint; /* Mountpoint to check */ char *progname; struct util_dqinfo old_info[MAXQUOTAS]; /* Loaded infos */ -char extensions[MAXQUOTAS + 2][20] = INITQFNAMES; /* Extensions depending on quota type */ -char *basenames[] = INITQFBASENAMES; /* Names of quota files */ +static char extensions[MAXQUOTAS + 2][20] = INITQFNAMES; /* Extensions depending on quota type */ +static char *basenames[] = INITQFBASENAMES; /* Names of quota files */ #ifdef DEBUG_MALLOC -size_t malloc_mem = 0; -size_t free_mem = 0; +static size_t malloc_mem = 0; +static size_t free_mem = 0; #endif -struct dquot *dquot_hash[MAXQUOTAS][DQUOTHASHSIZE]; -struct dlinks *links_hash[MAXQUOTAS][DQUOTHASHSIZE]; +static struct dquot *dquot_hash[MAXQUOTAS][DQUOTHASHSIZE]; +static struct dlinks *links_hash[MAXQUOTAS][DQUOTHASHSIZE]; /* * Ok check each memory allocation. @@ -125,7 +125,7 @@ static int store_dlinks(int type, ino_t i_num) struct dlinks *lptr; uint hash = hash_ino(i_num); - debug(FL_DEBUG, _("Adding hardlink for ino %llu\n"), (unsigned long long)i_num); + debug(FL_DEBUG, _("Adding hardlink for inode %llu\n"), (unsigned long long)i_num); for (lptr = links_hash[type][hash]; lptr; lptr = lptr->next) if (lptr->i_num == i_num) @@ -243,7 +243,7 @@ static void remove_list(void) } /* Get size used by file */ -static loff_t getqsize(char *fname, struct stat *st) +static loff_t getqsize(const char *fname, struct stat *st) { static char ioctl_fail_warn; int fd; @@ -269,7 +269,7 @@ static loff_t getqsize(char *fname, struct stat *st) /* * Show a blitting cursor as means of visual progress indicator. */ -static inline void blit(char *msg) +static inline void blit(const char *msg) { static int bitc = 0; static const char bits[] = "|/-\\"; @@ -404,10 +404,6 @@ static void parse_options(int argcnt, char **argstr) fputs(_("Bad number of arguments.\n"), stderr); usage(); } - if (fmt == QF_XFS) { - fputs(_("XFS quota format needs no checking.\n"), stderr); - exit(0); - } if (flags & FL_VERBOSE && flags & FL_DEBUG) flags &= ~FL_VERBOSE; if (!(flags & FL_ALL)) @@ -417,7 +413,7 @@ static void parse_options(int argcnt, char **argstr) } #if defined(EXT2_DIRECT) -static int ext2_direct_scan(char *device) +static int ext2_direct_scan(const char *device) { ext2_ino_t i_num; ext2_filsys fs; @@ -436,12 +432,12 @@ static int ext2_direct_scan(char *device) } if ((error = ext2fs_allocate_inode_bitmap(fs, "in-use inode map", &inode_used_map))) { - errstr(_("error (%d) while allocating inode file bitmap\n"), (int)error); + errstr(_("error (%d) while allocating file inode bitmap\n"), (int)error); return -1; } if ((error = ext2fs_allocate_inode_bitmap(fs, "directory inode map", &inode_dir_map))) { - errstr(_("errstr (%d) while allocating inode directory bitmap\n"), (int)error); + errstr(_("errstr (%d) while allocating directory inode bitmap\n"), (int)error); return -1; } @@ -455,8 +451,10 @@ static int ext2_direct_scan(char *device) return -1; } - while ((long)i_num) { - if (inode.i_links_count) { + while (i_num) { + if ((i_num == EXT2_ROOT_INO || + i_num >= EXT2_FIRST_INO(fs->super)) && + inode.i_links_count) { debug(FL_DEBUG, _("Found i_num %ld, blocks %ld\n"), (long)i_num, (long)inode.i_blocks); if (flags & FL_VERBOSE) blit(NULL); @@ -492,7 +490,7 @@ static int ext2_direct_scan(char *device) * of the files to the appropriate quotas. When we find a dir we recursivly call * ourself to scan that dir. */ -static int scan_dir(char *pathname) +static int scan_dir(const char *pathname) { struct dirs *dir_stack = NULL; struct dirs *new_dir; @@ -527,7 +525,7 @@ static int scan_dir(char *pathname) blit(NULL); if ((lstat(de->d_name, &st)) == -1) { - errstr(_("lstat Cannot stat `%s/%s': %s\nGuess you'd better run fsck first !\nexiting...\n"), + errstr(_("lstat: Cannot stat `%s/%s': %s\nGuess you'd better run fsck first !\nexiting...\n"), pathname, de->d_name, strerror(errno)); goto out; } @@ -615,19 +613,19 @@ int ask_yn(char *q, int def) } /* Do checks and buffer quota file into memory */ -static int process_file(struct mntent *mnt, int type) +static int process_file(struct mount_entry *mnt, int type) { char *qfname = NULL; int fd = -1, ret; - debug(FL_DEBUG, _("Going to check %s quota file of %s\n"), type2name(type), - mnt->mnt_dir); + debug(FL_DEBUG, _("Going to check %s quota file of %s\n"), _(type2name(type)), + mnt->me_dir); - if (kern_quota_on(mnt->mnt_fsname, type, cfmt) >= 0) { /* Is quota enabled? */ + if (kern_quota_on(mnt, type, cfmt) >= 0) { /* Is quota enabled? */ if (!(flags & FL_FORCE)) { if (flags & FL_INTERACTIVE) { - printf(_("Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n"), type2name(type), mnt->mnt_dir); - if (!ask_yn(_("Should I continue"), 0)) { + printf(_("Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n"), _(type2name(type)), mnt->me_dir); + if (!ask_yn(_("Should I continue?"), 0)) { printf(_("As you wish... Canceling check of this file.\n")); return -1; } @@ -635,17 +633,17 @@ static int process_file(struct mntent *mnt, int type) else die(6, _("Quota for %ss is enabled on mountpoint %s so quotacheck might damage the file.\n\ Please turn quotas off or use -f to force checking.\n"), - type2name(type), mnt->mnt_dir); + type2name(type), mnt->me_dir); } /* At least sync quotas so damage will be smaller */ if (quotactl(QCMD((kernel_iface == IFACE_GENERIC)? Q_SYNC : Q_6_5_SYNC, type), - mnt->mnt_fsname, 0, NULL) < 0) - die(4, _("Error while syncing quotas on %s: %s\n"), mnt->mnt_fsname, strerror(errno)); + mnt->me_devname, 0, NULL) < 0) + die(4, _("Error while syncing quotas on %s: %s\n"), mnt->me_devname, strerror(errno)); } if (!(flags & FL_NEWFILE)) { /* Need to buffer file? */ if (get_qf_name(mnt, type, cfmt, 0, &qfname) < 0) { - errstr(_("Cannot get quotafile name for %s\n"), mnt->mnt_fsname); + errstr(_("Cannot get quotafile name for %s\n"), mnt->me_devname); return -1; } if ((fd = open(qfname, O_RDONLY)) < 0) { @@ -677,7 +675,7 @@ Please turn quotas off or use -f to force checking.\n"), } /* Backup old quotafile and rename new one to right name */ -static int rename_files(struct mntent *mnt, int type) +static int rename_files(struct mount_entry *mnt, int type) { char *filename, newfilename[PATH_MAX]; struct stat st; @@ -687,9 +685,12 @@ static int rename_files(struct mntent *mnt, int type) int fd; #endif + if (cfmt == QF_XFS) /* No renaming for xfs/gfs2 */ + return 0; + debug(FL_DEBUG, _("Renaming new files to proper names.\n")); if (get_qf_name(mnt, type, cfmt, 0, &filename) < 0) - die(2, _("Cannot get name of old quotafile on %s.\n"), mnt->mnt_dir); + die(2, _("Cannot get name of old quotafile on %s.\n"), mnt->me_dir); if (stat(filename, &st) < 0) { /* File doesn't exist? */ if (errno == ENOENT) { debug(FL_DEBUG | FL_VERBOSE, _("Old file not found.\n")); @@ -780,46 +781,63 @@ rename_new: * quota file. As quotafiles doesn't account to quotas we don't have to * bother about accounting new blocks for quota file */ -static int dump_to_file(struct mntent *mnt, int type) +static int dump_to_file(struct mount_entry *mnt, int type) { struct dquot *dquot; uint i; struct quota_handle *h; + unsigned int commit = 0; - debug(FL_DEBUG, _("Dumping gathered data for %ss.\n"), type2name(type)); - if (!(h = new_io(mnt, type, cfmt))) { - errstr(_("Cannot initialize IO on new quotafile: %s\n"), - strerror(errno)); - return -1; - } - if (!(flags & FL_NEWFILE)) { - h->qh_info.dqi_bgrace = old_info[type].dqi_bgrace; - h->qh_info.dqi_igrace = old_info[type].dqi_igrace; - if (is_tree_qfmt(cfmt)) - v2_merge_info(&h->qh_info, old_info + type); - mark_quotafile_info_dirty(h); + debug(FL_DEBUG, _("Dumping gathered data for %ss.\n"), _(type2name(type))); + if (cfmt == QF_XFS) { + if (!(h = init_io(mnt, type, cfmt, IOI_READONLY))) { + errstr(_("Cannot initialize IO on xfs/gfs2 quotafile: %s\n"), + strerror(errno)); + return -1; + } + } else { + if (!(h = new_io(mnt, type, cfmt))) { + errstr(_("Cannot initialize IO on new quotafile: %s\n"), + strerror(errno)); + return -1; + } + if (!(flags & FL_NEWFILE)) { + h->qh_info.dqi_bgrace = old_info[type].dqi_bgrace; + h->qh_info.dqi_igrace = old_info[type].dqi_igrace; + if (is_tree_qfmt(cfmt)) + v2_merge_info(&h->qh_info, old_info + type); + mark_quotafile_info_dirty(h); + } } for (i = 0; i < DQUOTHASHSIZE; i++) for (dquot = dquot_hash[type][i]; dquot; dquot = dquot->dq_next) { dquot->dq_h = h; + /* For XFS/GFS2, we don't bother with actually checking + * what the usage value is in the internal quota file. + * We simply attempt to update the usage for every quota + * we find in the fs scan. The filesystem decides in the + * quotactl handler whether to update the usage in the + * quota file or not. + */ + commit = cfmt == QF_XFS ? COMMIT_USAGE : COMMIT_ALL; update_grace_times(dquot); - h->qh_ops->commit_dquot(dquot, COMMIT_ALL); + h->qh_ops->commit_dquot(dquot, commit); } if (end_io(h) < 0) { errstr(_("Cannot finish IO on new quotafile: %s\n"), strerror(errno)); return -1; } debug(FL_DEBUG, _("Data dumped.\n")); - if (kern_quota_on(mnt->mnt_fsname, type, cfmt) >= 0) { /* Quota turned on? */ + if (kern_quota_on(mnt, type, cfmt) >= 0) { /* Quota turned on? */ char *filename; if (get_qf_name(mnt, type, cfmt, NF_FORMAT, &filename) < 0) - errstr(_("Cannot find checked quota file for %ss on %s!\n"), type2name(type), mnt->mnt_fsname); + errstr(_("Cannot find checked quota file for %ss on %s!\n"), _(type2name(type)), mnt->me_devname); else { if (quotactl(QCMD((kernel_iface == IFACE_GENERIC) ? Q_QUOTAOFF : Q_6_5_QUOTAOFF, type), - mnt->mnt_fsname, 0, NULL) < 0) + mnt->me_devname, 0, NULL) < 0) errstr(_("Cannot turn %s quotas off on %s: %s\nKernel won't know about changes quotacheck did.\n"), - type2name(type), mnt->mnt_fsname, strerror(errno)); + _(type2name(type)), mnt->me_devname, strerror(errno)); else { int ret; @@ -827,12 +845,12 @@ static int dump_to_file(struct mntent *mnt, int type) rename_files(mnt, type); if (kernel_iface == IFACE_GENERIC) - ret = quotactl(QCMD(Q_QUOTAON, type), mnt->mnt_fsname, util2kernfmt(cfmt), filename); + ret = quotactl(QCMD(Q_QUOTAON, type), mnt->me_devname, util2kernfmt(cfmt), filename); else - ret = quotactl(QCMD(Q_6_5_QUOTAON, type), mnt->mnt_fsname, 0, filename); + ret = quotactl(QCMD(Q_6_5_QUOTAON, type), mnt->me_devname, 0, filename); if (ret < 0) errstr(_("Cannot turn %s quotas on on %s: %s\nKernel won't know about changes quotacheck did.\n"), - type2name(type), mnt->mnt_fsname, strerror(errno)); + _(type2name(type)), mnt->me_devname, strerror(errno)); } free(filename); } @@ -843,8 +861,9 @@ static int dump_to_file(struct mntent *mnt, int type) return 0; } -/* Substract space used by old quota file from usage */ -static void sub_quota_file(struct mntent *mnt, int qtype, int ftype) +/* Substract space used by old quota file from usage. + * Return non-zero in case of failure, zero otherwise. */ +static int sub_quota_file(struct mount_entry *mnt, int qtype, int ftype) { char *filename; struct stat st; @@ -852,16 +871,16 @@ static void sub_quota_file(struct mntent *mnt, int qtype, int ftype) struct dquot *d; qid_t id; - debug(FL_DEBUG, _("Substracting space used by old %s quota file.\n"), type2name(ftype)); + debug(FL_DEBUG, _("Substracting space used by old %s quota file.\n"), _(type2name(ftype))); if (get_qf_name(mnt, ftype, cfmt, 0, &filename) < 0) { - debug(FL_VERBOSE, _("Old %s file not found. Usage will not be substracted.\n"), type2name(ftype)); - return; + debug(FL_VERBOSE, _("Old %s file name could not been determined. Usage will not be subtracted.\n"), _(type2name(ftype))); + return 0; } if (stat(filename, &st) < 0) { - debug(FL_VERBOSE, _("Cannot stat old %s quota file: %s\n"), type2name(ftype), strerror(errno)); + debug(FL_VERBOSE, _("Cannot stat old %s quota file %s: %s. Usage will not be subtracted.\n"), _(type2name(ftype)), filename, strerror(errno)); free(filename); - return; + return 0; } qspace = getqsize(filename, &st); free(filename); @@ -871,26 +890,37 @@ static void sub_quota_file(struct mntent *mnt, int qtype, int ftype) else id = st.st_gid; if ((d = lookup_dquot(id, qtype)) == NODQUOT) { - errstr(_("Quota structure for %s owning quota file not present! Something is really wrong...\n"), type2name(qtype)); - return; + errstr(_("Quota structure for %s owning quota file not present! Something is really wrong...\n"), _(type2name(qtype))); + return -1; } d->dq_dqb.dqb_curinodes--; d->dq_dqb.dqb_curspace -= qspace; debug(FL_DEBUG, _("Substracted %lu bytes.\n"), (unsigned long)qspace); + return 0; } -/* Buffer quotafile, run filesystem scan, dump quotafiles */ -static void check_dir(struct mntent *mnt) +/* Buffer quotafile, run filesystem scan, dump quotafiles. + * Return non-zero value in case of failure, zero otherwise. */ +static int check_dir(struct mount_entry *mnt) { struct stat st; int remounted = 0; + int failed = 0; - if (lstat(mnt->mnt_dir, &st) < 0) - die(2, _("Cannot stat mountpoint %s: %s\n"), mnt->mnt_dir, strerror(errno)); + if (lstat(mnt->me_dir, &st) < 0) + die(2, _("Cannot stat mountpoint %s: %s\n"), mnt->me_dir, strerror(errno)); if (!S_ISDIR(st.st_mode)) - die(2, _("Mountpoint %s is not a directory?!\n"), mnt->mnt_dir); + die(2, _("Mountpoint %s is not a directory?!\n"), mnt->me_dir); cur_dev = st.st_dev; files_done = dirs_done = 0; + /* + * For gfs2, we scan the fs first and then tell the kernel about the new usage. + * So, there's no need to load any information. We also don't remount the + * filesystem read-only because for a clustering filesystem it won't stop + * modifications from other nodes anyway. + */ + if (cfmt == QF_XFS) + goto start_scan; if (ucheck) if (process_file(mnt, USRQUOTA) < 0) ucheck = 0; @@ -898,22 +928,24 @@ static void check_dir(struct mntent *mnt) if (process_file(mnt, GRPQUOTA) < 0) gcheck = 0; if (!ucheck && !gcheck) /* Nothing to check? */ - return; + return 0; if (!(flags & FL_NOREMOUNT)) { /* Now we try to remount fs read-only to prevent races when scanning filesystem */ if (mount - (NULL, mnt->mnt_dir, mnt->mnt_type, MS_MGC_VAL | MS_REMOUNT | MS_RDONLY, + (NULL, mnt->me_dir, mnt->me_type, MS_MGC_VAL | MS_REMOUNT | MS_RDONLY, NULL) < 0 && !(flags & FL_FORCEREMOUNT)) { if (flags & FL_INTERACTIVE) { - printf(_("Cannot remount filesystem mounted on %s read-only. Counted values might not be right.\n"), mnt->mnt_dir); - if (!ask_yn(_("Should I continue"), 0)) { + printf(_("Cannot remount filesystem mounted on %s read-only. Counted values might not be right.\n"), mnt->me_dir); + if (!ask_yn(_("Should I continue?"), 0)) { printf(_("As you wish... Canceling check of this file.\n")); + failed = -1; goto out; } } else { errstr(_("Cannot remount filesystem mounted on %s read-only so counted values might not be right.\n\ -Please stop all programs writing to filesystem or use -m flag to force checking.\n"), mnt->mnt_dir); +Please stop all programs writing to filesystem or use -m flag to force checking.\n"), mnt->me_dir); + failed = -1; goto out; } } @@ -921,49 +953,51 @@ Please stop all programs writing to filesystem or use -m flag to force checking. remounted = 1; debug(FL_DEBUG, _("Filesystem remounted read-only\n")); } - debug(FL_VERBOSE, _("Scanning %s [%s] "), mnt->mnt_fsname, mnt->mnt_dir); +start_scan: + debug(FL_VERBOSE, _("Scanning %s [%s] "), mnt->me_devname, mnt->me_dir); #if defined(EXT2_DIRECT) - if (!strcmp(mnt->mnt_type, MNTTYPE_EXT2) || !strcmp(mnt->mnt_type, MNTTYPE_EXT3)) { - if (ext2_direct_scan(mnt->mnt_fsname) < 0) + if (!strcmp(mnt->me_type, MNTTYPE_EXT2) || !strcmp(mnt->me_type, MNTTYPE_EXT3) || !strcmp(mnt->me_type, MNTTYPE_NEXT3)) { + if ((failed = ext2_direct_scan(mnt->me_devname)) < 0) goto out; } else { #else - if (mnt->mnt_dir) { + if (mnt->me_dir) { #endif if (flags & FL_VERYVERBOSE) putchar('\n'); - if (scan_dir(mnt->mnt_dir) < 0) + if ((failed = scan_dir(mnt->me_dir)) < 0) goto out; } dirs_done++; if (flags & FL_VERBOSE || flags & FL_VERYVERBOSE) fputs(_("done\n"), stdout); if (ucheck) { - sub_quota_file(mnt, USRQUOTA, USRQUOTA); - sub_quota_file(mnt, USRQUOTA, GRPQUOTA); + failed |= sub_quota_file(mnt, USRQUOTA, USRQUOTA); + failed |= sub_quota_file(mnt, USRQUOTA, GRPQUOTA); } if (gcheck) { - sub_quota_file(mnt, GRPQUOTA, USRQUOTA); - sub_quota_file(mnt, GRPQUOTA, GRPQUOTA); + failed |= sub_quota_file(mnt, GRPQUOTA, USRQUOTA); + failed |= sub_quota_file(mnt, GRPQUOTA, GRPQUOTA); } debug(FL_DEBUG | FL_VERBOSE, _("Checked %d directories and %d files\n"), dirs_done, files_done); if (remounted) { - if (mount(NULL, mnt->mnt_dir, mnt->mnt_type, MS_MGC_VAL | MS_REMOUNT, NULL) < 0) - die(4, _("Cannot remount filesystem %s read-write. cannot write new quota files.\n"), mnt->mnt_dir); + if (mount(NULL, mnt->me_dir, mnt->me_type, MS_MGC_VAL | MS_REMOUNT, NULL) < 0) + die(4, _("Cannot remount filesystem %s read-write. cannot write new quota files.\n"), mnt->me_dir); debug(FL_DEBUG, _("Filesystem remounted RW.\n")); } if (ucheck) - dump_to_file(mnt, USRQUOTA); + failed |= dump_to_file(mnt, USRQUOTA); if (gcheck) - dump_to_file(mnt, GRPQUOTA); + failed |= dump_to_file(mnt, GRPQUOTA); out: remove_list(); + return failed; } /* Detect quota format from filename of present files */ -static int detect_filename_format(struct mntent *mnt, int type) +static int detect_filename_format(struct mount_entry *mnt, int type) { char *option; struct stat statbuf; @@ -971,32 +1005,36 @@ static int detect_filename_format(struct mntent *mnt, int type) int journal = 0; int fmt; + if (strcmp(mnt->me_type, MNTTYPE_XFS) == 0 || + strcmp(mnt->me_type, MNTTYPE_GFS2) == 0) + return QF_XFS; + if (type == USRQUOTA) { - if ((option = hasmntopt(mnt, MNTOPT_USRQUOTA))) + if ((option = str_hasmntopt(mnt->me_opts, MNTOPT_USRQUOTA))) option += strlen(MNTOPT_USRQUOTA); - else if (hasmntopt(mnt, MNTOPT_USRJQUOTA)) { + else if ((option = str_hasmntopt(mnt->me_opts, MNTOPT_USRJQUOTA))) { journal = 1; option += strlen(MNTOPT_USRJQUOTA); } - else if ((option = hasmntopt(mnt, MNTOPT_QUOTA))) + else if ((option = str_hasmntopt(mnt->me_opts, MNTOPT_QUOTA))) option += strlen(MNTOPT_QUOTA); } else { - if ((option = hasmntopt(mnt, MNTOPT_GRPQUOTA))) + if ((option = str_hasmntopt(mnt->me_opts, MNTOPT_GRPQUOTA))) option += strlen(MNTOPT_GRPQUOTA); - else if (hasmntopt(mnt, MNTOPT_GRPJQUOTA)) { + else if ((option = str_hasmntopt(mnt->me_opts, MNTOPT_GRPJQUOTA))) { journal = 1; option += strlen(MNTOPT_GRPJQUOTA); } } if (!option) - die(2, _("Cannot find quota option on filesystem %s with quotas!\n"), mnt->mnt_dir); + die(2, _("Cannot find quota option on filesystem %s with quotas!\n"), mnt->me_dir); if (journal) { char fmtbuf[64], *space; - if (!(option = hasmntopt(mnt, MNTOPT_JQFMT))) { + if (!(option = str_hasmntopt(mnt->me_opts, MNTOPT_JQFMT))) { jquota_err: - errstr(_("Cannot detect quota format for journalled quota on %s\n"), mnt->mnt_dir); + errstr(_("Cannot detect quota format for journalled quota on %s\n"), mnt->me_dir); return -1; } option += strlen(MNTOPT_JQFMT); @@ -1015,7 +1053,7 @@ jquota_err: } else if (*option == '=') /* If the file name is specified we can't detect quota format from it... */ return -1; - snprintf(namebuf, PATH_MAX, "%s/%s.%s", mnt->mnt_dir, basenames[QF_VFSV0], extensions[type]); + snprintf(namebuf, PATH_MAX, "%s/%s.%s", mnt->me_dir, basenames[QF_VFSV0], extensions[type]); if (!stat(namebuf, &statbuf)) { int fd = open(namebuf, O_RDONLY); if (fd < 0) @@ -1027,7 +1065,7 @@ jquota_err: } if (errno != ENOENT) return -1; - snprintf(namebuf, PATH_MAX, "%s/%s.%s", mnt->mnt_dir, basenames[QF_VFSOLD], extensions[type]); + snprintf(namebuf, PATH_MAX, "%s/%s.%s", mnt->me_dir, basenames[QF_VFSOLD], extensions[type]); if (!stat(namebuf, &statbuf)) return QF_VFSOLD; /* Old quota files don't exist, just create VFSv0 format if available */ @@ -1038,28 +1076,78 @@ jquota_err: return -1; } -static void check_all(void) +static int compatible_fs_qfmt(char *fstype, int fmt) { - struct mntent *mnt; + /* We never check XFS, NFS, and filesystems supporting VFS metaformat */ + if (!strcmp(fstype, MNTTYPE_XFS) || nfs_fstype(fstype) || + meta_qf_fstype(fstype)) + return 0; + /* In all other cases we can pick a format... */ + if (fmt == -1) + return 1; + /* XFS format is supported only by GFS2 */ + if (fmt == QF_XFS) + return !strcmp(fstype, MNTTYPE_GFS2); + /* Anything but GFS2 supports all other formats */ + return !!strcmp(fstype, MNTTYPE_GFS2); +} + +/* Parse kernel version and warn if not using journaled quotas */ +static void warn_if_jquota_supported(void) +{ + struct utsname stats; + int v; + char *errch; + + if (uname(&stats) < 0) { + errstr(_("Cannot get system info: %s\n"), strerror(errno)); + return; + } + if (strcmp(stats.sysname, "Linux")) + return; + + v = strtol(stats.release, &errch, 10); + if (v < 2) + return; + if (v >= 3) + goto warn; + if (*errch != '.') + return; + v = strtol(errch + 1, &errch, 10); + if (*errch != '.' || v < 6) + return; + v = strtol(errch + 1, &errch, 10); + if (v < 11) + return; +warn: + errstr(_("Your kernel probably supports journaled quota but you are " + "not using it. Consider switching to journaled quota to avoid" + " running quotacheck after an unclean shutdown.\n")); +} + +/* Return 0 in case of success, non-zero otherwise. */ +static int check_all(void) +{ + struct mount_entry *mnt; int checked = 0; static int warned; + int failed = 0; if (init_mounts_scan((flags & FL_ALL) ? 0 : 1, &mntpoint, 0) < 0) die(2, _("Cannot initialize mountpoint scan.\n")); while ((mnt = get_next_mount())) { - if (flags & FL_ALL && flags & FL_NOROOT && !strcmp(mnt->mnt_dir, "/")) + if (flags & FL_ALL && flags & FL_NOROOT && !strcmp(mnt->me_dir, "/")) continue; - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS) || nfs_fstype(mnt->mnt_type) || - meta_qf_fstype(mnt->mnt_type)) { - debug(FL_DEBUG | FL_VERBOSE, _("Skipping %s [%s]\n"), mnt->mnt_fsname, mnt->mnt_dir); + if (!compatible_fs_qfmt(mnt->me_type, fmt)) { + debug(FL_DEBUG | FL_VERBOSE, _("Skipping %s [%s]\n"), mnt->me_devname, mnt->me_dir); continue; } cfmt = fmt; - if (uwant && hasquota(mnt, USRQUOTA, 0)) + if (uwant && me_hasquota(mnt, USRQUOTA)) ucheck = 1; else ucheck = 0; - if (gwant && hasquota(mnt, GRPQUOTA, 0)) + if (gwant && me_hasquota(mnt, GRPQUOTA)) gcheck = 1; else gcheck = 0; @@ -1069,62 +1157,51 @@ static void check_all(void) cfmt = detect_filename_format(mnt, ucheck ? USRQUOTA : GRPQUOTA); if (cfmt == -1) { errstr(_("Cannot guess format from filename on %s. Please specify format on commandline.\n"), - mnt->mnt_fsname); + mnt->me_devname); + failed = -1; continue; } debug(FL_DEBUG, _("Detected quota format %s\n"), fmt2name(cfmt)); } - if (flags & FL_VERBOSE && !hasmntopt(mnt, MNTOPT_USRJQUOTA) && - !hasmntopt(mnt, MNTOPT_GRPJQUOTA) && !warned && - (!strcmp(mnt->mnt_type, MNTTYPE_EXT3) || - !strcmp(mnt->mnt_type, MNTTYPE_EXT4) || - !strcmp(mnt->mnt_type, MNTTYPE_EXT4DEV) || - !strcmp(mnt->mnt_type, MNTTYPE_REISER))) { - struct utsname stats; - - /* Parse Linux kernel version and issue warning if not using - * journaled quotas. */ + if (flags & FL_VERBOSE && + !str_hasmntopt(mnt->me_opts, MNTOPT_USRJQUOTA) && + !str_hasmntopt(mnt->me_opts, MNTOPT_GRPJQUOTA) && + !warned && + (!strcmp(mnt->me_type, MNTTYPE_EXT3) || + !strcmp(mnt->me_type, MNTTYPE_EXT4) || + !strcmp(mnt->me_type, MNTTYPE_NEXT3) || + !strcmp(mnt->me_type, MNTTYPE_EXT4DEV) || + !strcmp(mnt->me_type, MNTTYPE_REISER))) { warned = 1; - if (uname(&stats) < 0) - errstr(_("Cannot get system info: %s\n"), - strerror(errno)); - else if (!strcmp(stats.sysname, "Linux")) { - int v; - char *errch; - - v = strtol(stats.release, &errch, 10); - if (*errch == '.' && v >= 2) { - v = strtol(errch + 1, &errch, 10); - if (*errch == '.' && v >= 6) { - v = strtol(errch + 1, &errch, 10); - if (v >= 11) - errstr(_("Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.\n")); - } - } - } + warn_if_jquota_supported(); } checked++; - check_dir(mnt); + failed |= check_dir(mnt); } end_mounts_scan(); - if (!checked && (!(flags & FL_ALL) || flags & (FL_VERBOSE | FL_DEBUG))) + if (!checked && (!(flags & FL_ALL) || flags & (FL_VERBOSE | FL_DEBUG))) { errstr(_("Cannot find filesystem to check or filesystem not mounted with quota option.\n")); + failed = -1; + } + return failed; } int main(int argc, char **argv) { + int failed; + gettexton(); progname = basename(argv[0]); parse_options(argc, argv); init_kernel_interface(); - check_all(); + failed = check_all(); #ifdef DEBUG_MALLOC errstr(_("Allocated %d bytes memory\nFree'd %d bytes\nLost %d bytes\n"), malloc_mem, free_mem, malloc_mem - free_mem); #endif - return 0; + return (failed ? EXIT_FAILURE : EXIT_SUCCESS); } diff --git a/quotacheck_v2.c b/quotacheck_v2.c index 77afde3..c85cba0 100644 --- a/quotacheck_v2.c +++ b/quotacheck_v2.c @@ -193,7 +193,7 @@ static int buffer_entry(dqbuf_t buf, uint blk, int *corrupted, uint * lblk, int (long long)fdq->dqb_bsoftlimit, (long long)mdq.dqb_bsoftlimit, (long long)fdq->dqb_ihardlimit, (long long)mdq.dqb_ihardlimit, (long long)fdq->dqb_isoftlimit, (long long)mdq.dqb_isoftlimit); - if (ask_yn(_("Should I use new values"), 0)) { + if (ask_yn(_("Should I use new values?"), 0)) { fdq->dqb_bhardlimit = mdq.dqb_bhardlimit; fdq->dqb_bsoftlimit = mdq.dqb_bsoftlimit; fdq->dqb_ihardlimit = mdq.dqb_ihardlimit; diff --git a/quotactl.2 b/quotactl.2 deleted file mode 100644 index 683903d..0000000 --- a/quotactl.2 +++ /dev/null @@ -1,317 +0,0 @@ -.TH QUOTACTL 2 -.SH NAME -quotactl \- manipulate disk quotas -.SH SYNOPSIS -.nf -.B #include -.B #include -.LP -.B long quotactl(int cmd, char \(**special, qid_t id, caddr_t addr) -.fi -.SH DESCRIPTION -.LP -.IX "filesystem" "quotactl() disk quotas" "" "\fLquotactl()\fP \(em disk quotas" -.IX "quotactl() disk quotas" "" "\fLquotactl()\fP \(em disk quotas" -.IX "disk quotas quotactl()" "" "disk quotas \(em \fLquotactl()\fP" -.LP -The -.B quotactl(\|) -call manipulates disk quotas. -.I cmd -indicates a command to be applied to -.SM UID -.IR id -or -.SM GID -.IR id . -To set the type of quota use the -.IR "QCMD(cmd, type)" -macro. -.I special -is a pointer to a null-terminated string containing the path -name of the block special device for the filesystem being manipulated. -.I addr -is the address of an optional, command specific, data structure -which is copied in or out of the system. The interpretation of -.I addr -is given with each command below. -.TP 15 -.SB Q_QUOTAON -Turn on quotas for a filesystem. -.I id -is the identification number of the quota format to be used. Format numbers -are defined in the header file of appropriate format. Currently there are -two supported quota formats whose numbers are defined by constants -.IR QFMT_VFS_OLD -(original quota format) and -.IR QFMT_VFS_V0 -(new VFS v0 quota format). -.IR addr -points to the path name of file containing the quotas for the filesystem. -The quota file must exist; it is normally created with the -.BR quotacheck (8) -program. This call is restricted to the super-user. -.TP -.SB Q_QUOTAOFF -Turn off quotas for a filesystem. -.I addr -and -.I id -are ignored. -This call is restricted to the super-user. -.TP -.SB Q_GETQUOTA -Get disk quota limits and current usage for user or group -.IR id . -.I addr -is a pointer to an -.B dqblk -structure (defined in -.BR ). -The field -.I dqb_valid -defines the entries in the structure which are set correctly. On -.B Q_GETQUOTA -call all entries are valid. Only the super-user may get the quotas -of a user other than himself. -.TP -.SB Q_SETQUOTA -Set current quota information for user or group -.IR id . -.I addr -is a pointer to an -.B dqblk -structure (defined in -.BR ). -The field -.I dqb_valid -defines which entries in the quota structure are valid and should be set. The constants for -.I dqb_valid -field are defined in the -.B -header file. This call obsoletes calls -.B Q_SETQLIM -and -.B Q_SETUSE -in the previous quota interfaces. This call is restricted to the super-user. -.TP -.SB Q_GETINFO -Get information (like grace times) about quotafile. -.I addr -should be a pointer to an -.B dqinfo -structure (defined in -.IR ). -The -.I dqi_valid -field in the structure defines entries in it -which are valid. On -.B Q_GETINFO -call all entries are valid. -Parameter -.I id -is ignored. -.TP -.SB Q_SETINFO -Set information about quotafile. -.I addr -should be a pointer to -.B dqinfo -structure (defined in -.IR ). -The field -.I dqi_valid -defines which entries in the quota info structure are valid and should be set. The constants for -.I dqi_valid -field are defined in the -.B -header file. This call obsoletes calls -.B Q_SETGRACE -and -.B Q_SETFLAGS -in the previous quota interfaces. Parameter -.I id -is ignored. This operation is restricted to super-user. -.TP -.SB Q_GETFMT -Get quota format used on the specified filesystem. -.I addr -should be a pointer to a memory (4 bytes) where the format number will be stored. -.TP -.SB Q_SYNC -Update the on-disk copy of quota usages for a filesystem. -If -.I special -is null then all filesystems with active quotas are sync'ed. -.I addr -and -.I id -are ignored. -.TP -.SB Q_GETSTATS -Get statistics and other generic information about quota subsystem. -.I addr -should be a pointer to -.B dqstats -structure (defined in -.BR ) -in which data should be stored. -.I special -and -.I id -are ignored. This call is obsolete and not supported by recent kernels. -Files in -.B /proc/sys/fs/quota/ -carry the information instead. -.TP -For XFS filesystems making use of the XFS Quota Manager (XQM), the above commands are bypassed and the following commands are used: -.TP 15 -.SB Q_XQUOTAON -Turn on quotas for an XFS filesystem. -XFS provides the ability to turn on/off quota limit enforcement -with quota accounting. -Therefore, XFS expects the addr to be a pointer to an unsigned int -that contains either the flags XFS_QUOTA_UDQ_ACCT and/or -XFS_QUOTA_UDQ_ENFD (for user quota), or XFS_QUOTA_GDQ_ACCT and/or -XFS_QUOTA_GDQ_ENFD (for group quota), as defined in -.BR . -This call is restricted to the superuser. -.TP -.SB Q_XQUOTAOFF -Turn off quotas for an XFS filesystem. -As in Q_QUOTAON, XFS filesystems expect a pointer to an unsigned int -that specifies whether quota accounting and/or limit enforcement need -to be turned off. -This call is restricted to the superuser. -.TP -.SB Q_XGETQUOTA -Get disk quota limits and current usage for user -.IR id . -.I addr -is a pointer to a -.B fs_disk_quota -structure (defined in -.BR ). -Only the superuser may get the quotas of a user other than himself. -.TP -.SB Q_XSETQLIM -Set disk quota limits for user -.IR id . -.I addr -is a pointer to a -.B fs_disk_quota -structure (defined in -.BR ). -This call is restricted to the superuser. -.TP -.SB Q_XGETQSTAT -Returns a -.B fs_quota_stat -structure containing XFS filesystem specific quota information. -This is useful in finding out how much space is spent to store quota -information, and also to get quotaon/off status of a given local XFS -filesystem. -.TP -.SB Q_XQUOTARM -Free the disk space taken by disk quotas. -Quotas must have already been turned off. -.PP -There is no command equivalent to -.B Q_SYNC -for XFS since -.IR sync (1) -writes quota information to disk (in addition to the other filesystem -metadata it writes out). -.SH RETURN VALUES -.LP -.B quotactl(\|) -returns: -.TP -0 -on success. -.TP -\-1 -on failure and sets -.B errno -to indicate the error. -.SH ERRORS -.TP 15 -.SM EFAULT -.I addr -or -.I special -are invalid. -.TP -.SM ENOSYS -The kernel has not been compiled with the -.SB QUOTA -option. -.TP -.SM EINVAL -.IP -.I cmd -or -.I type -is invalid. -.TP -.SM ENOENT -The file specified by -.I special -or -.I addr -does not exist. -.TP -.SM ENOTBLK -.I special -is not a block device. -.TP -.SM EPERM -The call is privileged and the caller was not the super-user. -.TP -.SM ESRCH -No disc quota is found for the indicated user. Quotas have not been turned on for this filesystem. -.LP -If -.I cmd -is -.BR \s-1Q_SETQUOTA\s0 , -.B quotactl(\|) -may also set errno to: -.TP 15 -.SM ERANGE -Specified limits are out of range allowed by quota format. -.LP -If -.I cmd -is -.BR \s-1Q_QUOTAON\s0 , -.B quotactl(\|) -may also set errno to: -.TP 15 -.SM EACCES -The quota file pointed to by -.I addr -exists but is not a regular file. -.IP -The quota file pointed to by -.I addr -exists but is not on the -filesystem pointed to by -.IR special . -.TP -.SM EINVAL -The quota file is corrupted. -.TP -.SM ESRCH -Specified quota format was not found. -.TP -.SM EBUSY -.SB Q_QUOTAON -attempted while another -.SB Q_QUOTAON -has already taken place. -.SH "SEE ALSO" -.BR quota (1), -.BR getrlimit (2), -.BR quotacheck (8), -.BR quotaon (8) diff --git a/quotadebug b/quotadebug deleted file mode 100755 index bbb4fe0..0000000 Binary files a/quotadebug and /dev/null differ diff --git a/quotadebug.c b/quotadebug.c deleted file mode 100644 index 5d31c42..0000000 --- a/quotadebug.c +++ /dev/null @@ -1,282 +0,0 @@ -/* - * - * Utility for quota debugging - * - */ - -#include "config.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -#include - -#include "quotaio_v2.h" -#include "quota_tree.h" - -#define PROMPTSTR "> " -#define MAXCMDLEN 64 - -int fd; -static int mode = O_RDWR; - -void die(int ret, char *fmtstr, ...) -{ - va_list args; - - va_start(args, fmtstr); - fprintf(stderr, "quotadebug: "); - vfprintf(stderr, fmtstr, args); - va_end(args); - exit(ret); -} - -void sstrncpy(char *d, const char *s, size_t len) -{ - strncpy(d, s, len); - d[len - 1] = 0; -} - -void parse_options(int argcnt, char **argstr) -{ - char *slash = strrchr(argstr[0], '/'), cmdname[PATH_MAX]; - int ret = 0; - - if (!slash) - slash = argstr[0]; - else - slash++; - sstrncpy(cmdname, slash, PATH_MAX); - - while (ret != -1) { - ret = getopt(argcnt, argstr, "hr"); - switch (ret) { - case '?': - case 'h': -usage: - fprintf(stderr, "Utility for quota debugging.\nUsage:\n%s [-r] file\nBugs to /dev/null\n", cmdname); - exit(1); - case 'r': - mode = O_RDONLY; - break; - } - } - if (optind != argcnt - 1) { - fputs("Bad number of arguments.\n", stderr); - goto usage; - } -} - -void print_help(void) -{ - puts("Simple utility for debugging quota."); - puts("Commands:\nh - help\nq - quit\nptb - print block as tree block\npdq0 - print block as quota block of version 0 structures"); - puts("pdq1 - print block as quota block of version 1 structures\npi - print base info\nww - write word to given block on given offset\nwl - write long ..."); -} - - -void print_tb(char *arg) -{ - int blk, ret, i; - char *errch; - __u32 data[QT_BLKSIZE/sizeof(__u32)]; - - if (!arg) { - puts("Bad number of arguments"); - return; - } - blk = strtol(arg, &errch, 0); - if (blk < 0 || *errch) { - printf("Illegal block number %s\n", arg); - return; - } - lseek(fd, blk * QT_BLKSIZE, SEEK_SET); - ret = read(fd, data, QT_BLKSIZE); - if (ret != QT_BLKSIZE) { - if (ret >= 0) - errno = ENODATA; - printf("Error occured while reading block %d: %s\n", blk, strerror(errno)); - return; - } - for (i = 0; i < QT_BLKSIZE / sizeof(__u32); i++) - printf("%08x ", __le32_to_cpu(data[i])); - putchar('\n'); -} - -void print_quota_r0(char *arg) -{ - int ret, blk, i, entries; - char *errch; - char buf[QT_BLKSIZE]; - struct qt_disk_dqdbheader *head; - struct v2r0_disk_dqblk *entry; - - if (!arg) { - puts("Bad number of arguments."); - return; - } - blk = strtol(arg, &errch, 0); - if (blk < 0 || *errch) { - printf("Illegal block number: %s\n", arg); - return; - } - lseek(fd, blk * QT_BLKSIZE, SEEK_SET); - ret = read(fd, buf, QT_BLKSIZE); - if (ret < 0) { - printf("Error occured while reading block %d: %s\n", blk, strerror(errno)); - return; - } - else if (ret != QT_BLKSIZE) - memset(buf + ret, 0, QT_BLKSIZE - ret); - head = (struct qt_disk_dqdbheader *)buf; - entry = (struct v2r0_disk_dqblk *)(buf + sizeof(struct qt_disk_dqdbheader)); - printf("HEAD:\nEntries: %d Nextblk: %x Prevblk: %x\n", entries = __le16_to_cpu(head->dqdh_entries), - __le32_to_cpu(head->dqdh_next_free), __le32_to_cpu(head->dqdh_prev_free)); - printf("ENTRIES:\n"); - for (i = 0; i < (QT_BLKSIZE - sizeof(struct qt_disk_dqdbheader)) / sizeof(struct v2r0_disk_dqblk); i++) - printf("ID: %d B: %Lu/%u(%Lu)/%u I: %u/%u(%Lu)/%u\n", __le32_to_cpu(entry[i].dqb_id), - __le64_to_cpu(entry[i].dqb_curspace), __le32_to_cpu(entry[i].dqb_bsoftlimit), __le64_to_cpu(entry[i].dqb_btime), __le32_to_cpu(entry[i].dqb_bhardlimit), - __le32_to_cpu(entry[i].dqb_curinodes), __le32_to_cpu(entry[i].dqb_isoftlimit), __le64_to_cpu(entry[i].dqb_itime), __le32_to_cpu(entry[i].dqb_ihardlimit)); -} - -void print_quota_r1(char *arg) -{ - int ret, blk, i, entries; - char *errch; - char buf[QT_BLKSIZE]; - struct qt_disk_dqdbheader *head; - struct v2r1_disk_dqblk *entry; - - if (!arg) { - puts("Bad number of arguments."); - return; - } - blk = strtol(arg, &errch, 0); - if (blk < 0 || *errch) { - printf("Illegal block number: %s\n", arg); - return; - } - lseek(fd, blk * QT_BLKSIZE, SEEK_SET); - ret = read(fd, buf, QT_BLKSIZE); - if (ret < 0) { - printf("Error occured while reading block %d: %s\n", blk, strerror(errno)); - return; - } - else if (ret != QT_BLKSIZE) - memset(buf + ret, 0, QT_BLKSIZE - ret); - head = (struct qt_disk_dqdbheader *)buf; - entry = (struct v2r1_disk_dqblk *)(buf + sizeof(struct qt_disk_dqdbheader)); - printf("HEAD:\nEntries: %d Nextblk: %x Prevblk: %x\n", entries = __le16_to_cpu(head->dqdh_entries), - __le32_to_cpu(head->dqdh_next_free), __le32_to_cpu(head->dqdh_prev_free)); - printf("ENTRIES:\n"); - for (i = 0; i < (QT_BLKSIZE - sizeof(struct qt_disk_dqdbheader)) / sizeof(struct v2r1_disk_dqblk); i++) - printf("ID: %u B: %llu/%llu(%llu)/%llu I: %llu/%llu(%llu)/%llu\n", __le32_to_cpu(entry[i].dqb_id), - __le64_to_cpu(entry[i].dqb_curspace), __le64_to_cpu(entry[i].dqb_bsoftlimit), __le64_to_cpu(entry[i].dqb_btime), __le64_to_cpu(entry[i].dqb_bhardlimit), - __le64_to_cpu(entry[i].dqb_curinodes), __le64_to_cpu(entry[i].dqb_isoftlimit), __le64_to_cpu(entry[i].dqb_itime), __le64_to_cpu(entry[i].dqb_ihardlimit)); -} - -void print_info(void) -{ - struct v2_disk_dqinfo info; - int ret; - - lseek(fd, V2_DQINFOOFF, SEEK_SET); - ret = read(fd, &info, sizeof(struct v2_disk_dqinfo)); - if (ret != sizeof(struct v2_disk_dqinfo)) { - if (ret >= 0) - errno = ENODATA; - printf("Can't read base info: %s\n", strerror(errno)); - return; - } - printf("Flags: %08x\nBlocks: %d = %x\nFree block: %x\nFree entry: %x\nBGrace: %Lu\nIGrace: %Lu\n", - __le32_to_cpu(info.dqi_flags), __le32_to_cpu(info.dqi_blocks), __le32_to_cpu(info.dqi_blocks), - __le32_to_cpu(info.dqi_free_blk), __le32_to_cpu(info.dqi_free_entry), __le64_to_cpu(info.dqi_bgrace), __le64_to_cpu(info.dqi_igrace)); -} - -void write_bytes(int len, char *args) -{ - char *blks, *offs, *vals; - uint blk, off, val; - char *errch; - int wrt; - - blks = args; - if (!blks || !(offs = strchr(blks, ' ')) || !(vals = strchr(offs+1, ' '))) { - puts("Bad number of arguments."); - return; - } - *(offs++) = *(vals++) = 0; - blk = strtol(blks, &errch, 0); - if (*errch) { - printf("Bad block number: %s\n", blks); - return; - } - off = strtol(offs, &errch, 0); - if (*errch || off > QT_BLKSIZE) { - printf("Bad offset: %s\n", offs); - return; - } - val = __cpu_to_le32(strtol(vals, &errch, 0)); - if (*errch) { - printf("Bad value: %s\n", vals); - return; - } - lseek(fd, (blk << QT_BLKSIZE_BITS) + off, SEEK_SET); - if ((wrt = write(fd, &val, len)) < 0) - printf("Can't write value: %s\n", strerror(errno)); - else if (wrt != len) - printf("Warning: Written only %d bytes.\n", wrt); -} - -void run(void) -{ - char cmd[MAXCMDLEN]; - char *arg; - - puts("Ready to serve."); - while (1) { - printf(PROMPTSTR); - fgets(cmd, MAXCMDLEN, stdin); - cmd[strlen(cmd) - 1] = '\0'; /* Discard '\n' */ - if ((arg = strchr(cmd, ' '))) - *(arg++) = '\0'; - if (!strcmp(cmd, "h")) - print_help(); - else if (!strcmp(cmd, "q")) - break; - else if (!strcmp(cmd, "ptb")) - print_tb(arg); - else if (!strcmp(cmd, "pdq0")) - print_quota_r0(arg); - else if (!strcmp(cmd, "pdq1")) - print_quota_r1(arg); - else if (!strcmp(cmd, "pi")) - print_info(); - else if (!strcmp(cmd, "ww")) - write_bytes(2, arg); - else if (!strcmp(cmd, "wl")) - write_bytes(4, arg); - else - puts("Unknown command. Type h for help."); - } -} - -int main(int argcnt, char **argstr) -{ - parse_options(argcnt, argstr); - if ((fd = open(argstr[argcnt - 1], mode)) < 0) - die(1, "Can't open given file: %s\n", strerror(errno)); - run(); - close(fd); - return 0; -} - diff --git a/quotaio.c b/quotaio.c index e857328..d3c7cb6 100644 --- a/quotaio.c +++ b/quotaio.c @@ -37,18 +37,16 @@ struct disk_dqheader { /* * Detect quota format and initialize quota IO */ -struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) +struct quota_handle *init_io(struct mount_entry *mnt, int type, int fmt, int flags) { char *qfname = NULL; int fd = -1, kernfmt; struct quota_handle *h = smalloc(sizeof(struct quota_handle)); - const char *mnt_fsname = NULL; + int nameflag; - if (!hasquota(mnt, type, 0)) + if (!me_hasquota(mnt, type)) goto out_handle; - if (!(mnt_fsname = get_device_name(mnt->mnt_fsname))) - goto out_handle; - if (stat(mnt_fsname, &h->qh_stat) < 0) + if (stat(mnt->me_devname, &h->qh_stat) < 0) memset(&h->qh_stat, 0, sizeof(struct stat)); h->qh_io_flags = 0; if (flags & IOI_READONLY) @@ -56,10 +54,10 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) if (flags & IOI_NFS_MIXED_PATHS) h->qh_io_flags |= IOFL_NFS_MIXED_PATHS; h->qh_type = type; - sstrncpy(h->qh_quotadev, mnt_fsname, sizeof(h->qh_quotadev)); - free((char *)mnt_fsname); - sstrncpy(h->qh_fstype, mnt->mnt_type, MAX_FSTYPE_LEN); - if (nfs_fstype(mnt->mnt_type)) { /* NFS filesystem? */ + sstrncpy(h->qh_quotadev, mnt->me_devname, sizeof(h->qh_quotadev)); + sstrncpy(h->qh_fstype, mnt->me_type, MAX_FSTYPE_LEN); + sstrncpy(h->qh_dir, mnt->me_dir, PATH_MAX); + if (nfs_fstype(mnt->me_type)) { /* NFS filesystem? */ if (fmt != -1 && fmt != QF_RPC) { /* User wanted some other format? */ errstr(_("Only RPC quota format is allowed on NFS filesystem.\n")); goto out_handle; @@ -68,6 +66,8 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) h->qh_fd = -1; h->qh_fmt = QF_RPC; h->qh_ops = "afile_ops_rpc; + memset(&h->qh_info, 0, sizeof(h->qh_info)); + h->qh_ops->init_io(h); return h; #else errstr(_("RPC quota format not compiled.\n")); @@ -78,7 +78,8 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) goto out_handle; } - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) { /* XFS filesystem? */ + if (!strcmp(mnt->me_type, MNTTYPE_XFS) || /* XFS filesystem? */ + !strcmp(mnt->me_type, MNTTYPE_GFS2)) { /* XFS filesystem? */ if (fmt != -1 && fmt != QF_XFS) { /* User wanted some other format? */ errstr(_("Only XFS quota format is allowed on XFS filesystem.\n")); goto out_handle; @@ -96,56 +97,54 @@ struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags) } if (kern_qfmt_supp(fmt)) { /* Quota compiled and desired format available? */ /* Quota turned on? */ - kernfmt = kern_quota_on(h->qh_quotadev, type, fmt); + kernfmt = kern_quota_on(mnt, type, fmt); if (kernfmt >= 0) { h->qh_io_flags |= IOFL_QUOTAON; fmt = kernfmt; /* Default is kernel used format */ } } - if (meta_qf_fstype(mnt->mnt_type)) { + if (meta_qf_fstype(mnt->me_type) || mnt->me_qfmt[type] == QF_META) { if (!QIO_ENABLED(h)) { errstr(_("Quota not supported by the filesystem.\n")); goto out_handle; } - if (flags & IOI_OPENFILE) { - errstr(_("Operation not supported for filesystems with hidden quota files!\n")); - goto out_handle; - } h->qh_fd = -1; h->qh_fmt = fmt; goto set_ops; } + nameflag = (!QIO_ENABLED(h) || flags & IOI_INITSCAN) ? NF_FORMAT : 0; if (fmt == -1) { /* Let's try any VFSv0 quota format... */ - if (get_qf_name(mnt, type, QF_VFSV0, - (!QIO_ENABLED(h) || flags & IOI_OPENFILE) ? NF_FORMAT : 0, - &qfname) >= 0) + if (get_qf_name(mnt, type, QF_VFSV0, nameflag, &qfname) >= 0) fmt = QF_VFSV0; /* And then VFSv1 quota format... */ - else if (get_qf_name(mnt, type, QF_VFSV1, - (!QIO_ENABLED(h) || flags & IOI_OPENFILE) ? NF_FORMAT : 0, - &qfname) >= 0) + else if (get_qf_name(mnt, type, QF_VFSV1, nameflag, &qfname) >= 0) fmt = QF_VFSV1; /* And then old quota format... */ - else if (get_qf_name(mnt, type, QF_VFSOLD, - (!QIO_ENABLED(h) || flags & IOI_OPENFILE) ? NF_FORMAT : 0, - &qfname) >= 0) + else if (get_qf_name(mnt, type, QF_VFSOLD, nameflag, &qfname) >= 0) fmt = QF_VFSOLD; else { /* Don't know... */ errstr(_("Cannot find any quota file to work on.\n")); goto out_handle; } } else { - if (get_qf_name(mnt, type, fmt, - (!QIO_ENABLED(h) || flags & IOI_OPENFILE) ? NF_FORMAT : 0, - &qfname) < 0) { + if (get_qf_name(mnt, type, fmt, nameflag, &qfname) < 0) { errstr(_("Quota file not found or has wrong format.\n")); goto out_handle; } } - if (!QIO_ENABLED(h) || flags & IOI_OPENFILE) { /* Need to open file? */ + if (!QIO_ENABLED(h) || flags & IOI_INITSCAN) { /* Need to open file? */ + if (QIO_ENABLED(h)) { /* Kernel uses same file? */ + unsigned int cmd = + (kernel_iface == IFACE_GENERIC) ? Q_SYNC : Q_6_5_SYNC; + if (quotactl(QCMD(cmd, h->qh_type), h->qh_quotadev, + 0, NULL) < 0) { + die(4, _("Cannot sync quotas on device %s: %s\n"), + h->qh_quotadev, strerror(errno)); + } + } /* We still need to open file for operations like 'repquota' */ if ((fd = open(qfname, QIO_RO(h) ? O_RDONLY : O_RDWR)) < 0) { errstr(_("Cannot open quotafile %s: %s\n"), @@ -190,21 +189,30 @@ out_handle: /* * Create new quotafile of specified format on given filesystem */ -struct quota_handle *new_io(struct mntent *mnt, int type, int fmt) +struct quota_handle *new_io(struct mount_entry *mnt, int type, int fmt) { char *qfname; int fd; struct quota_handle *h; - const char *mnt_fsname; char namebuf[PATH_MAX]; if (fmt == -1) fmt = QF_VFSV0; - else if (fmt == QF_RPC || fmt == QF_XFS || meta_qf_fstype(mnt->mnt_type)) { + else if (fmt == QF_RPC || fmt == QF_XFS) { errstr(_("Creation of %s quota format is not supported.\n"), fmt2name(fmt)); return NULL; } + /* + * For filesystems which never have quotas in quota files or for + * filesystems which have quotas already stored in system files we + * refuse to create anything. + */ + if (meta_qf_fstype(mnt->me_type) || mnt->me_qfmt[type] == QF_META) { + errstr(_("Quota on %s is stored in system files and must" + " be manipulated by fs tools.\n"), mnt->me_dir); + return NULL; + } if (get_qf_name(mnt, type, fmt, 0, &qfname) < 0) return NULL; sstrncpy(namebuf, qfname, PATH_MAX); @@ -215,14 +223,13 @@ struct quota_handle *new_io(struct mntent *mnt, int type, int fmt) namebuf, strerror(errno)); return NULL; } - if (!(mnt_fsname = get_device_name(mnt->mnt_fsname))) - goto out_fd; h = smalloc(sizeof(struct quota_handle)); h->qh_fd = fd; h->qh_io_flags = 0; - sstrncpy(h->qh_quotadev, mnt_fsname, sizeof(h->qh_quotadev)); - free((char *)mnt_fsname); + sstrncpy(h->qh_quotadev, mnt->me_devname, sizeof(h->qh_quotadev)); + sstrncpy(h->qh_fstype, mnt->me_type, MAX_FSTYPE_LEN); + sstrncpy(h->qh_dir, mnt->me_dir, PATH_MAX); h->qh_type = type; h->qh_fmt = fmt; memset(&h->qh_info, 0, sizeof(h->qh_info)); @@ -274,3 +281,27 @@ struct dquot *get_empty_dquot(void) dquot->dq_id = -1; return dquot; } + +/* + * Check whether values in current dquot can be stored on disk + */ +int check_dquot_range(struct dquot *dquot) +{ + struct util_dqinfo *info = &dquot->dq_h->qh_info; + + if (dquot->dq_dqb.dqb_bhardlimit > info->dqi_max_b_limit || + dquot->dq_dqb.dqb_bsoftlimit > info->dqi_max_b_limit || + dquot->dq_dqb.dqb_ihardlimit > info->dqi_max_i_limit || + dquot->dq_dqb.dqb_isoftlimit > info->dqi_max_i_limit) { + errstr(_("Trying to set quota limits out of range " + "supported by quota format on %s.\n"), dquot->dq_h->qh_quotadev); + return -1; + } + if (dquot->dq_dqb.dqb_curinodes > info->dqi_max_i_usage || + dquot->dq_dqb.dqb_curspace > info->dqi_max_b_usage) { + errstr(_("Trying to set quota usage out of range " + "supported by quota format on %s.\n"), dquot->dq_h->qh_quotadev); + return -1; + } + return 0; +} diff --git a/quotaio.h b/quotaio.h index 2ee734a..2c373b2 100644 --- a/quotaio.h +++ b/quotaio.h @@ -10,6 +10,7 @@ #include #include #include +#include #include "quota.h" #include "mntopt.h" @@ -39,6 +40,7 @@ #define QF_RPC 3 /* RPC should be used on given filesystem */ #define QF_XFS 4 /* XFS quota format */ #define QF_META 5 /* Quota files are hidden, we don't care about the format */ +#define QF_VFSUNKNOWN 6 /* Some VFS quotas, we didn't detect particular format yet */ static inline int is_tree_qfmt(int fmt) { @@ -69,6 +71,10 @@ struct quotafile_ops; struct util_dqinfo { time_t dqi_bgrace; /* Block grace time for given quotafile */ time_t dqi_igrace; /* Inode grace time for given quotafile */ + uint64_t dqi_max_b_limit; /* Maximal block limit storable in current format */ + uint64_t dqi_max_i_limit; /* Maximal inode limit storable in current format */ + uint64_t dqi_max_b_usage; /* Maximal block usage storable in current format */ + uint64_t dqi_max_i_usage; /* Maximal inode usage storable in current format */ union { struct v2_mem_dqinfo v2_mdqi; struct xfs_mem_dqinfo xfs_mdqi; @@ -80,6 +86,7 @@ struct quota_handle { int qh_fd; /* Handle of file (-1 when IOFL_QUOTAON) */ int qh_io_flags; /* IO flags for file */ char qh_quotadev[PATH_MAX]; /* Device file is for */ + char qh_dir[PATH_MAX]; /* Directory filesystem is mounted at */ char qh_fstype[MAX_FSTYPE_LEN]; /* Type of the filesystem on qh_quotadev */ int qh_type; /* Type of quotafile */ int qh_fmt; /* Quotafile format */ @@ -158,11 +165,13 @@ static inline void mark_quotafile_info_dirty(struct quota_handle *h) #define QIO_ENABLED(h) ((h)->qh_io_flags & IOFL_QUOTAON) #define QIO_RO(h) ((h)->qh_io_flags & IOFL_RO) +struct mount_entry; + /* Check quota format used on specified medium and initialize it */ -struct quota_handle *init_io(struct mntent *mnt, int type, int fmt, int flags); +struct quota_handle *init_io(struct mount_entry *mnt, int type, int fmt, int flags); /* Create new quotafile of specified format on given filesystem */ -struct quota_handle *new_io(struct mntent *mnt, int type, int fmt); +struct quota_handle *new_io(struct mount_entry *mnt, int type, int fmt); /* Close quotafile */ int end_io(struct quota_handle *h); @@ -170,4 +179,7 @@ int end_io(struct quota_handle *h); /* Get empty quota structure */ struct dquot *get_empty_dquot(void); +/* Check whether values in current dquot can be stored on disk */ +int check_dquot_range(struct dquot *dquot); + #endif /* GUARD_QUOTAIO_H */ diff --git a/quotaio_generic.c b/quotaio_generic.c index e5df683..5001a56 100644 --- a/quotaio_generic.c +++ b/quotaio_generic.c @@ -8,6 +8,9 @@ #include #include +#include +#include +#include #include #include "pot.h" @@ -98,3 +101,63 @@ int vfs_set_dquot(struct dquot *dquot, int flags) } return 0; } + +static int scan_one_dquot(struct dquot *dquot, int (*get_dquot)(struct dquot *)) +{ + int ret; + struct util_dqblk *dqb = &dquot->dq_dqb; + + memset(dqb, 0, sizeof(struct util_dqblk)); + ret = get_dquot(dquot); + if (ret < 0) + return ret; + if (!dqb->dqb_bhardlimit && !dqb->dqb_bsoftlimit && !dqb->dqb_ihardlimit && !dqb->dqb_isoftlimit && !dqb->dqb_curinodes && !dqb->dqb_curspace) + return 1; + return 0; +} + +/* Generic quota scanning using passwd... */ +int generic_scan_dquots(struct quota_handle *h, + int (*process_dquot)(struct dquot *dquot, char *dqname), + int (*get_dquot)(struct dquot *dquot)) +{ + struct dquot *dquot = get_empty_dquot(); + int ret = 0; + + dquot->dq_h = h; + if (h->qh_type == USRQUOTA) { + struct passwd *usr; + + setpwent(); + while ((usr = getpwent()) != NULL) { + dquot->dq_id = usr->pw_uid; + ret = scan_one_dquot(dquot, get_dquot); + if (ret < 0) + break; + if (ret > 0) + continue; + ret = process_dquot(dquot, usr->pw_name); + if (ret < 0) + break; + } + endpwent(); + } else if (h->qh_type == GRPQUOTA) { + struct group *grp; + + setgrent(); + while ((grp = getgrent()) != NULL) { + dquot->dq_id = grp->gr_gid; + ret = scan_one_dquot(dquot, get_dquot); + if (ret < 0) + break; + if (ret > 0) + continue; + ret = process_dquot(dquot, grp->gr_name); + if (ret < 0) + break; + } + endgrent(); + } + free(dquot); + return ret; +} diff --git a/quotaio_generic.h b/quotaio_generic.h index 422fb52..5edc11c 100644 --- a/quotaio_generic.h +++ b/quotaio_generic.h @@ -21,4 +21,10 @@ int vfs_get_dquot(struct dquot *dquot); /* Set dquot in kernel */ int vfs_set_dquot(struct dquot *dquot, int flags); +/* Generic routine for scanning dquots when quota format does not have + * better way */ +int generic_scan_dquots(struct quota_handle *h, + int (*process_dquot)(struct dquot *dquot, char *dqname), + int (*get_dquot)(struct dquot *dquot)); + #endif diff --git a/quotaio_meta.c b/quotaio_meta.c index f1f714f..e52b4f4 100644 --- a/quotaio_meta.c +++ b/quotaio_meta.c @@ -53,9 +53,15 @@ static int meta_commit_dquot(struct dquot *dquot, int flags) return vfs_set_dquot(dquot, flags); } +static int meta_scan_dquots(struct quota_handle *h, int (*process_dquot)(struct dquot *dquot, char *dqname)) +{ + return generic_scan_dquots(h, process_dquot, vfs_get_dquot); +} + struct quotafile_ops quotafile_ops_meta = { init_io: meta_init_io, write_info: meta_write_info, read_dquot: meta_read_dquot, commit_dquot: meta_commit_dquot, +scan_dquots: meta_scan_dquots, }; diff --git a/quotaio_rpc.c b/quotaio_rpc.c index 14fe410..6f25144 100644 --- a/quotaio_rpc.c +++ b/quotaio_rpc.c @@ -15,15 +15,33 @@ #include "rquota_client.h" #include "pot.h" +static int rpc_init_io(struct quota_handle *h); static struct dquot *rpc_read_dquot(struct quota_handle *h, qid_t id); static int rpc_commit_dquot(struct dquot *dquot, int flags); struct quotafile_ops quotafile_ops_rpc = { +init_io: rpc_init_io, read_dquot: rpc_read_dquot, commit_dquot: rpc_commit_dquot }; /* + * Define maximal values RPC client can transmit to server. + */ +static int rpc_init_io(struct quota_handle *h) +{ +#ifdef RPC + h->qh_info.dqi_max_b_limit = ~(uint32_t)0; + h->qh_info.dqi_max_i_limit = ~(uint32_t)0; + h->qh_info.dqi_max_b_usage = (~(uint32_t)0) << QUOTABLOCK_BITS; + h->qh_info.dqi_max_i_usage = ~(uint32_t)0; + return 0; +#else + return -1; +#endif +} + +/* * Read a dqblk struct from RPC server - just wrapper function. */ static struct dquot *rpc_read_dquot(struct quota_handle *h, qid_t id) diff --git a/quotaio_tree.c b/quotaio_tree.c index cdc0e8f..9f87889 100644 --- a/quotaio_tree.c +++ b/quotaio_tree.c @@ -272,6 +272,7 @@ void qtree_write_dquot(struct dquot *dquot) lseek(dquot->dq_h->qh_fd, dquot->dq_dqb.u.v2_mdqb.dqb_off, SEEK_SET); info->dqi_ops->mem2disk_dqblk(ddquot, dquot); ret = write(dquot->dq_h->qh_fd, ddquot, info->dqi_entry_size); + free(ddquot); if (ret != info->dqi_entry_size) { if (ret > 0) errno = ENOSPC; @@ -421,11 +422,13 @@ struct dquot *qtree_read_dquot(struct quota_handle *h, qid_t id) if (ret != info->dqi_entry_size) { if (ret > 0) errno = EIO; + free(ddquot); die(2, _("Cannot read quota structure for id %u: %s\n"), dquot->dq_id, strerror(errno)); } info->dqi_ops->disk2mem_dqblk(dquot, ddquot); } + free(ddquot); return dquot; } diff --git a/quotaio_v1.c b/quotaio_v1.c index 0edbc16..61bd93e 100644 --- a/quotaio_v1.c +++ b/quotaio_v1.c @@ -174,6 +174,10 @@ static int v1_init_io(struct quota_handle *h) h->qh_info.dqi_bgrace = MAX_DQ_TIME; if (!h->qh_info.dqi_igrace) h->qh_info.dqi_igrace = MAX_IQ_TIME; + h->qh_info.dqi_max_b_limit = ~(uint32_t)0; + h->qh_info.dqi_max_i_limit = ~(uint32_t)0; + h->qh_info.dqi_max_b_usage = ((uint64_t)(~(uint32_t)0)) << V1_DQBLK_SIZE_BITS; + h->qh_info.dqi_max_i_usage = ~(uint32_t)0; return 0; } @@ -191,6 +195,10 @@ static int v1_new_io(struct quota_handle *h) ddqblk.dqb_itime = MAX_IQ_TIME; h->qh_info.dqi_bgrace = MAX_DQ_TIME; h->qh_info.dqi_igrace = MAX_IQ_TIME; + h->qh_info.dqi_max_b_limit = ~(uint32_t)0; + h->qh_info.dqi_max_i_limit = ~(uint32_t)0; + h->qh_info.dqi_max_b_usage = ((uint64_t)(~(uint32_t)0)) << V1_DQBLK_SIZE_BITS; + h->qh_info.dqi_max_i_usage = ~(uint32_t)0; lseek(h->qh_fd, 0, SEEK_SET); if (write(h->qh_fd, &ddqblk, sizeof(ddqblk)) != sizeof(ddqblk)) return -1; @@ -327,6 +335,10 @@ static int v1_commit_dquot(struct dquot *dquot, int flags) } } else { + if (check_dquot_range(dquot) < 0) { + errno = ERANGE; + return -1; + } v1_mem2diskdqblk(&ddqblk, &dquot->dq_dqb); lseek(h->qh_fd, (long)V1_DQOFF(dquot->dq_id), SEEK_SET); if (write(h->qh_fd, &ddqblk, sizeof(ddqblk)) != sizeof(ddqblk)) @@ -348,11 +360,6 @@ static int v1_scan_dquots(struct quota_handle *h, int (*process_dquot) (struct d struct dquot *dquot = get_empty_dquot(); qid_t id = 0; - if (QIO_ENABLED(h)) /* Kernel uses same file? */ - if (quotactl(QCMD((kernel_iface == IFACE_GENERIC) ? Q_SYNC : Q_6_5_SYNC, h->qh_type), - h->qh_quotadev, 0, NULL) < 0) - die(4, _("Cannot sync quotas on device %s: %s\n"), h->qh_quotadev, - strerror(errno)); memset(dquot, 0, sizeof(*dquot)); dquot->dq_h = h; lseek(h->qh_fd, 0, SEEK_SET); diff --git a/quotaio_v2.c b/quotaio_v2.c index 2e3c725..06be04e 100644 --- a/quotaio_v2.c +++ b/quotaio_v2.c @@ -144,6 +144,7 @@ static void v2r1_mem2diskdqblk(void *dp, struct dquot *dquot) d->dqb_itime = __cpu_to_le64(m->dqb_itime); d->dqb_btime = __cpu_to_le64(m->dqb_btime); d->dqb_id = __cpu_to_le32(dquot->dq_id); + d->dqb_pad = 0; /* Initialize because of qtree_entry_unused() scan */ if (qtree_entry_unused(&dquot->dq_h->qh_info.u.v2_mdqi.dqi_qtree, dp)) d->dqb_itime = __cpu_to_le64(1); } @@ -307,9 +308,17 @@ static int v2_init_io(struct quota_handle *h) if (__le32_to_cpu(header.dqh_version) == 0) { h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size = sizeof(struct v2r0_disk_dqblk); h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r0_fmt_ops; + h->qh_info.dqi_max_b_limit = ~(uint32_t)0; + h->qh_info.dqi_max_i_limit = ~(uint32_t)0; + h->qh_info.dqi_max_b_usage = ~(uint64_t)0; + h->qh_info.dqi_max_i_usage = ~(uint32_t)0; } else { h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size = sizeof(struct v2r1_disk_dqblk); h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r1_fmt_ops; + h->qh_info.dqi_max_b_limit = ~(uint64_t)0; + h->qh_info.dqi_max_i_limit = ~(uint64_t)0; + h->qh_info.dqi_max_b_usage = ~(uint64_t)0; + h->qh_info.dqi_max_i_usage = ~(uint64_t)0; } } else { /* We don't have the file open -> we don't need quota tree operations */ @@ -351,9 +360,17 @@ static int v2_new_io(struct quota_handle *h) if (version == 0) { h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size = sizeof(struct v2r0_disk_dqblk); h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r0_fmt_ops; + h->qh_info.dqi_max_b_limit = ~(uint32_t)0; + h->qh_info.dqi_max_i_limit = ~(uint32_t)0; + h->qh_info.dqi_max_b_usage = ~(uint64_t)0; + h->qh_info.dqi_max_i_usage = ~(uint32_t)0; } else if (version == 1) { h->qh_info.u.v2_mdqi.dqi_qtree.dqi_entry_size = sizeof(struct v2r1_disk_dqblk); h->qh_info.u.v2_mdqi.dqi_qtree.dqi_ops = &v2r1_fmt_ops; + h->qh_info.dqi_max_b_limit = ~(uint64_t)0; + h->qh_info.dqi_max_i_limit = ~(uint64_t)0; + h->qh_info.dqi_max_b_usage = ~(uint64_t)0; + h->qh_info.dqi_max_i_usage = ~(uint64_t)0; } v2_mem2diskdqinfo(&ddqinfo, &h->qh_info); lseek(h->qh_fd, V2_DQINFOOFF, SEEK_SET); @@ -477,18 +494,18 @@ static int v2_commit_dquot(struct dquot *dquot, int flags) if (!b->dqb_curspace && !b->dqb_curinodes && !b->dqb_bsoftlimit && !b->dqb_isoftlimit && !b->dqb_bhardlimit && !b->dqb_ihardlimit) qtree_delete_dquot(dquot); - else + else { + if (check_dquot_range(dquot) < 0) { + errno = ERANGE; + return -1; + } qtree_write_dquot(dquot); + } return 0; } static int v2_scan_dquots(struct quota_handle *h, int (*process_dquot) (struct dquot *, char *)) { - if (QIO_ENABLED(h)) /* Kernel uses same file? */ - if (quotactl(QCMD((kernel_iface == IFACE_GENERIC) ? Q_SYNC : Q_6_5_SYNC, h->qh_type), - h->qh_quotadev, 0, NULL) < 0) - die(4, _("Cannot sync quotas on device %s: %s\n"), h->qh_quotadev, - strerror(errno)); return qtree_scan_dquots(h, process_dquot); } diff --git a/quotaio_xfs.c b/quotaio_xfs.c index 4729317..903c03e 100644 --- a/quotaio_xfs.c +++ b/quotaio_xfs.c @@ -10,8 +10,6 @@ #include #include #include -#include -#include #include "pot.h" #include "common.h" @@ -19,6 +17,7 @@ #include "quotaio.h" #include "quotasys.h" #include "dqblk_xfs.h" +#include "quotaio_generic.h" #define XFS_USRQUOTA(h) ((h)->qh_type == USRQUOTA && \ (h)->qh_info.u.xfs_mdqi.qs_flags & XFS_QUOTA_UDQ_ACCT) @@ -151,7 +150,17 @@ static int xfs_commit_dquot(struct dquot *dquot, int flags) return 0; xfs_util2kerndqblk(&xdqblk, &dquot->dq_dqb); - xdqblk.d_fieldmask |= FS_DQ_LIMIT_MASK; + xdqblk.d_flags |= XFS_USRQUOTA(h) ? XFS_USER_QUOTA : XFS_GROUP_QUOTA; + xdqblk.d_id = id; + if (strcmp(h->qh_fstype, MNTTYPE_GFS2) == 0) { + if (flags & COMMIT_LIMITS) /* warn/limit */ + xdqblk.d_fieldmask |= FS_DQ_BSOFT | FS_DQ_BHARD; + if (flags & COMMIT_USAGE) /* block usage */ + xdqblk.d_fieldmask |= FS_DQ_BCOUNT; + } else { + xdqblk.d_fieldmask |= FS_DQ_LIMIT_MASK; + } + qcmd = QCMD(Q_XFS_SETQLIM, h->qh_type); if (quotactl(qcmd, h->qh_quotadev, id, (void *)&xdqblk) < 0) { ; @@ -165,24 +174,21 @@ static int xfs_commit_dquot(struct dquot *dquot, int flags) /* * xfs_scan_dquots helper - processes a single dquot */ -static int xfs_scan_dquot(struct quota_handle *h, - struct xfs_kern_dqblk *d, - char *name, struct dquot *dq, - int (*process_dquot) (struct dquot *dquot, char *dqname)) +static int xfs_get_dquot(struct dquot *dq) { - int qcmd = QCMD(Q_XFS_GETQUOTA, h->qh_type); - - memset(d, 0, sizeof(struct xfs_kern_dqblk)); - - if (quotactl(qcmd, h->qh_quotadev, dq->dq_id, (void *)d) < 0) { - return 0; + struct xfs_kern_dqblk d; + int qcmd = QCMD(Q_XFS_GETQUOTA, dq->dq_h->qh_type); + int ret; + + memset(&d, 0, sizeof(d)); + ret = quotactl(qcmd, dq->dq_h->qh_quotadev, dq->dq_id, (void *)&d); + if (ret < 0) { + if (errno == ENOENT) + return 0; + return -1; } - if (d->d_blk_hardlimit == 0 && - d->d_blk_softlimit == 0 && - d->d_ino_hardlimit == 0 && - d->d_ino_softlimit == 0 && d->d_bcount == 0 && d->d_icount == 0) return 0; - xfs_kern2utildqblk(&dq->dq_dqb, d); - return process_dquot(dq, name); + xfs_kern2utildqblk(&dq->dq_dqb, &d); + return 0; } /* @@ -190,42 +196,10 @@ static int xfs_scan_dquot(struct quota_handle *h, */ static int xfs_scan_dquots(struct quota_handle *h, int (*process_dquot) (struct dquot *dquot, char *dqname)) { - struct dquot *dq; - struct xfs_kern_dqblk d; - int rd = 0; - if (!XFS_USRQUOTA(h) && !XFS_GRPQUOTA(h)) - return rd; - - dq = get_empty_dquot(); - dq->dq_h = h; - if (h->qh_type == USRQUOTA) { - struct passwd *usr; - - setpwent(); - while ((usr = getpwent()) != NULL) { - dq->dq_id = usr->pw_uid; - rd = xfs_scan_dquot(h, &d, usr->pw_name, dq, process_dquot); - if (rd < 0) - break; - } - endpwent(); - } - else { /* GRPQUOTA */ - struct group *grp; - - setgrent(); - while ((grp = getgrent()) != NULL) { - dq->dq_id = grp->gr_gid; - rd = xfs_scan_dquot(h, &d, grp->gr_name, dq, process_dquot); - if (rd < 0) - break; - } - endgrent(); - } + return 0; - free(dq); - return rd; + return generic_scan_dquots(h, process_dquot, xfs_get_dquot); } /* diff --git a/quotaio_xfs.h b/quotaio_xfs.h index cf89973..54725b0 100644 --- a/quotaio_xfs.h +++ b/quotaio_xfs.h @@ -105,6 +105,15 @@ typedef struct fs_disk_quota { #define FS_DQ_TIMER_MASK (FS_DQ_BTIMER | FS_DQ_ITIMER | FS_DQ_RTBTIMER) /* + * Accounting values. These can only be set for filesystem with + * non-transactional quotas that require quotacheck(8) in userspace. + */ +#define FS_DQ_BCOUNT (1<<12) +#define FS_DQ_ICOUNT (1<<13) +#define FS_DQ_RTBCOUNT (1<<14) +#define FS_DQ_ACCT_MASK (FS_DQ_BCOUNT | FS_DQ_ICOUNT | FS_DQ_RTBCOUNT) + +/* * Various flags related to quotactl(2). Only relevant to XFS filesystems. */ #define XFS_QUOTA_UDQ_ACCT (1<<0) /* user quota accounting */ diff --git a/quotaon.8 b/quotaon.8 index 91756a9..37d1be4 100644 --- a/quotaon.8 +++ b/quotaon.8 @@ -112,6 +112,11 @@ Manipulate group quotas. .B -p, --print-state Instead of turning quotas on just print state of quotas (ie. whether. quota is on or off) .TP +.B -x, --xfs-command enforce +Switch on limit enforcement for XFS filesystems. This is the default action for +any XFS filesystem. This option is only applicable to XFS, and is silently +ignored for other filesystem types. +.TP .B -f, --off Make .B quotaon @@ -154,9 +159,15 @@ ignored for other filesystem types. It can only be used on a filesystem with quota previously turned off. .TP .B -x, --xfs-command enforce -Switch on/off limit enforcement for XFS filesystems (perform -quota accounting only). -This option is only applicable to XFS, and is silently +Switch off limit enforcement for XFS filesystems (perform quota accounting +only). This is the default action for any XFS filesystem. This option is only +applicable to XFS, and is silently ignored for other filesystem types. +.TP +.B -x, --xfs-command account +This option can be used to disable quota accounting. It is not possible to +enable quota accounting by quota tools. Use +.IR mount (8) +for that. This option is only applicable to XFS filesystems, and is silently ignored for other filesystem types. .SH "NOTES ON XFS FILESYSTEMS" To enable quotas on an XFS filesystem, use diff --git a/quotaon.c b/quotaon.c index 813c021..507d0bb 100644 --- a/quotaon.c +++ b/quotaon.c @@ -42,6 +42,7 @@ #include #include #include +#include #include "quotaon.h" #include "quota.h" @@ -54,17 +55,17 @@ #define FL_STAT 16 #define FL_OFF 32 -int flags, fmt = -1; +static int flags, fmt = -1; char *progname; -char **mntpoints; -int mntcnt; -char *xarg = NULL; +static char **mntpoints; +static int mntcnt; +static char *xarg = NULL; static void usage(void) { errstr(_("Usage:\n\t%s [-guvp] [-F quotaformat] [-x state] -a\n\ \t%s [-guvp] [-F quotaformat] [-x state] filesys ...\n\n\ --a, --all turn quotas on for all filesystems\n\ +-a, --all %s\n\ -f, --off turn quotas off\n\ -u, --user operate on user quotas\n\ -g, --group operate on group quotas\n\ @@ -73,7 +74,10 @@ static void usage(void) -F, --format=formatname operate on specific quota format\n\ -v, --verbose print more messages\n\ -h, --help display this help text and exit\n\ --V, --version display version information and exit\n"), progname, progname); +-V, --version display version information and exit\n"), + progname, progname, + strcmp(progname, "quotaon") ? _("turn quotas off for all filesystems") : + _("turn quotas on for all filesystems")); exit(1); } @@ -145,6 +149,19 @@ static void parse_options(int argcnt, char **argstr) } } +int pinfo(char *fmt, ...) +{ + va_list arg; + int ret; + + if (!(flags & FL_VERBOSE)) + return 0; + va_start(arg, fmt); + ret = vprintf(fmt, arg); + va_end(arg); + return ret; +} + /* * Enable/disable rsquash on given filesystem */ @@ -171,10 +188,10 @@ static int quotarsquashonoff(const char *quotadev, int type, int flags) errstr(_("set root_squash on %s: %s\n"), quotadev, strerror(errno)); return 1; } - if ((flags & STATEFLAG_VERBOSE) && (flags & STATEFLAG_OFF)) - printf(_("%s: %s root_squash turned off\n"), quotadev, type2name(type)); - else if ((flags & STATEFLAG_VERBOSE) && (flags & STATEFLAG_ON)) - printf(_("%s: %s root_squash turned on\n"), quotadev, type2name(type)); + if (flags & STATEFLAG_OFF) + pinfo(_("%s: %s root_squash turned off\n"), quotadev, type2name(type)); + else if (flags & STATEFLAG_ON) + pinfo(_("%s: %s root_squash turned on\n"), quotadev, type2name(type)); #endif return 0; } @@ -182,7 +199,7 @@ static int quotarsquashonoff(const char *quotadev, int type, int flags) /* * Enable/disable VFS quota on given filesystem */ -static int quotaonoff(char *quotadev, char *quotadir, char *quotafile, int type, int fmt, int flags) +static int quotaonoff(const char *quotadev, const char *quotadir, char *quotafile, int type, int fmt, int flags) { int qcmd, kqf; @@ -195,8 +212,7 @@ static int quotaonoff(char *quotadev, char *quotadir, char *quotafile, int type, errstr(_("quotactl on %s [%s]: %s\n"), quotadev, quotadir, strerror(errno)); return 1; } - if (flags & STATEFLAG_VERBOSE) - printf(_("%s [%s]: %s quotas turned off\n"), quotadev, quotadir, type2name(type)); + pinfo(_("%s [%s]: %s quotas turned off\n"), quotadev, quotadir, _(type2name(type))); return 0; } if (kernel_iface == IFACE_GENERIC) { @@ -218,81 +234,63 @@ static int quotaonoff(char *quotadev, char *quotadir, char *quotafile, int type, errstr(_("Quota format not supported in kernel.\n")); return 1; } - if (flags & STATEFLAG_VERBOSE) - printf(_("%s [%s]: %s quotas turned on\n"), quotadev, quotadir, type2name(type)); + pinfo(_("%s [%s]: %s quotas turned on\n"), quotadev, quotadir, _(type2name(type))); return 0; } /* * Enable/disable quota/rootsquash on given filesystem (version 1) */ -static int v1_newstate(struct mntent *mnt, int type, char *file, int flags, int fmt) +static int v1_newstate(struct mount_entry *mnt, int type, char *file, int flags, int fmt) { int errs = 0; - const char *dev = get_device_name(mnt->mnt_fsname); - if (!dev) - return 1; - if ((flags & STATEFLAG_OFF) && hasmntopt(mnt, MNTOPT_RSQUASH)) - errs += quotarsquashonoff(dev, type, flags); - if (hasquota(mnt, type, 0)) - errs += quotaonoff((char *)dev, mnt->mnt_dir, file, type, QF_VFSOLD, flags); - if ((flags & STATEFLAG_ON) && hasmntopt(mnt, MNTOPT_RSQUASH)) - errs += quotarsquashonoff(dev, type, flags); - free((char *)dev); + if ((flags & STATEFLAG_OFF) && str_hasmntopt(mnt->me_opts, MNTOPT_RSQUASH)) + errs += quotarsquashonoff(mnt->me_devname, type, flags); + errs += quotaonoff(mnt->me_devname, mnt->me_dir, file, type, QF_VFSOLD, flags); + if ((flags & STATEFLAG_ON) && str_hasmntopt(mnt->me_opts, MNTOPT_RSQUASH)) + errs += quotarsquashonoff(mnt->me_devname, type, flags); return errs; } /* * Enable/disable quota on given filesystem (generic VFS quota) */ -static int v2_newstate(struct mntent *mnt, int type, char *file, int flags, int fmt) +static int v2_newstate(struct mount_entry *mnt, int type, char *file, int flags, int fmt) { - const char *dev = get_device_name(mnt->mnt_fsname); - int errs = 0; - - if (!dev) - return 1; - if (hasquota(mnt, type, 0)) - errs = quotaonoff((char *)dev, mnt->mnt_dir, file, type, fmt, flags); - free((char *)dev); - return errs; + return quotaonoff(mnt->me_devname, mnt->me_dir, file, type, fmt, flags); } /* * For both VFS quota formats, need to pass in the quota file; * for XFS quota manager, pass on the -x command line option. */ -static int newstate(struct mntent *mnt, int type, char *extra) +static int newstate(struct mount_entry *mnt, int type, char *extra) { int sflags, ret = 0; sflags = flags & FL_OFF ? STATEFLAG_OFF : STATEFLAG_ON; - if (flags & FL_VERBOSE) - sflags |= STATEFLAG_VERBOSE; if (flags & FL_ALL) sflags |= STATEFLAG_ALL; - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) { /* XFS filesystem has special handling... */ + if (!strcmp(mnt->me_type, MNTTYPE_GFS2)) { + errstr(_("Cannot change state of GFS2 quota.\n")); + return 1; + } else if (!strcmp(mnt->me_type, MNTTYPE_XFS)) { /* XFS filesystem has special handling... */ if (!kern_qfmt_supp(QF_XFS)) { errstr(_("Cannot change state of XFS quota. It's not compiled in kernel.\n")); return 1; } - if ((flags & FL_OFF && (kern_quota_on(mnt->mnt_fsname, USRQUOTA, QF_XFS) != -1 - || kern_quota_on(mnt->mnt_fsname, GRPQUOTA, QF_XFS) != -1)) - || (!(flags & FL_OFF) && kern_quota_on(mnt->mnt_fsname, type, QF_XFS) == -1)) - ret = xfs_newstate(mnt, type, extra, sflags); + ret = xfs_newstate(mnt, type, extra, sflags); } - else if (meta_qf_fstype(mnt->mnt_type)) { - if (!hasquota(mnt, type, 0)) - return 0; + else if (mnt->me_qfmt[type] == QF_META) { /* Must be non-empty because empty path is always invalid. */ ret = v2_newstate(mnt, type, ".", sflags, QF_VFSV0); } else { int usefmt; - if (!hasquota(mnt, type, 0)) + if (!me_hasquota(mnt, type)) return 0; if (fmt == -1) { if (get_qf_name(mnt, type, QF_VFSV0, @@ -305,12 +303,12 @@ static int newstate(struct mntent *mnt, int type, char *extra) NF_FORMAT, &extra) >= 0) usefmt = QF_VFSOLD; else { - errstr(_("Cannot find quota file on %s [%s] to turn quotas on/off.\n"), mnt->mnt_dir, mnt->mnt_fsname); + errstr(_("Cannot find quota file on %s [%s] to turn quotas on/off.\n"), mnt->me_dir, mnt->me_devname); return 1; } } else { if (get_qf_name(mnt, type, fmt, NF_FORMAT, &extra) < 0) { - errstr(_("Quota file on %s [%s] does not exist or has wrong format.\n"), mnt->mnt_dir, mnt->mnt_fsname); + errstr(_("Quota file on %s [%s] does not exist or has wrong format.\n"), mnt->me_dir, mnt->me_devname); return 1; } usefmt = fmt; @@ -325,22 +323,23 @@ static int newstate(struct mntent *mnt, int type, char *extra) } /* Print state of quota (on/off) */ -static int print_state(struct mntent *mnt, int type) +static int print_state(struct mount_entry *mnt, int type) { int on = 0; - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) { + if (!strcmp(mnt->me_type, MNTTYPE_XFS) || + !strcmp(mnt->me_type, MNTTYPE_GFS2)) { if (kern_qfmt_supp(QF_XFS)) - on = kern_quota_on(mnt->mnt_fsname, type, QF_XFS) != -1; + on = kern_quota_on(mnt, type, QF_XFS) != -1; } else if (kernel_iface == IFACE_GENERIC) - on = kern_quota_on(mnt->mnt_fsname, type, -1) != -1; + on = kern_quota_on(mnt, type, -1) != -1; else if (kern_qfmt_supp(QF_VFSV0)) - on = kern_quota_on(mnt->mnt_fsname, type, QF_VFSV0) != -1; + on = kern_quota_on(mnt, type, QF_VFSV0) != -1; else if (kern_qfmt_supp(QF_VFSOLD)) - on = kern_quota_on(mnt->mnt_fsname, type, QF_VFSOLD) != -1; + on = kern_quota_on(mnt, type, QF_VFSOLD) != -1; - printf(_("%s quota on %s (%s) is %s\n"), type2name(type), mnt->mnt_dir, mnt->mnt_fsname, + printf(_("%s quota on %s (%s) is %s\n"), _(type2name(type)), mnt->me_dir, mnt->me_devname, on ? _("on") : _("off")); return on; @@ -348,7 +347,7 @@ static int print_state(struct mntent *mnt, int type) int main(int argc, char **argv) { - struct mntent *mnt; + struct mount_entry *mnt; int errs = 0; gettexton(); @@ -370,9 +369,9 @@ int main(int argc, char **argv) if (init_mounts_scan(mntcnt, mntpoints, MS_XFS_DISABLED | MS_LOCALONLY) < 0) return 1; while ((mnt = get_next_mount())) { - if (nfs_fstype(mnt->mnt_type)) { + if (nfs_fstype(mnt->me_type)) { if (!(flags & FL_ALL)) - fprintf(stderr, "%s: Quota cannot be turned on on NFS filesystem\n", mnt->mnt_fsname); + errstr(_("%s: Quota cannot be turned on on NFS filesystem\n"), mnt->me_devname); continue; } diff --git a/quotaon.h b/quotaon.h index 4e92f09..3e449ba 100644 --- a/quotaon.h +++ b/quotaon.h @@ -13,7 +13,7 @@ #define STATEFLAG_ON 0x01 #define STATEFLAG_OFF 0x02 #define STATEFLAG_ALL 0x04 -#define STATEFLAG_VERBOSE 0x08 -typedef int (newstate_t) (struct mntent * mnt, int type, char *file, int flags); -extern int xfs_newstate(struct mntent *mnt, int type, char *file, int flags); +typedef int (newstate_t) (struct mount_entry * mnt, int type, char *file, int flags); +extern int xfs_newstate(struct mount_entry *mnt, int type, char *file, int flags); +extern int pinfo(char *fmt, ...); diff --git a/quotaon_xfs.c b/quotaon_xfs.c index a2c9f5e..ed47221 100644 --- a/quotaon_xfs.c +++ b/quotaon_xfs.c @@ -22,7 +22,7 @@ * Ensure we don't attempt to go into a dodgey state. */ -static int xfs_state_check(int qcmd, int type, int flags, char *dev, int roothack, int xopts) +static int xfs_state_check(int qcmd, int type, int flags, const char *dev, int roothack, int xopts) { struct xfs_mem_dqinfo info; int state; @@ -59,12 +59,12 @@ static int xfs_state_check(int qcmd, int type, int flags, char *dev, int roothac return 1; case Q_XFS_QUOTAON: if (roothack) { - printf(_("Enabling %s quota on root filesystem" - " (reboot to take effect)\n"), type2name(type)); + pinfo(_("Enabling %s quota on root filesystem" + " (reboot to take effect)\n"), _(type2name(type))); return 1; } errstr(_("Enable XFS %s quota accounting during mount\n"), - type2name(type)); + _(type2name(type))); return -1; case Q_XFS_QUOTAOFF: return 0; /* noop */ @@ -75,29 +75,29 @@ static int xfs_state_check(int qcmd, int type, int flags, char *dev, int roothac case Q_XFS_QUOTARM: errstr(_("Cannot delete %s quota on %s - " "switch quota accounting off first\n"), - type2name(type), dev); + _(type2name(type)), dev); return -1; case Q_XFS_QUOTAON: if (roothack) { - printf(_("Enabling %s quota on root filesystem" - " (reboot to take effect)\n"), type2name(type)); + pinfo(_("Enabling %s quota on root filesystem" + " (reboot to take effect)\n"), _(type2name(type))); return 1; } if (xopts & XFS_QUOTA_UDQ_ENFD || xopts & XFS_QUOTA_GDQ_ENFD) { - printf(_("Enabling %s quota enforcement on %s\n"), type2name(type), dev); + pinfo(_("Enabling %s quota enforcement on %s\n"), _(type2name(type)), dev); return 1; } errstr(_("Already accounting %s quota on %s\n"), - type2name(type), dev); + _(type2name(type)), dev); return -1; case Q_XFS_QUOTAOFF: if (xopts & XFS_QUOTA_UDQ_ACCT || xopts & XFS_QUOTA_GDQ_ACCT) { - printf(_("Disabling %s quota accounting on %s\n"), - type2name(type), dev); + pinfo(_("Disabling %s quota accounting on %s\n"), + _(type2name(type)), dev); return 1; } errstr(_("Quota enforcement already disabled for %s on %s\n"), - type2name(type), dev); + _(type2name(type)), dev); return -1; } break; @@ -107,23 +107,23 @@ static int xfs_state_check(int qcmd, int type, int flags, char *dev, int roothac case Q_XFS_QUOTARM: errstr(_("Cannot delete %s quota on %s - " "switch quota enforcement and accounting off first\n"), - type2name(type), dev); + _(type2name(type)), dev); return -1; case Q_XFS_QUOTAON: errstr(_("Enforcing %s quota already on %s\n"), - type2name(type), dev); + _(type2name(type)), dev); return -1; case Q_XFS_QUOTAOFF: if (xopts == XFS_QUOTA_UDQ_ACCT || xopts == XFS_QUOTA_GDQ_ACCT) { errstr(_("Cannot switch off %s quota " "accounting on %s when enforcement is on\n"), - type2name(type), dev); + _(type2name(type)), dev); return -1; } if (xopts & XFS_QUOTA_UDQ_ACCT || xopts & XFS_QUOTA_GDQ_ACCT) - acctstr = _("and accounting "); - printf(_("Disabling %s quota enforcement %son %s\n"), - type2name(type), acctstr, dev); + acctstr = _("and accounting "); + pinfo(_("Disabling %s quota enforcement %son %s\n"), + _(type2name(type)), acctstr, dev); return 1; } break; @@ -132,7 +132,7 @@ static int xfs_state_check(int qcmd, int type, int flags, char *dev, int roothac return -1; } -static int xfs_onoff(char *dev, int type, int flags, int roothack, int xopts) +static int xfs_onoff(const char *dev, int type, int flags, int roothack, int xopts) { int qoff, qcmd, check; @@ -146,14 +146,14 @@ static int xfs_onoff(char *dev, int type, int flags, int roothack, int xopts) errstr(_("quotactl on %s: %s\n"), dev, strerror(errno)); return 1; } - if ((flags & STATEFLAG_VERBOSE) && qoff) - printf(_("%s: %s quotas turned off\n"), dev, type2name(type)); - else if ((flags & STATEFLAG_VERBOSE) && !qoff) - printf(_("%s: %s quotas turned on\n"), dev, type2name(type)); + if (qoff) + pinfo(_("%s: %s quotas turned off\n"), dev, _(type2name(type))); + else + pinfo(_("%s: %s quotas turned on\n"), dev, _(type2name(type))); return 0; } -static int xfs_delete(char *dev, int type, int flags, int roothack, int xopts) +static int xfs_delete(const char *dev, int type, int flags, int roothack, int xopts) { int qcmd, check; @@ -168,8 +168,7 @@ static int xfs_delete(char *dev, int type, int flags, int roothack, int xopts) return 1; } - if (flags & STATEFLAG_VERBOSE) - printf(_("%s: deleted %s quota blocks\n"), dev, type2name(type)); + pinfo(_("%s: deleted %s quota blocks\n"), dev, _(type2name(type))); return 0; } @@ -179,15 +178,11 @@ static int xfs_delete(char *dev, int type, int flags, int roothack, int xopts) * root filesystem. * We are passed in the new requested state through "type" & "xarg". */ -int xfs_newstate(struct mntent *mnt, int type, char *xarg, int flags) +int xfs_newstate(struct mount_entry *mnt, int type, char *xarg, int flags) { int err = 1; int xopts = 0; int roothack = 0; - const char *dev = get_device_name(mnt->mnt_fsname); - - if (!dev) - return err; #ifdef XFS_ROOTHACK /* @@ -195,11 +190,11 @@ int xfs_newstate(struct mntent *mnt, int type, char *xarg, int flags) * hack to allow enabling quota on the root filesystem without * having to specify it at mount time. */ - if ((strcmp(mnt->mnt_dir, "/") == 0)) { + if ((strcmp(mnt->me_dir, "/") == 0)) { struct xfs_mem_dqinfo info; u_int16_t sbflags = 0; - if (!quotactl(QCMD(Q_XFS_GETQSTAT, type), dev, 0, (void *)&info)) + if (!quotactl(QCMD(Q_XFS_GETQSTAT, type), mnt->me_devname, 0, (void *)&info)) sbflags = (info.qs_flags & 0xff00) >> 8; if ((type == USRQUOTA && (sbflags & XFS_QUOTA_UDQ_ACCT)) && @@ -208,30 +203,24 @@ int xfs_newstate(struct mntent *mnt, int type, char *xarg, int flags) } #endif /* XFS_ROOTHACK */ - if (xarg == NULL) { /* both acct & enfd on/off */ - xopts |= (type == USRQUOTA) ? - (XFS_QUOTA_UDQ_ACCT | XFS_QUOTA_UDQ_ENFD) : - (XFS_QUOTA_GDQ_ACCT | XFS_QUOTA_GDQ_ENFD); - err = xfs_onoff((char *)dev, type, flags, roothack, xopts); + if (xarg == NULL) { /* only enfd on/off */ + xopts |= (type == USRQUOTA) ? XFS_QUOTA_UDQ_ENFD : + XFS_QUOTA_GDQ_ENFD; + err = xfs_onoff(mnt->me_devname, type, flags, roothack, xopts); } else if (strcmp(xarg, "account") == 0) { - /* only useful if we want root accounting only */ - if (!roothack || !(flags & STATEFLAG_ON)) - goto done; xopts |= (type == USRQUOTA) ? XFS_QUOTA_UDQ_ACCT : XFS_QUOTA_GDQ_ACCT; - err = xfs_onoff((char *)dev, type, flags, roothack, xopts); + err = xfs_onoff(mnt->me_devname, type, flags, roothack, xopts); } else if (strcmp(xarg, "enforce") == 0) { xopts |= (type == USRQUOTA) ? XFS_QUOTA_UDQ_ENFD : XFS_QUOTA_GDQ_ENFD; - err = xfs_onoff((char *)dev, type, flags, roothack, xopts); + err = xfs_onoff(mnt->me_devname, type, flags, roothack, xopts); } else if (strcmp(xarg, "delete") == 0) { xopts |= (type == USRQUOTA) ? XFS_USER_QUOTA : XFS_GROUP_QUOTA; - err = xfs_delete((char *)dev, type, flags, roothack, xopts); + err = xfs_delete(mnt->me_devname, type, flags, roothack, xopts); } else die(1, _("Invalid argument \"%s\"\n"), xarg); - done: - free((char *)dev); return err; } diff --git a/quotaops.c b/quotaops.c index 4f230d0..1416015 100644 --- a/quotaops.c +++ b/quotaops.c @@ -91,11 +91,11 @@ struct dquot *getprivs(qid_t id, struct quota_handle **handles, int quiet) { struct dquot *q, *qtail = NULL, *qhead = NULL; int i; + char name[MAXNAMELEN]; #if defined(BSD_BEHAVIOUR) int j, ngroups; uid_t euid; gid_t gidset[NGROUPS], *gidsetp; - char name[MAXNAMELEN]; #endif for (i = 0; handles[i]; i++) { @@ -258,9 +258,8 @@ int writeprivs(struct dquot *qlist, int outfd, char *name, int quotatype) if (!(fd = fdopen(dup(outfd), "w"))) die(1, _("Cannot duplicate descriptor of file to write to: %s\n"), strerror(errno)); -#if defined(ALT_FORMAT) fprintf(fd, _("Disk quotas for %s %s (%cid %d):\n"), - type2name(quotatype), name, *type2name(quotatype), qlist->dq_id); + _(type2name(quotatype)), name, *type2name(quotatype), qlist->dq_id); fprintf(fd, _(" Filesystem blocks soft hard inodes soft hard\n")); @@ -274,18 +273,6 @@ int writeprivs(struct dquot *qlist, int outfd, char *name, int quotatype) (long long)q->dq_dqb.dqb_curinodes, (long long)q->dq_dqb.dqb_isoftlimit, (long long)q->dq_dqb.dqb_ihardlimit); } -#else - fprintf(fd, _("Quotas for %s %s:\n"), type2name(quotatype), name); - for (q = qlist; q; q = q->dq_next) { - fprintf(fd, _("%s %d, limits (soft = %d, hard = %d)\n"), - q->dq_h->qh_quotadev, _("blocks in use:"), - (int)toqb(q->dq_dqb.dqb_curspace), - q->dq_dqb.dqb_bsoftlimit, q->dq_dqb.dqb_bhardlimit); - fprintf(fd, _("%s %d, limits (soft = %d, hard = %d)\n"), - _("\tinodes in use:"), q->dq_dqb.dqb_curinodes, - q->dq_dqb.dqb_isoftlimit, q->dq_dqb.dqb_ihardlimit); - } -#endif fclose(fd); return 0; } @@ -325,18 +312,12 @@ int readprivs(struct dquot *qlist, int infd) int cnt; long long blocks, bsoft, bhard, inodes, isoft, ihard; struct dquot *q; - -#if defined(ALT_FORMAT) char fsp[BUFSIZ], line[BUFSIZ]; -#else - char *fsp, line1[BUFSIZ], line2[BUFSIZ]; -#endif lseek(infd, 0, SEEK_SET); if (!(fd = fdopen(dup(infd), "r"))) die(1, _("Cannot duplicate descriptor of temp file: %s\n"), strerror(errno)); -#if defined(ALT_FORMAT) /* * Discard title lines, then read lines to process. */ @@ -354,47 +335,6 @@ int readprivs(struct dquot *qlist, int infd) merge_limits_to_list(qlist, fsp, blocks, bsoft, bhard, inodes, isoft, ihard); } -#else - /* - * Discard title line, then read pairs of lines to process. - */ - fgets(line1, sizeof(line1), fd); - while (fgets(line1, sizeof(line1), fd) && fgets(line2, sizeof(line2), fd)) { - if (!(fsp = strtok(line1, " \t:"))) { - errstr(_("%s - bad format\n"), line1); - return -1; - } - if (!(cp = strtok(NULL, "\n"))) { - errstr(_("%s - %s -- bad format\n"), - fsp, &fsp[strlen(fsp) + 1]); - return -1; - } - - cnt = sscanf(cp, _(" blocks in use: %llu, limits (soft = %llu, hard = %llu)"), - &blocks, &bsoft, &bhard); - if (cnt != 3) { - errstr(_("%s - %s -- bad format\n"), - fsp, cp); - return -1; - } - - if (!(cp = strtok(line2, "\n"))) { - errstr(_("%s - %s -- bad format\n"), - fsp, line2); - return -1; - } - - cnt = sscanf(cp, _("\tinodes in use: %llu, limits (soft = %llu, hard = %llu)"), - &inodes, &isoft, &ihard); - if (cnt != 3) { - errstr(_("%s - %s -- bad format\n"), - fsp, line2); - return -1; - } - - merge_limits_to_list(qlist, fsp, blocks, bsoft, bhard, inodes, isoft, ihard); - } -#endif fclose(fd); /* @@ -444,7 +384,7 @@ int writeindividualtimes(struct dquot *qlist, int outfd, char *name, int quotaty die(1, _("Cannot duplicate descriptor of file to write to: %s\n"), strerror(errno)); fprintf(fd, _("Times to enforce softlimit for %s %s (%cid %d):\n"), - type2name(quotatype), name, *type2name(quotatype), qlist->dq_id); + _(type2name(quotatype)), name, *type2name(quotatype), qlist->dq_id); fprintf(fd, _("Time units may be: days, hours, minutes, or seconds\n")); fprintf(fd, _(" Filesystem block grace inode grace\n")); @@ -456,7 +396,7 @@ int writeindividualtimes(struct dquot *qlist, int outfd, char *name, int quotaty else if (q->dq_dqb.dqb_btime <= now) strcpy(btimestr, _("0seconds")); else - sprintf(btimestr, "%useconds", (unsigned)(q->dq_dqb.dqb_btime - now)); + sprintf(btimestr, _("%useconds"), (unsigned)(q->dq_dqb.dqb_btime - now)); if (!q->dq_dqb.dqb_itime) strcpy(itimestr, _("unset")); else if (q->dq_dqb.dqb_itime <= now) @@ -545,9 +485,8 @@ int writetimes(struct quota_handle **handles, int outfd) if ((fd = fdopen(dup(outfd), "w")) == NULL) die(1, _("Cannot duplicate descriptor of file to edit: %s\n"), strerror(errno)); -#if defined(ALT_FORMAT) fprintf(fd, _("Grace period before enforcing soft limits for %ss:\n"), - type2name(handles[0]->qh_type)); + _(type2name(handles[0]->qh_type))); fprintf(fd, _("Time units may be: days, hours, minutes, or seconds\n")); fprintf(fd, _(" Filesystem Block grace period Inode grace period\n")); @@ -556,17 +495,6 @@ int writetimes(struct quota_handle **handles, int outfd) time2str(handles[i]->qh_info.dqi_igrace, itimebuf, 0); fprintf(fd, " %-12s %22s %22s\n", handles[i]->qh_quotadev, btimebuf, itimebuf); } -#else - fprintf(fd, _("Time units may be: days, hours, minutes, or seconds\n")); - fprintf(fd, _("Grace period before enforcing soft limits for %ss:\n"), - type2name(handles[0]->qh_type)); - for (i = 0; handles[i]; i++) { - time2str(handles[i]->qh_info.dqi_bgrace, btimebuf, 0); - time2str(handles[i]->qh_info.dqi_igrace, itimebuf, 0); - fprintf(fd, _("block grace period: %s, file grace period: %s\n"), - handles[i]->qh_quotadev, btimebuf, itimebuf); - } -#endif fclose(fd); return 0; @@ -580,12 +508,7 @@ int readtimes(struct quota_handle **handles, int infd) FILE *fd; int itime, btime, i, cnt; time_t iseconds, bseconds; - -#if defined(ALT_FORMAT) char fsp[BUFSIZ], bunits[10], iunits[10], line[BUFSIZ]; -#else - char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; -#endif if (!handles[0]) return 0; @@ -602,7 +525,6 @@ int readtimes(struct quota_handle **handles, int infd) handles[i]->qh_info.dqi_igrace = MAX_IQ_TIME; mark_quotafile_info_dirty(handles[i]); } -#if defined(ALT_FORMAT) /* * Discard three title lines, then read lines to process. */ @@ -616,31 +538,6 @@ int readtimes(struct quota_handle **handles, int infd) errstr(_("bad format:\n%s\n"), line); return -1; } -#else - /* - * Discard two title lines, then read lines to process. - */ - fgets(line1, sizeof(line1), fd); - fgets(line1, sizeof(line1), fd); - - while (fgets(line1, sizeof(line1), fd)) { - if (!(fsp = strtok(line1, " \t:"))) { - errstr(_("%s - bad format\n"), line1); - return -1; - } - if (!(cp = strtok(NULL, "\n"))) { - errstr(_("%s - %s -- bad format\n"), - fsp, &fsp[strlen(fsp) + 1]); - return -1; - } - cnt = sscanf(cp, _(" block grace period: %d %s file grace period: %d %s"), - &btime, bunits, &itime, iunits); - if (cnt != 4) { - errstr(_("%s - %s -- bad format\n"), - fsp, cp); - return -1; - } -#endif if (str2timeunits(btime, bunits, &bseconds) < 0 || str2timeunits(itime, iunits, &iseconds) < 0) { errstr(_("Bad time units. Units are 'second', 'minute', 'hour', and 'day'.\n")); diff --git a/quotastats.c b/quotastats.c index 1ec2137..a059812 100644 --- a/quotastats.c +++ b/quotastats.c @@ -10,8 +10,6 @@ * * Author: Marco van Wieringen * - * Version: $Id: quotastats.c,v 1.12 2010/01/05 16:04:57 jkar8572 Exp $ - * * 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 diff --git a/quotasync.c b/quotasync.c new file mode 100644 index 0000000..dd8ade9 --- /dev/null +++ b/quotasync.c @@ -0,0 +1,127 @@ +#include +#include +#include +#include +#include +#include +#include + +#include "pot.h" +#include "common.h" +#include "quotasys.h" +#include "quotaio.h" + +#define FL_USER 1 /* sync user quotas */ +#define FL_GROUP 2 /* sync group quotas */ +#define FL_ALL 4 /* sync quotas on all filesystems */ + +static int flags, fmt = -1; +static char **mnt; +static int mntcnt; +char *progname; + +static void usage(void) +{ + errstr(_("Utility for syncing quotas.\nUsage:\n%s [-ug] -a | mntpoint...\n\n"), progname); + fprintf(stderr, _("Bugs to %s\n"), MY_EMAIL); + exit(1); +} + +static void parse_options(int argcnt, char **argstr) +{ + int ret; + struct option long_opts[] = { + { "user", 0, NULL, 'u' }, + { "group", 0, NULL, 'g' }, + { "all", 0, NULL, 'a' }, + { "version", 0, NULL, 'V' }, + { "help", 0, NULL, 'h' }, + { NULL, 0, NULL, 0 } + }; + + while ((ret = getopt_long(argcnt, argstr, "ahugV", long_opts, NULL)) != -1) { + switch (ret) { + case '?': + case 'h': + usage(); + case 'V': + version(); + exit(0); + case 'u': + flags |= FL_USER; + break; + case 'g': + flags |= FL_GROUP; + break; + case 'a': + flags |= FL_ALL; + break; + } + } + + if ((flags & FL_ALL && optind != argcnt) || + (!(flags & FL_ALL) && optind == argcnt)) { + fputs(_("Bad number of arguments.\n"), stderr); + usage(); + } + if (!(flags & FL_ALL)) { + mnt = argstr + optind; + mntcnt = argcnt - optind; + } + if (!(flags & (FL_USER | FL_GROUP))) + flags |= FL_USER; +} + +static int sync_one(int type, char *dev) +{ + int qcmd = QCMD(Q_SYNC, type); + + return quotactl(qcmd, dev, 0, NULL); +} + +static int syncquotas(int type) +{ + struct quota_handle **handles, *h; + int i, ret = 0; + + if (flags & FL_ALL) { + if (sync_one(type, NULL) < 0) + errstr(_("%s quota sync failed: %s\n"), _(type2name(type)), + strerror(errno)); + return -1; + } + + handles = create_handle_list(mntcnt, mnt, type, fmt, + IOI_READONLY, MS_LOCALONLY | MS_NO_AUTOFS); + + for (i = 0; handles[i]; i++) { + h = handles[i]; + if (sync_one(type, h->qh_quotadev)) { + errstr(_("%s quota sync failed for %s: %s\n"), + _(type2name(type)), h->qh_quotadev, strerror(errno)); + ret = -1; + } + } + dispose_handle_list(handles); + + return ret; +} + +int main(int argc, char **argv) +{ + int ret = 0; + + gettexton(); + progname = basename(argv[0]); + + parse_options(argc, argv); + init_kernel_interface(); + + if (flags & FL_USER) + if (syncquotas(USRQUOTA)) + ret = 1; + if (flags & FL_GROUP) + if (syncquotas(GRPQUOTA)) + ret = 1; + return ret; +} diff --git a/quotasys.c b/quotasys.c index 8df5e3b..ea56bea 100644 --- a/quotasys.c +++ b/quotasys.c @@ -66,42 +66,6 @@ int meta_qf_fstype(char *type) } /* - * Check whether give filesystem type is supported - */ - -static int correct_fstype(char *type) -{ - char *mtype = sstrdup(type), *next; - - type = mtype; - do { - next = strchr(type, ','); - if (next) - *next = 0; - if (!strcmp(type, MNTTYPE_EXT2) || - !strcmp(type, MNTTYPE_EXT3) || - !strcmp(type, MNTTYPE_EXT4) || - !strcmp(type, MNTTYPE_EXT4DEV) || - !strcmp(type, MNTTYPE_JFS) || - !strcmp(type, MNTTYPE_MINIX) || - !strcmp(type, MNTTYPE_UFS) || - !strcmp(type, MNTTYPE_UDF) || - !strcmp(type, MNTTYPE_REISER) || - !strcmp(type, MNTTYPE_XFS) || - !strcmp(type, MNTTYPE_NFS) || - !strcmp(type, MNTTYPE_NFS4) || - !strcmp(type, MNTTYPE_OCFS2) || - !strcmp(type, MNTTYPE_MPFS)) { - free(mtype); - return 1; - } - type = next+1; - } while (next); - free(mtype); - return 0; -} - -/* * Convert type of quota to written representation */ char *type2name(int type) @@ -278,7 +242,7 @@ char *fmt2name(int fmt) /* * Convert kernel to utility quota format number */ -int kern2utilfmt(int kernfmt) +static int kern2utilfmt(int kernfmt) { switch (kernfmt) { case QFMT_VFS_OLD: @@ -368,13 +332,13 @@ void time2str(time_t seconds, char *buf, int flags) */ int str2timeunits(time_t num, char *unit, time_t *res) { - if (memcmp(unit, "second", 6) == 0) + if (!strcmp(unit, _("second")) || !strcmp(unit, _("seconds"))) *res = num; - else if (memcmp(unit, "minute", 6) == 0) + else if (!strcmp(unit, _("minute")) || !strcmp(unit, _("minutes"))) *res = num * 60; - else if (memcmp(unit, "hour", 4) == 0) + else if (!strcmp(unit, _("hour")) || !strcmp(unit, _("hours"))) *res = num * 60 * 60; - else if (memcmp(unit, "day", 3) == 0) + else if (!strcmp(unit, _("day")) || !strcmp(unit, _("days"))) *res = num * 24 * 60 * 60; else return -1; @@ -421,41 +385,27 @@ void number2str(unsigned long long num, char *buf, int format) } /* + * Wrappers for mount options processing functions + */ + +/* * Check for XFS filesystem with quota accounting enabled */ -static int hasxfsquota(struct mntent *mnt, int type, int flags) +static int hasxfsquota(const char *dev, struct mntent *mnt, int type, int flags) { - int ret = 0; u_int16_t sbflags; struct xfs_mem_dqinfo info; - const char *dev; - char *opt, *endopt; if (flags & MS_XFS_DISABLED) - return 1; - - dev = get_device_name(mnt->mnt_fsname); - if (!dev) - return 0; - /* Loopback mounted device with a loopback device in the arguments? */ - if ((opt = hasmntopt(mnt, MNTOPT_LOOP)) && (opt = strchr(opt, '='))) { - free((char *)dev); - endopt = strchr(opt+1, ','); - if (!endopt) - dev = strdup(opt+1); - else - dev = strndup(opt+1, endopt-opt-1); - if (!dev) - return 0; - } + return QF_XFS; memset(&info, 0, sizeof(struct xfs_mem_dqinfo)); if (!quotactl(QCMD(Q_XFS_GETQSTAT, type), dev, 0, (void *)&info)) { sbflags = (info.qs_flags & 0xff00) >> 8; if (type == USRQUOTA && (info.qs_flags & XFS_QUOTA_UDQ_ACCT)) - ret = 1; + return QF_XFS; else if (type == GRPQUOTA && (info.qs_flags & XFS_QUOTA_GDQ_ACCT)) - ret = 1; + return QF_XFS; #ifdef XFS_ROOTHACK /* * Old XFS filesystems (up to XFS 1.2 / Linux 2.5.47) had a @@ -463,21 +413,58 @@ static int hasxfsquota(struct mntent *mnt, int type, int flags) * having to specify it at mount time. */ else if (strcmp(mnt->mnt_dir, "/")) - ret = 0; + return QF_ERROR; else if (type == USRQUOTA && (sbflags & XFS_QUOTA_UDQ_ACCT)) - ret = 1; + return QF_XFS; else if (type == GRPQUOTA && (sbflags & XFS_QUOTA_GDQ_ACCT)) - ret = 1; + return QF_XFS; #endif /* XFS_ROOTHACK */ } - free((char *)dev); - return ret; + + return QF_ERROR; +} + +static int hasvfsmetaquota(const char *dev, struct mntent *mnt, int type, int flags) +{ + uint32_t fmt; + + if (!quotactl(QCMD(Q_GETFMT, type), dev, 0, (void *)&fmt)) + return QF_META; + return QF_ERROR; +} + +/* Return pointer to given mount option in mount option string */ +char *str_hasmntopt(const char *optstring, const char *opt) +{ + const char *p = optstring; + const char *s; + int len = strlen(opt); + + do { + s = p; + while (*p && *p != ',' && *p != '=') + p++; + /* Found option? */ + if (p - s == len && !strncmp(s, opt, len)) + return (char *)s; + /* Skip mount option argument if there's any */ + if (*p == '=') { + p++; + while (*p && *p != ',') + p++; + } + /* Skip separating ',' */ + if (*p) + p++; + } while (*p); + + return NULL; } /* Return if given option has nonempty argument */ -char *hasmntoptarg(struct mntent *mnt, char *opt) +static char *hasmntoptarg(const char *optstring, const char *opt) { - char *p = hasmntopt(mnt, opt); + char *p = str_hasmntopt(optstring, opt); if (!p) return NULL; @@ -487,26 +474,52 @@ char *hasmntoptarg(struct mntent *mnt, char *opt) return NULL; } +/* Copy out mount option argument to a buffer */ +static void copy_mntoptarg(char *buf, const char *optarg, int buflen) +{ + char *sep = strchr(optarg, ','); + + if (!sep) + sstrncpy(buf, optarg, min(buflen, strlen(optarg) + 1)); + else + sstrncpy(buf, optarg, min(buflen, sep - optarg + 1)); +} + /* * Check to see if a particular quota is to be enabled (filesystem mounted with proper option) */ -int hasquota(struct mntent *mnt, int type, int flags) +static int hasquota(const char *dev, struct mntent *mnt, int type, int flags) { - if (!correct_fstype(mnt->mnt_type) || hasmntopt(mnt, MNTOPT_NOQUOTA)) - return 0; - - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) - return hasxfsquota(mnt, type, flags); - if (nfs_fstype(mnt->mnt_type)) /* NFS always has quota or better there is no good way how to detect it */ - return 1; - - if ((type == USRQUOTA) && (hasmntopt(mnt, MNTOPT_USRQUOTA) || hasmntoptarg(mnt, MNTOPT_USRJQUOTA))) - return 1; - if ((type == GRPQUOTA) && (hasmntopt(mnt, MNTOPT_GRPQUOTA) || hasmntoptarg(mnt, MNTOPT_GRPJQUOTA))) - return 1; + if (!strcmp(mnt->mnt_type, MNTTYPE_GFS2) || + !strcmp(mnt->mnt_type, MNTTYPE_XFS)) + return hasxfsquota(dev, mnt, type, flags); + if (!strcmp(mnt->mnt_type, MNTTYPE_OCFS2)) + return hasvfsmetaquota(dev, mnt, type, flags); + /* + * For ext4 we check whether it has quota in system files and if not, + * we fall back on checking standard quotas. Furthermore we cannot use + * standard GETFMT quotactl because that does not distinguish between + * quota in system file and quota in ordinary file. + */ + if (!strcmp(mnt->mnt_type, MNTTYPE_EXT4)) { + struct if_dqinfo kinfo; + + if (quotactl(QCMD(Q_GETINFO, type), dev, 0, (void *)&kinfo) == 0) { + if (kinfo.dqi_flags & DQF_SYS_FILE) + return QF_META; + } + } + /* NFS always has quota or better there is no good way how to detect it */ + if (nfs_fstype(mnt->mnt_type)) + return QF_RPC; + + if ((type == USRQUOTA) && (hasmntopt(mnt, MNTOPT_USRQUOTA) || hasmntoptarg(mnt->mnt_opts, MNTOPT_USRJQUOTA))) + return QF_VFSUNKNOWN; + if ((type == GRPQUOTA) && (hasmntopt(mnt, MNTOPT_GRPQUOTA) || hasmntoptarg(mnt->mnt_opts, MNTOPT_GRPJQUOTA))) + return QF_VFSUNKNOWN; if ((type == USRQUOTA) && hasmntopt(mnt, MNTOPT_QUOTA)) - return 1; - return 0; + return QF_VFSUNKNOWN; + return -1; } /* Check whether quotafile for given format exists - return its name in namebuf */ @@ -548,36 +561,36 @@ static int check_fmtfile_ok(char *name, int type, int fmt, int flags) * otherwise return -1. * Note that formats without quotafile *must* be detected prior to calling this function */ -int get_qf_name(struct mntent *mnt, int type, int fmt, int flags, char **filename) +int get_qf_name(struct mount_entry *mnt, int type, int fmt, int flags, char **filename) { char *option, *pathname, has_quota_file_definition = 0; char qfullname[PATH_MAX]; qfullname[0] = 0; - if (type == USRQUOTA && (option = hasmntopt(mnt, MNTOPT_USRQUOTA))) { + if (type == USRQUOTA && (option = str_hasmntopt(mnt->me_opts, MNTOPT_USRQUOTA))) { if (*(pathname = option + strlen(MNTOPT_USRQUOTA)) == '=') has_quota_file_definition = 1; } - else if (type == USRQUOTA && (option = hasmntoptarg(mnt, MNTOPT_USRJQUOTA))) { + else if (type == USRQUOTA && (option = hasmntoptarg(mnt->me_opts, MNTOPT_USRJQUOTA))) { pathname = option; has_quota_file_definition = 1; - sstrncpy(qfullname, mnt->mnt_dir, sizeof(qfullname)); + sstrncpy(qfullname, mnt->me_dir, sizeof(qfullname)); sstrncat(qfullname, "/", sizeof(qfullname)); } - else if (type == GRPQUOTA && (option = hasmntopt(mnt, MNTOPT_GRPQUOTA))) { + else if (type == GRPQUOTA && (option = str_hasmntopt(mnt->me_opts, MNTOPT_GRPQUOTA))) { pathname = option + strlen(MNTOPT_GRPQUOTA); if (*pathname == '=') { has_quota_file_definition = 1; pathname++; } } - else if (type == GRPQUOTA && (option = hasmntoptarg(mnt, MNTOPT_GRPJQUOTA))) { + else if (type == GRPQUOTA && (option = hasmntoptarg(mnt->me_opts, MNTOPT_GRPJQUOTA))) { pathname = option; has_quota_file_definition = 1; - sstrncpy(qfullname, mnt->mnt_dir, sizeof(qfullname)); + sstrncpy(qfullname, mnt->me_dir, sizeof(qfullname)); sstrncat(qfullname, "/", sizeof(qfullname)); } - else if (type == USRQUOTA && (option = hasmntopt(mnt, MNTOPT_QUOTA))) { + else if (type == USRQUOTA && (option = str_hasmntopt(mnt->me_opts, MNTOPT_QUOTA))) { pathname = option + strlen(MNTOPT_QUOTA); if (*pathname == '=') { has_quota_file_definition = 1; @@ -588,14 +601,11 @@ int get_qf_name(struct mntent *mnt, int type, int fmt, int flags, char **filenam return -1; if (has_quota_file_definition) { - if ((option = strchr(pathname, ','))) { - int tocopy = min(option - pathname + 1, - sizeof(qfullname) - strlen(qfullname)); - sstrncpy(qfullname + strlen(qfullname), pathname, tocopy); - } else - sstrncat(qfullname, pathname, sizeof(qfullname)); + int len = strlen(qfullname); + + copy_mntoptarg(qfullname + len, pathname, sizeof(qfullname) - len); } else { - snprintf(qfullname, PATH_MAX, "%s/%s.%s", mnt->mnt_dir, + snprintf(qfullname, PATH_MAX, "%s/%s.%s", mnt->me_dir, basenames[fmt], extensions[type]); } if (check_fmtfile_ok(qfullname, type, fmt, flags)) { @@ -614,7 +624,7 @@ int get_qf_name(struct mntent *mnt, int type, int fmt, int flags, char **filenam struct quota_handle **create_handle_list(int count, char **mntpoints, int type, int fmt, int ioflags, int mntflags) { - struct mntent *mnt; + struct mount_entry *mnt; int gotmnt = 0; static int hlist_allocated = 0; static struct quota_handle **hlist = NULL; @@ -648,15 +658,18 @@ add_entry: else { switch (fmt) { case QF_RPC: - if (nfs_fstype(mnt->mnt_type)) + if (nfs_fstype(mnt->me_type)) goto add_entry; break; case QF_XFS: - if (!strcmp(mnt->mnt_type, MNTTYPE_XFS)) + if (!strcmp(mnt->me_type, MNTTYPE_XFS) || + !strcmp(mnt->me_type, MNTTYPE_GFS2)) goto add_entry; break; default: - if (strcmp(mnt->mnt_type, MNTTYPE_XFS) && !nfs_fstype(mnt->mnt_type)) + if (strcmp(mnt->me_type, MNTTYPE_XFS) && + strcmp(mnt->me_type, MNTTYPE_GFS2) && + !nfs_fstype(mnt->me_type)) goto add_entry; break; } @@ -746,9 +759,12 @@ void init_kernel_interface(void) kernel_qfmt_num = 0; if (!stat("/proc/fs/xfs/stat", &st)) kernel_qfmt[kernel_qfmt_num++] = QF_XFS; - else - if (!quotactl(QCMD(Q_XGETQSTAT, 0), NULL, 0, NULL) || (errno != EINVAL && errno != ENOSYS)) + else { + fs_quota_stat_t dummy; + + if (!quotactl(QCMD(Q_XGETQSTAT, 0), "/dev/root", 0, (void *)&dummy) || (errno != EINVAL && errno != ENOSYS)) kernel_qfmt[kernel_qfmt_num++] = QF_XFS; + } /* Detect new kernel interface; Assume generic interface unless we can prove there is not one... */ if (!stat("/proc/sys/fs/quota", &st) || errno != ENOENT) { kernel_iface = IFACE_GENERIC; @@ -847,28 +863,43 @@ static int xfs_kern_quota_on(const char *dev, int type) /* * Check whether is quota turned on on given device for given type */ -int kern_quota_on(const char *dev, int type, int fmt) +int kern_quota_on(struct mount_entry *mnt, int type, int fmt) { + if (mnt->me_qfmt[type] < 0) + return -1; + if (fmt == QF_RPC) + return -1; + if (mnt->me_qfmt[type] == QF_XFS) { + if ((fmt == -1 || fmt == QF_XFS) && + xfs_kern_quota_on(mnt->me_devname, type)) /* XFS quota format */ + return QF_XFS; + return -1; + } + /* No more chances for XFS format to succeed... */ + if (fmt == QF_XFS) + return -1; + /* Meta format is always enabled */ + if (mnt->me_qfmt[type] == QF_META) + return QF_META; + /* Check whether quota is turned on... */ if (kernel_iface == IFACE_GENERIC) { int actfmt; - if (quotactl(QCMD(Q_GETFMT, type), dev, 0, (void *)&actfmt) < 0) - return -1; - actfmt = kern2utilfmt(actfmt); - if (actfmt < 0) - return -1; - return actfmt; + if (quotactl(QCMD(Q_GETFMT, type), mnt->me_devname, 0, + (void *)&actfmt) >= 0) { + actfmt = kern2utilfmt(actfmt); + if (actfmt >= 0) + return actfmt; + } + } else { + if ((fmt == -1 || fmt == QF_VFSV0) && + v2_kern_quota_on(mnt->me_devname, type)) + return QF_VFSV0; + if ((fmt == -1 || fmt == QF_VFSOLD) && + v1_kern_quota_on(mnt->me_devname, type)) + return QF_VFSOLD; } - if ((fmt == -1 || fmt == QF_VFSV0) && - v2_kern_quota_on(dev, type)) /* VFSv0 quota format */ - return QF_VFSV0; - if ((fmt == -1 || fmt == QF_XFS) && - xfs_kern_quota_on(dev, type)) /* XFS quota format */ - return QF_XFS; - if ((fmt == -1 || fmt == QF_VFSOLD) && - v1_kern_quota_on(dev, type)) /* Old quota format */ - return QF_VFSOLD; return -1; } @@ -878,15 +909,6 @@ int kern_quota_on(const char *dev, int type, int fmt) * */ -struct mount_entry { - char *me_type; /* Type of filesystem for given entry */ - char *me_opts; /* Options of filesystem */ - dev_t me_dev; /* Device filesystem is mounted on */ - ino_t me_ino; /* Inode number of root of filesystem */ - const char *me_devname; /* Name of device (after pass through get_device_name()) */ - const char *me_dir; /* One of mountpoints of filesystem */ -}; - struct searched_dir { int sd_dir; /* Is searched dir mountpoint or in fact device? */ dev_t sd_dev; /* Device mountpoint lies on */ @@ -895,7 +917,6 @@ struct searched_dir { }; #define ALLOC_ENTRIES_NUM 16 /* Allocate entries by this number */ -#define AUTOFS_DIR_MAX 64 /* Maximum number of autofs directories */ static int mnt_entries_cnt; /* Number of cached mountpoint entries */ static struct mount_entry *mnt_entries; /* Cached mounted filesystems */ @@ -912,8 +933,8 @@ static int cache_mnt_table(int flags) int allocated = 0, i = 0; dev_t dev = 0; char mntpointbuf[PATH_MAX]; - int autofsdircnt = 0; - char autofsdir[AUTOFS_DIR_MAX][PATH_MAX]; + int autofsdircnt, autofsdir_allocated; + char **autofsdir; #ifdef ALT_MTAB mntf = setmntent(ALT_MTAB, "r"); @@ -929,11 +950,18 @@ static int cache_mnt_table(int flags) return -1; } alloc: + /* Prepare table of mount entries */ mnt_entries = smalloc(sizeof(struct mount_entry) * ALLOC_ENTRIES_NUM); mnt_entries_cnt = 0; allocated += ALLOC_ENTRIES_NUM; + /* Prepare table of autofs mountpoints */ + autofsdir = smalloc(sizeof(char *) * ALLOC_ENTRIES_NUM); + autofsdircnt = 0; + autofsdir_allocated = ALLOC_ENTRIES_NUM; while ((mnt = getmntent(mntf))) { const char *devname; + char *opt; + int qfmt[MAXQUOTAS]; if (!(devname = get_device_name(mnt->mnt_fsname))) { errstr(_("Cannot get device name for %s\n"), mnt->mnt_fsname); @@ -953,9 +981,14 @@ alloc: } if (flags & MS_NO_AUTOFS && !strcmp(mnt->mnt_type, MNTTYPE_AUTOFS)) { /* Autofs dir to remember? */ - if (autofsdircnt == AUTOFS_DIR_MAX) - die(3, "Too many autofs mountpoints. Please contact \n"); - snprintf(autofsdir[autofsdircnt++], PATH_MAX, "%s/", mnt->mnt_dir); + if (autofsdircnt == autofsdir_allocated) { + autofsdir_allocated += ALLOC_ENTRIES_NUM; + autofsdir = srealloc(autofsdir, autofsdir_allocated * sizeof(char *)); + } + autofsdir[autofsdircnt] = smalloc(strlen(mnt->mnt_dir) + 2); + strcpy(autofsdir[autofsdircnt], mnt->mnt_dir); + strcat(autofsdir[autofsdircnt], "/"); + autofsdircnt++; free((char *)devname); continue; } @@ -964,10 +997,27 @@ alloc: free((char *)devname); continue; } + if (hasmntopt(mnt, MNTOPT_NOQUOTA)) { + free((char *)devname); + continue; + } + if (hasmntopt(mnt, MNTOPT_BIND)) { + free((char *)devname); + continue; /* We just ignore bind mounts... */ + } + if ((opt = hasmntoptarg(mnt->mnt_opts, MNTOPT_LOOP))) { + char loopdev[PATH_MAX]; + + copy_mntoptarg(opt, loopdev, PATH_MAX); + free((char *)devname); + devname = sstrdup(loopdev); + } /* Further we are not interested in mountpoints without quotas and we don't want to touch them */ - if (!hasquota(mnt, USRQUOTA, flags) && !hasquota(mnt, GRPQUOTA, flags)) { + qfmt[USRQUOTA] = hasquota(devname, mnt, USRQUOTA, flags); + qfmt[GRPQUOTA] = hasquota(devname, mnt, GRPQUOTA, flags); + if (qfmt[USRQUOTA] < 0 && qfmt[GRPQUOTA] < 0) { free((char *)devname); continue; } @@ -995,50 +1045,12 @@ alloc: free((char *)devname); continue; } - if (!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode) && !S_ISREG(st.st_mode) && !S_ISDIR(st.st_mode)) { - unsupporteddev: + if (!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode)) { errstr(_("Device (%s) filesystem is mounted on unsupported device type. Skipping.\n"), devname); free((char *)devname); continue; - } else { - char *opt; - - if (hasmntopt(mnt, MNTOPT_BIND)) { - free((char *)devname); - continue; /* We just ignore bind mounts... */ - } - else if ((opt = hasmntopt(mnt, MNTOPT_LOOP))) { - char loopdev[PATH_MAX]; - int i; - - if (!(opt = strchr(opt, '='))) { - errstr(_("Cannot find device of loopback mount in options for %s. Skipping.\n"), devname); - free((char *)devname); - continue; - } - /* Copy the device name */ - for (opt++, i = 0; *opt && i < sizeof(loopdev)-1 && *opt != ','; opt++, i++) - loopdev[i] = *opt; - loopdev[i] = 0; - if (stat(loopdev, &st) < 0) { /* Can't stat loopback device? */ - errstr(_("Cannot stat() loopback device %s: %s\n"), opt, strerror(errno)); - free((char *)devname); - continue; - } - if (!S_ISBLK(st.st_mode)) { - errstr(_("Loopback device %s is not block device!\n"), opt); - free((char *)devname); - continue; - } - dev = st.st_rdev; - free((char *)devname); - devname = sstrdup(loopdev); - } else { - if (!S_ISBLK(st.st_mode) && !S_ISCHR(st.st_mode)) - goto unsupporteddev; - dev = st.st_rdev; - } } + dev = st.st_rdev; for (i = 0; i < mnt_entries_cnt && mnt_entries[i].me_dev != dev; i++); } /* Cope with network filesystems or new mountpoint */ @@ -1068,7 +1080,9 @@ alloc: mnt_entries[i].me_dev = dev; mnt_entries[i].me_ino = st.st_ino; mnt_entries[i].me_devname = devname; - mnt_entries[i].me_dir = sstrdup(mntpointbuf); + mnt_entries[i].me__dir = sstrdup(mntpointbuf); + mnt_entries[i].me_dir = NULL; + memcpy(&mnt_entries[i].me_qfmt, qfmt, sizeof(qfmt)); mnt_entries_cnt++; } else @@ -1076,6 +1090,9 @@ alloc: } endmntent(mntf); + for (i = 0; i < autofsdircnt; i++) + free(autofsdir[i]); + free(autofsdir); return 0; } @@ -1087,7 +1104,7 @@ static const char *find_dir_mntpoint(struct stat *st) for (i = 0; i < mnt_entries_cnt; i++) if (mnt_entries[i].me_dev == st->st_dev) { st->st_ino = mnt_entries[i].me_ino; - return mnt_entries[i].me_dir; + return mnt_entries[i].me__dir; } return NULL; } @@ -1150,7 +1167,7 @@ static int process_dirs(int dcnt, char **dirs, int flags) errstr(_("Cannot find mountpoint for device %s\n"), dirs[i]); continue; } - sstrncpy(mntpointbuf, mnt_entries[mentry].me_dir, PATH_MAX-1); + sstrncpy(mntpointbuf, mnt_entries[mentry].me__dir, PATH_MAX-1); } else { errstr(_("Specified path %s is not directory nor device.\n"), dirs[i]); @@ -1186,14 +1203,8 @@ int init_mounts_scan(int dcnt, char **dirs, int flags) /* Find next usable mountpoint when scanning all mountpoints */ static int find_next_entry_all(int *pos) { - struct mntent mnt; - while (++act_checked < mnt_entries_cnt) { - mnt.mnt_fsname = (char *)mnt_entries[act_checked].me_devname; - mnt.mnt_type = mnt_entries[act_checked].me_type; - mnt.mnt_opts = mnt_entries[act_checked].me_opts; - mnt.mnt_dir = (char *)mnt_entries[act_checked].me_dir; - if (!hasmntopt(&mnt, MNTOPT_NOAUTO)) + if (!str_hasmntopt(mnt_entries[act_checked].me_opts, MNTOPT_NOAUTO)) break; } if (act_checked >= mnt_entries_cnt) @@ -1232,25 +1243,21 @@ restart: /* * Return next directory from the list */ -struct mntent *get_next_mount(void) +struct mount_entry *get_next_mount(void) { - static struct mntent mnt; int mntpos; if (!check_dirs_cnt) { /* Scan all mountpoints? */ if (!find_next_entry_all(&mntpos)) return NULL; - mnt.mnt_dir = (char *)mnt_entries[mntpos].me_dir; + mnt_entries[mntpos].me_dir = mnt_entries[mntpos].me__dir; } else { if (!find_next_entry_sel(&mntpos)) return NULL; - mnt.mnt_dir = (char *)check_dirs[act_checked].sd_name; + mnt_entries[mntpos].me_dir = check_dirs[act_checked].sd_name; } - mnt.mnt_fsname = (char *)mnt_entries[mntpos].me_devname; - mnt.mnt_type = mnt_entries[mntpos].me_type; - mnt.mnt_opts = mnt_entries[mntpos].me_opts; - return &mnt; + return &mnt_entries[mntpos]; } /* @@ -1264,7 +1271,7 @@ void end_mounts_scan(void) free(mnt_entries[i].me_type); free(mnt_entries[i].me_opts); free((char *)mnt_entries[i].me_devname); - free((char *)mnt_entries[i].me_dir); + free((char *)mnt_entries[i].me__dir); } free(mnt_entries); mnt_entries = NULL; diff --git a/quotasys.h b/quotasys.h index 90e5aae..1cebf7e 100644 --- a/quotasys.h +++ b/quotasys.h @@ -20,7 +20,7 @@ /* Flags for IO initialization */ #define IOI_READONLY 0x1 /* Only readonly access */ -#define IOI_OPENFILE 0x2 /* Open file even if kernel has quotas turned on */ +#define IOI_INITSCAN 0x2 /* Prepare handle for scanning dquots */ #define IOI_NFS_MIXED_PATHS 0x4 /* Trim leading / from NFSv4 mountpoints */ #define KERN_KNOWN_QUOTA_VERSION (6*10000 + 5*100 + 1) @@ -36,6 +36,17 @@ /* Supported kernel interface */ extern int kernel_iface; +struct mount_entry { + char *me_type; /* Type of filesystem for given entry */ + char *me_opts; /* Options of filesystem */ + dev_t me_dev; /* Device filesystem is mounted on */ + ino_t me_ino; /* Inode number of root of filesystem */ + const char *me_devname; /* Name of device (after pass through get_device_name()) */ + const char *me__dir; /* One mountpoint of a filesystem (strdup()ed) */ + const char *me_dir; /* Current mountpoint of a filesystem to process */ + int me_qfmt[MAXQUOTAS]; /* Detected quota formats */ +}; + /* * Exported functions */ @@ -95,18 +106,23 @@ void space2str(qsize_t, char *, int); /* Convert number to short printable form */ void number2str(unsigned long long, char *, int); -/* Check to see if particular quota is to be enabled */ -/* Recognizes MS_XFS_DISABLED flag */ -int hasquota(struct mntent *mnt, int type, int flags); +/* Return pointer to given mount option in mount option string */ +char *str_hasmntopt(const char *optstring, const char *opt); + +/* Check to see if particular quota type is configured */ +static inline int me_hasquota(struct mount_entry *mnt, int type) +{ + return mnt->me_qfmt[type] >= 0; +} /* Flags for get_qf_name() */ #define NF_EXIST 1 /* Check whether file exists */ #define NF_FORMAT 2 /* Check whether file is in proper format */ /* Get quotafile name for given entry */ -int get_qf_name(struct mntent *mnt, int type, int fmt, int flags, char **filename); +int get_qf_name(struct mount_entry *mnt, int type, int fmt, int flags, char **filename); /* Detect newest quota format with existing file */ -int detect_quota_files(struct mntent *mnt, int type, int fmt); +int detect_quota_files(struct mount_entry *mnt, int type, int fmt); /* Create NULL-terminated list of handles for quotafiles for given mountpoints */ struct quota_handle **create_handle_list(int count, char **mntpoints, int type, int fmt, @@ -124,7 +140,7 @@ int devcmp_handles(struct quota_handle *a, struct quota_handle *b); void init_kernel_interface(void); /* Check whether is quota turned on on given device for given type */ -int kern_quota_on(const char *dev, int type, int fmt); +int kern_quota_on(struct mount_entry *mnt, int type, int fmt); /* Return whether kernel is able to handle given format */ int kern_qfmt_supp(int fmt); @@ -141,7 +157,7 @@ int kern_qfmt_supp(int fmt); int init_mounts_scan(int dcnt, char **dirs, int flags); /* Return next mountpoint for scan */ -struct mntent *get_next_mount(void); +struct mount_entry *get_next_mount(void); /* Free all structures associated with mountpoints scan */ void end_mounts_scan(void); diff --git a/quotatab b/quotatab index 0ba9957..6655bdc 100644 --- a/quotatab +++ b/quotatab @@ -5,5 +5,5 @@ # Comments begin with hash in the beginning of the line # Example of description -/dev/loop0: This is loopback device -/dev/hda4: Your home directory +# /dev/loop0: This is loopback device +# /dev/hda4: Your home directory diff --git a/repquota.8 b/repquota.8 index 7580f64..a71cf6b 100644 --- a/repquota.8 +++ b/repquota.8 @@ -48,18 +48,25 @@ repquota \- summarize quotas for a filesystem .B repquota prints a summary of the disc usage and quotas for the specified file systems. For each user the current number of files and amount of space -(in kilobytes) is printed, along with any quotas created with -.BR edquota (8). -As +(in kilobytes) is printed, along with any quota limits set with +.BR edquota (8) +or +.BR setquota (8). +In the second column repquota prints two characters marking which limits are +exceeded. If user is over his space softlimit or reaches his space hardlimit in +case softlimit is unset, the first character is '+'. Otherwise the character +printed is '-'. The second character denotes the state of inode usage +analogously. + .B repquota has to translate ids of all users/groups to names (unless option .B -n -was specified) it may take a while to +was specified) so it may take a while to print all the information. To make translating as fast as possible .B repquota tries to detect (by reading .BR /etc/nsswitch.conf ) -whether entries are stored in standard plain text file or in database and either +whether entries are stored in standard plain text file or in a database and either translates chunks of 1024 names or each name individually. You can override this autodetection by .B -c diff --git a/repquota.c b/repquota.c index 7e007ce..43de31d 100644 --- a/repquota.c +++ b/repquota.c @@ -38,11 +38,11 @@ #define FL_NOAUTOFS 256 /* Ignore autofs mountpoints */ #define FL_RAWGRACE 512 /* Print grace times in seconds since epoch */ -int flags, fmt = -1; -char **mnt; -int mntcnt; -int cached_dquots; -struct dquot dquot_cache[MAX_CACHE_DQUOTS]; +static int flags, fmt = -1; +static char **mnt; +static int mntcnt; +static int cached_dquots; +static struct dquot dquot_cache[MAX_CACHE_DQUOTS]; char *progname; static void usage(void) @@ -52,7 +52,7 @@ static void usage(void) -u, --user display information about users\n\ -g, --group display information about groups\n\ -s, --human-readable show numbers in human friendly units (MB, GB, ...)\n\ --t, --truncate-names truncate names to 8 characters\n\ +-t, --truncate-names truncate names to 9 characters\n\ -p, --raw-grace print grace time in seconds since epoch\n\ -n, --no-names do not translate uid/gid to name\n\ -i, --no-autofs avoid autofs mountpoints\n\ @@ -293,7 +293,7 @@ static void report_it(struct quota_handle *h, int type) else spacehdr = _("Block"); - printf(_("*** Report for %s quotas on device %s\n"), type2name(type), h->qh_quotadev); + printf(_("*** Report for %s quotas on device %s\n"), _(type2name(type)), h->qh_quotadev); time2str(h->qh_info.dqi_bgrace, bgbuf, TF_ROUND); time2str(h->qh_info.dqi_igrace, igbuf, TF_ROUND); printf(_("Block grace time: %s; Inode grace time: %s\n"), bgbuf, igbuf); @@ -317,9 +317,9 @@ static void report(int type) int i; if (flags & FL_ALL) - handles = create_handle_list(0, NULL, type, fmt, IOI_READONLY | IOI_OPENFILE, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); + handles = create_handle_list(0, NULL, type, fmt, IOI_READONLY | IOI_INITSCAN, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); else - handles = create_handle_list(mntcnt, mnt, type, fmt, IOI_READONLY | IOI_OPENFILE, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); + handles = create_handle_list(mntcnt, mnt, type, fmt, IOI_READONLY | IOI_INITSCAN, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); for (i = 0; handles[i]; i++) report_it(handles[i], type); dispose_handle_list(handles); diff --git a/rquota_client.c b/rquota_client.c index d4c68b7..e26e066 100644 --- a/rquota_client.c +++ b/rquota_client.c @@ -9,8 +9,6 @@ * * This part does the rpc-communication with the rquotad. * - * Version: $Id: rquota_client.c,v 1.13 2010/01/05 16:04:57 jkar8572 Exp $ - * * Author: Marco van Wieringen * * This program is free software; you can redistribute it and/or @@ -88,7 +86,7 @@ static inline void cliutil2netdqblk(struct sq_dqblk *n, struct util_dqblk *u) } /* Write appropriate error message */ -int rquota_err(int stat) +static int rquota_err(int stat) { switch (stat) { case -1: @@ -106,6 +104,35 @@ int rquota_err(int stat) } } +static int split_nfs_mount(char *devname, char **host, char **path) +{ + char *pathname; + + /* NFS server name contained in brackets? */ + if (*devname == '[') { + *host = devname + 1; + pathname = strchr(devname, ']'); + if (!pathname || pathname[1] != ':') + return 0; + /* Autofs? */ + if (pathname[2] == '(') + return 0; + *pathname = 0; + *path = pathname + 2; + return 1; + } + *host = devname; + pathname = strchr(devname, ':'); + if (!pathname) + return 0; + /* Autofs? */ + if (pathname[1] == '(') + return 0; + *pathname = 0; + *path = pathname + 1; + return 1; +} + /* * Collect the requested quota information from a remote host. */ @@ -130,18 +157,11 @@ int rpc_rquota_get(struct dquot *dquot) */ fsname_tmp = (char *)smalloc(strlen(dquot->dq_h->qh_quotadev) + 1); strcpy(fsname_tmp, dquot->dq_h->qh_quotadev); - host = fsname_tmp; - - /* - * Strip off pathname on nfs mounted dir. Ignore entries of any - * automounter. - */ - if ((pathname = strchr(fsname_tmp, ':')) == (char *)0 || *(pathname + 1) == '(') { + if (!split_nfs_mount(fsname_tmp, &host, &pathname)) { free(fsname_tmp); return -ENOENT; } - *pathname++ = '\0'; /* For NFSv4, we send the filesystem path without initial /. Server prepends proper * NFS pseudoroot automatically and uses this for detection of NFSv4 mounts. */ if ((dquot->dq_h->qh_io_flags & IOFL_NFS_MIXED_PATHS) && @@ -244,21 +264,20 @@ int rpc_rquota_set(int qcmd, struct dquot *dquot) char *fsname_tmp, *host, *pathname; struct timeval timeout = { 2, 0 }; + /* RPC limits values to 32b variables. Prevent value wrapping. */ + if (check_dquot_range(dquot) < 0) + return -ERANGE; + /* * Convert host:pathname to seperate host and pathname. */ fsname_tmp = (char *)smalloc(strlen(dquot->dq_h->qh_quotadev) + 1); strcpy(fsname_tmp, dquot->dq_h->qh_quotadev); - host = fsname_tmp; - - /* - * Strip off pathname on nfs mounted dir. Ignore entries of any - * automounter. - */ - if ((pathname = strchr(fsname_tmp, ':')) == (char *)0 || *(pathname + 1) == '(') + if (!split_nfs_mount(fsname_tmp, &host, &pathname)) { + free(fsname_tmp); return -ENOENT; + } - *pathname++ = '\0'; /* For NFSv4, we send the filesystem path without initial /. Server prepends proper * NFS pseudoroot automatically and uses this for detection of NFSv4 mounts. */ if ((dquot->dq_h->qh_io_flags & IOFL_NFS_MIXED_PATHS) && diff --git a/rquota_server.c b/rquota_server.c index cb3c44d..bf66e4d 100644 --- a/rquota_server.c +++ b/rquota_server.c @@ -9,8 +9,6 @@ * * This part does the lookup of the info. * - * Version: $Id: rquota_server.c,v 1.22 2010/01/05 16:04:57 jkar8572 Exp $ - * * Author: Marco van Wieringen * * This program is free software; you can redistribute it and/or @@ -93,17 +91,41 @@ static inline void servnet2utildqblk(struct util_dqblk *u, sq_dqblk * n) u->dqb_itime = 0; } +/* XDR transports 32b variables exactly. Find smallest needed shift to fit + * 64b variable into into 32 bits and to preserve precision as high as + * possible. */ +static int find_block_shift(qsize_t hard, qsize_t soft, qsize_t cur) +{ + int shift; + qsize_t value = hard; + + if (value < soft) + value = soft; + if (value < cur) + value = cur; + value >>= 32; + for (shift = QUOTABLOCK_BITS; value; shift++) + value >>= 1; + + return shift; +} + static inline void servutil2netdqblk(struct rquota *n, struct util_dqblk *u) { time_t now; + int shift; - time(&now); - n->rq_bhardlimit = (u->dqb_bhardlimit << QUOTABLOCK_BITS) >> RPC_DQBLK_SIZE_BITS; - n->rq_bsoftlimit = (u->dqb_bsoftlimit << QUOTABLOCK_BITS) >> RPC_DQBLK_SIZE_BITS; + shift = find_block_shift(u->dqb_bhardlimit, u->dqb_bsoftlimit, + toqb(u->dqb_curspace)); + n->rq_bsize = 1 << shift; + n->rq_bhardlimit = u->dqb_bhardlimit >> (shift - QUOTABLOCK_BITS); + n->rq_bsoftlimit = u->dqb_bsoftlimit >> (shift - QUOTABLOCK_BITS); n->rq_fhardlimit = u->dqb_ihardlimit; n->rq_fsoftlimit = u->dqb_isoftlimit; - n->rq_curblocks = (u->dqb_curspace + RPC_DQBLK_SIZE - 1) >> RPC_DQBLK_SIZE_BITS; + n->rq_curblocks = toqb(u->dqb_curspace) >> (shift - QUOTABLOCK_BITS); n->rq_curfiles = u->dqb_curinodes; + + time(&now); if (u->dqb_btime) n->rq_btimeleft = u->dqb_btime - now; else @@ -125,7 +147,7 @@ setquota_rslt *setquotainfo(int lflags, caddr_t * argp, struct svc_req *rqstp) } arguments; struct util_dqblk dqblk; struct dquot *dquot; - struct mntent *mnt; + struct mount_entry *mnt; char pathname[PATH_MAX] = {0}; char *pathp = pathname; int id, qcmd, type; @@ -217,7 +239,7 @@ getquota_rslt *getquotainfo(int lflags, caddr_t * argp, struct svc_req * rqstp) ext_getquota_args *ext_args; } arguments; struct dquot *dquot = NULL; - struct mntent *mnt; + struct mount_entry *mnt; char pathname[PATH_MAX] = {0}; char *pathp = pathname; int id, type; @@ -260,7 +282,6 @@ getquota_rslt *getquotainfo(int lflags, caddr_t * argp, struct svc_req * rqstp) } result.status = Q_NOQUOTA; - result.getquota_rslt_u.gqr_rquota.rq_bsize = RPC_DQBLK_SIZE; if (init_mounts_scan(1, &pathp, MS_QUIET | MS_NO_MNTPOINT | MS_NFS_ALL | ((flags & FL_AUTOFS) ? 0 : MS_NO_AUTOFS)) < 0) goto out; diff --git a/rquota_svc.c b/rquota_svc.c index c0f7efe..338b70f 100644 --- a/rquota_svc.c +++ b/rquota_svc.c @@ -12,8 +12,6 @@ * changes for new utilities by Jan Kara * patches by Jani Jaakkola * - * Version: $Id: rquota_svc.c,v 1.22 2010/01/05 16:04:57 jkar8572 Exp $ - * * 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 @@ -171,7 +169,7 @@ static void parse_options(int argc, char **argv) * good_client checks if an quota client should be allowed to * execute the requested rpc call. */ -int good_client(struct sockaddr_in *addr, ulong rq_proc) +static int good_client(struct sockaddr_in *addr, ulong rq_proc) { #ifdef HOSTS_ACCESS struct request_info req; @@ -457,26 +455,26 @@ int main(int argc, char **argv) exit(1); } if (!svc_register(transp, RQUOTAPROG, RQUOTAVERS, rquotaprog_1, IPPROTO_UDP)) { - errstr(_("unable to register (RQUOTAPROG, RQUOTAVERS, udp).\n")); + errstr(_("unable to register (RQUOTAPROG, RQUOTAVERS, UDP).\n")); exit(1); } if (!svc_register(transp, RQUOTAPROG, EXT_RQUOTAVERS, rquotaprog_2, IPPROTO_UDP)) { - errstr(_("unable to register (RQUOTAPROG, EXT_RQUOTAVERS, udp).\n")); + errstr(_("unable to register (RQUOTAPROG, EXT_RQUOTAVERS, UDP).\n")); exit(1); } sock = svctcp_socket(RQUOTAPROG, port, 1); transp = svctcp_create(sock == -1 ? RPC_ANYSOCK : sock, 0, 0); if (transp == NULL) { - errstr(_("cannot create tcp service.\n")); + errstr(_("cannot create TCP service.\n")); exit(1); } if (!svc_register(transp, RQUOTAPROG, RQUOTAVERS, rquotaprog_1, IPPROTO_TCP)) { - errstr(_("unable to register (RQUOTAPROG, RQUOTAVERS, tcp).\n")); + errstr(_("unable to register (RQUOTAPROG, RQUOTAVERS, TCP).\n")); exit(1); } if (!svc_register(transp, RQUOTAPROG, EXT_RQUOTAVERS, rquotaprog_2, IPPROTO_TCP)) { - errstr(_("unable to register (RQUOTAPROG, EXT_RQUOTAVERS, tcp).\n")); + errstr(_("unable to register (RQUOTAPROG, EXT_RQUOTAVERS, TCP).\n")); exit(1); } diff --git a/set_limits_example.c b/set_limits_example.c index 755fb2f..99a1b21 100644 --- a/set_limits_example.c +++ b/set_limits_example.c @@ -7,7 +7,7 @@ #include "pot.h" -int copy_user_quota_limits(const char *block_device, uid_t from, uid_t to) +static int copy_user_quota_limits(const char *block_device, uid_t from, uid_t to) { struct dqblk dq; @@ -30,7 +30,7 @@ int copy_user_quota_limits(const char *block_device, uid_t from, uid_t to) } } -int copy_group_quota_limits(const char *block_device, gid_t from, gid_t to) +tatic int copy_group_quota_limits(const char *block_device, gid_t from, gid_t to) { struct dqblk dq; @@ -40,14 +40,14 @@ int copy_group_quota_limits(const char *block_device, gid_t from, gid_t to) } else { errstr( - _("copy_group_quota_limits: Failed to set groupquota for uid %ld : %s\n"), + _("copy_group_quota_limits: Failed to set groupquota for gid %ld : %s\n"), to, strerror(errno)); return (1); } } else { errstr( - _("copy_group_quota_limits: Failed to get groupquota for uid %ld : %s\n"), + _("copy_group_quota_limits: Failed to get groupquota for gid %ld : %s\n"), from, strerror(errno)); return (1); } diff --git a/setquota.8 b/setquota.8 index 624deec..db9d054 100644 --- a/setquota.8 +++ b/setquota.8 @@ -67,8 +67,6 @@ setquota \- set disk quotas .B setquota .B \-t [ -.B \-m -] [ .B \-u | .B \-g @@ -86,8 +84,6 @@ setquota \- set disk quotas .B setquota .B \-T [ -.B \-m -] [ .B \-u | .B \-g @@ -126,7 +122,7 @@ Currently, pathnames of NFSv4 mountpoints are sent without leading slash in the uses this to recognize NFSv4 mounts and properly prepend pseudoroot of NFS filesystem to the path. If you specify this option, .BR setquota -will always send paths with a trailing slash. This can be useful for legacy reasons but +will always send paths with a leading slash. This can be useful for legacy reasons but be aware that quota over RPC will stop working if you are using new .BR rpc.rquotad . .TP @@ -155,6 +151,10 @@ Use quota settings of user or group .I protoname to set the quota for the named user or group. .TP +.B --always-resolve +Always try to translate user / group name to uid / gid even if the name +is composed of digits only. +.TP .B -b, --batch Read information to set from stdin (input format is .I name block-softlimit block-hardlimit inode-softlimit inode-hardlimit @@ -182,7 +182,7 @@ Go through all filesystems with quota in .B /etc/mtab and perform setting. .PP -To disable a quota, set the coresponding parameter to 0. To change quotas +To disable a quota, set the corresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem. .PP Only the super-user may edit quotas. diff --git a/setquota.c b/setquota.c index 1020d8f..f609dc7 100644 --- a/setquota.c +++ b/setquota.c @@ -37,12 +37,12 @@ #define FL_NO_MIXED_PATHS 512 #define FL_CONTINUE_BATCH 1024 -int flags, fmt = -1; -char **mnt; +static int flags, fmt = -1; +static char **mnt; char *progname; -int mntcnt; -qid_t protoid, id; -struct util_dqblk toset; +static int mntcnt; +static qid_t protoid, id; +static struct util_dqblk toset; /* Print usage information */ static void usage(void) @@ -87,7 +87,7 @@ static qsize_t parse_unum(char *str, char *msg) qsize_t ret = strtoull(str, &errch, 0); if (*errch) { - errstr(_("Bad %s: %s\n"), msg, str); + errstr(_("%s: %s\n"), msg, str); usage(); } return ret; @@ -110,9 +110,9 @@ static void parse_options(int argcnt, char **argstr) char *protoname = NULL; #ifdef RPC_SETQUOTA - char *opts = "gp:urmVF:taTbc"; + char *opts = "ghp:urmVF:taTbc"; #else - char *opts = "gp:uVF:taTbc"; + char *opts = "ghp:uVF:taTbc"; #endif struct option long_opts[] = { { "user", 0, NULL, 'u' }, @@ -202,6 +202,10 @@ static void parse_options(int argcnt, char **argstr) errstr(_("Batch mode and prototype user cannot be used together.\n")); usage(); } + if (flags & FL_RPC && (flags & (FL_GRACE | FL_INDIVIDUAL_GRACE))) { + errstr(_("Cannot set grace times over RPC protocol.\n")); + usage(); + } if (flags & FL_GRACE) otherargs = 2; else if (flags & FL_INDIVIDUAL_GRACE) @@ -222,17 +226,17 @@ static void parse_options(int argcnt, char **argstr) if (!(flags & (FL_GRACE | FL_BATCH))) { id = name2id(argstr[optind++], flag2type(flags), !!(flags & FL_NUMNAMES), NULL); if (!(flags & (FL_GRACE | FL_INDIVIDUAL_GRACE | FL_PROTO))) { - toset.dqb_bsoftlimit = parse_unum(argstr[optind++], _("block softlimit")); - toset.dqb_bhardlimit = parse_unum(argstr[optind++], _("block hardlimit")); - toset.dqb_isoftlimit = parse_unum(argstr[optind++], _("inode softlimit")); - toset.dqb_ihardlimit = parse_unum(argstr[optind++], _("inode hardlimit")); + toset.dqb_bsoftlimit = parse_unum(argstr[optind++], _("Bad block softlimit")); + toset.dqb_bhardlimit = parse_unum(argstr[optind++], _("Bad block hardlimit")); + toset.dqb_isoftlimit = parse_unum(argstr[optind++], _("Bad inode softlimit")); + toset.dqb_ihardlimit = parse_unum(argstr[optind++], _("Bad inode hardlimit")); } else if (flags & FL_PROTO) protoid = name2id(protoname, flag2type(flags), !!(flags & FL_NUMNAMES), NULL); } if (flags & FL_GRACE) { - toset.dqb_btime = parse_unum(argstr[optind++], _("block grace time")); - toset.dqb_itime = parse_unum(argstr[optind++], _("inode grace time")); + toset.dqb_btime = parse_unum(argstr[optind++], _("Bad block grace time")); + toset.dqb_itime = parse_unum(argstr[optind++], _("Bad inode grace time")); } else if (flags & FL_INDIVIDUAL_GRACE) { time_t now; @@ -243,13 +247,13 @@ static void parse_options(int argcnt, char **argstr) optind++; } else - toset.dqb_btime = now + parse_unum(argstr[optind++], _("block grace time")); + toset.dqb_btime = now + parse_unum(argstr[optind++], _("Bad block grace time")); if (!strcmp(argstr[optind], _("unset"))) { toset.dqb_itime = 0; optind++; } else - toset.dqb_itime = now + parse_unum(argstr[optind++], _("inode grace time")); + toset.dqb_itime = now + parse_unum(argstr[optind++], _("Bad inode grace time")); } if (!(flags & FL_ALL)) { mntcnt = argcnt - optind; @@ -372,14 +376,19 @@ static int batch_setlimits(struct quota_handle **handles) /* Set grace times */ static int setgraces(struct quota_handle **handles) { - int i; + int i, ret = 0; for (i = 0; handles[i]; i++) { + if (!handles[i]->qh_ops->write_info) { + errstr(_("Setting grace period on %s is not supported.\n"), handles[i]->qh_quotadev); + ret = -1; + continue; + } handles[i]->qh_info.dqi_bgrace = toset.dqb_btime; handles[i]->qh_info.dqi_igrace = toset.dqb_itime; mark_quotafile_info_dirty(handles[i]); } - return 0; + return ret; } /* Set grace times for individual user */ @@ -400,7 +409,7 @@ static int setindivgraces(struct quota_handle **handles) errstr(_("Not setting inode grace time on %s because softlimit is not exceeded.\n"), q->dq_h->qh_quotadev); } if (putprivs(curprivs, COMMIT_TIMES) == -1) { - errstr(_("cannot write times for %s. Maybe kernel does not support such operation?\n"), type2name(flags & FL_USER ? USRQUOTA : GRPQUOTA)); + errstr(_("cannot write times for %s. Maybe kernel does not support such operation?\n"), _(type2name(flags & FL_USER ? USRQUOTA : GRPQUOTA))); ret = -1; } freeprivs(curprivs); diff --git a/warnquota.8 b/warnquota.8 index 89844ec..8427488 100644 --- a/warnquota.8 +++ b/warnquota.8 @@ -17,12 +17,14 @@ warnquota \- send mail to users over quota ] [ .B \-a .I adminsfile +] [ +.IR filesystem ... ] .SH DESCRIPTION .B warnquota -checks the disk quota for each local filesystem and mails a warning -message to those users who have reached their softlimit. -It is typically run via +checks the disk quota for specified local filesystems (or for each local +filesystem if none specified) and mails a warning message to those users who +have reached their softlimit. It is typically run via .BR cron (8). .TP .B -F, --format=\f2quotaformat\f1 @@ -34,10 +36,8 @@ Original quota format with 16-bit UIDs / GIDs, Quota format with 32-bit UIDs / GIDs, 64-bit space usage, 32-bit inode usage and limits, .B vfsv1 Quota format with 64-bit quota limits and usage, -.B rpc -(quota over NFS), .B xfs -(quota on XFS filesystem) +Quota on XFS filesystem. .TP .B -q, --quota-tab=\f2quotatab\f1 Use diff --git a/warnquota.c b/warnquota.c index e46b601..08827f2 100644 --- a/warnquota.c +++ b/warnquota.c @@ -10,8 +10,6 @@ * * Author: Marco van Wieringen * - * Version: $Id: warnquota.c,v 1.33 2010/01/05 16:04:57 jkar8572 Exp $ - * * 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 @@ -329,7 +327,7 @@ static FILE *run_mailer(char *command) default: close(pipefd[0]); if (!(f = fdopen(pipefd[1], "w"))) - errstr(_("Cannot open pine: %s\n"), strerror(errno)); + errstr(_("Cannot open pipe: %s\n"), strerror(errno)); return f; } } @@ -441,12 +439,12 @@ static int mail_user(struct offenderlist *offender, struct configparams *config) cnt = ldap_count_entries(ldapconn, result); if(cnt > 1) { - errstr(_("Multiple entries found for client %s, %d not sending mail.\n"), + errstr(_("Multiple entries found for client %s (%d). Not sending mail.\n"), offender->offender_name, cnt); return 0; } else if(cnt == 0) { - errstr(_("Entry not found for client %s, %d not sending mail.\n"), - offender->offender_name, cnt); + errstr(_("Entry not found for client %s. Not sending mail.\n"), + offender->offender_name); return 0; } else { /* get the attr */ @@ -941,7 +939,7 @@ static struct quota_handle *find_handle_dev(char *dev, struct quota_handle **han return handles[i]; } -static void warn_quota(void) +static void warn_quota(int fs_count, char **fs) { struct quota_handle **handles; struct configparams config; @@ -953,7 +951,7 @@ static void warn_quota(void) wc_exit(1); if (flags & FL_USER) { - handles = create_handle_list(0, NULL, USRQUOTA, -1, IOI_READONLY | IOI_OPENFILE, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); + handles = create_handle_list(fs_count, fs, USRQUOTA, -1, IOI_READONLY | IOI_INITSCAN, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); if (!maildev[0] || !strcasecmp(maildev, "any")) maildev_handle = NULL; else @@ -965,7 +963,7 @@ static void warn_quota(void) if (flags & FL_GROUP) { if (get_groupadmins() < 0) wc_exit(1); - handles = create_handle_list(0, NULL, GRPQUOTA, -1, IOI_READONLY | IOI_OPENFILE, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); + handles = create_handle_list(fs_count, fs, GRPQUOTA, -1, IOI_READONLY | IOI_INITSCAN, MS_LOCALONLY | (flags & FL_NOAUTOFS ? MS_NO_AUTOFS : 0)); if (!maildev[0] || !strcasecmp(maildev, "any")) maildev_handle = NULL; else @@ -981,7 +979,7 @@ static void warn_quota(void) /* Print usage information */ static void usage(void) { - errstr(_("Usage:\n warnquota [-ugsid] [-F quotaformat] [-c configfile] [-q quotatabfile] [-a adminsfile]\n\n\ + errstr(_("Usage:\n warnquota [-ugsid] [-F quotaformat] [-c configfile] [-q quotatabfile] [-a adminsfile] [filesystem...]\n\n\ -u, --user warn users\n\ -g, --group warn groups\n\ -s, --human-readable send information in more human friendly units\n\ @@ -1075,7 +1073,7 @@ int main(int argc, char **argv) parse_options(argc, argv); init_kernel_interface(); - warn_quota(); + warn_quota(argc - optind, argc > optind ? argv + optind : NULL); wc_exit(0); return 0; diff --git a/warnquota.conf b/warnquota.conf index 929998c..2a72b78 100644 --- a/warnquota.conf +++ b/warnquota.conf @@ -4,16 +4,17 @@ # and even blank lines # values can be quoted: -MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t" -FROM = "bas@localhost" +#MAIL_CMD = "/usr/my/sendmail/instead/sendmail -t" +MAIL_CMD = "/bin/echo" +FROM = "bas@example.com" # but they don't have to be: SUBJECT = Hey, user, clean up your account! -CC_TO = "sysadm@localhost" +CC_TO = "sysadm@example.com" # If you set this variable CC will be used only when user has less than # specified grace time left (examples of possible times: 5 seconds, 1 minute, # 12 hours, 5 days) # CC_BEFORE = 2 days -SUPPORT = "support@myhost.com" +SUPPORT = "support@example.com" PHONE = "(123) 456-1111 or (222) 333-4444" # Text in the beginning of the mail (if not specified, default text is used) # This way text can be split to more lines @@ -52,10 +53,10 @@ GROUP_SIGNATURE = See you!| Your admin| # if the attribute isn't found # if binddn and bindpw are blank or left out, an anonymous bind is used # -# LDAP_MAIL = false # or false if you don't want to use it -# If you have at least LDAP 2.3 installed, you can use LDAP_URI +# LDAP_MAIL = false # or true if you want to use it +# If you have at least LDAP 2.3 installed, you should use LDAP_URI # LDAP_URI = ldaps://my.server:389 -# Otherwise you can specify LDAP_HOST and LDAP_PORT +# Otherwise you should specify LDAP_HOST and LDAP_PORT # LDAP_HOST = ldap # LDAP_PORT = 389 # LDAP_BINDDN = uid=ReadOnlyUser,o=YourOrg