--- hesiod-3.0.2.orig/hesiod_getmailhost.3 +++ hesiod-3.0.2/hesiod_getmailhost.3 @@ -26,7 +26,7 @@ .B void hesiod_free_postoffice(void *\fIcontext\fP, .B struct hesiod_postoffice *\fIpo\fP) .PP -.B cc file.c -lhesiod +.B cc file.c \-lhesiod .fi .SH DESCRIPTION This family of functions allows you to retrieve user to postoffice --- hesiod-3.0.2.orig/configure.in +++ hesiod-3.0.2/configure.in @@ -1,21 +1,35 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(hesiod.c) +AC_INIT([hesiod], [3.0.2]) +AC_PREREQ(2.53) +AC_CONFIG_SRCDIR([hesiod.c]) test -z "$lbindir" && lbindir='${bindir}' -AC_SUBST(lbindir) +AC_SUBST([lbindir]) AC_PROG_CC AC_PROG_INSTALL AC_PROG_RANLIB -AC_EGREP_HEADER(pw_quota, pwd.h, AC_DEFINE(HAVE_PW_QUOTA)) -AC_EGREP_HEADER(pw_comment, pwd.h, AC_DEFINE(HAVE_PW_COMMENT)) -AC_EGREP_HEADER(pw_class, pwd.h, AC_DEFINE(HAVE_PW_CLASS)) -AC_EGREP_HEADER(pw_change, pwd.h, AC_DEFINE(HAVE_PW_CHANGE)) -AC_EGREP_HEADER(pw_expire, pwd.h, AC_DEFINE(HAVE_PW_EXPIRE)) +AC_EGREP_HEADER([pw_quota], [pwd.h], [AC_DEFINE(HAVE_PW_QUOTA)]) +AC_EGREP_HEADER([pw_comment], [pwd.h], [AC_DEFINE(HAVE_PW_COMMENT)]) +AC_EGREP_HEADER([pw_class], [pwd.h], [AC_DEFINE(HAVE_PW_CLASS)]) +AC_EGREP_HEADER([pw_change], [pwd.h], [AC_DEFINE(HAVE_PW_CHANGE)]) +AC_EGREP_HEADER([pw_expire], [pwd.h], [AC_DEFINE(HAVE_PW_EXPIRE)]) -AC_CHECK_FUNC(res_mkquery, :, [AC_CHECK_LIB(resolv, res_mkquery)]) -AC_CHECK_FUNCS(strerror_r) +AC_CHECK_FUNC([res_ninit], [:], + [AC_MSG_CHECKING([for standalone resolver library existence]) + old_LIBS="$LIBS" + LIBS="$LIBS -lresolv" + AC_LINK_IFELSE([AC_LANG_PROGRAM( + [[#include ]], + [[res_ninit((void *)0);]])], + [AC_MSG_RESULT([found])], + [LIBS="$old_LIBS" + AC_MSG_FAILURE([not found])])]) + +AC_CHECK_FUNCS([strerror_r]) + +AC_CONFIG_HEADER([config.h]) +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT -AC_CONFIG_HEADER(config.h) -AC_OUTPUT(Makefile) --- hesiod-3.0.2.orig/hesiod.3 +++ hesiod-3.0.2/hesiod.3 @@ -29,7 +29,7 @@ .B const char *\fItype\fP) .B void hesiod_end(void *\fIcontext\fP) .PP -.B cc file.c -lhesiod +.B cc file.c \-lhesiod .fi .SH DESCRIPTION This family of functions allows you to perform lookups of Hesiod --- hesiod-3.0.2.orig/configure +++ hesiod-3.0.2/configure @@ -1,26 +1,288 @@ #! /bin/sh - # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.10 -# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. +# Generated by GNU Autoconf 2.59 for hesiod 3.0.2. # +# Copyright (C) 2003 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + -# Defaults: -ac_help= +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +exec 6>&1 + +# +# Initializations. +# ac_default_prefix=/usr/local -# Any additions from configure.in: +ac_config_libobj_dir=. +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Maximum number of lines to put in a shell here document. +# This variable seems obsolete. It should probably be removed, and +# only ac_max_sed_lines should be used. +: ${ac_max_here_lines=38} + +# Identity of this package. +PACKAGE_NAME='hesiod' +PACKAGE_TARNAME='hesiod' +PACKAGE_VERSION='3.0.2' +PACKAGE_STRING='hesiod 3.0.2' +PACKAGE_BUGREPORT='' + +ac_unique_file="hesiod.c" +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS lbindir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS' +ac_subst_files='' # Initialize some variables set by options. +ac_init_help= +ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. -build=NONE -cache_file=./config.cache +cache_file=/dev/null exec_prefix=NONE -host=NONE no_create= -nonopt=NONE no_recursion= prefix=NONE program_prefix=NONE @@ -29,10 +291,15 @@ silent= site= srcdir= -target=NONE verbose= x_includes=NONE x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' @@ -46,14 +313,9 @@ infodir='${prefix}/info' mandir='${prefix}/man' -# Initialize some other variables. -subdirs= -MFLAGS= MAKEFLAGS= - ac_prev= for ac_option do - # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval "$ac_prev=\$ac_option" @@ -61,59 +323,59 @@ continue fi - case "$ac_option" in - -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; - *) ac_optarg= ;; - esac + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. - case "$ac_option" in + case $ac_option in -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir="$ac_optarg" ;; + bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) - ac_prev=build ;; + ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build="$ac_optarg" ;; + 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" ;; + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) - datadir="$ac_optarg" ;; + datadir=$ac_optarg ;; -disable-* | --disable-*) - ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - eval "enable_${ac_feature}=no" ;; + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) - ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } - fi - ac_feature=`echo $ac_feature| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac - eval "enable_${ac_feature}='$ac_optarg'" ;; + eval "enable_$ac_feature='$ac_optarg'" ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -122,95 +384,47 @@ -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) - exec_prefix="$ac_optarg" ;; + exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; - -help | --help | --hel | --he) - # 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 << EOF -Usage: configure [options] [host] -Options: [defaults in brackets after descriptions] -Configuration: - --cache-file=FILE cache test results in FILE - --help print this message - --no-create do not create output files - --quiet, --silent do not print \`checking...' messages - --version print the version of autoconf that created configure -Directory and file names: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [same as prefix] - --bindir=DIR user executables in DIR [EPREFIX/bin] - --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] - --libexecdir=DIR program executables in DIR [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data in DIR - [PREFIX/share] - --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data in DIR - [PREFIX/com] - --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] - --libdir=DIR object code libraries in DIR [EPREFIX/lib] - --includedir=DIR C header files in DIR [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] - --infodir=DIR info documentation in DIR [PREFIX/info] - --mandir=DIR man documentation in DIR [PREFIX/man] - --srcdir=DIR find the sources in DIR [configure dir or ..] - --program-prefix=PREFIX prepend PREFIX to installed program names - --program-suffix=SUFFIX append SUFFIX to installed program names - --program-transform-name=PROGRAM - run sed PROGRAM on installed program names -EOF - cat << EOF -Host type: - --build=BUILD configure for building on BUILD [BUILD=HOST] - --host=HOST configure for HOST [guessed] - --target=TARGET configure for TARGET [TARGET=HOST] -Features and packages: - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) - --enable-FEATURE[=ARG] include FEATURE [ARG=yes] - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --x-includes=DIR X include files are in DIR - --x-libraries=DIR X library files are in DIR -EOF - if test -n "$ac_help"; then - echo "--enable and --with options recognized:$ac_help" - fi - exit 0 ;; + -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 ;; + ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) - host="$ac_optarg" ;; + host_alias=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir="$ac_optarg" ;; + includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir="$ac_optarg" ;; + infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir="$ac_optarg" ;; + 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" ;; + libexecdir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ @@ -219,19 +433,19 @@ -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir="$ac_optarg" ;; + localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir="$ac_optarg" ;; + 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) + | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ @@ -245,26 +459,26 @@ -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir="$ac_optarg" ;; + oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix="$ac_optarg" ;; + 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_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_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ @@ -281,7 +495,7 @@ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name="$ac_optarg" ;; + program_transform_name=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) @@ -291,7 +505,7 @@ ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) - sbindir="$ac_optarg" ;; + sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ @@ -302,58 +516,57 @@ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) - sharedstatedir="$ac_optarg" ;; + sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) - site="$ac_optarg" ;; + site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir="$ac_optarg" ;; + 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" ;; + sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target ;; + ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target="$ac_optarg" ;; + target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; - -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.10" - exit 0 ;; + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; -with-* | --with-*) - ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` - case "$ac_option" in - *=*) ;; + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac - eval "with_${ac_package}='$ac_optarg'" ;; + eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) - ac_package=`echo $ac_option|sed -e 's/-*without-//'` + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. - if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then - { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } - fi - ac_package=`echo $ac_package| sed 's/-/_/g'` - eval "with_${ac_package}=no" ;; + 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. @@ -364,96 +577,110 @@ 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_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" ;; + x_libraries=$ac_optarg ;; - -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + *) - if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then - echo "configure: warning: $ac_option: invalid host type" 1>&2 - fi - if test "x$nonopt" != xNONE; then - { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } - fi - nonopt="$ac_option" + # 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 - { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } -fi - -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - -# File descriptor usage: -# 0 standard input -# 1 file creation -# 2 errors and warnings -# 3 some systems may open it to /dev/tty -# 4 used on the Kubota Titan -# 6 checking for... messages and results -# 5 compiler messages saved in config.log -if test "$silent" = yes; then - exec 6>/dev/null -else - exec 6>&1 + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } fi -exec 5>./config.log -echo "\ -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -" 1>&5 +# Be sure to have absolute paths. +for ac_var in exec_prefix prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done -# Strip out --no-create and --no-recursion so they do not pile up. -# Also quote any args containing shell metacharacters. -ac_configure_args= -for ac_arg +# Be sure to have absolute paths. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ + localstatedir libdir includedir oldincludedir infodir mandir do - case "$ac_arg" in - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c) ;; - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) - ac_configure_args="$ac_configure_args '$ac_arg'" ;; - *) ac_configure_args="$ac_configure_args $ac_arg" ;; + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; esac done -# NLS nuisances. -# Only set LANG and LC_ALL to C if already set. -# These must not be set unconditionally because not all systems understand -# e.g. LANG=C (notably SCO). -if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi -if test "${LANG+set}" = set; then LANG=C; export LANG; fi +# 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 -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo > confdefs.h +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null -# A filename unique to this package, relative to the directory that -# configure is in, which we can look for to find out if srcdir is correct. -ac_unique_file=hesiod.c # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then its parent. - ac_prog=$0 - ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` - test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. + ac_confdir=`(dirname "$0") 2>/dev/null || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` srcdir=$ac_confdir if test ! -r $srcdir/$ac_unique_file; then srcdir=.. @@ -463,13 +690,458 @@ fi if test ! -r $srcdir/$ac_unique_file; then if test "$ac_srcdir_defaulted" = yes; then - { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 + { (exit 1); exit 1; }; } else - { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } fi fi -srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 + { (exit 1); exit 1; }; } +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` +ac_env_build_alias_set=${build_alias+set} +ac_env_build_alias_value=$build_alias +ac_cv_env_build_alias_set=${build_alias+set} +ac_cv_env_build_alias_value=$build_alias +ac_env_host_alias_set=${host_alias+set} +ac_env_host_alias_value=$host_alias +ac_cv_env_host_alias_set=${host_alias+set} +ac_cv_env_host_alias_value=$host_alias +ac_env_target_alias_set=${target_alias+set} +ac_env_target_alias_value=$target_alias +ac_cv_env_target_alias_set=${target_alias+set} +ac_cv_env_target_alias_value=$target_alias +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_LDFLAGS_set=${LDFLAGS+set} +ac_env_LDFLAGS_value=$LDFLAGS +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} +ac_cv_env_LDFLAGS_value=$LDFLAGS +ac_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_env_CPPFLAGS_value=$CPPFLAGS +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_cv_env_CPPFLAGS_value=$CPPFLAGS +ac_env_CPP_set=${CPP+set} +ac_env_CPP_value=$CPP +ac_cv_env_CPP_set=${CPP+set} +ac_cv_env_CPP_value=$CPP + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures hesiod 3.0.2 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +_ACEOF + + cat <<_ACEOF +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data [PREFIX/share] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --infodir=DIR info documentation [PREFIX/info] + --mandir=DIR man documentation [PREFIX/man] +_ACEOF + + cat <<\_ACEOF +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of hesiod 3.0.2:";; + esac + cat <<\_ACEOF + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have + headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +_ACEOF +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + ac_popdir=`pwd` + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d $ac_dir || continue + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + cd $ac_dir + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_srcdir/configure.gnu; then + echo + $SHELL $ac_srcdir/configure.gnu --help=recursive + elif test -f $ac_srcdir/configure; then + echo + $SHELL $ac_srcdir/configure --help=recursive + elif test -f $ac_srcdir/configure.ac || + test -f $ac_srcdir/configure.in; then + echo + $ac_configure --help + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi + cd "$ac_popdir" + done +fi + +test -n "$ac_init_help" && exit 0 +if $ac_init_version; then + cat <<\_ACEOF +hesiod configure 3.0.2 +generated by GNU Autoconf 2.59 + +Copyright (C) 2003 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit 0 +fi +exec 5>config.log +cat >&5 <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by hesiod $as_me 3.0.2, which was +generated by GNU Autoconf 2.59. Invocation command line was + + $ $0 $@ + +_ACEOF +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_sep= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + # Get rid of the leading space. + ac_sep=" " + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Be sure not to use single quotes in there, as some shells, +# such as our DU 5.0 friend, will then `close' the trap. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +{ + (set) 2>&1 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in + *ac_space=\ *) + sed -n \ + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + ;; + *) + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------- ## +## Output files. ## +## ------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + sed "/^$/d" confdefs.h | sort + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core && + rm -rf conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status + ' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo >confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then @@ -480,164 +1152,1042 @@ fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then - echo "loading site script $ac_site_file" + { 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 - echo "loading cache $cache_file" - . $cache_file + # 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 "creating cache $cache_file" - > $cache_file + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in `(set) 2>&1 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" + eval ac_new_val="\$ac_env_${ac_var}_value" + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } fi ac_ext=c -# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. ac_cpp='$CPP $CPPFLAGS' -ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' -ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' +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 (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then - # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. - if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then - ac_n= ac_c=' -' ac_t=' ' - else - ac_n=-n ac_c= ac_t= - fi -else - ac_n= ac_c='\c' ac_t= -fi test -z "$lbindir" && lbindir='${bindir}' -# Extract the first word of "gcc", so it can be a program name with args. -set dummy gcc; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +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 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_CC="gcc" - break - fi - done - IFS="$ac_save_ifs" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + fi fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC else - echo "$ac_t""no" 1>&6 + CC="$ac_cv_prog_CC" 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + 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 - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - ac_prog_rejected=no - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then - ac_prog_rejected=yes - continue - fi - ac_cv_prog_CC="cc" - break - fi - done - IFS="$ac_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 $# -gt 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 - set dummy "$ac_dir/$ac_word" "$@" - shift - ac_cv_prog_CC="$@" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 fi +done +done + fi fi -fi -CC="$ac_cv_prog_CC" +CC=$ac_cv_prog_CC if test -n "$CC"; then - echo "$ac_t""$CC" 1>&6 + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 else - echo "$ac_t""no" 1>&6 + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi - test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } fi - -echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.c <&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then - ac_cv_prog_gcc=yes + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else - ac_cv_prog_gcc=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + fi fi - -echo "$ac_t""$ac_cv_prog_gcc" 1>&6 -if test $ac_cv_prog_gcc = yes; then - GCC=yes - if test "${CFLAGS+set}" != set; then - echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +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 'void f(){}' > conftest.c -if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then - ac_cv_prog_gcc_g=yes -else - ac_cv_prog_gcc_g=no + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 fi -rm -f conftest* + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" fi -echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6 - if test $ac_cv_prog_gcc_g = yes; then - CFLAGS="-g -O" - else - CFLAGS="-O" +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_CC" && break +done + + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 + (eval $ac_link_default) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Find the output, starting from the most likely. This scheme is +# not robust to junk in `.', hence go to wildcards (a.*) only as a last +# resort. + +# Be careful to initialize this variable, since it used to be cached. +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. +ac_cv_exeext= +# b.out is created by i960 compilers. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) + ;; + conftest.$ac_ext ) + # This is the source file. + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool, + # but it would be cool to find out if it's true. Does anybody + # maintain Libtool? --akim. + export ac_cv_exeext + break;; + * ) + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6 + +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi fi +fi +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6 + +echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6 + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6 +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cc_g=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext +done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC + +fi + +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +#include +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +continue +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h +fi + else - GCC= - test "${CFLAGS+set}" = set || CFLAGS="-g" + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_aux_dir= for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do @@ -649,14 +2199,20 @@ 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 "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } -fi -ac_config_guess=$ac_aux_dir/config.guess -ac_config_sub=$ac_aux_dir/config.sub -ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} + { (exit 1); exit 1; }; } +fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or @@ -665,655 +2221,1875 @@ # 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 $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 +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 eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - # Account for people who put trailing slashes in PATH elements. - case "$ac_dir/" in - /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; - *) - # OSF1 and SCO ODT 3.0 have their own names for install. - for ac_prog in ginstall installbsd scoinst install; do - if test -f $ac_dir/$ac_prog; then + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && - grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. - # OSF/1 installbsd also uses dspmsg, but is usable. + : + 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="$ac_dir/$ac_prog -c" - break 2 + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 fi fi done - ;; - esac - done - IFS="$ac_save_ifs" + done + ;; +esac +done + fi if test "${ac_cv_path_install+set}" = set; then - INSTALL="$ac_cv_path_install" + INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. - INSTALL="$ac_install_sh" + INSTALL=$ac_install_sh fi fi -echo "$ac_t""$INSTALL" 1>&6 +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' -# Extract the first word of "ranlib", so it can be a program name with args. -set dummy ranlib; ac_word=$2 -echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else - IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" - for ac_dir in $PATH; do - test -z "$ac_dir" && ac_dir=. - if test -f $ac_dir/$ac_word; then - ac_cv_prog_RANLIB="ranlib" - break - fi - done - IFS="$ac_save_ifs" - test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + fi fi -RANLIB="$ac_cv_prog_RANLIB" +RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then - echo "$ac_t""$RANLIB" 1>&6 + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + RANLIB=$ac_ct_RANLIB else - echo "$ac_t""no" 1>&6 + RANLIB="$ac_cv_prog_RANLIB" fi -echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 + +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 eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 else - # This must be in double quotes, not single quotes, because CPP may get - # substituted into the Makefile and "${CC-cc}" will confuse make. - CPP="${CC-cc} -E" + # 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. - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then : else - echo "$ac_err" >&5 - rm -rf conftest* - CPP="${CC-cc} -E -traditional-cpp" - cat > conftest.$ac_ext < -Syntax Error -EOF -ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } -ac_err=`grep -v '^ *+' conftest.out` -if test -z "$ac_err"; then + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then : else - echo "$ac_err" >&5 - rm -rf conftest* - CPP=/lib/cpp + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue fi -rm -f conftest* +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes fi -rm -f conftest* - ac_cv_prog_CPP="$CPP" +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break fi - CPP="$ac_cv_prog_CPP" +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 - ac_cv_prog_CPP="$CPP" + { { 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 -echo "$ac_t""$CPP" 1>&6 -cat > conftest.$ac_ext <&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep + + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "pw_quota" >/dev/null 2>&1; then - rm -rf conftest* - cat >> confdefs.h <<\EOF + $EGREP "pw_quota" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF #define HAVE_PW_QUOTA 1 -EOF +_ACEOF fi rm -f conftest* -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "pw_comment" >/dev/null 2>&1; then - rm -rf conftest* - cat >> confdefs.h <<\EOF + $EGREP "pw_comment" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF #define HAVE_PW_COMMENT 1 -EOF +_ACEOF fi rm -f conftest* -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "pw_class" >/dev/null 2>&1; then - rm -rf conftest* - cat >> confdefs.h <<\EOF + $EGREP "pw_class" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF #define HAVE_PW_CLASS 1 -EOF +_ACEOF fi rm -f conftest* -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "pw_change" >/dev/null 2>&1; then - rm -rf conftest* - cat >> confdefs.h <<\EOF + $EGREP "pw_change" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF #define HAVE_PW_CHANGE 1 -EOF +_ACEOF fi rm -f conftest* -cat > conftest.$ac_ext <conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ #include -EOF + +_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "pw_expire" >/dev/null 2>&1; then - rm -rf conftest* - cat >> confdefs.h <<\EOF + $EGREP "pw_expire" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF #define HAVE_PW_EXPIRE 1 -EOF +_ACEOF fi rm -f conftest* -echo $ac_n "checking for res_mkquery""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_func_res_mkquery'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&5 +echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6 +if test "${ac_cv_func_res_ninit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define res_ninit to an innocuous variant, in case declares res_ninit. + For example, HP-UX 11i declares gettimeofday. */ +#define res_ninit innocuous_res_ninit + /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char res_mkquery(); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char res_mkquery(); + which can conflict with char res_ninit (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ -int main() { return 0; } -int t() { +#ifdef __STDC__ +# include +#else +# include +#endif +#undef res_ninit + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char res_ninit (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ -#if defined (__stub_res_mkquery) || defined (__stub___res_mkquery) +#if defined (__stub_res_ninit) || defined (__stub___res_ninit) choke me #else -res_mkquery(); +char (*f) () = res_ninit; +#endif +#ifdef __cplusplus +} #endif -; return 0; } -EOF -if { (eval echo configure:911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_func_res_mkquery=yes" -else - rm -rf conftest* - eval "ac_cv_func_res_mkquery=no" -fi -rm -f conftest* - -fi -if eval "test \"`echo '$ac_cv_func_'res_mkquery`\" = yes"; then - echo "$ac_t""yes" 1>&6 +int +main () +{ +return f != res_ninit; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_res_ninit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_res_ninit=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_res_ninit" >&5 +echo "${ECHO_T}$ac_cv_func_res_ninit" >&6 +if test $ac_cv_func_res_ninit = yes; then : else - echo "$ac_t""no" 1>&6 -echo $ac_n "checking for -lresolv""... $ac_c" 1>&6 -ac_lib_var=`echo resolv'_'res_mkquery | tr './+\055' '__p_'` -if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - ac_save_LIBS="$LIBS" -LIBS="-lresolv $LIBS" -cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=yes" -else - rm -rf conftest* - eval "ac_cv_lib_$ac_lib_var=no" + echo "$as_me:$LINENO: checking for standalone resolver library existence" >&5 +echo $ECHO_N "checking for standalone resolver library existence... $ECHO_C" >&6 + old_LIBS="$LIBS" + LIBS="$LIBS -lresolv" + 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 () +{ +res_ninit((void *)0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + echo "$as_me:$LINENO: result: found" >&5 +echo "${ECHO_T}found" >&6 +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +LIBS="$old_LIBS" + { { echo "$as_me:$LINENO: error: not found +See \`config.log' for more details." >&5 +echo "$as_me: error: not found +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } fi -rm -f conftest* -LIBS="$ac_save_LIBS" - +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi -if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_lib=HAVE_LIB`echo resolv | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi - -fi for ac_func in strerror_r do -echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 -else - cat > conftest.$ac_ext <&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + /* System header to define __stub macros and hopefully few prototypes, - which can conflict with char $ac_func(); below. */ -#include -/* Override any gcc2 internal prototype to avoid an error. */ -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $ac_func(); + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif -int main() { return 0; } -int t() { +#undef $ac_func +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -$ac_func(); +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} #endif -; return 0; } -EOF -if { (eval echo configure:1003: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then - rm -rf conftest* - eval "ac_cv_func_$ac_func=yes" -else - rm -rf conftest* - eval "ac_cv_func_$ac_func=no" -fi -rm -f conftest* +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF fi -if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then - echo "$ac_t""yes" 1>&6 - ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` - cat >> confdefs.h <&6 -fi done + ac_config_headers="$ac_config_headers config.h" + + ac_config_files="$ac_config_files Makefile" -trap '' 1 2 15 -cat > confcache <<\EOF +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. It is not useful on other systems. -# If it contains results you don't want to keep, you may remove or edit it. +# 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. # -# By default, configure uses ./config.cache as the cache file, -# creating it if it does not exist already. You can give configure -# the --cache-file=FILE option to use a different cache file; that is -# what configure does when it calls configure scripts in -# subdirectories, so they share the cache. -# Giving --cache-file=/dev/null disables caching, for debugging configure. -# config.status only pays attention to the cache file if you give it the -# --recheck option to rerun configure. +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. # -EOF +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. -(set) 2>&1 | - sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \ - >> confcache -if cmp -s $cache_file confcache; then - : -else +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if diff $cache_file confcache >/dev/null 2>&1; then :; else if test -w $cache_file; then - echo "updating cache $cache_file" - cat confcache > $cache_file + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" fi fi rm -f confcache -trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 - test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' -# Any assignment to VPATH causes Sun make to only execute -# the first set of double-colon rules, so remove it if not needed. -# If there is a colon in the path, we need to keep it. +# 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[ ]*=[^:]*$/d' + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +}' fi -trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 - DEFS=-DHAVE_CONFIG_H -# Without the "./", some shells look in PATH for config.status. -: ${CONFIG_STATUS=./config.status} +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_i=`echo "$ac_i" | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs -echo creating $CONFIG_STATUS -rm -f $CONFIG_STATUS -cat > $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. -# This directory was configured as follows, -# on host `(hostname || uname -n) 2>/dev/null | sed 1q`: -# -# $0 $ac_configure_args -# # Compiler output produced by configure, useful for debugging -# configure, is in ./config.log if it exists. +# configure, is in config.log if it exists. -ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" -for ac_option +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME do - case "\$ac_option" in - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" - exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; - -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.10" - exit 0 ;; - -help | --help | --hel | --he | --h) - echo "\$ac_cs_usage"; exit 0 ;; - *) echo "\$ac_cs_usage"; exit 1 ;; + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done done +;; + esac -ac_given_srcdir=$srcdir -ac_given_INSTALL="$INSTALL" + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file -trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 -EOF -cat >> $CONFIG_STATUS < conftest.subs <<\\CEOF -$ac_vpsub -$extrasub -s%@CFLAGS@%$CFLAGS%g -s%@CPPFLAGS@%$CPPFLAGS%g -s%@CXXFLAGS@%$CXXFLAGS%g -s%@DEFS@%$DEFS%g -s%@LDFLAGS@%$LDFLAGS%g -s%@LIBS@%$LIBS%g -s%@exec_prefix@%$exec_prefix%g -s%@prefix@%$prefix%g -s%@program_transform_name@%$program_transform_name%g -s%@bindir@%$bindir%g -s%@sbindir@%$sbindir%g -s%@libexecdir@%$libexecdir%g -s%@datadir@%$datadir%g -s%@sysconfdir@%$sysconfdir%g -s%@sharedstatedir@%$sharedstatedir%g -s%@localstatedir@%$localstatedir%g -s%@libdir@%$libdir%g -s%@includedir@%$includedir%g -s%@oldincludedir@%$oldincludedir%g -s%@infodir@%$infodir%g -s%@mandir@%$mandir%g -s%@lbindir@%$lbindir%g -s%@CC@%$CC%g -s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g -s%@INSTALL_DATA@%$INSTALL_DATA%g -s%@RANLIB@%$RANLIB%g -s%@CPP@%$CPP%g +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi -CEOF -EOF -cat >> $CONFIG_STATUS <&1 + +# Open the log real soon, to keep \$[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. Logging --version etc. is OK. +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 +cat >&5 <<_CSEOF + +This file was extended by hesiod $as_me 3.0.2, which was +generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +_CSEOF +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 +echo >&5 +_ACEOF + +# Files that config.status was made for. +if test -n "$ac_config_files"; then + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_headers"; then + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_links"; then + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_commands"; then + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS +fi + +cat >>$CONFIG_STATUS <<\_ACEOF + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Report bugs to ." +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +hesiod config.status 3.0.2 +configured by $0, generated by GNU Autoconf 2.59, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2003 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=$srcdir +INSTALL="$INSTALL" +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_option=$1 + ac_need_defaults=false;; + esac + + case $ac_option in + # Handling of the options. +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:$LINENO: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; -CONFIG_FILES=\${CONFIG_FILES-"Makefile"} -EOF -cat >> $CONFIG_STATUS <<\EOF -for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then - # Support "outfile[:infile]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; esac + shift +done - # Adjust relative srcdir, etc. for subdirectories. +ac_configure_extra_args= - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" - # A "../" for each directory in $ac_dir_suffix. - ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` - else - ac_dir_suffix= ac_dots= - fi - - case "$ac_given_srcdir" in - .) srcdir=. - if test -z "$ac_dots"; then top_srcdir=. - else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; - /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; - *) # Relative path. - srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" - top_srcdir="$ac_dots$ac_given_srcdir" ;; +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF + + + + + +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./confstat$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "\$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@SHELL@,$SHELL,;t t +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t +s,@exec_prefix@,$exec_prefix,;t t +s,@prefix@,$prefix,;t t +s,@program_transform_name@,$program_transform_name,;t t +s,@bindir@,$bindir,;t t +s,@sbindir@,$sbindir,;t t +s,@libexecdir@,$libexecdir,;t t +s,@datadir@,$datadir,;t t +s,@sysconfdir@,$sysconfdir,;t t +s,@sharedstatedir@,$sharedstatedir,;t t +s,@localstatedir@,$localstatedir,;t t +s,@libdir@,$libdir,;t t +s,@includedir@,$includedir,;t t +s,@oldincludedir@,$oldincludedir,;t t +s,@infodir@,$infodir,;t t +s,@mandir@,$mandir,;t t +s,@build_alias@,$build_alias,;t t +s,@host_alias@,$host_alias,;t t +s,@target_alias@,$target_alias,;t t +s,@DEFS@,$DEFS,;t t +s,@ECHO_C@,$ECHO_C,;t t +s,@ECHO_N@,$ECHO_N,;t t +s,@ECHO_T@,$ECHO_T,;t t +s,@LIBS@,$LIBS,;t t +s,@lbindir@,$lbindir,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@EXEEXT@,$EXEEXT,;t t +s,@OBJEXT@,$OBJEXT,;t t +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t +s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@RANLIB@,$RANLIB,;t t +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@CPP@,$CPP,;t t +s,@EGREP@,$EGREP,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@LTLIBOBJS@,$LTLIBOBJS,;t t +CEOF + +_ACEOF - case "$ac_given_INSTALL" in - [/$]*) INSTALL="$ac_given_INSTALL" ;; - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + cat >>$CONFIG_STATUS <<\_ACEOF + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; esac - echo creating "$ac_file" - rm -f "$ac_file" - configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." - case "$ac_file" in - *Makefile*) ac_comsub="1i\\ -# $configure_input" ;; - *) ac_comsub= ;; + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac - sed -e "$ac_comsub -s%@configure_input@%$configure_input%g -s%@srcdir@%$srcdir%g -s%@top_srcdir@%$top_srcdir%g -s%@INSTALL@%$INSTALL%g -" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file -fi; done -rm -f conftest.subs + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + configure_input= + else + configure_input="$ac_file. " + fi + configure_input=$configure_input"Generated from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@abs_srcdir@,$ac_abs_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t +s,@builddir@,$ac_builddir,;t t +s,@abs_builddir@,$ac_abs_builddir,;t t +s,@top_builddir@,$ac_top_builddir,;t t +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_HEADER section. +# # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. -ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' -ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' -ac_dC='\3' -ac_dD='%g' -# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". -ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_uB='\([ ]\)%\1#\2define\3' +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' ac_uC=' ' -ac_uD='\4%g' -# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". -ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' -ac_eB='$%\1#\2define\3' -ac_eC=' ' -ac_eD='%g' - -CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"} -for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then - # Support "outfile[:infile]", defaulting infile="outfile.in". - case "$ac_file" in - *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'` - ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; - *) ac_file_in="${ac_file}.in" ;; - esac +ac_uD=',;t' - echo creating $ac_file - - rm -f conftest.frag conftest.in conftest.out - cp $ac_given_srcdir/$ac_file_in conftest.in +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac -EOF + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} -# Transform confdefs.h into a sed script conftest.vals that substitutes -# the proper values into config.h.in to produce config.h. And first: -# Protect against being on the right side of a sed subst in config.status. -# Protect against being in an unquoted here document in config.status. -rm -f conftest.vals -cat > conftest.hdr <<\EOF -s/[\\&%]/\\&/g -s%[\\$`]%\\&%g -s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp -s%ac_d%ac_u%gp -s%ac_u%ac_e%gp -EOF -sed -n -f conftest.hdr confdefs.h > conftest.vals -rm -f conftest.hdr + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + # Do quote $f, to prevent DOS paths from being IFS'd. + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + +_ACEOF + +# Transform confdefs.h into two sed scripts, `conftest.defines' and +# `conftest.undefs', that substitutes the proper values into +# config.h.in to produce config.h. The first handles `#define' +# templates, and the second `#undef' templates. +# And first: Protect against being on the right side of a sed subst in +# config.status. Protect against being in an unquoted here document +# in config.status. +rm -f conftest.defines conftest.undefs +# Using a here document instead of a string reduces the quoting nightmare. +# Putting comments in sed scripts is not portable. +# +# `end' is used to avoid that the second main sed command (meant for +# 0-ary CPP macros) applies to n-ary macro definitions. +# See the Autoconf documentation for `clear'. +cat >confdef2sed.sed <<\_ACEOF +s/[\\&,]/\\&/g +s,[\\$`],\\&,g +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp +t end +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp +: end +_ACEOF +# If some macros were called several times there might be several times +# the same #defines, which is useless. Nevertheless, we may not want to +# sort them, since we want the *last* AC-DEFINE to be honored. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs +rm -f confdef2sed.sed # This sed command replaces #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. -cat >> conftest.vals <<\EOF -s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% -EOF - -# Break up conftest.vals because some shells have a limit on -# the size of here documents, and old seds have small limits too. -# Maximum number of lines to put in a single here document. -ac_max_here_lines=12 - +cat >>conftest.undefs <<\_ACEOF +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, +_ACEOF + +# Break up conftest.defines because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS +echo ' :' >>$CONFIG_STATUS rm -f conftest.tail -while : +while grep . conftest.defines >/dev/null do - ac_lines=`grep -c . conftest.vals` - # grep -c gives empty output for an empty file on some AIX systems. - if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi - # Write a limited-size here document to conftest.frag. - echo ' cat > conftest.frag <> $CONFIG_STATUS - sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS + # Write a limited-size here document to $tmp/defines.sed. + echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#define' lines. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF - sed -f conftest.frag conftest.in > conftest.out - rm -f conftest.in - mv conftest.out conftest.in -' >> $CONFIG_STATUS - sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail - rm -f conftest.vals - mv conftest.tail conftest.vals -done -rm -f conftest.vals - -cat >> $CONFIG_STATUS <<\EOF - rm -f conftest.frag conftest.h - echo "/* $ac_file. Generated automatically by configure. */" > conftest.h - cat conftest.in >> conftest.h - rm -f conftest.in - if cmp -s $ac_file conftest.h 2>/dev/null; then - echo "$ac_file is unchanged" - rm -f conftest.h - else - # Remove last slash and all that follows it. Not all systems have dirname. - ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` - if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then - # The file is in a subdirectory. - test ! -d "$ac_dir" && mkdir "$ac_dir" - fi - rm -f $ac_file - mv conftest.h $ac_file + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines +echo ' fi # grep' >>$CONFIG_STATUS +echo >>$CONFIG_STATUS + +# Break up conftest.undefs because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.undefs >/dev/null +do + # Write a limited-size here document to $tmp/undefs.sed. + echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#undef' + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail + rm -f conftest.undefs + mv conftest.tail conftest.undefs +done +rm -f conftest.undefs + +cat >>$CONFIG_STATUS <<\_ACEOF + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi -fi; done + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF -exit 0 -EOF +{ (exit 0); exit 0; } +_ACEOF chmod +x $CONFIG_STATUS -rm -fr confdefs* $ac_clean_files -test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 +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 + --- hesiod-3.0.2.orig/hesiod_getpwnam.3 +++ hesiod-3.0.2/hesiod_getpwnam.3 @@ -25,7 +25,7 @@ .B struct passwd *hesiod_getpwuid(void *\fIcontext\fP, uid_t \fIuid\fP) .B void hesiod_free_passwd(void *\fIcontext\fP, struct passwd *\fIpw\fP) .PP -.B cc file.c -lhesiod +.B cc file.c \-lhesiod .fi .SH DESCRIPTION This family of functions allows you to retrieve passwd database --- hesiod-3.0.2.orig/hesiod_getservbyname.3 +++ hesiod-3.0.2/hesiod_getservbyname.3 @@ -25,7 +25,7 @@ .B const char *\fIname\fP, const char *\fIproto\fP) .B void hesiod_free_servent(void *\fIcontext\fP, struct servent *\fIserv\fP) .PP -.B cc file.c -lhesiod +.B cc file.c \-lhesiod .fi .SH DESCRIPTION This family of functions allows you to retrieve service to port --- hesiod-3.0.2.orig/hesinfo.1 +++ hesiod-3.0.2/hesinfo.1 @@ -19,7 +19,7 @@ hesinfo \- find out what is stored in the Hesiod database .SH SYNOPSIS .nf -hesinfo \fI[-bl]\fR \fIHesiodName\fR \fIHesiodNameType\fR +hesinfo \fI[\-bl]\fR \fIHesiodName\fR \fIHesiodNameType\fR .SH DESCRIPTION .I hesinfo takes two arguments, a name to be resolved and a string, known @@ -34,10 +34,10 @@ .I hesinfo understands the following options: .TP -.B -l +.B \-l Selects long format. .TP -.B -b +.B \-b Prints the fully-qualified string passed to the nameserver. .PP @@ -176,7 +176,7 @@ for the following valid .I HesiodNames (see above) -.B - , , :, +.B \- , , :, .B and : .TP @@ -213,7 +213,7 @@ .B . .SH FILES -/etc/athena/hesiod.conf +/etc/hesiod.conf .SH "SEE ALSO" `Hesiod - Project Athena Technical Plan -- Name Service', named(8), hesiod(3) .SH AUTHOR --- hesiod-3.0.2.orig/config.h.in +++ hesiod-3.0.2/config.h.in @@ -1,5 +1,4 @@ -/* config.h.in. Generated automatically from configure.in by autoheader. */ - +/* config.h.in. Generated from configure.in by autoheader. */ /* Define if struct passwd has a field pw_quota. */ #undef HAVE_PW_QUOTA @@ -15,8 +14,20 @@ /* Define if struct passwd has a field pw_expire. */ #undef HAVE_PW_EXPIRE -/* Define if you have the strerror_r function. */ +/* Define to 1 if you have the `strerror_r' function. */ #undef HAVE_STRERROR_R -/* Define if you have the resolv library (-lresolv). */ -#undef HAVE_LIBRESOLV +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION --- hesiod-3.0.2.orig/Makefile.in +++ hesiod-3.0.2/Makefile.in @@ -23,24 +23,33 @@ LIBS=@LIBS@ ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} OBJS=hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o +PICOBJS=$(OBJS:.o=.po) -all: libhesiod.a hesinfo hestest +all: libhesiod.so libhesiod.a hesinfo hestest libhesiod.a: ${OBJS} ar cru $@ ${OBJS} ${RANLIB} $@ -hesinfo: hesinfo.o libhesiod.a - ${CC} ${LDFLAGS} -o $@ hesinfo.o libhesiod.a ${LIBS} +libhesiod.so: ${PICOBJS} + ${CC} -shared -Wl,-soname,libhesiod.so.0 $(LIBS) -o $@ ${PICOBJS} + +hesinfo: hesinfo.o libhesiod.so + ${CC} ${LDFLAGS} -o $@ hesinfo.o -L. -lhesiod ${LIBS} hestest: hestest.o libhesiod.a - ${CC} ${LDFLAGS} -o $@ hestest.o libhesiod.a ${LIBS} + ${CC} ${LDFLAGS} -o $@ hestest.o -L. -lhesiod ${LIBS} + +${OBJS} ${PICOBJS}: hesiod.h resscan.h -${OBJS}: hesiod.h resscan.h +.SUFFIXES: .c .o .po .c.o: ${CC} -c ${ALL_CFLAGS} $< +.c.po: + ${CC} -c -o $@ -fPIC ${ALL_CFLAGS} $< + check: HESIOD_CONFIG=${srcdir}/hesiod.config.sample \ ./hestest ${srcdir}/hestest.conf @@ -55,6 +64,8 @@ ${INSTALL} -c -m 644 libhesiod.a ${DESTDIR}${libdir} ${RANLIB} ${DESTDIR}${libdir}/libhesiod.a chmod u-w ${DESTDIR}${libdir}/libhesiod.a + ${INSTALL} -c -m 644 libhesiod.so ${DESTDIR}${libdir}/libhesiod.so.0 + ln -s libhesiod.so.0 ${DESTDIR}${libdir}/libhesiod.so ${INSTALL_PROGRAM} -c -m 555 hesinfo ${DESTDIR}${lbindir} ${INSTALL} -c -m 444 ${srcdir}/hesiod.h ${DESTDIR}${includedir} ${INSTALL} -c -m 444 ${srcdir}/hesinfo.1 ${DESTDIR}${mandir}/man1 @@ -85,7 +96,7 @@ ${INSTALL} -c -m 444 ${srcdir}/hesiod.conf.5 ${DESTDIR}${mandir}/man5 clean: - rm -f ${OBJS} libhesiod.a hesinfo.o hesinfo hestest.o hestest + rm -f ${OBJS} ${PICOBJS} libhesiod.so libhesiod.a hesinfo.o hesinfo hestest.o hestest distclean: clean rm -f config.cache config.log config.status Makefile config.h --- hesiod-3.0.2.orig/debian/control +++ hesiod-3.0.2/debian/control @@ -0,0 +1,46 @@ +Source: hesiod +Section: libs +Priority: extra +Maintainer: Karl Ramm +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4.1.13) + +Package: hesiod +Architecture: any +Section: utils +Depends: ${shlibs:Depends} +Description: Project Athena's DNS-based directory service - utilities + Hesiod is a name service library that can provide general name service + for a variety of applications. It is derived from BIND, the Berkeley + Internet Name Daemon, and leverages the existing DNS infrastructure of a + network. It is used on a number of university networks, including MIT + and Iowa State University. + . + This package is only useful on networks that already use + Hesiod. + +Package: libhesiod0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Project Athena's DNS-based directory service - libraries + Hesiod is a name service library that can provide general name service + for a variety of applications. It is derived from BIND, the Berkeley + Internet Name Daemon, and leverages the existing DNS infrastructure of a + network. It is used on a number of university networks, including MIT + and Iowa State University. + . + This package contains Hesiod's shared library. + +Package: libhesiod-dev +Architecture: any +Section: libdevel +Depends: libhesiod0 +Description: Project Athena's DNS-based directory service - development files + Hesiod is a name service library that can provide general name service + for a variety of applications. It is derived from BIND, the Berkeley + Internet Name Daemon, and leverages the existing DNS infrastructure of a + network. It is used on a number of university networks, including MIT + and Iowa State University. + . + This package contains Hesiod's include files and static library. --- hesiod-3.0.2.orig/debian/watch +++ hesiod-3.0.2/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +athena-dist.mit.edu /pub/ATHENA/hesiod hesiod-*.tar.gz uupdate --- hesiod-3.0.2.orig/debian/rules +++ hesiod-3.0.2/debian/rules @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +#export DH_VERBOSE=1 + +CFLAGS = -O2 -Wall +INSTALL = install + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL += -s +endif + +package=hesiod + +version=$(shell expr `pwd` : '.*-\([0-9.]*\)') +version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*') + +build: build-stamp +build-stamp: + dh_testdir + CPPFLAGS=-D_REENTRANT ./configure --prefix=/usr --sysconfdir=/etc + + $(MAKE) CFLAGS=${CFLAGS} + touch build-stamp + +clean: + dh_testdir + dh_testroot + -rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +binary-indep: + @echo Nothing to do + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -plibhesiod0 + dh_installdebconf -a + dh_undocumented + dh_installexamples -plibhesiod0 + dh_installchangelogs -plibhesiod0 + dh_strip -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_shlibdeps -a -l./debian/libhesiod0/usr/lib + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) prefix=`pwd`/debian/hesiod/usr sysconfdir=`pwd`/debian/tmp/etc \ + mandir=`pwd`/debian/hesiod/usr/share/man install + install -m 644 hesiod.conf.sample debian/hesiod/etc/hesiod.conf + dh_movefiles --sourcedir=debian/hesiod + rm -rf debian/hesiod/usr/include debian/hesiod/usr/lib \ + debian/hesiod/usr/share/man/man3 debian/hesiod/etc \ + debian/hesiod/usr/share/man/man5 + +#get-orig-source: +# wget ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-3.0.2.tar.gz + +binary: binary-indep binary-arch + +.PHONY: build binary binary-arch binary-indep clean install --- hesiod-3.0.2.orig/debian/libhesiod0.config +++ hesiod-3.0.2/debian/libhesiod0.config @@ -0,0 +1,29 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule +if [ -f /etc/hesiod.conf ]; then + . /etc/hesiod.conf || true + if [ "$lhs" ]; then + db_set hesiod/lhs $lhs + fi + if [ "$rhs" ]; then + db_set hesiod/rhs $rhs + fi + if [ "$classes" ]; then + db_set hesiod/classes $classes + fi +elif [ -f /etc/resolv.conf ]; then + rhs=`sed -n -e's/^[[:space:]]*search[[:space:]]\+\([^[:space:]]\+\)\([[:space:]]\+.*$\)*/\1/p' \ + < /etc/resolv.conf | head -n 1` + if [ "$rhs" ]; then + if test "$rhs" = "mit.edu"; then + rhs=athena.mit.edu + fi + db_set hesiod/rhs ".$rhs" + fi +fi +db_input low hesiod/rhs || true +db_input low hesiod/lhs || true +db_input low hesiod/classes || true +db_go || true --- hesiod-3.0.2.orig/debian/changelog +++ hesiod-3.0.2/debian/changelog @@ -0,0 +1,215 @@ +hesiod (3.0.2-19) unstable; urgency=low + + * Acknowledge NMUs. + * Only fiddle with hesiod.conf at the configuration stage. Closes: #435876 + * Set the debconf priority for rhs to low; Closes: #321530 + Automatically deal with perhaps the one case ever where the obvious + default is wrong. + * JA debconf translation, thanks to Hideki Yamane. Closes: #512866 + + -- Karl Ramm Thu, 12 Mar 2009 01:08:20 -0400 + +hesiod (3.0.2-18.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Swedish. Closes: #492065 + + -- Christian Perrier Thu, 09 Oct 2008 22:29:31 +0200 + +hesiod (3.0.2-18.2) unstable; urgency=low + + * Non-maintainer upload to fix longstanding l10n issues + * Debconf templates and debian/control reviewed by the debian-l10n- + english team as part of the Smith review project. Closes: #452495 + * [Debconf translation updates] + - Basque. Closes: #453298 + - Galician. Closes: #453329, #412660 + - Vietnamese. Closes: #453375 + - Finnish. Closes: #453649 + - Italian. Closes: #454644 + - French. Closes: #454696 + - Czech. Closes: #455551 + - Russian. Closes: #455966 + - Portuguese. Closes: #456361, #420364, #439696 + - Norwegian BokmÃ¥l. Closes: #456406 + - Portuguese. Closes: #456361 + - Italian. Closes: #456510 + - Vietnamese. Closes: #453375, #427051 + - Czech. Closes: #455551 + - Spanish. Closes: #426175 + - Dutch. Closes: #468304 + - Brazilian Portuguese. Closes: #470930 + * [Lintian] Set debhelper compatibility in debian/compat + * [Lintian] No longer ignoer errors from "make distclean" + * [Lintian] Move libhesiod-dev to libdevel section + + -- Christian Perrier Sat, 15 Mar 2008 00:09:08 +0100 + +hesiod (3.0.2-18.1) unstable; urgency=low + + * Non-maintainer upload to fix longstanding l10n issues + * Debconf templates translations updates: + - Portuguese. Closes: #394024 + - French. Closes: #394066 + - German. Closes: #396429 + - Czech. Closes: #396715 + - Basque. Closes: #398575 + - Russian. Closes: #404411 + + -- Christian Perrier Fri, 19 Jan 2007 20:00:08 +0100 + +hesiod (3.0.2-18) unstable; urgency=low + + * New maintainer. Closes: #203001 + * Make debconf templates lintian compliant (add colons) + * Assert Standards-Version: 3.7.2 + + -- Karl Ramm Mon, 16 Oct 2006 03:14:28 -0400 + +hesiod (3.0.2-17.1) unstable; urgency=low + + * Non-maintainer upload, with maintainer's permission, to fix pending l10n issues + * Debconf translations: + - Fixed German. Closes: #314045 + - Added Dutch. Closes: #263714 + - Added Czech. Closes: #312150 + - Added Vietnamese. Closes: #311897 + - Added Swedish. Closes: #337769 + - Added Basque. Sent during the call for updates of the NMU. + - Added Russian. Sent during the call for updates of the NMU. + + -- Christian Perrier Tue, 3 Oct 2006 18:45:29 +0200 + +hesiod (3.0.2-16) unstable; urgency=low + + * Use ${misc:Depends} instead of depending on debconf directly, for + compatibility with cdebconf. + + -- Steve Langasek Fri, 5 Aug 2005 01:05:31 -0700 + +hesiod (3.0.2-15.1) unstable; urgency=low + + * Non-maintainer upload with maintainer permission. + * Fix configure not detecting correctly libresolv on some systems where + the symbols it tries to link to are macros. + Bug #200160 is now a wishlist. + * Fix manpages using hyphen as a minus sign. + + -- Guillem Jover Fri, 14 May 2004 05:24:52 +0200 + +hesiod (3.0.2-15) unstable; urgency=low + + * Maintenance release: incorporate pt_BR and fr debconf translations; + thanks to André Luís Lopes and Christian + Perrier . (Closes: #206179, #207074.) + + -- Steve Langasek Sun, 24 Aug 2003 21:54:39 -0500 + +hesiod (3.0.2-14) unstable; urgency=low + + * Adjust debconf handling to derive sane defaults from + /etc/resolv.conf, so the question priorities can be lowered + (closes: #202585). + * Migrate debconf templates to po-debconf for l10n and integrate + the translations that were hiding on the DDTP site. + * Link libhesiod against -lresolv (closes: #194462). + + -- Steve Langasek Sat, 26 Jul 2003 14:52:38 -0500 + +hesiod (3.0.2-13) unstable; urgency=low + + * Correct the hesiod.conf path listed in the hesinfo manpages. Thanks + to John T. Rose for reporting. + + -- Steve Langasek Sun, 8 Dec 2002 21:35:20 -0600 + +hesiod (3.0.2-12) unstable; urgency=medium + + * Significant bug in dpkg-reconfigure: the one thing in the config + users are really going to want to change doesn't get updated + properly. (closes: #144401) + * Remove /etc/hesiod.conf on purge (closes: #144400) + + -- Steve Langasek Mon, 22 Apr 2002 16:14:21 -0500 + +hesiod (3.0.2-11) unstable; urgency=low + + * fix package priorities to match the archive. + * fix /usr/share/doc symlinks. + + -- Steve Langasek Wed, 20 Mar 2002 22:39:39 -0600 + +hesiod (3.0.2-10) unstable; urgency=medium + + * The "just because no one uses it doesn't mean I should let it + release like this" release. + * Add proper dependency on debconf. + * Fix unsafe ldconfig handling in maintainer scripts. I guess that + could accidentally destroy someone's print job during an upgrade, if + you timed it just right. + + -- Steve Langasek Wed, 20 Mar 2002 22:03:11 -0600 + +hesiod (3.0.2-9) unstable; urgency=low + + * Nor should /etc/hesiod.conf belong to our package. + + -- Steve Langasek Mon, 22 Jan 2001 19:15:22 -0600 + +hesiod (3.0.2-8) unstable; urgency=low + + * If we're going to edit /etc/hesiod.conf, it should *not* be a conffile. + + -- Steve Langasek Tue, 16 Jan 2001 00:31:20 -0600 + +hesiod (3.0.2-7) unstable; urgency=low + + * Incorporated debconf support from David Maze's package + * Fixed configure args to use the correct sysconfdir setting + + -- Steve Langasek Tue, 02 Jan 2001 11:24:14 -0600 + +hesiod (3.0.2-6) unstable; urgency=low + + * use dh_links to create symlinks between doc directories. + + -- Steve Langasek Tue, 26 Dec 2000 19:15:23 -0600 + +hesiod (3.0.2-5) unstable; urgency=low + + * Removed debian/shlibs.local again, using LD_LIBRARY_PATH to let + dpkg-shlibdeps detect dependencies (per conversation with Ben Collins) + * Switched to using DH_COMPAT=2 during build. + * Use dh_makeshlibs for auto-generation of shlibs file + + -- Steve Langasek Tue, 19 Dec 2000 00:14:50 -0600 + +hesiod (3.0.2-4) unstable; urgency=low + + * Added debian/shlibs.local to ensure proper dependencies; fixes warning + from dpkg-shlibdeps + + -- Steve Langasek Tue, 19 Dec 2000 00:14:50 -0600 + +hesiod (3.0.2-3) unstable; urgency=low + + * Fixed sharedlib to properly link as PIC code. + * Moved .so symlink to the dev package. Now builds lintian-clean. + + -- Steve Langasek Wed, 29 Nov 2000 12:48:24 -0600 + +hesiod (3.0.2-2) unstable; urgency=low + + * Fixed to include a proper libhesiod package (addition of soname, + ldconfig called on install, .shlibs file created) + + -- Steve Langasek Mon, 06 Nov 2000 00:55:13 -0600 + +hesiod (3.0.2-1) unstable; urgency=low + + * Initial release. + + -- Steve Langasek Tue, 31 Oct 2000 23:27:22 -0600 + + --- hesiod-3.0.2.orig/debian/libhesiod0.postrm +++ hesiod-3.0.2/debian/libhesiod0.postrm @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "purge" ]; then + rm -f /etc/hesiod.conf +fi + +#DEBHELPER# --- hesiod-3.0.2.orig/debian/hesiod.dirs +++ hesiod-3.0.2/debian/hesiod.dirs @@ -0,0 +1,5 @@ +etc +usr/lib +usr/include +usr/share/man/man1 +usr/share/man/man5 --- hesiod-3.0.2.orig/debian/copyright +++ hesiod-3.0.2/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Steve Langasek vorlon@debian.org on +Tue, 31 Oct 2000 23:27:22 -0600. + +It was downloaded from ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/ + +Copyright: + +Copyright (C) 1996 by Internet Software Consortium. + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +Copyright 1996 by the Massachusetts Institute of Technology. + +Permission to use, copy, modify, and distribute this +software and its documentation for any purpose and without +fee is hereby granted, provided that the above copyright +notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting +documentation, and that the name of M.I.T. not be used in +advertising or publicity pertaining to distribution of the +software without specific, written prior permission. +M.I.T. makes no representations about the suitability of +this software for any purpose. It is provided "as is" +without express or implied warranty. --- hesiod-3.0.2.orig/debian/libhesiod0.postinst +++ hesiod-3.0.2/debian/libhesiod0.postinst @@ -0,0 +1,42 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_version 2.0 +db_get hesiod/rhs +rhs="$RET" +db_get hesiod/lhs +lhs="$RET" +db_get hesiod/classes +classes="$RET" + +hesconf=/etc/hesiod.conf + +if test "$1" = configure -a -z "$2"; then +# If we don't have a hesiod.conf file yet, go ahead and populate it. + if [ ! -f $hesconf ]; then + echo "# This file determines the behavior of the Hesiod library." > $hesconf + echo >> $hesconf + echo "# This line should pretty much always be the same, unless you have a" >> $hesconf + echo "# funny environment." >> $hesconf + echo "lhs=$lhs" >> $hesconf + echo >> $hesconf + echo "# This determines the Hesiod domain. You must specify an rhs line." >> $hesconf + echo "rhs=$rhs" >> $hesconf + echo >> $hesconf + echo "# This line specifies the class search order. You can reverse the" >> $hesconf + echo "# order or leave out IN or HS if you want. Don't add spaces after the" >> $hesconf + echo "# beginning of the value." >> $hesconf + echo "classes=$classes" >> $hesconf + else + sed -e "s/^lhs=.*/lhs=$lhs/" \ + -e "s/^rhs=.*/rhs=$rhs/" \ + -e "s/^classes=.*/classes=$classes/" \ + -i $hesconf + fi +fi + +#DEBHELPER# + +exit 0 --- hesiod-3.0.2.orig/debian/libhesiod-dev.links +++ hesiod-3.0.2/debian/libhesiod-dev.links @@ -0,0 +1 @@ +usr/share/doc/libhesiod0 usr/share/doc/libhesiod-dev --- hesiod-3.0.2.orig/debian/libhesiod0.files +++ hesiod-3.0.2/debian/libhesiod0.files @@ -0,0 +1,2 @@ +usr/lib/*.so.* +usr/share/man/man5/*.5 --- hesiod-3.0.2.orig/debian/README.debian +++ hesiod-3.0.2/debian/README.debian @@ -0,0 +1,10 @@ +hesiod for Debian +---------------------- + +This is the hesiod name service library, available from +ftp://athena-dist.mit.edu/pub/ATHENA/hesiod. Hesiod is derived from BIND, +the Berkeley Internet Name Daemon, and can leverage the existing DNS +infrastructure of a network to provide name service for a variety of +applications. + +Steve Langasek , Tue, 31 Oct 2000 23:27:22 -0600 --- hesiod-3.0.2.orig/debian/libhesiod0.docs +++ hesiod-3.0.2/debian/libhesiod0.docs @@ -0,0 +1 @@ +README NEWS debian/README.debian --- hesiod-3.0.2.orig/debian/libhesiod-dev.files +++ hesiod-3.0.2/debian/libhesiod-dev.files @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*.a +usr/lib/*.so +usr/share/man/man3/*.3 --- hesiod-3.0.2.orig/debian/libhesiod0.templates +++ hesiod-3.0.2/debian/libhesiod0.templates @@ -0,0 +1,42 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# debian-l10n-english@lists.debian.org for advice. +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: hesiod/rhs +Type: string +Default: .athena.mit.edu +_Description: Hesiod domain for searches: + Please enter the Hesiod RHS (right hand-side) to do searches in. + . + If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the + RHS will be '.example.org' (note leading periods) and directory lookups + will be performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'. + +Template: hesiod/lhs +Type: string +Default: .ns +_Description: Hesiod prefix for searches: + Please enter the Hesiod LHS (left hand-side) to do searches in. + . + If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the + RHS will be '.example.org' (note leading periods) and directory lookups + will be performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'. + +Template: hesiod/classes +Type: string +Default: IN,HS +_Description: DNS class search order: + Hesiod looks up names using DNS TXT records. In addition to using the + standard IN DNS class for Internet names, it also uses by default the + special HS class. + . + Please enter the class search order (the default value is suitable for + most sites). There should be no spaces in this search order value. + . + Sites using + older Hesiod installations may need to use the 'HS,IN' search order. --- hesiod-3.0.2.orig/debian/compat +++ hesiod-3.0.2/debian/compat @@ -0,0 +1 @@ +4 --- hesiod-3.0.2.orig/debian/hesiod.links +++ hesiod-3.0.2/debian/hesiod.links @@ -0,0 +1 @@ +usr/share/doc/libhesiod0 usr/share/doc/hesiod --- hesiod-3.0.2.orig/debian/po/ja.po +++ hesiod-3.0.2/debian/po/ja.po @@ -0,0 +1,91 @@ +# Copyright (C) 2007-2009 Karl Ramm +# This file is distributed under the same license as the hesiod package. +# Hideki Yamane (Debian-JP) , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.3\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2009-01-06 22:26+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "検索対象㮠Hesiod ドメイン:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "検索対象㮠Hesiod RHS (right hand-sideã€å³æ‰‹å´) を入力ã—ã¦ãã ã•ã„。" + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"ã‚‚ã—ã€Hesiod サーãƒãŒã€Œns.example.orgã€ã®å ´åˆã€LHS ã¯ã€Œ.nsã€ã€RHS ã¯ã€Œ." +"example.orgã€ã«ãªã‚Šã¾ã™ã€‚ディレクトリå‚照㯠DNS リクエストã®ã‚ˆã†ã«å‹•ä½œã—ã¾ã™ " +"(例)「sam.passwd.ns.example.orgã€ã€‚" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "検索対象㮠Hesiod プレフィックス:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "検索対象㮠Hesiod LHS (heft hand-sideã€å·¦æ‰‹å´) を入力ã—ã¦ãã ã•ã„。" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "DNS クラスã®æ¤œç´¢é †:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod ã¯ã€DNS TXT レコードを使ã£ã¦åå‰ã‚’検索ã—ã¾ã™ã€‚ãã®éš›ã¯ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆå" +"ã«ä½¿ã‚ã‚Œã¦ã„る通常㮠IN DNS クラスã«åŠ ãˆã¦ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ç‰¹åˆ¥ãª HS クラスも使" +"用ã—ã¾ã™ã€‚" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"クラスã®æ¤œç´¢é †ã‚’入力ã—ã¦ãã ã•ã„ (大抵ã®ã‚µã‚¤ãƒˆã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æŒ™å‹•ãŒé©ã—ã¦ã„ã¾" +"ã™)。ã“ã®æ¤œç´¢é †ã®å€¤ã«ã¯ç©ºç™½ã‚’入れã¦ã¯ã„ã‘ã¾ã›ã‚“。" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"å¤ã„ Hesiod ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã‚’使ã£ã¦ã„るサイトã§ã¯ã€ŒHS,INã€ã¨ã„ã†æ¤œç´¢é †ã‚’使ã†å¿…" +"è¦ãŒã‚ã‚‹ã§ã—ょã†ã€‚" --- hesiod-3.0.2.orig/debian/po/templates.pot +++ hesiod-3.0.2/debian/po/templates.pot @@ -0,0 +1,83 @@ +# 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: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\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" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" --- hesiod-3.0.2.orig/debian/po/cs.po +++ hesiod-3.0.2/debian/po/cs.po @@ -0,0 +1,131 @@ +# translation of hesiod_3.0.2-18_cs.po to czech +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Jakub Kasparec , 2006. +# Miroslav Kure , 2007. +msgid "" +msgstr "" +"Project-Id-Version: hesiod\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-24 14:30+0100\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Doména Hesiodu pro vyhledávání:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Zadejte prosím pravou Äást domény, ve které se má prohledávat." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Jmenuje-li se Hesiod server „ns.priklad.org“, pak levá strana bude „.ns“, " +"pravá pak „.priklad.org“ (vÅ¡imnÄ›te si úvodních teÄek) a vyhledávání v " +"adresáři bude probíhat formou DNS dotazů na (například) „sam.passwd.ns." +"priklad.org“." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefix Hesiodu pro vyhledávání:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Zadejte prosím levou Äást domény, ve které se má prohledávat." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "PoÅ™adí prohledávání DNS tříd:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod vyhledává jména za použití DNS TXT záznamů. Jako doplňku k použití " +"standardní třídy IN DNS pro internetová jména se jako výchozí používá také " +"speciální třída HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Zadejte prosím poÅ™adí prohledávání tříd (výchozí hodnota se hodí pro vÄ›tÅ¡inu " +"serverů. V této hodnotÄ› by se nemÄ›ly vyskytovat mezery." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Na serverech, na kterých se stále používá starší verze Hesiodu, zÅ™ejmÄ› " +"budete muset zadat poÅ™adí „HS,IN“." + +#~| msgid "" +#~| "Hesiod looks up keys using the standard Domain Name System. Enter the " +#~| "right-hand side of the domain name to do searches in. This name should " +#~| "begin with a \".\"." +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Hesiod vyhledává klíÄe s použitím standardního DNS (jmenného doménového " +#~ "systému). Zadejte doménové jméno (jeho pravou Äást), které se má " +#~ "prohledávat. Toto jméno by mÄ›lo zaÄínat znakem „.“." + +#~| msgid "" +#~| "Hesiod lookups generally happen in a subdomain of the main domain. Enter " +#~| "the name of the subdomain here. This name should begin with a \".\". " +#~| "At most sites, this entry should be \".ns\"." +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "Vyhledávání Hesiodu se obecnÄ› dÄ›je v poddoménÄ› domény. Zadejte jméno této " +#~ "poddomény. Jméno by mÄ›lo zaÄínat „.“. U vÄ›tÅ¡iny serverů to pravdÄ›podobnÄ› " +#~ "bude „.ns“." --- hesiod-3.0.2.orig/debian/po/it.po +++ hesiod-3.0.2/debian/po/it.po @@ -0,0 +1,94 @@ +# Italian (it) translation of debconf templates for hesiod +# Copyright (C) 2007 Software in the Public Interest +# This file is distributed under the same license as the hesiod package. +# Luca Monducci , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2 debconf templates\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-16 09:32+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Dominio Hesiod per le ricerche:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Inserire l'Hesiod RHS (la parte di destra) in cui effettuare le ricerche." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se il server Hesiod è \"ns.esempio.org\" allora l'LHS è \".ns\", l'RHS è \"." +"esempio.org\" (notare il punto iniziale) e le ricerche saranno effettuate " +"come richieste DNS verso (per esempio) \"sam.passwd.ns.esempio.org\"." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefisso Hesiod per le ricerche:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Inserire l'Hesiod LHS (la parte di sinistra) in cui effettuare le ricerche." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordine di ricerca classe DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod ricerca i nomi usando i record TXT nel DNS. Inoltre, per usare la " +"classe standard IN del DNS per i nomi Internet, viene anche usata la classe " +"speciale HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Inserire l'ordine di ricerca delle classi (il valore predefinito è adatto " +"per la maggior parte dei siti). Non si devono inserire spazi fra i valori." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Nei siti in cui sono installate vecchie versioni di Hesiod potrebbe essere " +"necessario usare \"HS,IN\" come ordine di ricerca." --- hesiod-3.0.2.orig/debian/po/gl.po +++ hesiod-3.0.2/debian/po/gl.po @@ -0,0 +1,110 @@ +# Galician translation of hesiod's debconf templates +# This file is distributed under the same license as the hesiod package. +# Jacobo Tarrio , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 18:41+0000\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Dominio Hesiod para as buscas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Introduza o RHS (lado dereito) de Hesiod no que facer as buscas." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se o servidor Hesiod é \"ns.exemplo.org\", a parte esquerda (LHS) ha ser \"." +"ns\", a parte dereita (RHS) ha ser \".exemplo.org\" (teña en conta os puntos " +"ao principio) e as buscas no directorio hanse realizar coma consultas DNS a " +"(por exemplo) \"sam.passwd.ns.exemplo.org\"." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefixo Hesiod para as buscas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Introduza o LHS (lado esquerdo) de Hesiod no que facer as buscas." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Orde de busca de clases DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod busca os nomes empregando rexistros DNS TXT. Ademáis de usar a clase " +"DNS estándar IN para os nomes de Internet, tamén emprega por defecto a clase " +"especial HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Introduza a orde de busca de clases (o valor por defecto é axeitado para a " +"maioría dos sitios). Non debería haber espazos neste valor de orde de busca." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Os sitios que empreguen instalacións Hesiod antigos poden ter que empregar a " +"orde de busca \"HS,IN\"." + +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Hesiod busca as claves empregando o sistema DNS estándar. Introduza a " +#~ "parte da dereita do nome de dominio no que buscar. Este nome debe comezar " +#~ "cun punto (\".\")." + +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "As buscas Hesiod adoitan facerse nun subdominio do dominio principal. " +#~ "Introduza o nome do subdominio. Este nome debería comezar cun punto (\"." +#~ "\"). En moitos sitios, esta entrada é \".ns\"." --- hesiod-3.0.2.orig/debian/po/pt_BR.po +++ hesiod-3.0.2/debian/po/pt_BR.po @@ -0,0 +1,100 @@ +# hesiod Brazilian Portuguese translation +# Copyright (c) 2008 hesiod's COPYRIGHT HOLDER +# This file is distributed under the same license as the hesiod package. +# Eder L. Marques (frolic) , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2008-03-11 11:33-0300\n" +"Last-Translator: Eder L. Marques (frolic) \n" +"Language-Team: l10n Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domínio do hesiod para pesquisas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Por favor, informe o Hesiod RHS (\"right hand-side\") onde as pesquisas " +"devem ser feitas." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se o servidor Hesiod é 'ns.exemplo.org', então o LHS será '.ns', o RHS será " +"'.exemplo.org' (observe os pontos finais) e pesquisas de diretório serão " +"realizadas como pedidos DNS para (e.g) 'sam.passwd.ns.exemplo.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefixo do Hesiod para pesquisas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Por favor, informe o Hesiod LHS (\"left hand-side\") onde as pesquisas devem " +"ser feitas." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordem de pesquisa da classe DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"O Hesiod consulta nomes usando registros DNS TXT. Além de utilizar a classe " +"padrão DNS IN para nomes de internet, ele também usa por padrão a classe " +"especial HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Por favor, informe a ordem da classe de pesquisa (o valor padrão é adequado " +"para a maioria dos sites) Não deve haver espaços no valor desta ordem de " +"pesquisa." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sites usando instalações antigas do Hesiod podem precisar usar a ordem de " +"pesquisa 'HS,IN'." --- hesiod-3.0.2.orig/debian/po/fr.po +++ hesiod-3.0.2/debian/po/fr.po @@ -0,0 +1,100 @@ +# Translation of hesiod debconf templates to French +# Copyright (C) 2006-2007 Christian Perrier +# This file is distributed under the same license as the hesiod package. +# +# Christian Perrier , 2006-2007. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 12:27+0530\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domaine Hesiod pour les recherches :" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Veuillez indiquer la « RHS » (« right hand-side » : partie droite) Hesiod dans " +"laquelle auront lieu les recherches." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Si le serveur Hesiod est « ns.example.org », la partie gauche sera alors « ." +"ns » et la partie droite « .example.org » (veuillez noter les points " +"initiaux). Les recherches dans le répertoires se feront alors sous forme de " +"requêtes DNS sur, par exemple, « sam.passwd.ns.example.org »." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Préfixe Hesiod pour les recherches :" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Veuillez indiquer la « LHS » (« left hand-side » : partie gauche) Hesiod dans " +"laquelle auront lieu les recherches." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordre de recherche dans les classes DNS :" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod effectue ses recherches en utilisant les enregistrements TXT du " +"service de noms de domaine (DNS). En plus d'utiliser la classe standard IN " +"du DNS pour rechercher les noms Internet, il utilise également par défaut la " +"classe spéciale HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Veuillez indiquer l'ordre de recherche dans les classes (la valeur par " +"défaut est adaptée à la plupart des sites). Ce réglage ne doit pas " +"comprendre d'espace." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sur certains sites où des installations anciennes de Hesiod sont encore " +"utilisées, il pourrait être nécessaire d'indiquer plutôt « HS,IN »." --- hesiod-3.0.2.orig/debian/po/fi.po +++ hesiod-3.0.2/debian/po/fi.po @@ -0,0 +1,90 @@ +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 11:35+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: Finland\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hauissa käytettävä Hesiod-verkkoalue:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Anna Hesiod RHS (oikea puoli), jossa haut tehdään." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Jos Hesiod-palvelin on â€ns.esimerkki.fiâ€, on LHS (vasen puoli) â€.ns†ja RHS " +"(oikea puoli) â€.esimerkki.fi†(huomaa edeltävät pisteet), ja hakemistohaut " +"tehdään DNS-kyselyinä (esimerkiksi) osoitteeseen â€sam.passwd.ns.esimerkki." +"fiâ€." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hauissa käytettävä Hesiod-etuliite:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Anna Hesiod LHS (vasen puoli), jossa haut tehdään." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "DNS-luokkien hakujärjestys:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod etsii nimiä käyttäen DNS TXT -tietueita. Sen lisäksi, että se käyttää " +"Internet-nimien kanssa standardia IN DNS -luokkaa, se käyttää myös " +"oletuksena erityistä HS-luokkaa." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Anna luokkien hakujärjestys (oletusarvo on sopiva useimmille sivustoille). " +"Hakujärjestysarvossa ei tulisi olla välilyöntejä." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Vanhempia Hesiod-asennuksia käyttävien sivujen tarvitsee ehkä käyttää " +"hakujärjestystä â€HS,INâ€." --- hesiod-3.0.2.orig/debian/po/pt.po +++ hesiod-3.0.2/debian/po/pt.po @@ -0,0 +1,93 @@ +# Portuguese translation of hesiod's debconf messages. +# Rui Branco , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-15 18:53+0000\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domínio Hesiod para efectuar procuras:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Por favor introduz o RHS do Hesiod (lado direito) para efectuar pesquisas." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se o servidor Hesiod é 'ns.exemplo.org' então o LHS será 'ns', o RHS será ' " +"exemplo.org' (note as plicas) e as pesquisas nos directórios serão " +"efectuadas como pedidos DNS (ex.) 'sam.passwd.ns.exemplo.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefixo Hesiod para procuras:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Por favor introduz o LHS do Hesiod (lado esquerdo) para efectuar pesquisas." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordem de procura por classes de DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"O Hesiod procura nome utilizando os registos DNS TXT. Para além de usar as " +"classes standard IN DNS para os nomes na Internet, também utiliza as classes " +"especiais HS por omissão." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Por favor introduza a ordem de procura de classes (o valor por omissão é " +"adequado para a maior parte dos sites). Não deverá existir espaços entre os " +"valores da ordem de procura." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Os sites que utilizem instalações antigas de Hesiod podem precisar de usar a " +"ordem 'HS,IN'." --- hesiod-3.0.2.orig/debian/po/nb.po +++ hesiod-3.0.2/debian/po/nb.po @@ -0,0 +1,94 @@ +# translation of nb.po_[orw2uc].po to Norwegian BokmÃ¥l +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bjørn Steensrud , 2007. +msgid "" +msgstr "" +"Project-Id-Version: nb.po_[orw2uc]\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-16 14:48+0100\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian BokmÃ¥l \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hesiod-domene for søking:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Oppgi Hesiod RHS (Right Hand Side, høyreside) der det skal søkes." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Hvis Hesiod-tjeneren er «ns.example.org», sÃ¥ er venstresiden (LHS) «.ns», " +"høyresiden (RHS) blir «.example.org» (merk innledende punktum), og " +"katalogoppslag blir utført som DNS-forespørsler til f.eks. «sam.passwd.ns." +"example.org»." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hesiod-prefiks for søking:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Oppgi Hesiod LHS (Left Hand Side, venstreside) der det skal søkes." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Søkerekkefølge for DNS -klasser:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod slÃ¥r opp navn ved Ã¥ bruke DNS TXT-poster. I tillegg til Ã¥ bruke " +"standard DNS-klassen IN for internettnavn, sÃ¥ bruker den som standard ogsÃ¥ " +"den spesielle HS-klassen." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Oppgi søkerekkefølge for klassene (standardverdien passer de fleste steder.) " +"Det skal ikke være mellomrom i denne søkelisteverdien." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Steder som bruker eldre Hesiod-installasjoner kan trenge Ã¥ bruke " +"søkerekkefølgen «HS,IN»." --- hesiod-3.0.2.orig/debian/po/de.po +++ hesiod-3.0.2/debian/po/de.po @@ -0,0 +1,133 @@ +# Translation of hesiod debconf templates to German +# Copyright (C) Helge Kreutzmann , 2006, 2007. +# This file is distributed under the same license as the hesiod package. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 19:38+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hesiod-Domain, in der gesucht werden soll:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Bitte geben Sie die RHS (rechte Seite, »right hand-side«) von Hesiod für " +"Suchen ein." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Falls der Hesiod-Server »ns.example.org« ist, dann ist die linke Seite (LHS, " +"»left hand side«) ».ns«, die RHS ist dann ».example.org« (beachten Sie die " +"einleitenden Punkte) und Verzeichnisabfragen werden als DNS-Anfragen an (z." +"B.) »sam.passwd.ns.example.org« gerichtet." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hesiod-Präfix für Recherchen:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Bitte geben Sie die LHS (linke Seite, »left hand-side«) von Hesiod für Suchen " +"ein." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Such-Reihenfolge der DNS-Klassen:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod schlägt Namen in DNS TXT-Datensätzen nach. Zusätzlich zur Verwendung " +"der normalen IN DNS-Klasse für Internet-Namen verwendet es standardmäßig " +"auch spezielle HS-Klassen." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Bitte geben Sie die Klassen-Suchreihenfolge ein (der voreingestellte Wert " +"ist für die meisten Sites geeignet). Es sollte im Wert der Suchreihenfolge " +"keine Leerzeichen geben." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sites, die eine ältere Hesiod-Installation verwenden, könnten die " +"Suchreihenfolge »HS,IN« benötigen." + +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Hesiod sucht Schlüssel mit Hilfe des normalen Domain Name Systems. Bitte " +#~ "geben Sie hier den am weitesten rechts stehenden Teil des Domainnamens " +#~ "ein, in dem gesucht werden soll. Dieser Name sollte mit einem Punkt (».«) " +#~ "beginnen." + +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "Hesiod-Recherchen finden generell in einer Subdomäne der Hauptdomäne " +#~ "statt. Bitte geben Sie den Namen der Subdomäne ein. Der Name sollte mit " +#~ "einem ».« beginnen. Dieser Eintrag lautet bei vielen Sites ».ns«." + +#~ msgid "" +#~ "Hesiod looks up names using DNS TXT records. In addition to using the " +#~ "standard IN DNS class for Internet names, it also uses by default the " +#~ "special HS class. You can change the class search order here, or leave " +#~ "out IN or HS if you want to. Don't insert extra spaces in the value. " +#~ "The default search path is \"IN,HS\" to search both classes. At some " +#~ "sites where older hesiod installations are still in use, you may need to " +#~ "specify \"HS,IN\" instead." +#~ msgstr "" +#~ "Hesiod löst die Namen anhand von DNS-TXT-Einträgen auf. Zusätzlich zu der " +#~ "Standard-IN-DNS-Klasse für Internet-Namen kann auch der Gebrauch der " +#~ "speziellen HS-Klasse voreingestellt werden. Sie können Sie Klassen-Such-" +#~ "Reihenfolge hier verändern oder auch IN bzw. HS herausnehmen. Bitte fügen " +#~ "Sie keine Leerzeichen ein. Der Standard-Suchpfad ist »IN,HS« für die Suche " +#~ "in beiden Klassen. In einigen Betrieben mit älteren Hesiod-Installationen " +#~ "brauchen Sie vielleicht stattdessen »HS,IN«." --- hesiod-3.0.2.orig/debian/po/nl.po +++ hesiod-3.0.2/debian/po/nl.po @@ -0,0 +1,140 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-15.1\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2008-02-29 10:27+0100\n" +"Last-Translator: Bart Cornelis \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domein voor Hesiod-zoekopdrachten:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"In welke Hesiod RHS (Right Hand-Side/Rechterkant) wilt u zoekopdrachten " +"uitvoeren?" + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Wanneer de Hesiod-server 'ns.example.org' is dan is de LHS '.ns' en de RHS '." +"example.org' (Let op de leidende punten!). Zoekopdrachten worden dan " +"uitgevoerd als DNS-zoekopdrachten naar (bv.) 'sam.passwd.ns.example.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefix voor Hesiod-zoekopdrachten:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"In welke Hesiod LHS (Left Hand-Side/Linkerkant) wilt u zoekopdrachten " +"uitvoeren?" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Zoekvolgorde voor DNS-klassen:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod zoekt namen op d.m.v DNS-TXT-records. Naast de standaard IN-DNS-" +"klasse voor Internet namen gebruikt Hesiod ook de speciale HS-klasse." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Wat is de zoekvolgorde voor klassen? De standaardwaarde is geschikt voor de " +"meeste sites. Er mogen zich in de hier ingevulde waarde geen spaties " +"bevinden." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sites die oudere Hesiod-installaties gebruiken dienen mogelijk de " +"zoekvolgorde 'HS,IN' te gebruiken." + +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Enter the " +#~ "right-hand side of the domain name to do searches in. This name should " +#~ "begin with a \".\"." +#~ msgstr "" +#~ "Hesiod zoekt sleutels aan de hand van het standaard DNS. Om een " +#~ "domeinnaam op te zoeken dient u het rechterdeel ervan in te voeren (dit " +#~ "moet met een punt beginnen)." + +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Enter " +#~ "the name of the subdomain here. This name should begin with a \".\". At " +#~ "most sites, this entry should be \".ns\"." +#~ msgstr "" +#~ "Hesiod-zoekopdrachten gebeuren gewoonlijk in een subdomein van het " +#~ "basisdomein. Wat is de naam van het subdomein? Dit dient te starten met " +#~ "een punt, en voor de meeste sites is dit '.ns'." + +#~ msgid "" +#~ "Hesiod looks up names using DNS TXT records. In addition to using the " +#~ "standard IN DNS class for Internet names, it also uses by default the " +#~ "special HS class. You can change the class search order here, or leave " +#~ "out IN or HS if you want to. Don't insert extra spaces in the value. " +#~ "The default search path is \"IN,HS\" to search both classes. At some " +#~ "sites where older hesiod installations are still in use, you may need to " +#~ "specify \"HS,IN\" instead." +#~ msgstr "" +#~ "Hesiod zoekt namen op aan de hand van DNS TXT-records. Naast gebruik van " +#~ "de standaard 'IN' DNS-klasse voor Internetnamen, gebruikt het ook " +#~ "standaard de speciale klasse 'HS'. U kunt hier de zoekvolgorde aan uw " +#~ "wensen aanpassen (en desgewenst daarbij IN of HS weglaten). Voeg geen " +#~ "extra spaties toe. Het standaard zoekpad is 'IN,HS' om in beide klassen " +#~ "te zoeken. Voor sommige sites waar nog oudere hesiod-installaties worden " +#~ "gebruikt, moet u misschien in plaats daarvan 'HS,IN' opgeven." --- hesiod-3.0.2.orig/debian/po/POTFILES.in +++ hesiod-3.0.2/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] libhesiod0.templates --- hesiod-3.0.2.orig/debian/po/sv.po +++ hesiod-3.0.2/debian/po/sv.po @@ -0,0 +1,106 @@ +# translation of hesiod_3.0.2-18.2_sv.po to Swedish +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Martin Ågren , 2008. +msgid "" +msgstr "" +"Project-Id-Version: hesiod_3.0.2-18.2_sv\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2008-07-23 17:51+0200\n" +"Last-Translator: Martin Ågren \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: swe\n" +"X-Poedit-Country: swe\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hesiod-domän för sökningar:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Ange Hesiod-RHS (högersida, eng. right hand side) att söka i." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Om Hesiod-servern är \"ns.example.org\", kommer LHS att vara \".ns\", RHS \"." +"example.org\" (observera inledande punkter) och kataloguppslag kommer att " +"göras som DNS-förfrågningar till (t. ex.) \"sam.passwd.ns.example.org\"." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hesiod-prefix för sökningar:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Ange Hesiod-LHS (vänstersida, eng. left hand side) att söka i." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Sökordning för DNS-klasser:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod slår upp namn med hjälp av DNS-TXT-register. Förutom DNS' " +"standardklass IN för internetnamn använder den också den speciella HS-" +"klassen." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Ange klassökningsordning (standardvärdet är lämpligt för de flesta platser). " +"Inga blanksteg får förekomma i detta sökordningsvärde." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Platser som använder äldre Hesiod-installationer kan behöva använda " +"sökordningen \"HS,IN\"." --- hesiod-3.0.2.orig/debian/po/eu.po +++ hesiod-3.0.2/debian/po/eu.po @@ -0,0 +1,105 @@ +# translation of hesiod-eu.po to Euskara +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Piarres Beobide , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: hesiod-eu\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 09:58+0100\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Bilaketetarako hesiod domeinua:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Mesedez idatzi bilaketak bertan egiteko Hesiod RHS-a (eskuinaldea)." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Adibidez Hesiod zerbitzaria 'ns.adibidea.org' bada orduan LHS-a '.ns' izango " +"litzateke eta RHS '.adibidea.org' izan beharko litzateke (ohartu hasierako " +"puntuez) eta direktorioa bilaketak DNS eskakizun bat bezala egin ahal izango " +"dira (adibidez) 'ion.pasahitza.ns.adibide.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Bilaketetako hesiod aurrizkia:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Mesedez idatzi bilaketak bertan egiteko hesiod LHS-a (ezkerraldea)." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "DNS klase bilaketa ordena:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod-ek izenak DNS TXT erregistroak erabiliaz bilatuko du. Estandarra den " +"DNS IN klasea erabiliaz gain HS klase berezia ere erabiltzen du lehenespen " +"bezala." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Mesedez idatzi klase bilaketa ordena (lehenetsiriko balioa erabilgarria da " +"leku gehienentzat). Ez zuriunerik utzi bilaketa orden balioen artean." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Hesiod instalazio zaharragoak erabiltzen duten guneek 'HS;IN' bilaketa " +"ordena erabili behar dute." --- hesiod-3.0.2.orig/debian/po/vi.po +++ hesiod-3.0.2/debian/po/vi.po @@ -0,0 +1,117 @@ +# Vietnamese Translation for hesiod. +# Copyright © 2007 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-21 23:02+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.7b1\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Miá»n Hesiod để tìm kiếm:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Hãy nhập RHS (bên phải) Hesiod trong đó cần tìm kiếm." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Nếu máy phục vụ Hesiod là « ns.example.org » thì LHS (bên trái) là « .ns », " +"RHS (bên phải) là « .example.org » (phải ghi dấu chấm Ä‘i trÆ°á»›c), và các công " +"việc tra cứu thÆ° mục sẽ được thá»±c hiện nhÆ° yêu cầu DNS đến (v.d.) « sam." +"passwd.ns.example.org »." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Tiá»n tố Hesiod để tìm kiếm:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Hãy nhập LHS (bên trái) Hesiod trong đó cần tìm kiếm." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Thứ tá»± tìm kiếm hạng DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Trình Hesiod tra cứu tên dùng các mục ghi TXT kiểu DNS. Thêm vào dùng hạng " +"DNS IN cho tên Internet, mặc định là nó cÅ©ng dùng hạng HS đặc biệt." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Hãy nhập vào đây thứ tá»± tìm kiếm qua các hạng (giá trị mặc định thích hợp " +"vá»›i phần lá»›n địa chỉ). Không cho phép dấu cách trong giá trị thứ tá»± tìm kiếm." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Äịa chỉ dùng bản cài đặt Hesiod cÅ© thì có thể cần phải dùng thứ tá»± tìm kiếm « " +"HS,IN »." + +# Hesiod looks up keys using the standard Domain Name System. Enter the +# right-hand side of the domain name to do searches in. This name should +# begin with a \".\". +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Trình Hesiod tra cứu khóa dùng Hệ thống Tên Miá»n (DNS) chuẩn. Hãy nhập " +#~ "phần tận bên phải của tên miá»n qua đó cần tìm kiếm. Tên này nên bắt đầu " +#~ "vá»›i má»™t dấu chấm « . », v.d. « .vnoss.org »." + +# Hesiod lookups generally happen in a subdomain of the main domain. Enter +# the name of the subdomain here. This name should begin with a \".\". At +# most sites, this entry should be \".ns\". +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "Việc tra cứu Hesiod thÆ°á»ng xây ra trong má»™t miá»n con của miá»n chính. Hãy " +#~ "nhập vào đây tên của miá»n con đó. Tên nên bắt đầu vá»›i má»™t dấu chấm « . ». " +#~ "Tại phần lá»›n địa chỉ Internet, mục nhập này là « .ns »." --- hesiod-3.0.2.orig/debian/po/ru.po +++ hesiod-3.0.2/debian/po/ru.po @@ -0,0 +1,104 @@ +# translation of ru.po to Russian +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# +# Yuri Kozlov , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 20:45+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Домен Hesiod Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñков:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Введите Hesiod RHS (правую чаÑÑ‚ÑŒ) поиÑка." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"ЕÑли Ñервер Hesiod -- 'ns.example.org', то LHS будет равна '.ns', а RHS -- '." +"example.org' (Ñ Ñ‚Ð¾Ñ‡ÐºÐ°Ð¼Ð¸ в начале), и поиÑк в каталоге будет выполнÑÑ‚ÑŒÑÑ ÐºÐ°Ðº " +"запроÑÑ‹ DNS к (например) 'sam.passwd.ns.example.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "ÐŸÑ€ÐµÑ„Ð¸ÐºÑ Hesiod Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñков:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Введите Hesiod LHS (левую чаÑÑ‚ÑŒ) поиÑка." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "ПорÑдок поиÑка в клаÑÑах DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod ищет данные в TXT запиÑÑÑ… DNS. Кроме иÑпользуемого по умолчанию " +"Ñпециального клаÑÑа HS, иÑпользуетÑÑ Ñтандартный IN клаÑÑ DNS Ð´Ð»Ñ Ð¸Ð¼Ñ‘Ð½ " +"интернет." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Укажите порÑдок проÑмотра клаÑÑов (значение по умолчанию подходит Ð´Ð»Ñ " +"большинÑтва уÑтановок). Ðе вÑтавлÑйте дополнительные пробелы в значение " +"порÑдка поиÑка." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Ð”Ð»Ñ ÑƒÑтановленных ранних верÑий Hesiod, может потребоватьÑÑ ÑƒÐºÐ°Ð·Ð°Ñ‚ÑŒ порÑдок " +"поиÑка 'HS,IN'." --- hesiod-3.0.2.orig/debian/po/.svn/format +++ hesiod-3.0.2/debian/po/.svn/format @@ -0,0 +1 @@ +9 --- hesiod-3.0.2.orig/debian/po/.svn/entries +++ hesiod-3.0.2/debian/po/.svn/entries @@ -0,0 +1,613 @@ +9 + +dir +417 +svn://svn.1ts.org/debian/trunk/hesiod/debian/po +svn://svn.1ts.org/debian + + + +2009-03-12T04:48:37.983466Z +417 +kcr + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + + + + + + + + +0 + +gl.po +file + + + + +2009-03-12T04:44:23.000000Z +a914540d63af4d4ff41516e36ee76c61 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3998 + +cs.po +file + + + + +2009-03-12T04:44:23.000000Z +4a07c2310dd4b220f5a242789b819e39 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +5019 + +pt_BR.po +file + + + + +2009-03-12T04:44:23.000000Z +034450fcb767a7a3bb3254654909dcc7 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3358 + +fr.po +file + + + + +2009-03-12T04:44:23.000000Z +b1e4d340c8a56dc938275d46dc9afb41 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3593 + +nl.po +file + + + + +2009-03-12T04:44:23.000000Z +8b841f91994e5cc6f4742372f1fa084d +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +5400 + +eu.po +file + + + + +2009-03-12T04:44:23.000000Z +88e43a90cfa7d3d9b3c57984d2eb127f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3647 + +it.po +file + + + + +2009-03-12T04:44:23.000000Z +3662e08ea297f8e43f081c95c3d245eb +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3244 + +POTFILES.in +file + + + + +2009-03-12T04:44:23.000000Z +0a08fda58844ed968ead8dafcb6b2987 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +47 + +vi.po +file + + + + +2009-03-12T04:44:23.000000Z +099f8254768bd19b5648f079ef83db8e +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +4715 + +templates.pot +file + + + + +2009-03-12T04:44:23.000000Z +41ec7191b2e83609a49cc116f7b0cfb5 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2233 + +pt.po +file + + + + +2009-03-12T04:44:23.000000Z +0f87f215ed9858d540847999b94ff198 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3106 + +ru.po +file + + + + +2009-03-12T04:44:23.000000Z +50190fe0457fc1654db535c7a607be4f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +4098 + +de.po +file + + + + +2009-03-12T04:44:23.000000Z +ea5a2a9450b90edf9b02b1607249e7b4 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +5270 + +sv.po +file + + + + +2009-03-12T04:44:23.000000Z +4ef8393b54e01faee15947a9ee7aa55e +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3640 + +ja.po +file +418 + + + +2009-03-12T05:06:21.000000Z +674d441ef7315f29c034e0b1c2947f6e +2009-03-12T05:11:07.010696Z +418 +kcr + + + + + + + + + + + + + + + + + + + + + +3368 + +fi.po +file + + + + +2009-03-12T04:44:23.000000Z +435fa84bdd7e8ca8cf3a7fe5cc9ff056 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3038 + +nb.po +file + + + + +2009-03-12T04:44:23.000000Z +3166340f042b3e18fa860d60b0768502 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3252 + --- hesiod-3.0.2.orig/debian/po/.svn/text-base/gl.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/gl.po.svn-base @@ -0,0 +1,110 @@ +# Galician translation of hesiod's debconf templates +# This file is distributed under the same license as the hesiod package. +# Jacobo Tarrio , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 18:41+0000\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Dominio Hesiod para as buscas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Introduza o RHS (lado dereito) de Hesiod no que facer as buscas." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se o servidor Hesiod é \"ns.exemplo.org\", a parte esquerda (LHS) ha ser \"." +"ns\", a parte dereita (RHS) ha ser \".exemplo.org\" (teña en conta os puntos " +"ao principio) e as buscas no directorio hanse realizar coma consultas DNS a " +"(por exemplo) \"sam.passwd.ns.exemplo.org\"." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefixo Hesiod para as buscas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Introduza o LHS (lado esquerdo) de Hesiod no que facer as buscas." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Orde de busca de clases DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod busca os nomes empregando rexistros DNS TXT. Ademáis de usar a clase " +"DNS estándar IN para os nomes de Internet, tamén emprega por defecto a clase " +"especial HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Introduza a orde de busca de clases (o valor por defecto é axeitado para a " +"maioría dos sitios). Non debería haber espazos neste valor de orde de busca." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Os sitios que empreguen instalacións Hesiod antigos poden ter que empregar a " +"orde de busca \"HS,IN\"." + +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Hesiod busca as claves empregando o sistema DNS estándar. Introduza a " +#~ "parte da dereita do nome de dominio no que buscar. Este nome debe comezar " +#~ "cun punto (\".\")." + +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "As buscas Hesiod adoitan facerse nun subdominio do dominio principal. " +#~ "Introduza o nome do subdominio. Este nome debería comezar cun punto (\"." +#~ "\"). En moitos sitios, esta entrada é \".ns\"." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/ru.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/ru.po.svn-base @@ -0,0 +1,104 @@ +# translation of ru.po to Russian +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans# +# Developers do not need to manually edit POT or PO files. +# +# Yuri Kozlov , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 20:45+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" +"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Домен Hesiod Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñков:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Введите Hesiod RHS (правую чаÑÑ‚ÑŒ) поиÑка." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"ЕÑли Ñервер Hesiod -- 'ns.example.org', то LHS будет равна '.ns', а RHS -- '." +"example.org' (Ñ Ñ‚Ð¾Ñ‡ÐºÐ°Ð¼Ð¸ в начале), и поиÑк в каталоге будет выполнÑÑ‚ÑŒÑÑ ÐºÐ°Ðº " +"запроÑÑ‹ DNS к (например) 'sam.passwd.ns.example.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "ÐŸÑ€ÐµÑ„Ð¸ÐºÑ Hesiod Ð´Ð»Ñ Ð¿Ð¾Ð¸Ñков:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Введите Hesiod LHS (левую чаÑÑ‚ÑŒ) поиÑка." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "ПорÑдок поиÑка в клаÑÑах DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod ищет данные в TXT запиÑÑÑ… DNS. Кроме иÑпользуемого по умолчанию " +"Ñпециального клаÑÑа HS, иÑпользуетÑÑ Ñтандартный IN клаÑÑ DNS Ð´Ð»Ñ Ð¸Ð¼Ñ‘Ð½ " +"интернет." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Укажите порÑдок проÑмотра клаÑÑов (значение по умолчанию подходит Ð´Ð»Ñ " +"большинÑтва уÑтановок). Ðе вÑтавлÑйте дополнительные пробелы в значение " +"порÑдка поиÑка." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Ð”Ð»Ñ ÑƒÑтановленных ранних верÑий Hesiod, может потребоватьÑÑ ÑƒÐºÐ°Ð·Ð°Ñ‚ÑŒ порÑдок " +"поиÑка 'HS,IN'." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/pt.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/pt.po.svn-base @@ -0,0 +1,93 @@ +# Portuguese translation of hesiod's debconf messages. +# Rui Branco , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-15 18:53+0000\n" +"Last-Translator: Rui Branco \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domínio Hesiod para efectuar procuras:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Por favor introduz o RHS do Hesiod (lado direito) para efectuar pesquisas." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se o servidor Hesiod é 'ns.exemplo.org' então o LHS será 'ns', o RHS será ' " +"exemplo.org' (note as plicas) e as pesquisas nos directórios serão " +"efectuadas como pedidos DNS (ex.) 'sam.passwd.ns.exemplo.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefixo Hesiod para procuras:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Por favor introduz o LHS do Hesiod (lado esquerdo) para efectuar pesquisas." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordem de procura por classes de DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"O Hesiod procura nome utilizando os registos DNS TXT. Para além de usar as " +"classes standard IN DNS para os nomes na Internet, também utiliza as classes " +"especiais HS por omissão." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Por favor introduza a ordem de procura de classes (o valor por omissão é " +"adequado para a maior parte dos sites). Não deverá existir espaços entre os " +"valores da ordem de procura." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Os sites que utilizem instalações antigas de Hesiod podem precisar de usar a " +"ordem 'HS,IN'." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/cs.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/cs.po.svn-base @@ -0,0 +1,131 @@ +# translation of hesiod_3.0.2-18_cs.po to czech +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Jakub Kasparec , 2006. +# Miroslav Kure , 2007. +msgid "" +msgstr "" +"Project-Id-Version: hesiod\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-24 14:30+0100\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Doména Hesiodu pro vyhledávání:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Zadejte prosím pravou Äást domény, ve které se má prohledávat." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Jmenuje-li se Hesiod server „ns.priklad.org“, pak levá strana bude „.ns“, " +"pravá pak „.priklad.org“ (vÅ¡imnÄ›te si úvodních teÄek) a vyhledávání v " +"adresáři bude probíhat formou DNS dotazů na (například) „sam.passwd.ns." +"priklad.org“." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefix Hesiodu pro vyhledávání:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Zadejte prosím levou Äást domény, ve které se má prohledávat." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "PoÅ™adí prohledávání DNS tříd:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod vyhledává jména za použití DNS TXT záznamů. Jako doplňku k použití " +"standardní třídy IN DNS pro internetová jména se jako výchozí používá také " +"speciální třída HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Zadejte prosím poÅ™adí prohledávání tříd (výchozí hodnota se hodí pro vÄ›tÅ¡inu " +"serverů. V této hodnotÄ› by se nemÄ›ly vyskytovat mezery." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Na serverech, na kterých se stále používá starší verze Hesiodu, zÅ™ejmÄ› " +"budete muset zadat poÅ™adí „HS,IN“." + +#~| msgid "" +#~| "Hesiod looks up keys using the standard Domain Name System. Enter the " +#~| "right-hand side of the domain name to do searches in. This name should " +#~| "begin with a \".\"." +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Hesiod vyhledává klíÄe s použitím standardního DNS (jmenného doménového " +#~ "systému). Zadejte doménové jméno (jeho pravou Äást), které se má " +#~ "prohledávat. Toto jméno by mÄ›lo zaÄínat znakem „.“." + +#~| msgid "" +#~| "Hesiod lookups generally happen in a subdomain of the main domain. Enter " +#~| "the name of the subdomain here. This name should begin with a \".\". " +#~| "At most sites, this entry should be \".ns\"." +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "Vyhledávání Hesiodu se obecnÄ› dÄ›je v poddoménÄ› domény. Zadejte jméno této " +#~ "poddomény. Jméno by mÄ›lo zaÄínat „.“. U vÄ›tÅ¡iny serverů to pravdÄ›podobnÄ› " +#~ "bude „.ns“." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/vi.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/vi.po.svn-base @@ -0,0 +1,117 @@ +# Vietnamese Translation for hesiod. +# Copyright © 2007 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-21 23:02+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.7b1\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Miá»n Hesiod để tìm kiếm:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Hãy nhập RHS (bên phải) Hesiod trong đó cần tìm kiếm." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Nếu máy phục vụ Hesiod là « ns.example.org » thì LHS (bên trái) là « .ns », " +"RHS (bên phải) là « .example.org » (phải ghi dấu chấm Ä‘i trÆ°á»›c), và các công " +"việc tra cứu thÆ° mục sẽ được thá»±c hiện nhÆ° yêu cầu DNS đến (v.d.) « sam." +"passwd.ns.example.org »." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Tiá»n tố Hesiod để tìm kiếm:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Hãy nhập LHS (bên trái) Hesiod trong đó cần tìm kiếm." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Thứ tá»± tìm kiếm hạng DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Trình Hesiod tra cứu tên dùng các mục ghi TXT kiểu DNS. Thêm vào dùng hạng " +"DNS IN cho tên Internet, mặc định là nó cÅ©ng dùng hạng HS đặc biệt." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Hãy nhập vào đây thứ tá»± tìm kiếm qua các hạng (giá trị mặc định thích hợp " +"vá»›i phần lá»›n địa chỉ). Không cho phép dấu cách trong giá trị thứ tá»± tìm kiếm." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Äịa chỉ dùng bản cài đặt Hesiod cÅ© thì có thể cần phải dùng thứ tá»± tìm kiếm « " +"HS,IN »." + +# Hesiod looks up keys using the standard Domain Name System. Enter the +# right-hand side of the domain name to do searches in. This name should +# begin with a \".\". +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Trình Hesiod tra cứu khóa dùng Hệ thống Tên Miá»n (DNS) chuẩn. Hãy nhập " +#~ "phần tận bên phải của tên miá»n qua đó cần tìm kiếm. Tên này nên bắt đầu " +#~ "vá»›i má»™t dấu chấm « . », v.d. « .vnoss.org »." + +# Hesiod lookups generally happen in a subdomain of the main domain. Enter +# the name of the subdomain here. This name should begin with a \".\". At +# most sites, this entry should be \".ns\". +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "Việc tra cứu Hesiod thÆ°á»ng xây ra trong má»™t miá»n con của miá»n chính. Hãy " +#~ "nhập vào đây tên của miá»n con đó. Tên nên bắt đầu vá»›i má»™t dấu chấm « . ». " +#~ "Tại phần lá»›n địa chỉ Internet, mục nhập này là « .ns »." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/it.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/it.po.svn-base @@ -0,0 +1,94 @@ +# Italian (it) translation of debconf templates for hesiod +# Copyright (C) 2007 Software in the Public Interest +# This file is distributed under the same license as the hesiod package. +# Luca Monducci , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2 debconf templates\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-16 09:32+0100\n" +"Last-Translator: Luca Monducci \n" +"Language-Team: Italian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Dominio Hesiod per le ricerche:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Inserire l'Hesiod RHS (la parte di destra) in cui effettuare le ricerche." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se il server Hesiod è \"ns.esempio.org\" allora l'LHS è \".ns\", l'RHS è \"." +"esempio.org\" (notare il punto iniziale) e le ricerche saranno effettuate " +"come richieste DNS verso (per esempio) \"sam.passwd.ns.esempio.org\"." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefisso Hesiod per le ricerche:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Inserire l'Hesiod LHS (la parte di sinistra) in cui effettuare le ricerche." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordine di ricerca classe DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod ricerca i nomi usando i record TXT nel DNS. Inoltre, per usare la " +"classe standard IN del DNS per i nomi Internet, viene anche usata la classe " +"speciale HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Inserire l'ordine di ricerca delle classi (il valore predefinito è adatto " +"per la maggior parte dei siti). Non si devono inserire spazi fra i valori." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Nei siti in cui sono installate vecchie versioni di Hesiod potrebbe essere " +"necessario usare \"HS,IN\" come ordine di ricerca." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/POTFILES.in.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/POTFILES.in.svn-base @@ -0,0 +1 @@ +[type: gettext/rfc822deb] libhesiod0.templates --- hesiod-3.0.2.orig/debian/po/.svn/text-base/de.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/de.po.svn-base @@ -0,0 +1,133 @@ +# Translation of hesiod debconf templates to German +# Copyright (C) Helge Kreutzmann , 2006, 2007. +# This file is distributed under the same license as the hesiod package. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 19:38+0100\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: de \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hesiod-Domain, in der gesucht werden soll:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Bitte geben Sie die RHS (rechte Seite, »right hand-side«) von Hesiod für " +"Suchen ein." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Falls der Hesiod-Server »ns.example.org« ist, dann ist die linke Seite (LHS, " +"»left hand side«) ».ns«, die RHS ist dann ».example.org« (beachten Sie die " +"einleitenden Punkte) und Verzeichnisabfragen werden als DNS-Anfragen an (z." +"B.) »sam.passwd.ns.example.org« gerichtet." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hesiod-Präfix für Recherchen:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Bitte geben Sie die LHS (linke Seite, »left hand-side«) von Hesiod für Suchen " +"ein." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Such-Reihenfolge der DNS-Klassen:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod schlägt Namen in DNS TXT-Datensätzen nach. Zusätzlich zur Verwendung " +"der normalen IN DNS-Klasse für Internet-Namen verwendet es standardmäßig " +"auch spezielle HS-Klassen." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Bitte geben Sie die Klassen-Suchreihenfolge ein (der voreingestellte Wert " +"ist für die meisten Sites geeignet). Es sollte im Wert der Suchreihenfolge " +"keine Leerzeichen geben." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sites, die eine ältere Hesiod-Installation verwenden, könnten die " +"Suchreihenfolge »HS,IN« benötigen." + +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Please enter " +#~ "the rightmost part of the domain name to do searches in. This name should " +#~ "begin with a '.' character." +#~ msgstr "" +#~ "Hesiod sucht Schlüssel mit Hilfe des normalen Domain Name Systems. Bitte " +#~ "geben Sie hier den am weitesten rechts stehenden Teil des Domainnamens " +#~ "ein, in dem gesucht werden soll. Dieser Name sollte mit einem Punkt (».«) " +#~ "beginnen." + +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Please " +#~ "enter the name of the subdomain. This name should begin with a '.' " +#~ "character. This entry is '.ns' at many sites." +#~ msgstr "" +#~ "Hesiod-Recherchen finden generell in einer Subdomäne der Hauptdomäne " +#~ "statt. Bitte geben Sie den Namen der Subdomäne ein. Der Name sollte mit " +#~ "einem ».« beginnen. Dieser Eintrag lautet bei vielen Sites ».ns«." + +#~ msgid "" +#~ "Hesiod looks up names using DNS TXT records. In addition to using the " +#~ "standard IN DNS class for Internet names, it also uses by default the " +#~ "special HS class. You can change the class search order here, or leave " +#~ "out IN or HS if you want to. Don't insert extra spaces in the value. " +#~ "The default search path is \"IN,HS\" to search both classes. At some " +#~ "sites where older hesiod installations are still in use, you may need to " +#~ "specify \"HS,IN\" instead." +#~ msgstr "" +#~ "Hesiod löst die Namen anhand von DNS-TXT-Einträgen auf. Zusätzlich zu der " +#~ "Standard-IN-DNS-Klasse für Internet-Namen kann auch der Gebrauch der " +#~ "speziellen HS-Klasse voreingestellt werden. Sie können Sie Klassen-Such-" +#~ "Reihenfolge hier verändern oder auch IN bzw. HS herausnehmen. Bitte fügen " +#~ "Sie keine Leerzeichen ein. Der Standard-Suchpfad ist »IN,HS« für die Suche " +#~ "in beiden Klassen. In einigen Betrieben mit älteren Hesiod-Installationen " +#~ "brauchen Sie vielleicht stattdessen »HS,IN«." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/templates.pot.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/templates.pot.svn-base @@ -0,0 +1,83 @@ +# 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: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\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" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" --- hesiod-3.0.2.orig/debian/po/.svn/text-base/nl.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/nl.po.svn-base @@ -0,0 +1,140 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-15.1\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2008-02-29 10:27+0100\n" +"Last-Translator: Bart Cornelis \n" +"Language-Team: Debian l10n Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Dutch\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domein voor Hesiod-zoekopdrachten:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"In welke Hesiod RHS (Right Hand-Side/Rechterkant) wilt u zoekopdrachten " +"uitvoeren?" + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Wanneer de Hesiod-server 'ns.example.org' is dan is de LHS '.ns' en de RHS '." +"example.org' (Let op de leidende punten!). Zoekopdrachten worden dan " +"uitgevoerd als DNS-zoekopdrachten naar (bv.) 'sam.passwd.ns.example.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefix voor Hesiod-zoekopdrachten:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"In welke Hesiod LHS (Left Hand-Side/Linkerkant) wilt u zoekopdrachten " +"uitvoeren?" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Zoekvolgorde voor DNS-klassen:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod zoekt namen op d.m.v DNS-TXT-records. Naast de standaard IN-DNS-" +"klasse voor Internet namen gebruikt Hesiod ook de speciale HS-klasse." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Wat is de zoekvolgorde voor klassen? De standaardwaarde is geschikt voor de " +"meeste sites. Er mogen zich in de hier ingevulde waarde geen spaties " +"bevinden." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sites die oudere Hesiod-installaties gebruiken dienen mogelijk de " +"zoekvolgorde 'HS,IN' te gebruiken." + +#~ msgid "" +#~ "Hesiod looks up keys using the standard Domain Name System. Enter the " +#~ "right-hand side of the domain name to do searches in. This name should " +#~ "begin with a \".\"." +#~ msgstr "" +#~ "Hesiod zoekt sleutels aan de hand van het standaard DNS. Om een " +#~ "domeinnaam op te zoeken dient u het rechterdeel ervan in te voeren (dit " +#~ "moet met een punt beginnen)." + +#~ msgid "" +#~ "Hesiod lookups generally happen in a subdomain of the main domain. Enter " +#~ "the name of the subdomain here. This name should begin with a \".\". At " +#~ "most sites, this entry should be \".ns\"." +#~ msgstr "" +#~ "Hesiod-zoekopdrachten gebeuren gewoonlijk in een subdomein van het " +#~ "basisdomein. Wat is de naam van het subdomein? Dit dient te starten met " +#~ "een punt, en voor de meeste sites is dit '.ns'." + +#~ msgid "" +#~ "Hesiod looks up names using DNS TXT records. In addition to using the " +#~ "standard IN DNS class for Internet names, it also uses by default the " +#~ "special HS class. You can change the class search order here, or leave " +#~ "out IN or HS if you want to. Don't insert extra spaces in the value. " +#~ "The default search path is \"IN,HS\" to search both classes. At some " +#~ "sites where older hesiod installations are still in use, you may need to " +#~ "specify \"HS,IN\" instead." +#~ msgstr "" +#~ "Hesiod zoekt namen op aan de hand van DNS TXT-records. Naast gebruik van " +#~ "de standaard 'IN' DNS-klasse voor Internetnamen, gebruikt het ook " +#~ "standaard de speciale klasse 'HS'. U kunt hier de zoekvolgorde aan uw " +#~ "wensen aanpassen (en desgewenst daarbij IN of HS weglaten). Voeg geen " +#~ "extra spaties toe. Het standaard zoekpad is 'IN,HS' om in beide klassen " +#~ "te zoeken. Voor sommige sites waar nog oudere hesiod-installaties worden " +#~ "gebruikt, moet u misschien in plaats daarvan 'HS,IN' opgeven." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/fr.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/fr.po.svn-base @@ -0,0 +1,100 @@ +# Translation of hesiod debconf templates to French +# Copyright (C) 2006-2007 Christian Perrier +# This file is distributed under the same license as the hesiod package. +# +# Christian Perrier , 2006-2007. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 12:27+0530\n" +"Last-Translator: Christian Perrier \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domaine Hesiod pour les recherches :" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Veuillez indiquer la « RHS » (« right hand-side » : partie droite) Hesiod dans " +"laquelle auront lieu les recherches." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Si le serveur Hesiod est « ns.example.org », la partie gauche sera alors « ." +"ns » et la partie droite « .example.org » (veuillez noter les points " +"initiaux). Les recherches dans le répertoires se feront alors sous forme de " +"requêtes DNS sur, par exemple, « sam.passwd.ns.example.org »." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Préfixe Hesiod pour les recherches :" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Veuillez indiquer la « LHS » (« left hand-side » : partie gauche) Hesiod dans " +"laquelle auront lieu les recherches." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordre de recherche dans les classes DNS :" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod effectue ses recherches en utilisant les enregistrements TXT du " +"service de noms de domaine (DNS). En plus d'utiliser la classe standard IN " +"du DNS pour rechercher les noms Internet, il utilise également par défaut la " +"classe spéciale HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Veuillez indiquer l'ordre de recherche dans les classes (la valeur par " +"défaut est adaptée à la plupart des sites). Ce réglage ne doit pas " +"comprendre d'espace." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sur certains sites où des installations anciennes de Hesiod sont encore " +"utilisées, il pourrait être nécessaire d'indiquer plutôt « HS,IN »." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/eu.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/eu.po.svn-base @@ -0,0 +1,105 @@ +# translation of hesiod-eu.po to Euskara +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Piarres Beobide , 2006, 2007. +msgid "" +msgstr "" +"Project-Id-Version: hesiod-eu\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 09:58+0100\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Bilaketetarako hesiod domeinua:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Mesedez idatzi bilaketak bertan egiteko Hesiod RHS-a (eskuinaldea)." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Adibidez Hesiod zerbitzaria 'ns.adibidea.org' bada orduan LHS-a '.ns' izango " +"litzateke eta RHS '.adibidea.org' izan beharko litzateke (ohartu hasierako " +"puntuez) eta direktorioa bilaketak DNS eskakizun bat bezala egin ahal izango " +"dira (adibidez) 'ion.pasahitza.ns.adibide.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Bilaketetako hesiod aurrizkia:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Mesedez idatzi bilaketak bertan egiteko hesiod LHS-a (ezkerraldea)." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "DNS klase bilaketa ordena:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod-ek izenak DNS TXT erregistroak erabiliaz bilatuko du. Estandarra den " +"DNS IN klasea erabiliaz gain HS klase berezia ere erabiltzen du lehenespen " +"bezala." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Mesedez idatzi klase bilaketa ordena (lehenetsiriko balioa erabilgarria da " +"leku gehienentzat). Ez zuriunerik utzi bilaketa orden balioen artean." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Hesiod instalazio zaharragoak erabiltzen duten guneek 'HS;IN' bilaketa " +"ordena erabili behar dute." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/ja.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/ja.po.svn-base @@ -0,0 +1,91 @@ +# Copyright (C) 2007-2009 Karl Ramm +# This file is distributed under the same license as the hesiod package. +# Hideki Yamane (Debian-JP) , 2009. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.3\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2009-01-06 22:26+0900\n" +"Last-Translator: Hideki Yamane (Debian-JP) \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "検索対象㮠Hesiod ドメイン:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "検索対象㮠Hesiod RHS (right hand-sideã€å³æ‰‹å´) を入力ã—ã¦ãã ã•ã„。" + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"ã‚‚ã—ã€Hesiod サーãƒãŒã€Œns.example.orgã€ã®å ´åˆã€LHS ã¯ã€Œ.nsã€ã€RHS ã¯ã€Œ." +"example.orgã€ã«ãªã‚Šã¾ã™ã€‚ディレクトリå‚照㯠DNS リクエストã®ã‚ˆã†ã«å‹•ä½œã—ã¾ã™ " +"(例)「sam.passwd.ns.example.orgã€ã€‚" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "検索対象㮠Hesiod プレフィックス:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "検索対象㮠Hesiod LHS (heft hand-sideã€å·¦æ‰‹å´) を入力ã—ã¦ãã ã•ã„。" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "DNS クラスã®æ¤œç´¢é †:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod ã¯ã€DNS TXT レコードを使ã£ã¦åå‰ã‚’検索ã—ã¾ã™ã€‚ãã®éš›ã¯ã‚¤ãƒ³ã‚¿ãƒ¼ãƒãƒƒãƒˆå" +"ã«ä½¿ã‚ã‚Œã¦ã„る通常㮠IN DNS クラスã«åŠ ãˆã¦ã€ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã§ç‰¹åˆ¥ãª HS クラスも使" +"用ã—ã¾ã™ã€‚" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"クラスã®æ¤œç´¢é †ã‚’入力ã—ã¦ãã ã•ã„ (大抵ã®ã‚µã‚¤ãƒˆã¯ãƒ‡ãƒ•ã‚©ãƒ«ãƒˆã®æŒ™å‹•ãŒé©ã—ã¦ã„ã¾" +"ã™)。ã“ã®æ¤œç´¢é †ã®å€¤ã«ã¯ç©ºç™½ã‚’入れã¦ã¯ã„ã‘ã¾ã›ã‚“。" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"å¤ã„ Hesiod ã®ã‚¤ãƒ³ã‚¹ãƒˆãƒ¼ãƒ«ã‚’使ã£ã¦ã„るサイトã§ã¯ã€ŒHS,INã€ã¨ã„ã†æ¤œç´¢é †ã‚’使ã†å¿…" +"è¦ãŒã‚ã‚‹ã§ã—ょã†ã€‚" --- hesiod-3.0.2.orig/debian/po/.svn/text-base/nb.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/nb.po.svn-base @@ -0,0 +1,94 @@ +# translation of nb.po_[orw2uc].po to Norwegian BokmÃ¥l +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Bjørn Steensrud , 2007. +msgid "" +msgstr "" +"Project-Id-Version: nb.po_[orw2uc]\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-16 14:48+0100\n" +"Last-Translator: Bjørn Steensrud \n" +"Language-Team: Norwegian BokmÃ¥l \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hesiod-domene for søking:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Oppgi Hesiod RHS (Right Hand Side, høyreside) der det skal søkes." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Hvis Hesiod-tjeneren er «ns.example.org», sÃ¥ er venstresiden (LHS) «.ns», " +"høyresiden (RHS) blir «.example.org» (merk innledende punktum), og " +"katalogoppslag blir utført som DNS-forespørsler til f.eks. «sam.passwd.ns." +"example.org»." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hesiod-prefiks for søking:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Oppgi Hesiod LHS (Left Hand Side, venstreside) der det skal søkes." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Søkerekkefølge for DNS -klasser:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod slÃ¥r opp navn ved Ã¥ bruke DNS TXT-poster. I tillegg til Ã¥ bruke " +"standard DNS-klassen IN for internettnavn, sÃ¥ bruker den som standard ogsÃ¥ " +"den spesielle HS-klassen." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Oppgi søkerekkefølge for klassene (standardverdien passer de fleste steder.) " +"Det skal ikke være mellomrom i denne søkelisteverdien." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Steder som bruker eldre Hesiod-installasjoner kan trenge Ã¥ bruke " +"søkerekkefølgen «HS,IN»." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/fi.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/fi.po.svn-base @@ -0,0 +1,90 @@ +msgid "" +msgstr "" +"Project-Id-Version: hesiod 3.0.2-18.2\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2007-12-13 11:35+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: Finnish\n" +"X-Poedit-Country: Finland\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hauissa käytettävä Hesiod-verkkoalue:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Anna Hesiod RHS (oikea puoli), jossa haut tehdään." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Jos Hesiod-palvelin on â€ns.esimerkki.fiâ€, on LHS (vasen puoli) â€.ns†ja RHS " +"(oikea puoli) â€.esimerkki.fi†(huomaa edeltävät pisteet), ja hakemistohaut " +"tehdään DNS-kyselyinä (esimerkiksi) osoitteeseen â€sam.passwd.ns.esimerkki." +"fiâ€." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hauissa käytettävä Hesiod-etuliite:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Anna Hesiod LHS (vasen puoli), jossa haut tehdään." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "DNS-luokkien hakujärjestys:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod etsii nimiä käyttäen DNS TXT -tietueita. Sen lisäksi, että se käyttää " +"Internet-nimien kanssa standardia IN DNS -luokkaa, se käyttää myös " +"oletuksena erityistä HS-luokkaa." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Anna luokkien hakujärjestys (oletusarvo on sopiva useimmille sivustoille). " +"Hakujärjestysarvossa ei tulisi olla välilyöntejä." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Vanhempia Hesiod-asennuksia käyttävien sivujen tarvitsee ehkä käyttää " +"hakujärjestystä â€HS,INâ€." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/sv.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/sv.po.svn-base @@ -0,0 +1,106 @@ +# translation of hesiod_3.0.2-18.2_sv.po to Swedish +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# Martin Ågren , 2008. +msgid "" +msgstr "" +"Project-Id-Version: hesiod_3.0.2-18.2_sv\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2008-07-23 17:51+0200\n" +"Last-Translator: Martin Ågren \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: swe\n" +"X-Poedit-Country: swe\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Hesiod-domän för sökningar:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "Ange Hesiod-RHS (högersida, eng. right hand side) att söka i." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Om Hesiod-servern är \"ns.example.org\", kommer LHS att vara \".ns\", RHS \"." +"example.org\" (observera inledande punkter) och kataloguppslag kommer att " +"göras som DNS-förfrågningar till (t. ex.) \"sam.passwd.ns.example.org\"." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Hesiod-prefix för sökningar:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "Ange Hesiod-LHS (vänstersida, eng. left hand side) att söka i." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Sökordning för DNS-klasser:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"Hesiod slår upp namn med hjälp av DNS-TXT-register. Förutom DNS' " +"standardklass IN för internetnamn använder den också den speciella HS-" +"klassen." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Ange klassökningsordning (standardvärdet är lämpligt för de flesta platser). " +"Inga blanksteg får förekomma i detta sökordningsvärde." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Platser som använder äldre Hesiod-installationer kan behöva använda " +"sökordningen \"HS,IN\"." --- hesiod-3.0.2.orig/debian/po/.svn/text-base/pt_BR.po.svn-base +++ hesiod-3.0.2/debian/po/.svn/text-base/pt_BR.po.svn-base @@ -0,0 +1,100 @@ +# hesiod Brazilian Portuguese translation +# Copyright (c) 2008 hesiod's COPYRIGHT HOLDER +# This file is distributed under the same license as the hesiod package. +# Eder L. Marques (frolic) , 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: hesiod\n" +"Report-Msgid-Bugs-To: Source: hesiod@packages.debian.org\n" +"POT-Creation-Date: 2007-12-13 12:21+0530\n" +"PO-Revision-Date: 2008-03-11 11:33-0300\n" +"Last-Translator: Eder L. Marques (frolic) \n" +"Language-Team: l10n Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"pt_BR utf-8\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Hesiod domain for searches:" +msgstr "Domínio do hesiod para pesquisas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 +msgid "Please enter the Hesiod RHS (right hand-side) to do searches in." +msgstr "" +"Por favor, informe o Hesiod RHS (\"right hand-side\") onde as pesquisas " +"devem ser feitas." + +#. Type: string +#. Description +#. Type: string +#. Description +#: ../libhesiod0.templates:2001 ../libhesiod0.templates:3001 +msgid "" +"If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the RHS " +"will be '.example.org' (note leading periods) and directory lookups will be " +"performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'." +msgstr "" +"Se o servidor Hesiod é 'ns.exemplo.org', então o LHS será '.ns', o RHS será " +"'.exemplo.org' (observe os pontos finais) e pesquisas de diretório serão " +"realizadas como pedidos DNS para (e.g) 'sam.passwd.ns.exemplo.org'." + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Hesiod prefix for searches:" +msgstr "Prefixo do Hesiod para pesquisas:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:3001 +msgid "Please enter the Hesiod LHS (left hand-side) to do searches in." +msgstr "" +"Por favor, informe o Hesiod LHS (\"left hand-side\") onde as pesquisas devem " +"ser feitas." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "DNS class search order:" +msgstr "Ordem de pesquisa da classe DNS:" + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Hesiod looks up names using DNS TXT records. In addition to using the " +"standard IN DNS class for Internet names, it also uses by default the " +"special HS class." +msgstr "" +"O Hesiod consulta nomes usando registros DNS TXT. Além de utilizar a classe " +"padrão DNS IN para nomes de internet, ele também usa por padrão a classe " +"especial HS." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Please enter the class search order (the default value is suitable for most " +"sites). There should be no spaces in this search order value." +msgstr "" +"Por favor, informe a ordem da classe de pesquisa (o valor padrão é adequado " +"para a maioria dos sites) Não deve haver espaços no valor desta ordem de " +"pesquisa." + +#. Type: string +#. Description +#: ../libhesiod0.templates:4001 +msgid "" +"Sites using older Hesiod installations may need to use the 'HS,IN' search " +"order." +msgstr "" +"Sites usando instalações antigas do Hesiod podem precisar usar a ordem de " +"pesquisa 'HS,IN'." --- hesiod-3.0.2.orig/debian/.svn/format +++ hesiod-3.0.2/debian/.svn/format @@ -0,0 +1 @@ +9 --- hesiod-3.0.2.orig/debian/.svn/entries +++ hesiod-3.0.2/debian/.svn/entries @@ -0,0 +1,616 @@ +9 + +dir +417 +svn://svn.1ts.org/debian/trunk/hesiod/debian +svn://svn.1ts.org/debian + + + +2009-03-12T04:48:37.983466Z +417 +kcr + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + + + + + + + + +0 + +libhesiod-dev.files +file + + + + +2009-03-12T04:44:23.000000Z +48fb524e4a13d341b8b1955bb7cea715 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +62 + +libhesiod0.templates +file + + + + +2009-03-12T04:44:23.000000Z +303ef5782536c4f5f7aef3633b5dc3cb +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1569 + +control +file + + + + +2009-03-12T04:44:23.000000Z +1db469a0dd006b31566cd76842c751da +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1753 + +libhesiod0.files +file + + + + +2009-03-12T04:44:23.000000Z +f5ecd56eae1352b946e00bc770e62072 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +38 + +compat +file + + + + +2009-03-12T04:44:23.000000Z +48a24b70a0b376535542b996af517398 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2 + +libhesiod0.config +file +418 + + + +2009-03-12T05:02:07.000000Z +fb7ec81785ba21ddec473f9487e4dad1 +2009-03-12T05:11:07.010696Z +418 +kcr + + + + + + + + + + + + + + + + + + + + + +694 + +changelog +file +418 + + + +2009-03-12T05:08:24.000000Z +feec7debd7929c1be2ef61992ea8a427 +2009-03-12T05:11:07.010696Z +418 +kcr + + + + + + + + + + + + + + + + + + + + + +7483 + +rules +file + + + + +2009-03-12T04:44:23.000000Z +32d9830be8ab7d231346d944f1158247 +2009-03-12T04:48:37.983466Z +417 +kcr +has-props + + + + + + + + + + + + + + + + + + + + +1805 + +hesiod.links +file + + + + +2009-03-12T04:44:23.000000Z +37981d18bb4f669e1f493ea7a0a834d2 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +46 + +libhesiod-dev.links +file + + + + +2009-03-12T04:44:23.000000Z +d11d00bbc89dc6dddfdf1d7d6be982c2 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +53 + +libhesiod0.postinst +file +418 + + + +2009-03-12T05:06:32.000000Z +ba1036f9ae90c524e8eaf015953ac32c +2009-03-12T05:11:07.010696Z +418 +kcr + + + + + + + + + + + + + + + + + + + + + +1210 + +libhesiod0.postrm +file + + + + +2009-03-12T04:44:23.000000Z +10e0be134d6a75981eab5ea853d0397f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +82 + +watch +file + + + + +2009-03-12T04:44:23.000000Z +e46f757777740e0c171c5ba3f191f764 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +261 + +copyright +file + + + + +2009-03-12T04:44:23.000000Z +7cc66f7c7c27dfe890cc95e91fc63d2f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1105 + +libhesiod0.docs +file + + + + +2009-03-12T04:44:23.000000Z +1823b1dabcd7c3741c4b59f8699bcd93 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +33 + +hesiod.dirs +file + + + + +2009-03-12T04:44:23.000000Z +7384d3b3a49a59643ab8661d5ccbb659 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +62 + +README.debian +file + + + + +2009-03-12T04:44:23.000000Z +3fcfc6ca9aeb0373f76087757ede48c7 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +394 + +po +dir + --- hesiod-3.0.2.orig/debian/.svn/prop-base/rules.svn-base +++ hesiod-3.0.2/debian/.svn/prop-base/rules.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod0.postinst.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod0.postinst.svn-base @@ -0,0 +1,42 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_version 2.0 +db_get hesiod/rhs +rhs="$RET" +db_get hesiod/lhs +lhs="$RET" +db_get hesiod/classes +classes="$RET" + +hesconf=/etc/hesiod.conf + +if test "$1" = configure -a -z "$2"; then +# If we don't have a hesiod.conf file yet, go ahead and populate it. + if [ ! -f $hesconf ]; then + echo "# This file determines the behavior of the Hesiod library." > $hesconf + echo >> $hesconf + echo "# This line should pretty much always be the same, unless you have a" >> $hesconf + echo "# funny environment." >> $hesconf + echo "lhs=$lhs" >> $hesconf + echo >> $hesconf + echo "# This determines the Hesiod domain. You must specify an rhs line." >> $hesconf + echo "rhs=$rhs" >> $hesconf + echo >> $hesconf + echo "# This line specifies the class search order. You can reverse the" >> $hesconf + echo "# order or leave out IN or HS if you want. Don't add spaces after the" >> $hesconf + echo "# beginning of the value." >> $hesconf + echo "classes=$classes" >> $hesconf + else + sed -e "s/^lhs=.*/lhs=$lhs/" \ + -e "s/^rhs=.*/rhs=$rhs/" \ + -e "s/^classes=.*/classes=$classes/" \ + -i $hesconf + fi +fi + +#DEBHELPER# + +exit 0 --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod0.postrm.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod0.postrm.svn-base @@ -0,0 +1,7 @@ +#!/bin/sh -e + +if [ "$1" = "purge" ]; then + rm -f /etc/hesiod.conf +fi + +#DEBHELPER# --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod0.config.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod0.config.svn-base @@ -0,0 +1,29 @@ +#!/bin/sh -e + +# Source debconf library. +. /usr/share/debconf/confmodule +if [ -f /etc/hesiod.conf ]; then + . /etc/hesiod.conf || true + if [ "$lhs" ]; then + db_set hesiod/lhs $lhs + fi + if [ "$rhs" ]; then + db_set hesiod/rhs $rhs + fi + if [ "$classes" ]; then + db_set hesiod/classes $classes + fi +elif [ -f /etc/resolv.conf ]; then + rhs=`sed -n -e's/^[[:space:]]*search[[:space:]]\+\([^[:space:]]\+\)\([[:space:]]\+.*$\)*/\1/p' \ + < /etc/resolv.conf | head -n 1` + if [ "$rhs" ]; then + if test "$rhs" = "mit.edu"; then + rhs=athena.mit.edu + fi + db_set hesiod/rhs ".$rhs" + fi +fi +db_input low hesiod/rhs || true +db_input low hesiod/lhs || true +db_input low hesiod/classes || true +db_go || true --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod-dev.files.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod-dev.files.svn-base @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*.a +usr/lib/*.so +usr/share/man/man3/*.3 --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod-dev.links.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod-dev.links.svn-base @@ -0,0 +1 @@ +usr/share/doc/libhesiod0 usr/share/doc/libhesiod-dev --- hesiod-3.0.2.orig/debian/.svn/text-base/README.debian.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/README.debian.svn-base @@ -0,0 +1,10 @@ +hesiod for Debian +---------------------- + +This is the hesiod name service library, available from +ftp://athena-dist.mit.edu/pub/ATHENA/hesiod. Hesiod is derived from BIND, +the Berkeley Internet Name Daemon, and can leverage the existing DNS +infrastructure of a network to provide name service for a variety of +applications. + +Steve Langasek , Tue, 31 Oct 2000 23:27:22 -0600 --- hesiod-3.0.2.orig/debian/.svn/text-base/watch.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/watch.svn-base @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +athena-dist.mit.edu /pub/ATHENA/hesiod hesiod-*.tar.gz uupdate --- hesiod-3.0.2.orig/debian/.svn/text-base/hesiod.dirs.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/hesiod.dirs.svn-base @@ -0,0 +1,5 @@ +etc +usr/lib +usr/include +usr/share/man/man1 +usr/share/man/man5 --- hesiod-3.0.2.orig/debian/.svn/text-base/changelog.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/changelog.svn-base @@ -0,0 +1,215 @@ +hesiod (3.0.2-19) unstable; urgency=low + + * Acknowledge NMUs. + * Only fiddle with hesiod.conf at the configuration stage. Closes: #435876 + * Set the debconf priority for rhs to low; Closes: #321530 + Automatically deal with perhaps the one case ever where the obvious + default is wrong. + * JA debconf translation, thanks to Hideki Yamane. Closes: #512866 + + -- Karl Ramm Thu, 12 Mar 2009 01:08:20 -0400 + +hesiod (3.0.2-18.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Swedish. Closes: #492065 + + -- Christian Perrier Thu, 09 Oct 2008 22:29:31 +0200 + +hesiod (3.0.2-18.2) unstable; urgency=low + + * Non-maintainer upload to fix longstanding l10n issues + * Debconf templates and debian/control reviewed by the debian-l10n- + english team as part of the Smith review project. Closes: #452495 + * [Debconf translation updates] + - Basque. Closes: #453298 + - Galician. Closes: #453329, #412660 + - Vietnamese. Closes: #453375 + - Finnish. Closes: #453649 + - Italian. Closes: #454644 + - French. Closes: #454696 + - Czech. Closes: #455551 + - Russian. Closes: #455966 + - Portuguese. Closes: #456361, #420364, #439696 + - Norwegian BokmÃ¥l. Closes: #456406 + - Portuguese. Closes: #456361 + - Italian. Closes: #456510 + - Vietnamese. Closes: #453375, #427051 + - Czech. Closes: #455551 + - Spanish. Closes: #426175 + - Dutch. Closes: #468304 + - Brazilian Portuguese. Closes: #470930 + * [Lintian] Set debhelper compatibility in debian/compat + * [Lintian] No longer ignoer errors from "make distclean" + * [Lintian] Move libhesiod-dev to libdevel section + + -- Christian Perrier Sat, 15 Mar 2008 00:09:08 +0100 + +hesiod (3.0.2-18.1) unstable; urgency=low + + * Non-maintainer upload to fix longstanding l10n issues + * Debconf templates translations updates: + - Portuguese. Closes: #394024 + - French. Closes: #394066 + - German. Closes: #396429 + - Czech. Closes: #396715 + - Basque. Closes: #398575 + - Russian. Closes: #404411 + + -- Christian Perrier Fri, 19 Jan 2007 20:00:08 +0100 + +hesiod (3.0.2-18) unstable; urgency=low + + * New maintainer. Closes: #203001 + * Make debconf templates lintian compliant (add colons) + * Assert Standards-Version: 3.7.2 + + -- Karl Ramm Mon, 16 Oct 2006 03:14:28 -0400 + +hesiod (3.0.2-17.1) unstable; urgency=low + + * Non-maintainer upload, with maintainer's permission, to fix pending l10n issues + * Debconf translations: + - Fixed German. Closes: #314045 + - Added Dutch. Closes: #263714 + - Added Czech. Closes: #312150 + - Added Vietnamese. Closes: #311897 + - Added Swedish. Closes: #337769 + - Added Basque. Sent during the call for updates of the NMU. + - Added Russian. Sent during the call for updates of the NMU. + + -- Christian Perrier Tue, 3 Oct 2006 18:45:29 +0200 + +hesiod (3.0.2-16) unstable; urgency=low + + * Use ${misc:Depends} instead of depending on debconf directly, for + compatibility with cdebconf. + + -- Steve Langasek Fri, 5 Aug 2005 01:05:31 -0700 + +hesiod (3.0.2-15.1) unstable; urgency=low + + * Non-maintainer upload with maintainer permission. + * Fix configure not detecting correctly libresolv on some systems where + the symbols it tries to link to are macros. + Bug #200160 is now a wishlist. + * Fix manpages using hyphen as a minus sign. + + -- Guillem Jover Fri, 14 May 2004 05:24:52 +0200 + +hesiod (3.0.2-15) unstable; urgency=low + + * Maintenance release: incorporate pt_BR and fr debconf translations; + thanks to André Luís Lopes and Christian + Perrier . (Closes: #206179, #207074.) + + -- Steve Langasek Sun, 24 Aug 2003 21:54:39 -0500 + +hesiod (3.0.2-14) unstable; urgency=low + + * Adjust debconf handling to derive sane defaults from + /etc/resolv.conf, so the question priorities can be lowered + (closes: #202585). + * Migrate debconf templates to po-debconf for l10n and integrate + the translations that were hiding on the DDTP site. + * Link libhesiod against -lresolv (closes: #194462). + + -- Steve Langasek Sat, 26 Jul 2003 14:52:38 -0500 + +hesiod (3.0.2-13) unstable; urgency=low + + * Correct the hesiod.conf path listed in the hesinfo manpages. Thanks + to John T. Rose for reporting. + + -- Steve Langasek Sun, 8 Dec 2002 21:35:20 -0600 + +hesiod (3.0.2-12) unstable; urgency=medium + + * Significant bug in dpkg-reconfigure: the one thing in the config + users are really going to want to change doesn't get updated + properly. (closes: #144401) + * Remove /etc/hesiod.conf on purge (closes: #144400) + + -- Steve Langasek Mon, 22 Apr 2002 16:14:21 -0500 + +hesiod (3.0.2-11) unstable; urgency=low + + * fix package priorities to match the archive. + * fix /usr/share/doc symlinks. + + -- Steve Langasek Wed, 20 Mar 2002 22:39:39 -0600 + +hesiod (3.0.2-10) unstable; urgency=medium + + * The "just because no one uses it doesn't mean I should let it + release like this" release. + * Add proper dependency on debconf. + * Fix unsafe ldconfig handling in maintainer scripts. I guess that + could accidentally destroy someone's print job during an upgrade, if + you timed it just right. + + -- Steve Langasek Wed, 20 Mar 2002 22:03:11 -0600 + +hesiod (3.0.2-9) unstable; urgency=low + + * Nor should /etc/hesiod.conf belong to our package. + + -- Steve Langasek Mon, 22 Jan 2001 19:15:22 -0600 + +hesiod (3.0.2-8) unstable; urgency=low + + * If we're going to edit /etc/hesiod.conf, it should *not* be a conffile. + + -- Steve Langasek Tue, 16 Jan 2001 00:31:20 -0600 + +hesiod (3.0.2-7) unstable; urgency=low + + * Incorporated debconf support from David Maze's package + * Fixed configure args to use the correct sysconfdir setting + + -- Steve Langasek Tue, 02 Jan 2001 11:24:14 -0600 + +hesiod (3.0.2-6) unstable; urgency=low + + * use dh_links to create symlinks between doc directories. + + -- Steve Langasek Tue, 26 Dec 2000 19:15:23 -0600 + +hesiod (3.0.2-5) unstable; urgency=low + + * Removed debian/shlibs.local again, using LD_LIBRARY_PATH to let + dpkg-shlibdeps detect dependencies (per conversation with Ben Collins) + * Switched to using DH_COMPAT=2 during build. + * Use dh_makeshlibs for auto-generation of shlibs file + + -- Steve Langasek Tue, 19 Dec 2000 00:14:50 -0600 + +hesiod (3.0.2-4) unstable; urgency=low + + * Added debian/shlibs.local to ensure proper dependencies; fixes warning + from dpkg-shlibdeps + + -- Steve Langasek Tue, 19 Dec 2000 00:14:50 -0600 + +hesiod (3.0.2-3) unstable; urgency=low + + * Fixed sharedlib to properly link as PIC code. + * Moved .so symlink to the dev package. Now builds lintian-clean. + + -- Steve Langasek Wed, 29 Nov 2000 12:48:24 -0600 + +hesiod (3.0.2-2) unstable; urgency=low + + * Fixed to include a proper libhesiod package (addition of soname, + ldconfig called on install, .shlibs file created) + + -- Steve Langasek Mon, 06 Nov 2000 00:55:13 -0600 + +hesiod (3.0.2-1) unstable; urgency=low + + * Initial release. + + -- Steve Langasek Tue, 31 Oct 2000 23:27:22 -0600 + + --- hesiod-3.0.2.orig/debian/.svn/text-base/copyright.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/copyright.svn-base @@ -0,0 +1,26 @@ +This package was debianized by Steve Langasek vorlon@debian.org on +Tue, 31 Oct 2000 23:27:22 -0600. + +It was downloaded from ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/ + +Copyright: + +Copyright (C) 1996 by Internet Software Consortium. + +Permission to use, copy, modify, and distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +Copyright 1996 by the Massachusetts Institute of Technology. + +Permission to use, copy, modify, and distribute this +software and its documentation for any purpose and without +fee is hereby granted, provided that the above copyright +notice appear in all copies and that both that copyright +notice and this permission notice appear in supporting +documentation, and that the name of M.I.T. not be used in +advertising or publicity pertaining to distribution of the +software without specific, written prior permission. +M.I.T. makes no representations about the suitability of +this software for any purpose. It is provided "as is" +without express or implied warranty. --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod0.templates.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod0.templates.svn-base @@ -0,0 +1,42 @@ +# These templates have been reviewed by the debian-l10n-english +# team +# +# If modifications/additions/rewording are needed, please ask +# debian-l10n-english@lists.debian.org for advice. +# +# Even minor modifications require translation updates and such +# changes should be coordinated with translators and reviewers. + +Template: hesiod/rhs +Type: string +Default: .athena.mit.edu +_Description: Hesiod domain for searches: + Please enter the Hesiod RHS (right hand-side) to do searches in. + . + If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the + RHS will be '.example.org' (note leading periods) and directory lookups + will be performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'. + +Template: hesiod/lhs +Type: string +Default: .ns +_Description: Hesiod prefix for searches: + Please enter the Hesiod LHS (left hand-side) to do searches in. + . + If the Hesiod server is 'ns.example.org' then the LHS will be '.ns', the + RHS will be '.example.org' (note leading periods) and directory lookups + will be performed as DNS requests to (e.g.) 'sam.passwd.ns.example.org'. + +Template: hesiod/classes +Type: string +Default: IN,HS +_Description: DNS class search order: + Hesiod looks up names using DNS TXT records. In addition to using the + standard IN DNS class for Internet names, it also uses by default the + special HS class. + . + Please enter the class search order (the default value is suitable for + most sites). There should be no spaces in this search order value. + . + Sites using + older Hesiod installations may need to use the 'HS,IN' search order. --- hesiod-3.0.2.orig/debian/.svn/text-base/hesiod.links.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/hesiod.links.svn-base @@ -0,0 +1 @@ +usr/share/doc/libhesiod0 usr/share/doc/hesiod --- hesiod-3.0.2.orig/debian/.svn/text-base/control.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/control.svn-base @@ -0,0 +1,46 @@ +Source: hesiod +Section: libs +Priority: extra +Maintainer: Karl Ramm +Standards-Version: 3.7.2 +Build-Depends: debhelper (>= 4.1.13) + +Package: hesiod +Architecture: any +Section: utils +Depends: ${shlibs:Depends} +Description: Project Athena's DNS-based directory service - utilities + Hesiod is a name service library that can provide general name service + for a variety of applications. It is derived from BIND, the Berkeley + Internet Name Daemon, and leverages the existing DNS infrastructure of a + network. It is used on a number of university networks, including MIT + and Iowa State University. + . + This package is only useful on networks that already use + Hesiod. + +Package: libhesiod0 +Architecture: any +Section: libs +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Project Athena's DNS-based directory service - libraries + Hesiod is a name service library that can provide general name service + for a variety of applications. It is derived from BIND, the Berkeley + Internet Name Daemon, and leverages the existing DNS infrastructure of a + network. It is used on a number of university networks, including MIT + and Iowa State University. + . + This package contains Hesiod's shared library. + +Package: libhesiod-dev +Architecture: any +Section: libdevel +Depends: libhesiod0 +Description: Project Athena's DNS-based directory service - development files + Hesiod is a name service library that can provide general name service + for a variety of applications. It is derived from BIND, the Berkeley + Internet Name Daemon, and leverages the existing DNS infrastructure of a + network. It is used on a number of university networks, including MIT + and Iowa State University. + . + This package contains Hesiod's include files and static library. --- hesiod-3.0.2.orig/debian/.svn/text-base/compat.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/compat.svn-base @@ -0,0 +1 @@ +4 --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod0.docs.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod0.docs.svn-base @@ -0,0 +1 @@ +README NEWS debian/README.debian --- hesiod-3.0.2.orig/debian/.svn/text-base/rules.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/rules.svn-base @@ -0,0 +1,78 @@ +#!/usr/bin/make -f +# Made with the aid of debmake, by Christoph Lameter, +# based on the sample debian/rules file for GNU hello by Ian Jackson. + +#export DH_VERBOSE=1 + +CFLAGS = -O2 -Wall +INSTALL = install + +ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) + CFLAGS += -g +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL += -s +endif + +package=hesiod + +version=$(shell expr `pwd` : '.*-\([0-9.]*\)') +version_major=$(shell expr `pwd` : '.*-\([0-9]*\).[0-9.]*') + +build: build-stamp +build-stamp: + dh_testdir + CPPFLAGS=-D_REENTRANT ./configure --prefix=/usr --sysconfdir=/etc + + $(MAKE) CFLAGS=${CFLAGS} + touch build-stamp + +clean: + dh_testdir + dh_testroot + -rm -f build-stamp + [ ! -f Makefile ] || $(MAKE) distclean + dh_clean + +binary-indep: + @echo Nothing to do + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installdocs -plibhesiod0 + dh_installdebconf -a + dh_undocumented + dh_installexamples -plibhesiod0 + dh_installchangelogs -plibhesiod0 + dh_strip -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_shlibdeps -a -l./debian/libhesiod0/usr/lib + dh_installdeb -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) prefix=`pwd`/debian/hesiod/usr sysconfdir=`pwd`/debian/tmp/etc \ + mandir=`pwd`/debian/hesiod/usr/share/man install + install -m 644 hesiod.conf.sample debian/hesiod/etc/hesiod.conf + dh_movefiles --sourcedir=debian/hesiod + rm -rf debian/hesiod/usr/include debian/hesiod/usr/lib \ + debian/hesiod/usr/share/man/man3 debian/hesiod/etc \ + debian/hesiod/usr/share/man/man5 + +#get-orig-source: +# wget ftp://athena-dist.mit.edu/pub/ATHENA/hesiod/hesiod-3.0.2.tar.gz + +binary: binary-indep binary-arch + +.PHONY: build binary binary-arch binary-indep clean install --- hesiod-3.0.2.orig/debian/.svn/text-base/libhesiod0.files.svn-base +++ hesiod-3.0.2/debian/.svn/text-base/libhesiod0.files.svn-base @@ -0,0 +1,2 @@ +usr/lib/*.so.* +usr/share/man/man5/*.5 --- hesiod-3.0.2.orig/.svn/format +++ hesiod-3.0.2/.svn/format @@ -0,0 +1 @@ +9 --- hesiod-3.0.2.orig/.svn/entries +++ hesiod-3.0.2/.svn/entries @@ -0,0 +1,1262 @@ +9 + +dir +417 +svn://svn.1ts.org/debian/trunk/hesiod +svn://svn.1ts.org/debian + + + +2009-03-12T04:48:37.983466Z +417 +kcr + + +svn:special svn:externals svn:needs-lock + + + + + + + + + + + + + + + + + + +0 + +hesiod_p.h +file + + + + +1996-12-08T21:39:37.000000Z +eb871c4cbeb7d3583977f26dfa584bc2 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1352 + +configure +file + + + + +2009-03-12T04:44:23.000000Z +2ea17dd0ac162c54985e5875fdc7b108 +2009-03-12T04:48:37.983466Z +417 +kcr +has-props + + + + + + + + + + + + + + + + + + + + +121792 + +Makefile.in +file + + + + +2009-03-12T04:44:23.000000Z +2fad2f6e113b16f36a39969e12db01f0 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3243 + +debian +dir + +hesiod_getpwuid.3 +file + + + + +1996-12-08T21:44:57.000000Z +c3409c27b0ea623060911622d0d23287 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +94 + +hesinfo.1 +file + + + + +2009-03-12T04:44:23.000000Z +0bb53b8dae4415c2b0ec0a0611da152f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +4602 + +hesiod.c +file + + + + +1997-01-03T20:48:20.000000Z +7d3b18bd7479b7735f1e47d699c70aeb +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +11175 + +hesiod_free_passwd.3 +file + + + + +1996-12-08T21:44:56.000000Z +789f60968f22ba8582ae6ffda37b39ce +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +97 + +hesiod_free_postoffice.3 +file + + + + +1996-12-08T21:44:57.000000Z +0c7d34e1000e4c0f1f7cb9bec7d4d298 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +104 + +hestest.c +file + + + + +1996-12-08T21:41:45.000000Z +810973e28793106094393277ac6d6983 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +11275 + +hesiod.h +file + + + + +1996-12-16T08:38:07.000000Z +75e7afc189f0bc3221c95b040d944669 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2708 + +hesiod_end.3 +file + + + + +1996-12-08T21:44:55.000000Z +8806c413fd8794b9bdce504f851eeaea +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +80 + +hesiod.conf.5 +file + + + + +1996-12-08T21:36:38.000000Z +a09b73b801f095a60da1f572d579cf39 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2074 + +hespwnam.c +file + + + + +1996-12-08T21:40:37.000000Z +618f1f460dcdd973c8cc4c757ddd2e4d +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3120 + +hescompat.c +file + + + + +1996-12-16T08:37:45.000000Z +cccb9532bdd3fdc66aa13c2e55dfae4d +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +3669 + +hesiod_free_list.3 +file + + + + +1996-12-08T21:44:56.000000Z +347bd836022cf257b4332e6470ba7928 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +86 + +hesiod_to_bind.3 +file + + + + +1996-12-08T21:44:59.000000Z +6d1aae87d5fe4a2a2945e2a244874b92 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +84 + +hesiod_resolve.3 +file + + + + +1996-12-08T21:44:58.000000Z +f426e647903ef2c0d829db35eed601a6 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +84 + +hesiod.3 +file + + + + +2009-03-12T04:44:23.000000Z +20d929b871b7e8b3848f90dc1c7b55c7 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +4026 + +NEWS +file + + + + +1997-01-03T21:03:43.000000Z +186d4decbfa2f410fac56c7c916215ff +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2421 + +hesiod.conf.sample +file + + + + +1996-12-08T21:37:14.000000Z +0a019009723800ceaf75d5ec66fae170 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +426 + +mkinstalldirs +file + + + + +1996-11-07T01:52:05.000000Z +6ba628278be4cc73fb005630c69fa354 +2009-03-12T04:48:37.983466Z +417 +kcr +has-props + + + + + + + + + + + + + + + + + + + + +730 + +hesiod_free_servent.3 +file + + + + +1996-12-08T21:44:57.000000Z +4dc2bff4dabdf9a98b84b31537498e92 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +103 + +resscan.h +file + + + + +1996-11-07T02:43:27.000000Z +4504486e62cd14f28dcad093619618cd +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1684 + +configure.in +file + + + + +2009-03-12T04:44:23.000000Z +6deb494ba954af07731bb5f1bd4f87c3 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1004 + +hesservbyname.c +file + + + + +1996-12-08T21:40:44.000000Z +fbd02da4770c5526fe4defd30b088a90 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +5971 + +README +file + + + + +1997-01-03T20:47:15.000000Z +5915116b463a5ea827ac3d20047b148f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +1961 + +acconfig.h +file + + + + +1996-12-08T21:25:27.000000Z +7253663f50836cc63dae8dde5e59db7a +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +377 + +hesiod_init.3 +file + + + + +1996-12-08T21:44:58.000000Z +54344c87cd61cb6c8a0712f54d35e755 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +81 + +config.h.in +file + + + + +2009-03-12T04:44:23.000000Z +f87b6133e1f6ef472bc4886c5ff2db59 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +929 + +hesmailhost.c +file + + + + +1996-12-08T21:40:32.000000Z +059569f644d418218e5abb96ff811bbd +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2062 + +hestest.conf +file + + + + +1996-11-07T02:30:54.000000Z +b4cf969f3e7319dd512580a025c2dd1e +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +505 + +hesiod_getservbyname.3 +file + + + + +2009-03-12T04:44:23.000000Z +78e52471ddb762956a76f0bf2899646f +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2297 + +hesiod_getmailhost.3 +file + + + + +2009-03-12T04:44:23.000000Z +0578b7c431b5f67f123b5077011b108c +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2373 + +hesinfo.c +file + + + + +1996-12-08T21:29:54.000000Z +ace876d724984646c591053b7d92f3b0 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2774 + +install-sh +file + + + + +1996-11-07T01:52:05.000000Z +e2f7509e56ca4245d80878e106226786 +2009-03-12T04:48:37.983466Z +417 +kcr +has-props + + + + + + + + + + + + + + + + + + + + +4773 + +hesiod_getpwnam.3 +file + + + + +2009-03-12T04:44:23.000000Z +2b7cf681d399d60a13b38584450c4733 +2009-03-12T04:48:37.983466Z +417 +kcr + + + + + + + + + + + + + + + + + + + + + +2330 + --- hesiod-3.0.2.orig/.svn/prop-base/install-sh.svn-base +++ hesiod-3.0.2/.svn/prop-base/install-sh.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END --- hesiod-3.0.2.orig/.svn/prop-base/configure.svn-base +++ hesiod-3.0.2/.svn/prop-base/configure.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END --- hesiod-3.0.2.orig/.svn/prop-base/mkinstalldirs.svn-base +++ hesiod-3.0.2/.svn/prop-base/mkinstalldirs.svn-base @@ -0,0 +1,5 @@ +K 14 +svn:executable +V 1 +* +END --- hesiod-3.0.2.orig/.svn/text-base/hesiod_to_bind.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_to_bind.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_to_bind.3,v 1.1 1996/12/08 21:44:59 ghudson Exp $ +.so man3/hesiod.3 --- hesiod-3.0.2.orig/.svn/text-base/install-sh.svn-base +++ hesiod-3.0.2/.svn/text-base/install-sh.svn-base @@ -0,0 +1,238 @@ +#! /bin/sh +# +# install - install a program, script, or datafile +# This comes from X11R5. +# +# Calling this script install-sh is preferred over install.sh, to prevent +# `make' implicit rules from creating a file called install from it +# when there is no Makefile. +# +# This script is compatible with the BSD install script, but was written +# from scratch. +# + + +# set DOITPROG to echo to test this script + +# Don't use :- since 4.3BSD and earlier shells don't like it. +doit="${DOITPROG-}" + + +# put in absolute paths if you don't have them in your path; or use env. vars. + +mvprog="${MVPROG-mv}" +cpprog="${CPPROG-cp}" +chmodprog="${CHMODPROG-chmod}" +chownprog="${CHOWNPROG-chown}" +chgrpprog="${CHGRPPROG-chgrp}" +stripprog="${STRIPPROG-strip}" +rmprog="${RMPROG-rm}" +mkdirprog="${MKDIRPROG-mkdir}" + +transformbasename="" +transform_arg="" +instcmd="$mvprog" +chmodcmd="$chmodprog 0755" +chowncmd="" +chgrpcmd="" +stripcmd="" +rmcmd="$rmprog -f" +mvcmd="$mvprog" +src="" +dst="" +dir_arg="" + +while [ x"$1" != x ]; do + case $1 in + -c) instcmd="$cpprog" + shift + continue;; + + -d) dir_arg=true + shift + continue;; + + -m) chmodcmd="$chmodprog $2" + shift + shift + continue;; + + -o) chowncmd="$chownprog $2" + shift + shift + continue;; + + -g) chgrpcmd="$chgrpprog $2" + shift + shift + continue;; + + -s) stripcmd="$stripprog" + shift + continue;; + + -t=*) transformarg=`echo $1 | sed 's/-t=//'` + shift + continue;; + + -b=*) transformbasename=`echo $1 | sed 's/-b=//'` + shift + continue;; + + *) if [ x"$src" = x ] + then + src=$1 + else + # this colon is to work around a 386BSD /bin/sh bug + : + dst=$1 + fi + shift + continue;; + esac +done + +if [ x"$src" = x ] +then + echo "install: no input file specified" + exit 1 +else + true +fi + +if [ x"$dir_arg" != x ]; then + dst=$src + src="" + + if [ -d $dst ]; then + instcmd=: + else + instcmd=mkdir + fi +else + +# Waiting for this to be detected by the "$instcmd $src $dsttmp" command +# might cause directories to be created, which would be especially bad +# if $src (and thus $dsttmp) contains '*'. + + if [ -f $src -o -d $src ] + then + true + else + echo "install: $src does not exist" + exit 1 + fi + + if [ x"$dst" = x ] + then + echo "install: no destination specified" + exit 1 + else + true + fi + +# If destination is a directory, append the input filename; if your system +# does not like double slashes in filenames, you may need to add some logic + + if [ -d $dst ] + then + dst="$dst"/`basename $src` + else + true + fi +fi + +## this sed command emulates the dirname command +dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` + +# Make sure that the destination directory exists. +# this part is taken from Noah Friedman's mkinstalldirs script + +# Skip lots of stat calls in the usual case. +if [ ! -d "$dstdir" ]; then +defaultIFS=' +' +IFS="${IFS-${defaultIFS}}" + +oIFS="${IFS}" +# Some sh's can't handle IFS=/ for some reason. +IFS='%' +set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` +IFS="${oIFS}" + +pathcomp='' + +while [ $# -ne 0 ] ; do + pathcomp="${pathcomp}${1}" + shift + + if [ ! -d "${pathcomp}" ] ; + then + $mkdirprog "${pathcomp}" + else + true + fi + + pathcomp="${pathcomp}/" +done +fi + +if [ x"$dir_arg" != x ] +then + $doit $instcmd $dst && + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi +else + +# If we're going to rename the final executable, determine the name now. + + if [ x"$transformarg" = x ] + then + dstfile=`basename $dst` + else + dstfile=`basename $dst $transformbasename | + sed $transformarg`$transformbasename + fi + +# don't allow the sed command to completely eliminate the filename + + if [ x"$dstfile" = x ] + then + dstfile=`basename $dst` + else + true + fi + +# Make a temp file name in the proper directory. + + dsttmp=$dstdir/#inst.$$# + +# Move or copy the file name to the temp name + + $doit $instcmd $src $dsttmp && + + trap "rm -f ${dsttmp}" 0 && + +# and set any options; do chmod last to preserve setuid bits + +# If any of these fail, we abort the whole thing. If we want to +# ignore errors from any of these, just make sure not to ignore +# errors from the above "$doit $instcmd $src $dsttmp" command. + + if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && + if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && + if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && + if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && + +# Now rename the file to the real destination. + + $doit $rmcmd -f $dstdir/$dstfile && + $doit $mvcmd $dsttmp $dstdir/$dstfile + +fi && + + +exit 0 --- hesiod-3.0.2.orig/.svn/text-base/hesiod_resolve.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_resolve.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_resolve.3,v 1.1 1996/12/08 21:44:58 ghudson Exp $ +.so man3/hesiod.3 --- hesiod-3.0.2.orig/.svn/text-base/hesinfo.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hesinfo.c.svn-base @@ -0,0 +1,113 @@ +/* Copyright 1988, 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file is a simple driver for the Hesiod library. */ + +static char rcsid[] = "$Id: hesinfo.c,v 1.8 1996/12/08 21:29:54 ghudson Exp $"; + +#include +#include +#include +#include +#include "hesiod.h" + +extern int optind; + +int main(int argc, char **argv) +{ + char **list, **p, *bindname, *name, *type; + int lflag = 0, errflg = 0, bflag = 0, c, status; + void *context; + + while ((c = getopt(argc, argv, "lb")) != EOF) + { + switch (c) + { + case 'l': + lflag = 1; + break; + case 'b': + bflag = 1; + break; + default: + errflg++; + break; + } + } + if (argc - optind != 2 || errflg) + { + fprintf(stderr,"Usage: %s [-bl] name type\n",argv[0]); + fprintf(stderr,"\t-l selects long format\n"); + fprintf(stderr,"\t-b also does hes_to_bind conversion\n"); + return 2; + } + + name = argv[optind]; + type = argv[optind + 1]; + + if (hesiod_init(&context) < 0) + { + if (errno == ENOEXEC) + fprintf(stderr, "hesiod_init: Invalid Hesiod configuration file.\n"); + else + perror("hesiod_init"); + } + + /* Display bind name if requested. */ + if (bflag) + { + if (lflag) + printf("hes_to_bind(%s, %s) expands to\n", name, type); + bindname = hesiod_to_bind(context, name, type); + if (!bindname) + { + if (lflag) + printf("nothing\n"); + if (errno == ENOENT) + fprintf(stderr, "hesiod_to_bind: Unknown rhs-extension.\n"); + else + perror("hesiod_to_bind"); + exit(1); + } + printf("%s\n", bindname); + free(bindname); + if (lflag) + printf("which "); + } + + if (lflag) + printf("resolves to\n"); + + /* Do the hesiod resolve and check for errors. */ + list = hesiod_resolve(context, name, type); + if (!list) + { + if (lflag) + printf("nothing\n"); + if (errno == ENOENT) + fprintf(stderr, "hesiod_resolve: Hesiod name not found.\n"); + else + perror("hesiod_resolve"); + return 1; + } + + /* Display the results. */ + for (p = list; *p; p++) + printf("%s\n", *p); + + hesiod_free_list(context, list); + hesiod_end(context); + return 0; +} --- hesiod-3.0.2.orig/.svn/text-base/hesiod.conf.5.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod.conf.5.svn-base @@ -0,0 +1,50 @@ +.\" $Id: hesiod.conf.5,v 1.1 1996/12/08 21:36:38 ghudson Exp $ +.\" +.\" Copyright 1996 by the Massachusetts Institute of Technology. +.\" +.\" Permission to use, copy, modify, and distribute this +.\" software and its documentation for any purpose and without +.\" fee is hereby granted, provided that the above copyright +.\" notice appear in all copies and that both that copyright +.\" notice and this permission notice appear in supporting +.\" documentation, and that the name of M.I.T. not be used in +.\" advertising or publicity pertaining to distribution of the +.\" software without specific, written prior permission. +.\" M.I.T. makes no representations about the suitability of +.\" this software for any purpose. It is provided "as is" +.\" without express or implied warranty. +.\" +.TH HESIOD.CONF 5 "30 November 1996" +.SH NAME +hesiod.conf \- Configuration file for the Hesiod library +.SH DESCRIPTION +The file hesiod.conf determines the behavior of the Hesiod library. +Blank lines and lines beginning with a `#' character are ignored. All +other lines should be of the form +.I variable += +.IR value , +where the value should be a single word. Possible variables and +values are: +.IP lhs +Specifies the domain prefix used for Hesiod queries. In almost all +cases, you should specify ``lhs=.ns''. The default value if you do +not specify an lhs value is no domain prefix, which is not compatible +with most Hesiod domains. +.IP rhs +Specifies the default Hesiod domain; this value may be overridden by +the +.B HES_DOMAIN +environment variable. You must specify an rhs line for the Hesiod +library to work properly. +.IP classes +Specifies which DNS classes Hesiod should do lookups in. Possible +values are IN (the preferred class) and HS (the deprecated class, +still used by some sites). You may specify both classes separated by +a comma to try one class first and then the other if no entry is +available in the first class. The default value of the classes +variable is ``IN,HS''. +.SH SEE ALSO +hesiod(3) +.SH BUGS +There default value for ``lhs'' should probably be more reasonable. --- hesiod-3.0.2.orig/.svn/text-base/hesiod_getmailhost.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_getmailhost.3.svn-base @@ -0,0 +1,66 @@ +.\" $Id: hesiod_getmailhost.3,v 1.1 1996/12/08 21:38:11 ghudson Exp $ +.\" +.\" Copyright 1996 by the Massachusetts Institute of Technology. +.\" +.\" Permission to use, copy, modify, and distribute this +.\" software and its documentation for any purpose and without +.\" fee is hereby granted, provided that the above copyright +.\" notice appear in all copies and that both that copyright +.\" notice and this permission notice appear in supporting +.\" documentation, and that the name of M.I.T. not be used in +.\" advertising or publicity pertaining to distribution of the +.\" software without specific, written prior permission. +.\" M.I.T. makes no representations about the suitability of +.\" this software for any purpose. It is provided "as is" +.\" without express or implied warranty. +.\" +.TH HESIOD 3 "30 November 1996" +.SH NAME +hesiod_getmailhost, hesiod_free_postoffice \- Hesiod functions for retrieving user to postoffice mappings +.SH SYNOPSIS +.nf +.B #include +.PP +.B struct hesiod_postoffice *hesiod_getmailhost(void *\fIcontext\fP, +.B const char *\fIuser\fP) +.B void hesiod_free_postoffice(void *\fIcontext\fP, +.B struct hesiod_postoffice *\fIpo\fP) +.PP +.B cc file.c \-lhesiod +.fi +.SH DESCRIPTION +This family of functions allows you to retrieve user to postoffice +mappings using Hesiod. To perform lookups, you need an initialized +Hesiod context; see hesiod(3) for details. Information is returned in +a +.I hesiod_postoffice +structure, which has the following fields: +.IP hesiod_po_type +The type of postoffice box, typically ``POP''. +.IP hesiod_po_host +The hostname where the postoffice box resides. +.IP hesiod_po_name +The account name on the given postoffice server. +.PP +It is the caller's responsibility to call +.I hesiod_free_postoffice +with the returned postoffice entry to free the resources used by the +postoffice entry. +.PP +Hesiod queries for postoffice information are made using the ``pobox'' +Hesiod type, using the username as the Hesiod name. The corresponding +entries should be space-separated lists of strings giving the type of +postoffice box, the hostname, and the account name. +.SH RETURN VALUES +On failure, +.I hesiod_getservbyname +returns NULL and sets the global variable +.I errno +to indicate the error. +.SH ERRORS +.I hesiod_getmailhost +may fail for any of the reasons the routine +.I hesiod_resolve +may fail. +.SH SEE ALSO +hesiod(3) --- hesiod-3.0.2.orig/.svn/text-base/hesiod_p.h.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_p.h.svn-base @@ -0,0 +1,41 @@ +/* + * Copyright (c) 1996 by Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + */ + +/* + * $Id: hesiod_p.h,v 1.1 1996/12/08 21:39:37 ghudson Exp $ + */ + +/* + * hesiod_p.h -- private definitions for the hesiod library + */ + +#ifndef HESIOD_P_H_INCLUDED +#define HESIOD_P_H_INCLUDED + +/* Defaults if the configuration file is not present. */ +#define DEF_RHS ".athena.mit.edu" +#define DEF_LHS ".ns" + +struct hesiod_p { + char *lhs; /* normally ".ns" */ + char *rhs; /* AKA the default hesiod domain */ + int classes[2]; /* The class search order. */ +}; + +#define MAX_HESRESP 1024 + +#endif /*HESIOD_P_H_INCLUDED*/ --- hesiod-3.0.2.orig/.svn/text-base/hespwnam.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hespwnam.c.svn-base @@ -0,0 +1,129 @@ +/* Copyright 1988, 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file is part of the Hesiod library. It implements + * hesiod_getpwnam and hesiod_getpwuid, for retrieving passwd + * information about a user. + */ + +static char rcsid[] = "$Id: hespwnam.c,v 1.13 1996/12/08 21:40:37 ghudson Exp $"; + +#include +#include +#include +#include +#include +#include +#include "hesiod.h" +#include "config.h" + +static struct passwd *getpwcommon(void *context, const char *arg, int which); +static char *next_field(char *ptr); + +struct passwd *hesiod_getpwnam(void *context, const char *name) +{ + return getpwcommon(context, name, 0); +} + +struct passwd *hesiod_getpwuid(void *context, uid_t uid) +{ + char uidstr[16]; + + sprintf(uidstr, "%d", uid); + return getpwcommon(context, uidstr, 1); +} + +void hesiod_free_passwd(void *context, struct passwd *pw) +{ + free(pw->pw_name); + free(pw); +} + +static struct passwd *getpwcommon(void *context, const char *arg, int which) +{ + char *p, **list; + struct passwd *pw; + + /* Get the response and copy the first entry into a buffer. */ + list = hesiod_resolve(context, arg, which ? "uid" : "passwd"); + if (!list) + return NULL; + p = malloc(strlen(*list) + 1); + if (!p) + { + hesiod_free_list(context, list); + errno = ENOMEM; + return NULL; + } + strcpy(p, *list); + hesiod_free_list(context, list); + + /* Allocate memory for the result. */ + pw = (struct passwd *) malloc(sizeof(struct passwd)); + if (!pw) + { + free(p); + errno = ENOMEM; + return NULL; + } + + /* Split up buf into fields. */ + pw->pw_name = p; + p = next_field(p); + pw->pw_passwd = p; + p = next_field(p); + pw->pw_uid = atoi(p); + p = next_field(p); + pw->pw_gid = atoi(p); + p = next_field(p); + pw->pw_gecos = p; + p = next_field(p); + pw->pw_dir = p; + p = next_field(p); + pw->pw_shell = p; + while (*p && *p != '\n') + p++; + *p = 0; + +#ifdef HAVE_PW_QUOTA + pw->pw_quota = 0; +#endif +#ifdef HAVE_PW_COMMENT + pw->pw_comment = ""; +#endif +#ifdef HAVE_PW_CLASS + pw->pw_class = ""; +#endif +#ifdef HAVE_PW_CHANGE + pw->pw_change = 0; +#endif +#ifdef HAVE_PW_EXPIRE + pw->pw_expire = 0; +#endif + + return pw; +} + +/* Null-terminate the current colon-separated field in the passwd entry and + * return a pointer to the beginning of the next one. + */ +static char *next_field(char *ptr) +{ + while (*ptr && *ptr != '\n' && *ptr != ':') + ptr++; + if (*ptr) + *ptr++ = '\0'; + return ptr; +} --- hesiod-3.0.2.orig/.svn/text-base/configure.svn-base +++ hesiod-3.0.2/.svn/text-base/configure.svn-base @@ -0,0 +1,4095 @@ +#! /bin/sh +# Guess values for system-dependent variables and create Makefiles. +# Generated by GNU Autoconf 2.59 for hesiod 3.0.2. +# +# Copyright (C) 2003 Free Software Foundation, Inc. +# This configure script is free software; the Free Software Foundation +# gives unlimited permission to copy, distribute and modify it. +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + + +# Name of the host. +# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` + +exec 6>&1 + +# +# Initializations. +# +ac_default_prefix=/usr/local +ac_config_libobj_dir=. +cross_compiling=no +subdirs= +MFLAGS= +MAKEFLAGS= +SHELL=${CONFIG_SHELL-/bin/sh} + +# Maximum number of lines to put in a shell here document. +# This variable seems obsolete. It should probably be removed, and +# only ac_max_sed_lines should be used. +: ${ac_max_here_lines=38} + +# Identity of this package. +PACKAGE_NAME='hesiod' +PACKAGE_TARNAME='hesiod' +PACKAGE_VERSION='3.0.2' +PACKAGE_STRING='hesiod 3.0.2' +PACKAGE_BUGREPORT='' + +ac_unique_file="hesiod.c" +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS lbindir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS LTLIBOBJS' +ac_subst_files='' + +# Initialize some variables set by options. +ac_init_help= +ac_init_version=false +# The variables have the same names as the options, with +# dashes changed to underlines. +cache_file=/dev/null +exec_prefix=NONE +no_create= +no_recursion= +prefix=NONE +program_prefix=NONE +program_suffix=NONE +program_transform_name=s,x,x, +silent= +site= +srcdir= +verbose= +x_includes=NONE +x_libraries=NONE + +# Installation directory options. +# These are left unexpanded so users can "make install exec_prefix=/foo" +# and all the variables that are supposed to be based on exec_prefix +# by default will actually change. +# Use braces instead of parens because sh, perl, etc. also accept them. +bindir='${exec_prefix}/bin' +sbindir='${exec_prefix}/sbin' +libexecdir='${exec_prefix}/libexec' +datadir='${prefix}/share' +sysconfdir='${prefix}/etc' +sharedstatedir='${prefix}/com' +localstatedir='${prefix}/var' +libdir='${exec_prefix}/lib' +includedir='${prefix}/include' +oldincludedir='/usr/include' +infodir='${prefix}/info' +mandir='${prefix}/man' + +ac_prev= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval "$ac_prev=\$ac_option" + ac_prev= + continue + fi + + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` + + # Accept the important Cygnus configure options, so we can diagnose typos. + + case $ac_option in + + -bindir | --bindir | --bindi | --bind | --bin | --bi) + ac_prev=bindir ;; + -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) + bindir=$ac_optarg ;; + + -build | --build | --buil | --bui | --bu) + ac_prev=build_alias ;; + -build=* | --build=* | --buil=* | --bui=* | --bu=*) + build_alias=$ac_optarg ;; + + -cache-file | --cache-file | --cache-fil | --cache-fi \ + | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) + ac_prev=cache_file ;; + -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ + | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) + cache_file=$ac_optarg ;; + + --config-cache | -C) + cache_file=config.cache ;; + + -datadir | --datadir | --datadi | --datad | --data | --dat | --da) + ac_prev=datadir ;; + -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ + | --da=*) + datadir=$ac_optarg ;; + + -disable-* | --disable-*) + ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + eval "enable_$ac_feature=no" ;; + + -enable-* | --enable-*) + ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid feature name: $ac_feature" >&2 + { (exit 1); exit 1; }; } + ac_feature=`echo $ac_feature | sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + *) ac_optarg=yes ;; + esac + eval "enable_$ac_feature='$ac_optarg'" ;; + + -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ + | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ + | --exec | --exe | --ex) + ac_prev=exec_prefix ;; + -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ + | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ + | --exec=* | --exe=* | --ex=*) + exec_prefix=$ac_optarg ;; + + -gas | --gas | --ga | --g) + # Obsolete; use --with-gas. + with_gas=yes ;; + + -help | --help | --hel | --he | -h) + ac_init_help=long ;; + -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) + ac_init_help=recursive ;; + -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) + ac_init_help=short ;; + + -host | --host | --hos | --ho) + ac_prev=host_alias ;; + -host=* | --host=* | --hos=* | --ho=*) + host_alias=$ac_optarg ;; + + -includedir | --includedir | --includedi | --included | --include \ + | --includ | --inclu | --incl | --inc) + ac_prev=includedir ;; + -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ + | --includ=* | --inclu=* | --incl=* | --inc=*) + includedir=$ac_optarg ;; + + -infodir | --infodir | --infodi | --infod | --info | --inf) + ac_prev=infodir ;; + -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) + infodir=$ac_optarg ;; + + -libdir | --libdir | --libdi | --libd) + ac_prev=libdir ;; + -libdir=* | --libdir=* | --libdi=* | --libd=*) + libdir=$ac_optarg ;; + + -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ + | --libexe | --libex | --libe) + ac_prev=libexecdir ;; + -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ + | --libexe=* | --libex=* | --libe=*) + libexecdir=$ac_optarg ;; + + -localstatedir | --localstatedir | --localstatedi | --localstated \ + | --localstate | --localstat | --localsta | --localst \ + | --locals | --local | --loca | --loc | --lo) + ac_prev=localstatedir ;; + -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ + | --localstate=* | --localstat=* | --localsta=* | --localst=* \ + | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) + localstatedir=$ac_optarg ;; + + -mandir | --mandir | --mandi | --mand | --man | --ma | --m) + ac_prev=mandir ;; + -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) + mandir=$ac_optarg ;; + + -nfp | --nfp | --nf) + # Obsolete; use --without-fp. + with_fp=no ;; + + -no-create | --no-create | --no-creat | --no-crea | --no-cre \ + | --no-cr | --no-c | -n) + no_create=yes ;; + + -no-recursion | --no-recursion | --no-recursio | --no-recursi \ + | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) + no_recursion=yes ;; + + -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ + | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ + | --oldin | --oldi | --old | --ol | --o) + ac_prev=oldincludedir ;; + -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ + | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ + | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) + oldincludedir=$ac_optarg ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -program-prefix | --program-prefix | --program-prefi | --program-pref \ + | --program-pre | --program-pr | --program-p) + ac_prev=program_prefix ;; + -program-prefix=* | --program-prefix=* | --program-prefi=* \ + | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) + program_prefix=$ac_optarg ;; + + -program-suffix | --program-suffix | --program-suffi | --program-suff \ + | --program-suf | --program-su | --program-s) + ac_prev=program_suffix ;; + -program-suffix=* | --program-suffix=* | --program-suffi=* \ + | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) + program_suffix=$ac_optarg ;; + + -program-transform-name | --program-transform-name \ + | --program-transform-nam | --program-transform-na \ + | --program-transform-n | --program-transform- \ + | --program-transform | --program-transfor \ + | --program-transfo | --program-transf \ + | --program-trans | --program-tran \ + | --progr-tra | --program-tr | --program-t) + ac_prev=program_transform_name ;; + -program-transform-name=* | --program-transform-name=* \ + | --program-transform-nam=* | --program-transform-na=* \ + | --program-transform-n=* | --program-transform-=* \ + | --program-transform=* | --program-transfor=* \ + | --program-transfo=* | --program-transf=* \ + | --program-trans=* | --program-tran=* \ + | --progr-tra=* | --program-tr=* | --program-t=*) + program_transform_name=$ac_optarg ;; + + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + silent=yes ;; + + -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) + ac_prev=sbindir ;; + -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ + | --sbi=* | --sb=*) + sbindir=$ac_optarg ;; + + -sharedstatedir | --sharedstatedir | --sharedstatedi \ + | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ + | --sharedst | --shareds | --shared | --share | --shar \ + | --sha | --sh) + ac_prev=sharedstatedir ;; + -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ + | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ + | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ + | --sha=* | --sh=*) + sharedstatedir=$ac_optarg ;; + + -site | --site | --sit) + ac_prev=site ;; + -site=* | --site=* | --sit=*) + site=$ac_optarg ;; + + -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) + ac_prev=srcdir ;; + -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) + srcdir=$ac_optarg ;; + + -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ + | --syscon | --sysco | --sysc | --sys | --sy) + ac_prev=sysconfdir ;; + -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ + | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) + sysconfdir=$ac_optarg ;; + + -target | --target | --targe | --targ | --tar | --ta | --t) + ac_prev=target_alias ;; + -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) + target_alias=$ac_optarg ;; + + -v | -verbose | --verbose | --verbos | --verbo | --verb) + verbose=yes ;; + + -version | --version | --versio | --versi | --vers | -V) + ac_init_version=: ;; + + -with-* | --with-*) + ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package| sed 's/-/_/g'` + case $ac_option in + *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; + *) ac_optarg=yes ;; + esac + eval "with_$ac_package='$ac_optarg'" ;; + + -without-* | --without-*) + ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid package name: $ac_package" >&2 + { (exit 1); exit 1; }; } + ac_package=`echo $ac_package | sed 's/-/_/g'` + eval "with_$ac_package=no" ;; + + --x) + # Obsolete; use --with-x. + with_x=yes ;; + + -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ + | --x-incl | --x-inc | --x-in | --x-i) + ac_prev=x_includes ;; + -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ + | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) + x_includes=$ac_optarg ;; + + -x-libraries | --x-libraries | --x-librarie | --x-librari \ + | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) + ac_prev=x_libraries ;; + -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + + *) + # FIXME: should be removed in autoconf 3.0. + echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && + echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} + ;; + + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute paths. +for ac_var in exec_prefix prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# Be sure to have absolute paths. +for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ + localstatedir libdir includedir oldincludedir infodir mandir +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +# There might be people who depend on the old broken behavior: `$host' +# used to hold the argument of --host etc. +# FIXME: To remove some day. +build=$build_alias +host=$host_alias +target=$target_alias + +# FIXME: To remove some day. +if test "x$host_alias" != x; then + if test "x$build_alias" = x; then + cross_compiling=maybe + echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. + If a cross compiler is detected then cross compile mode will be used." >&2 + elif test "x$build_alias" != "x$host_alias"; then + cross_compiling=yes + fi +fi + +ac_tool_prefix= +test -n "$host_alias" && ac_tool_prefix=$host_alias- + +test "$silent" = yes && exec 6>/dev/null + + +# Find the source files, if location was not specified. +if test -z "$srcdir"; then + ac_srcdir_defaulted=yes + # Try the directory containing this script, then its parent. + ac_confdir=`(dirname "$0") 2>/dev/null || +$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$0" : 'X\(//\)[^/]' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$0" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + srcdir=$ac_confdir + if test ! -r $srcdir/$ac_unique_file; then + srcdir=.. + fi +else + ac_srcdir_defaulted=no +fi +if test ! -r $srcdir/$ac_unique_file; then + if test "$ac_srcdir_defaulted" = yes; then + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 + { (exit 1); exit 1; }; } + else + { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 + { (exit 1); exit 1; }; } + fi +fi +(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || + { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 + { (exit 1); exit 1; }; } +srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` +ac_env_build_alias_set=${build_alias+set} +ac_env_build_alias_value=$build_alias +ac_cv_env_build_alias_set=${build_alias+set} +ac_cv_env_build_alias_value=$build_alias +ac_env_host_alias_set=${host_alias+set} +ac_env_host_alias_value=$host_alias +ac_cv_env_host_alias_set=${host_alias+set} +ac_cv_env_host_alias_value=$host_alias +ac_env_target_alias_set=${target_alias+set} +ac_env_target_alias_value=$target_alias +ac_cv_env_target_alias_set=${target_alias+set} +ac_cv_env_target_alias_value=$target_alias +ac_env_CC_set=${CC+set} +ac_env_CC_value=$CC +ac_cv_env_CC_set=${CC+set} +ac_cv_env_CC_value=$CC +ac_env_CFLAGS_set=${CFLAGS+set} +ac_env_CFLAGS_value=$CFLAGS +ac_cv_env_CFLAGS_set=${CFLAGS+set} +ac_cv_env_CFLAGS_value=$CFLAGS +ac_env_LDFLAGS_set=${LDFLAGS+set} +ac_env_LDFLAGS_value=$LDFLAGS +ac_cv_env_LDFLAGS_set=${LDFLAGS+set} +ac_cv_env_LDFLAGS_value=$LDFLAGS +ac_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_env_CPPFLAGS_value=$CPPFLAGS +ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} +ac_cv_env_CPPFLAGS_value=$CPPFLAGS +ac_env_CPP_set=${CPP+set} +ac_env_CPP_value=$CPP +ac_cv_env_CPP_set=${CPP+set} +ac_cv_env_CPP_value=$CPP + +# +# Report the --help message. +# +if test "$ac_init_help" = "long"; then + # Omit some internal or obsolete options to make the list less imposing. + # This message is too long to be a string in the A/UX 3.1 sh. + cat <<_ACEOF +\`configure' configures hesiod 3.0.2 to adapt to many kinds of systems. + +Usage: $0 [OPTION]... [VAR=VALUE]... + +To assign environment variables (e.g., CC, CFLAGS...), specify them as +VAR=VALUE. See below for descriptions of some of the useful variables. + +Defaults for the options are specified in brackets. + +Configuration: + -h, --help display this help and exit + --help=short display options specific to this package + --help=recursive display the short help of all the included packages + -V, --version display version information and exit + -q, --quiet, --silent do not print \`checking...' messages + --cache-file=FILE cache test results in FILE [disabled] + -C, --config-cache alias for \`--cache-file=config.cache' + -n, --no-create do not create output files + --srcdir=DIR find the sources in DIR [configure dir or \`..'] + +_ACEOF + + cat <<_ACEOF +Installation directories: + --prefix=PREFIX install architecture-independent files in PREFIX + [$ac_default_prefix] + --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX + [PREFIX] + +By default, \`make install' will install all the files in +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify +an installation prefix other than \`$ac_default_prefix' using \`--prefix', +for instance \`--prefix=\$HOME'. + +For better control, use the options below. + +Fine tuning of the installation directories: + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --datadir=DIR read-only architecture-independent data [PREFIX/share] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --infodir=DIR info documentation [PREFIX/info] + --mandir=DIR man documentation [PREFIX/man] +_ACEOF + + cat <<\_ACEOF +_ACEOF +fi + +if test -n "$ac_init_help"; then + case $ac_init_help in + short | recursive ) echo "Configuration of hesiod 3.0.2:";; + esac + cat <<\_ACEOF + +Some influential environment variables: + CC C compiler command + CFLAGS C compiler flags + LDFLAGS linker flags, e.g. -L if you have libraries in a + nonstandard directory + CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have + headers in a nonstandard directory + CPP C preprocessor + +Use these variables to override the choices made by `configure' or to help +it to find libraries and programs with nonstandard names/locations. + +_ACEOF +fi + +if test "$ac_init_help" = "recursive"; then + # If there are subdirs, report their specific --help. + ac_popdir=`pwd` + for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue + test -d $ac_dir || continue + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + cd $ac_dir + # Check for guested configure; otherwise get Cygnus style configure. + if test -f $ac_srcdir/configure.gnu; then + echo + $SHELL $ac_srcdir/configure.gnu --help=recursive + elif test -f $ac_srcdir/configure; then + echo + $SHELL $ac_srcdir/configure --help=recursive + elif test -f $ac_srcdir/configure.ac || + test -f $ac_srcdir/configure.in; then + echo + $ac_configure --help + else + echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + fi + cd "$ac_popdir" + done +fi + +test -n "$ac_init_help" && exit 0 +if $ac_init_version; then + cat <<\_ACEOF +hesiod configure 3.0.2 +generated by GNU Autoconf 2.59 + +Copyright (C) 2003 Free Software Foundation, Inc. +This configure script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it. +_ACEOF + exit 0 +fi +exec 5>config.log +cat >&5 <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by hesiod $as_me 3.0.2, which was +generated by GNU Autoconf 2.59. Invocation command line was + + $ $0 $@ + +_ACEOF +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## + +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` + +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +hostinfo = `(hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +_ASUNAME + +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + echo "PATH: $as_dir" +done + +} >&5 + +cat >&5 <<_ACEOF + + +## ----------- ## +## Core tests. ## +## ----------- ## + +_ACEOF + + +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_sep= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; + 2) + ac_configure_args1="$ac_configure_args1 '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + case $ac_arg in + *=* | --config-cache | -C | -disable-* | --disable-* \ + | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ + | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ + | -with-* | --with-* | -without-* | --without-* | --x) + case "$ac_configure_args0 " in + "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; + esac + ;; + -* ) ac_must_keep_next=true ;; + esac + fi + ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" + # Get rid of the leading space. + ac_sep=" " + ;; + esac + done +done +$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } +$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Be sure not to use single quotes in there, as some shells, +# such as our DU 5.0 friend, will then `close' the trap. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo + + cat <<\_ASBOX +## ---------------- ## +## Cache variables. ## +## ---------------- ## +_ASBOX + echo + # The following way of writing the cache mishandles newlines in values, +{ + (set) 2>&1 | + case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in + *ac_space=\ *) + sed -n \ + "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" + ;; + *) + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} + echo + + cat <<\_ASBOX +## ----------------- ## +## Output variables. ## +## ----------------- ## +_ASBOX + echo + for ac_var in $ac_subst_vars + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + + if test -n "$ac_subst_files"; then + cat <<\_ASBOX +## ------------- ## +## Output files. ## +## ------------- ## +_ASBOX + echo + for ac_var in $ac_subst_files + do + eval ac_val=$`echo $ac_var` + echo "$ac_var='"'"'$ac_val'"'"'" + done | sort + echo + fi + + if test -s confdefs.h; then + cat <<\_ASBOX +## ----------- ## +## confdefs.h. ## +## ----------- ## +_ASBOX + echo + sed "/^$/d" confdefs.h | sort + echo + fi + test "$ac_signal" != 0 && + echo "$as_me: caught signal $ac_signal" + echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core && + rm -rf conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status + ' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -rf conftest* confdefs.h +# AIX cpp loses on an empty file, so make sure it contains at least a newline. +echo >confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer explicitly selected file to automatically selected ones. +if test -z "$CONFIG_SITE"; then + if test "x$prefix" != xNONE; then + CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" + else + CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" + fi +fi +for ac_site_file in $CONFIG_SITE; do + if test -r "$ac_site_file"; then + { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 +echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" + fi +done + +if test -r "$cache_file"; then + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then + { echo "$as_me:$LINENO: loading cache $cache_file" >&5 +echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . $cache_file;; + *) . ./$cache_file;; + esac + fi +else + { echo "$as_me:$LINENO: creating cache $cache_file" >&5 +echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in `(set) 2>&1 | + sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val="\$ac_cv_env_${ac_var}_value" + eval ac_new_val="\$ac_env_${ac_var}_value" + case $ac_old_set,$ac_new_set in + set,) + { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 +echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 +echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 +echo "$as_me: former value: $ac_old_val" >&2;} + { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 +echo "$as_me: current value: $ac_new_val" >&2;} + ac_cache_corrupted=: + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) + ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 +echo "$as_me: error: changes in the environment can compromise the build" >&2;} + { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 +echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +test -z "$lbindir" && lbindir='${bindir}' + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. +set dummy ${ac_tool_prefix}gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. +set dummy gcc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="gcc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. +set dummy ${ac_tool_prefix}cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="${ac_tool_prefix}cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_CC"; then + ac_ct_CC=$CC + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + CC=$ac_ct_CC +else + CC="$ac_cv_prog_CC" +fi + +fi +if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. +set dummy cc; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else + ac_prog_rejected=no +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +if test $ac_prog_rejected = yes; then + # We found a bogon in the path, so make sure we never use it. + set dummy $ac_cv_prog_CC + shift + if test $# != 0; then + # We chose a different compiler from the bogus one. + # However, it has the same basename, so the bogon will be chosen + # first if we set CC to just the basename; use the full file name. + shift + ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" + fi +fi +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$CC"; then + if test -n "$ac_tool_prefix"; then + for ac_prog in cl + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. +set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$CC"; then + ac_cv_prog_CC="$CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +CC=$ac_cv_prog_CC +if test -n "$CC"; then + echo "$as_me:$LINENO: result: $CC" >&5 +echo "${ECHO_T}$CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$CC" && break + done +fi +if test -z "$CC"; then + ac_ct_CC=$CC + for ac_prog in cl +do + # Extract the first word of "$ac_prog", so it can be a program name with args. +set dummy $ac_prog; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_CC"; then + ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_CC="$ac_prog" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +ac_ct_CC=$ac_cv_prog_ac_ct_CC +if test -n "$ac_ct_CC"; then + echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 +echo "${ECHO_T}$ac_ct_CC" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + test -n "$ac_ct_CC" && break +done + + CC=$ac_ct_CC +fi + +fi + + +test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&5 +echo "$as_me: error: no acceptable C compiler found in \$PATH +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + +# Provide some information about the compiler. +echo "$as_me:$LINENO:" \ + "checking for C compiler version" >&5 +ac_compiler=`set X $ac_compile; echo $2` +{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 + (eval $ac_compiler --version &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 + (eval $ac_compiler -v &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } +{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 + (eval $ac_compiler -V &5) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } + +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files a.out a.exe b.out" +# Try to create an executable without -o first, disregard a.out. +# It will help us diagnose broken compilers, and finding out an intuition +# of exeext. +echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 +echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 +ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` +if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 + (eval $ac_link_default) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # Find the output, starting from the most likely. This scheme is +# not robust to junk in `.', hence go to wildcards (a.*) only as a last +# resort. + +# Be careful to initialize this variable, since it used to be cached. +# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. +ac_cv_exeext= +# b.out is created by i960 compilers. +for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out +do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) + ;; + conftest.$ac_ext ) + # This is the source file. + ;; + [ab].out ) + # We found the default executable, but exeext='' is most + # certainly right. + break;; + *.* ) + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + # FIXME: I believe we export ac_cv_exeext for Libtool, + # but it would be cool to find out if it's true. Does anybody + # maintain Libtool? --akim. + export ac_cv_exeext + break;; + * ) + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: C compiler cannot create executables +See \`config.log' for more details." >&5 +echo "$as_me: error: C compiler cannot create executables +See \`config.log' for more details." >&2;} + { (exit 77); exit 77; }; } +fi + +ac_exeext=$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_file" >&5 +echo "${ECHO_T}$ac_file" >&6 + +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether the C compiler works" >&5 +echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 +# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 +# If not cross compiling, check that we can run a simple program. +if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { echo "$as_me:$LINENO: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } + fi + fi +fi +echo "$as_me:$LINENO: result: yes" >&5 +echo "${ECHO_T}yes" >&6 + +rm -f a.out a.exe conftest$ac_cv_exeext b.out +ac_clean_files=$ac_clean_files_save +# Check the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 +echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 +echo "$as_me:$LINENO: result: $cross_compiling" >&5 +echo "${ECHO_T}$cross_compiling" >&6 + +echo "$as_me:$LINENO: checking for suffix of executables" >&5 +echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) +# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will +# work properly (i.e., refer to `conftest.exe'), while it won't with +# `rm'. +for ac_file in conftest.exe conftest conftest.*; do + test -f "$ac_file" || continue + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; + *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + export ac_cv_exeext + break;; + * ) break;; + esac +done +else + { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest$ac_cv_exeext +echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 +echo "${ECHO_T}$ac_cv_exeext" >&6 + +rm -f conftest.$ac_ext +EXEEXT=$ac_cv_exeext +ac_exeext=$EXEEXT +echo "$as_me:$LINENO: checking for suffix of object files" >&5 +echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 +if test "${ac_cv_objext+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.o conftest.obj +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; then + for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do + case $ac_file in + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; + *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` + break;; + esac +done +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&5 +echo "$as_me: error: cannot compute suffix of object files: cannot compile +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +rm -f conftest.$ac_cv_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 +echo "${ECHO_T}$ac_cv_objext" >&6 +OBJEXT=$ac_cv_objext +ac_objext=$OBJEXT +echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 +echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 +if test "${ac_cv_c_compiler_gnu+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ +#ifndef __GNUC__ + choke me +#endif + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_compiler_gnu=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_compiler_gnu=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_cv_c_compiler_gnu=$ac_compiler_gnu + +fi +echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 +echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 +GCC=`test $ac_compiler_gnu = yes && echo yes` +ac_test_CFLAGS=${CFLAGS+set} +ac_save_CFLAGS=$CFLAGS +CFLAGS="-g" +echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 +echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_g+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ + +int +main () +{ + + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_g=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_prog_cc_g=no +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 +if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +elif test $ac_cv_prog_cc_g = yes; then + if test "$GCC" = yes; then + CFLAGS="-g -O2" + else + CFLAGS="-g" + fi +else + if test "$GCC" = yes; then + CFLAGS="-O2" + else + CFLAGS= + fi +fi +echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 +echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 +if test "${ac_cv_prog_cc_stdc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + ac_cv_prog_cc_stdc=no +ac_save_CC=$CC +cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +#include +#include +#include +/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ +struct buf { int x; }; +FILE * (*rcsopen) (struct buf *, struct stat *, int); +static char *e (p, i) + char **p; + int i; +{ + return p[i]; +} +static char *f (char * (*g) (char **, int), char **p, ...) +{ + char *s; + va_list v; + va_start (v,p); + s = g (p, va_arg (v,int)); + va_end (v); + return s; +} + +/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has + function prototypes and stuff, but not '\xHH' hex character constants. + These don't provoke an error unfortunately, instead are silently treated + as 'x'. The following induces an error, until -std1 is added to get + proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an + array size at least. It's necessary to write '\x00'==0 to get something + that's true only with -std1. */ +int osf4_cc_array ['\x00' == 0 ? 1 : -1]; + +int test (int i, double x); +struct s1 {int (*f) (int a);}; +struct s2 {int (*f) (double a);}; +int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); +int argc; +char **argv; +int +main () +{ +return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; + ; + return 0; +} +_ACEOF +# Don't try gcc -ansi; that turns off useful extensions and +# breaks some systems' header files. +# AIX -qlanglvl=ansi +# Ultrix and OSF/1 -std1 +# HP-UX 10.20 and later -Ae +# HP-UX older versions -Aa -D_HPUX_SOURCE +# SVR4 -Xc -D__EXTENSIONS__ +for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" +do + CC="$ac_save_CC $ac_arg" + rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_prog_cc_stdc=$ac_arg +break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext +done +rm -f conftest.$ac_ext conftest.$ac_objext +CC=$ac_save_CC + +fi + +case "x$ac_cv_prog_cc_stdc" in + x|xno) + echo "$as_me:$LINENO: result: none needed" >&5 +echo "${ECHO_T}none needed" >&6 ;; + *) + echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 +echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 + CC="$CC $ac_cv_prog_cc_stdc" ;; +esac + +# Some people use a C++ compiler to compile C. Since we use `exit', +# in C++ we need to declare it. In case someone uses the same compiler +# for both compiling C and C++ we need to have the C++ compiler decide +# the declaration of exit, since it's the most demanding environment. +cat >conftest.$ac_ext <<_ACEOF +#ifndef __cplusplus + choke me +#endif +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + for ac_declaration in \ + '' \ + 'extern "C" void std::exit (int) throw (); using std::exit;' \ + 'extern "C" void std::exit (int); using std::exit;' \ + 'extern "C" void exit (int) throw ();' \ + 'extern "C" void exit (int);' \ + 'void exit (int);' +do + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +#include +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +continue +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +$ac_declaration +int +main () +{ +exit (42); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest.$ac_objext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + break +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +done +rm -f conftest* +if test -n "$ac_declaration"; then + echo '#ifdef __cplusplus' >>confdefs.h + echo $ac_declaration >>confdefs.h + echo '#endif' >>confdefs.h +fi + +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +fi +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + +ac_aux_dir= +for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do + if test -f $ac_dir/install-sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f $ac_dir/install.sh; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f $ac_dir/shtool; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 +echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} + { (exit 1); exit 1; }; } +fi +ac_config_guess="$SHELL $ac_aux_dir/config.guess" +ac_config_sub="$SHELL $ac_aux_dir/config.sub" +ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. + +# Find a good install program. We prefer a C program (faster), +# so one script is as good as another. But avoid the broken or +# incompatible versions: +# SysV /etc/install, /usr/sbin/install +# SunOS /usr/etc/install +# IRIX /sbin/install +# AIX /bin/install +# AmigaOS /C/install, which installs bootblocks on floppy discs +# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag +# AFS /usr/afsws/bin/install, which mishandles nonexistent args +# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" +# OS/2's system install, which has a completely different semantic +# ./install, which can be erroneously created by make from ./install.sh. +echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 +echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 +if test -z "$INSTALL"; then +if test "${ac_cv_path_install+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in + ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ + ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. + # Don't use installbsd from OSF since it installs stuff as root + # by default. + for ac_prog in ginstall scoinst install; do + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then + if test $ac_prog = install && + grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # AIX install. It has an incompatible calling convention. + : + elif test $ac_prog = install && + grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then + # program-specific install script used by HP pwplus--don't use. + : + else + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi + fi + done + done + ;; +esac +done + + +fi + if test "${ac_cv_path_install+set}" = set; then + INSTALL=$ac_cv_path_install + else + # As a last resort, use the slow shell script. We don't cache a + # path for INSTALL within a source directory, because that will + # break other packages using the cache if that directory is + # removed, or if the path is relative. + INSTALL=$ac_install_sh + fi +fi +echo "$as_me:$LINENO: result: $INSTALL" >&5 +echo "${ECHO_T}$INSTALL" >&6 + +# Use test -z because SunOS4 sh mishandles braces in ${var-val}. +# It thinks the first close brace ends the variable substitution. +test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' + +test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. +set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$RANLIB"; then + ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + +fi +fi +RANLIB=$ac_cv_prog_RANLIB +if test -n "$RANLIB"; then + echo "$as_me:$LINENO: result: $RANLIB" >&5 +echo "${ECHO_T}$RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + +fi +if test -z "$ac_cv_prog_RANLIB"; then + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. +set dummy ranlib; ac_word=$2 +echo "$as_me:$LINENO: checking for $ac_word" >&5 +echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 +if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if test -n "$ac_ct_RANLIB"; then + ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. +else +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for ac_exec_ext in '' $ac_executable_extensions; do + if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then + ac_cv_prog_ac_ct_RANLIB="ranlib" + echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi +done +done + + test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" +fi +fi +ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB +if test -n "$ac_ct_RANLIB"; then + echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 +echo "${ECHO_T}$ac_ct_RANLIB" >&6 +else + echo "$as_me:$LINENO: result: no" >&5 +echo "${ECHO_T}no" >&6 +fi + + RANLIB=$ac_ct_RANLIB +else + RANLIB="$ac_cv_prog_RANLIB" +fi + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu +echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 +echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 +# On Suns, sometimes $CPP names a directory. +if test -n "$CPP" && test -d "$CPP"; then + CPP= +fi +if test -z "$CPP"; then + if test "${ac_cv_prog_CPP+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + # Double quotes because CPP needs to be expanded + for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" + do + ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + break +fi + + done + ac_cv_prog_CPP=$CPP + +fi + CPP=$ac_cv_prog_CPP +else + ac_cv_prog_CPP=$CPP +fi +echo "$as_me:$LINENO: result: $CPP" >&5 +echo "${ECHO_T}$CPP" >&6 +ac_preproc_ok=false +for ac_c_preproc_warn_flag in '' yes +do + # Use a header file that comes with gcc, so configuring glibc + # with a fresh cross-compiler works. + # Prefer to if __STDC__ is defined, since + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#ifdef __STDC__ +# include +#else +# include +#endif + Syntax error +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + : +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Broken: fails on valid input. +continue +fi +rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether non-existent headers + # can be detected and how. + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +#include +_ACEOF +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } >/dev/null; then + if test -s conftest.err; then + ac_cpp_err=$ac_c_preproc_warn_flag + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag + else + ac_cpp_err= + fi +else + ac_cpp_err=yes +fi +if test -z "$ac_cpp_err"; then + # Broken: success on invalid input. +continue +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + + # Passes both tests. +ac_preproc_ok=: +break +fi +rm -f conftest.err conftest.$ac_ext + +done +# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. +rm -f conftest.err conftest.$ac_ext +if $ac_preproc_ok; then + : +else + { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&5 +echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' +ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +echo "$as_me:$LINENO: checking for egrep" >&5 +echo $ECHO_N "checking for egrep... $ECHO_C" >&6 +if test "${ac_cv_prog_egrep+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + if echo a | (grep -E '(a|b)') >/dev/null 2>&1 + then ac_cv_prog_egrep='grep -E' + else ac_cv_prog_egrep='egrep' + fi +fi +echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 +echo "${ECHO_T}$ac_cv_prog_egrep" >&6 + EGREP=$ac_cv_prog_egrep + + +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 "pw_quota" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_PW_QUOTA 1 +_ACEOF + +fi +rm -f conftest* + +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 "pw_comment" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_PW_COMMENT 1 +_ACEOF + +fi +rm -f conftest* + +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 "pw_class" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_PW_CLASS 1 +_ACEOF + +fi +rm -f conftest* + +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 "pw_change" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_PW_CHANGE 1 +_ACEOF + +fi +rm -f conftest* + +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 "pw_expire" >/dev/null 2>&1; then + cat >>confdefs.h <<\_ACEOF +#define HAVE_PW_EXPIRE 1 +_ACEOF + +fi +rm -f conftest* + + +echo "$as_me:$LINENO: checking for res_ninit" >&5 +echo $ECHO_N "checking for res_ninit... $ECHO_C" >&6 +if test "${ac_cv_func_res_ninit+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define res_ninit to an innocuous variant, in case declares res_ninit. + For example, HP-UX 11i declares gettimeofday. */ +#define res_ninit innocuous_res_ninit + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char res_ninit (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef res_ninit + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char res_ninit (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_res_ninit) || defined (__stub___res_ninit) +choke me +#else +char (*f) () = res_ninit; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != res_ninit; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + ac_cv_func_res_ninit=yes +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +ac_cv_func_res_ninit=no +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: $ac_cv_func_res_ninit" >&5 +echo "${ECHO_T}$ac_cv_func_res_ninit" >&6 +if test $ac_cv_func_res_ninit = yes; then + : +else + echo "$as_me:$LINENO: checking for standalone resolver library existence" >&5 +echo $ECHO_N "checking for standalone resolver library existence... $ECHO_C" >&6 + old_LIBS="$LIBS" + LIBS="$LIBS -lresolv" + 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 () +{ +res_ninit((void *)0); + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + echo "$as_me:$LINENO: result: found" >&5 +echo "${ECHO_T}found" >&6 +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +LIBS="$old_LIBS" + { { echo "$as_me:$LINENO: error: not found +See \`config.log' for more details." >&5 +echo "$as_me: error: not found +See \`config.log' for more details." >&2;} + { (exit 1); exit 1; }; } +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi + + + +for ac_func in strerror_r +do +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` +echo "$as_me:$LINENO: checking for $ac_func" >&5 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 +if eval "test \"\${$as_ac_var+set}\" = set"; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + cat >conftest.$ac_ext <<_ACEOF +/* confdefs.h. */ +_ACEOF +cat confdefs.h >>conftest.$ac_ext +cat >>conftest.$ac_ext <<_ACEOF +/* end confdefs.h. */ +/* Define $ac_func to an innocuous variant, in case declares $ac_func. + For example, HP-UX 11i declares gettimeofday. */ +#define $ac_func innocuous_$ac_func + +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $ac_func (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ + +#ifdef __STDC__ +# include +#else +# include +#endif + +#undef $ac_func + +/* Override any gcc2 internal prototype to avoid an error. */ +#ifdef __cplusplus +extern "C" +{ +#endif +/* We use char because int might match the return type of a gcc2 + builtin and then its argument prototype would still apply. */ +char $ac_func (); +/* The GNU C library defines this for functions which it implements + to always fail with ENOSYS. Some functions are actually named + something starting with __ and the normal name is an alias. */ +#if defined (__stub_$ac_func) || defined (__stub___$ac_func) +choke me +#else +char (*f) () = $ac_func; +#endif +#ifdef __cplusplus +} +#endif + +int +main () +{ +return f != $ac_func; + ; + return 0; +} +_ACEOF +rm -f conftest.$ac_objext conftest$ac_exeext +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>conftest.er1 + ac_status=$? + grep -v '^ *+' conftest.er1 >conftest.err + rm -f conftest.er1 + cat conftest.err >&5 + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); } && + { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; } && + { ac_try='test -s conftest$ac_exeext' + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 + (eval $ac_try) 2>&5 + ac_status=$? + echo "$as_me:$LINENO: \$? = $ac_status" >&5 + (exit $ac_status); }; }; then + eval "$as_ac_var=yes" +else + echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +eval "$as_ac_var=no" +fi +rm -f conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 +if test `eval echo '${'$as_ac_var'}'` = yes; then + cat >>confdefs.h <<_ACEOF +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +_ACEOF + +fi +done + + + ac_config_headers="$ac_config_headers config.h" + + ac_config_files="$ac_config_files Makefile" + +cat >confcache <<\_ACEOF +# This file is a shell script that caches the results of configure +# tests run on this system so they can be shared between configure +# scripts and configure runs, see configure's option --config-cache. +# It is not useful on other systems. If it contains results you don't +# want to keep, you may remove or edit it. +# +# config.status only pays attention to the cache file if you give it +# the --recheck option to rerun configure. +# +# `ac_cv_env_foo' variables (set or unset) will be overridden when +# loading this file, other *unset* `ac_cv_foo' will be assigned the +# following values. + +_ACEOF + +# The following way of writing the cache mishandles newlines in values, +# but we know of no workaround that is simple, portable, and efficient. +# So, don't put newlines in cache variables' values. +# Ultrix sh set writes to stderr and can't be redirected directly, +# and sets the high bit in the cache file unless we assign to the vars. +{ + (set) 2>&1 | + case `(ac_space=' '; set | grep ac_space) 2>&1` in + *ac_space=\ *) + # `set' does not quote correctly, so add quotes (double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \). + sed -n \ + "s/'/'\\\\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" + ;; + *) + # `set' quotes correctly as required by POSIX, so do not add quotes. + sed -n \ + "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" + ;; + esac; +} | + sed ' + t clear + : clear + s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ + t end + /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ + : end' >>confcache +if diff $cache_file confcache >/dev/null 2>&1; then :; else + if test -w $cache_file; then + test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" + cat confcache >$cache_file + else + echo "not updating unwritable cache $cache_file" + fi +fi +rm -f confcache + +test "x$prefix" = xNONE && prefix=$ac_default_prefix +# Let make expand exec_prefix. +test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' + +# VPATH may cause trouble with some makes, so we remove $(srcdir), +# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# trailing colons and then remove the whole line if VPATH becomes empty +# (actually we leave an empty line to preserve line numbers). +if test "x$srcdir" = x.; then + ac_vpsub='/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/; +s/:*\${srcdir}:*/:/; +s/:*@srcdir@:*/:/; +s/^\([^=]*=[ ]*\):*/\1/; +s/:*$//; +s/^[^=]*=[ ]*$//; +}' +fi + +DEFS=-DHAVE_CONFIG_H + +ac_libobjs= +ac_ltlibobjs= +for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue + # 1. Remove the extension, and $U if already installed. + ac_i=`echo "$ac_i" | + sed 's/\$U\././;s/\.o$//;s/\.obj$//'` + # 2. Add them. + ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" + ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' +done +LIBOBJS=$ac_libobjs + +LTLIBOBJS=$ac_ltlibobjs + + + +: ${CONFIG_STATUS=./config.status} +ac_clean_files_save=$ac_clean_files +ac_clean_files="$ac_clean_files $CONFIG_STATUS" +{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 +echo "$as_me: creating $CONFIG_STATUS" >&6;} +cat >$CONFIG_STATUS <<_ACEOF +#! $SHELL +# Generated by $as_me. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=\${CONFIG_SHELL-$SHELL} +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be Bourne compatible +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' +elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then + set -o posix +fi +DUALCASE=1; export DUALCASE # for MKS sh + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# Work around bugs in pre-3.0 UWIN ksh. +$as_unset ENV MAIL MAILPATH +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +for as_var in \ + LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ + LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ + LC_TELEPHONE LC_TIME +do + if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then + eval $as_var=C; export $as_var + else + $as_unset $as_var + fi +done + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)$' \| \ + . : '\(.\)' 2>/dev/null || +echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } + /^X\/\(\/\/\)$/{ s//\1/; q; } + /^X\/\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + + +# PATH needs CR, and LINENO needs CR and PATH. +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + echo "#! /bin/sh" >conf$$.sh + echo "exit 0" >>conf$$.sh + chmod +x conf$$.sh + if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then + PATH_SEPARATOR=';' + else + PATH_SEPARATOR=: + fi + rm -f conf$$.sh +fi + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" || { + # Find who we are. Look in the path if we contain no path at all + # relative or not. + case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done + + ;; + esac + # We did not find ourselves, most probably we were run as `sh COMMAND' + # in which case we are not to be found in the path. + if test "x$as_myself" = x; then + as_myself=$0 + fi + if test ! -f "$as_myself"; then + { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 +echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} + { (exit 1); exit 1; }; } + fi + case $CONFIG_SHELL in + '') + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + for as_base in sh bash ksh sh5; do + case $as_dir in + /*) + if ("$as_dir/$as_base" -c ' + as_lineno_1=$LINENO + as_lineno_2=$LINENO + as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then + $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } + $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } + CONFIG_SHELL=$as_dir/$as_base + export CONFIG_SHELL + exec "$CONFIG_SHELL" "$0" ${1+"$@"} + fi;; + esac + done +done +;; + esac + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line before each line; the second 'sed' does the real + # work. The second script uses 'N' to pair each line-number line + # with the numbered line, and appends trailing '-' during + # substitution so that $LINENO is not a special case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) + sed '=' <$as_myself | + sed ' + N + s,$,-, + : loop + s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, + t loop + s,-$,, + s,^['$as_cr_digits']*\n,, + ' >$as_me.lineno && + chmod +x $as_me.lineno || + { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 +echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensible to this). + . ./$as_me.lineno + # Exit status is that of the last command. + exit +} + + +case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in + *c*,-n*) ECHO_N= ECHO_C=' +' ECHO_T=' ' ;; + *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; + *) ECHO_N= ECHO_C='\c' ECHO_T= ;; +esac + +if expr a : '\(a\)' >/dev/null 2>&1; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +echo >conf$$.file +if ln -s conf$$.file conf$$ 2>/dev/null; then + # We could just check for DJGPP; but this test a) works b) is more generic + # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). + if test -f conf$$.exe; then + # Don't use ln at all; we don't have any links + as_ln_s='cp -p' + else + as_ln_s='ln -s' + fi +elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.file + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +as_executable_p="test -f" + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +# IFS +# We need space, tab and new line, in precisely that order. +as_nl=' +' +IFS=" $as_nl" + +# CDPATH. +$as_unset CDPATH + +exec 6>&1 + +# Open the log real soon, to keep \$[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. Logging --version etc. is OK. +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX +} >&5 +cat >&5 <<_CSEOF + +This file was extended by hesiod $as_me 3.0.2, which was +generated by GNU Autoconf 2.59. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +_CSEOF +echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 +echo >&5 +_ACEOF + +# Files that config.status was made for. +if test -n "$ac_config_files"; then + echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_headers"; then + echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_links"; then + echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS +fi + +if test -n "$ac_config_commands"; then + echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS +fi + +cat >>$CONFIG_STATUS <<\_ACEOF + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTIONS] [FILE]... + + -h, --help print this help, then exit + -V, --version print version number, then exit + -q, --quiet do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Report bugs to ." +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF +ac_cs_version="\\ +hesiod config.status 3.0.2 +configured by $0, generated by GNU Autoconf 2.59, + with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" + +Copyright (C) 2003 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." +srcdir=$srcdir +INSTALL="$INSTALL" +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF +# If no file are specified by the user, then we need to provide default +# value. By we need to know if files were specified by the user. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "x$1" : 'x\([^=]*\)='` + ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` + ac_shift=: + ;; + -*) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + *) # This is not an option, so the user has probably given explicit + # arguments. + ac_option=$1 + ac_need_defaults=false;; + esac + + case $ac_option in + # Handling of the options. +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --vers* | -V ) + echo "$ac_cs_version"; exit 0 ;; + --he | --h) + # Conflict between --help and --header + { { echo "$as_me:$LINENO: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + echo "$ac_cs_usage"; exit 0 ;; + --debug | --d* | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + CONFIG_FILES="$CONFIG_FILES $ac_optarg" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + ac_need_defaults=false;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&5 +echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2;} + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF +if \$ac_cs_recheck; then + echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 + exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion +fi + +_ACEOF + + + + + +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_config_target in $ac_config_targets +do + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason to put it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Create a temporary directory, and hook for its removal unless debugging. +$debug || +{ + trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} + +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./confstat$$-$RANDOM + (umask 077 && mkdir $tmp) +} || +{ + echo "$me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +_ACEOF + +cat >>$CONFIG_STATUS <<_ACEOF + +# +# CONFIG_FILES section. +# + +# No need to generate the scripts if there are no CONFIG_FILES. +# This happens for instance when ./config.status config.h +if test -n "\$CONFIG_FILES"; then + # Protect against being on the right side of a sed subst in config.status. + sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; + s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF +s,@SHELL@,$SHELL,;t t +s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t +s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t +s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t +s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t +s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t +s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t +s,@exec_prefix@,$exec_prefix,;t t +s,@prefix@,$prefix,;t t +s,@program_transform_name@,$program_transform_name,;t t +s,@bindir@,$bindir,;t t +s,@sbindir@,$sbindir,;t t +s,@libexecdir@,$libexecdir,;t t +s,@datadir@,$datadir,;t t +s,@sysconfdir@,$sysconfdir,;t t +s,@sharedstatedir@,$sharedstatedir,;t t +s,@localstatedir@,$localstatedir,;t t +s,@libdir@,$libdir,;t t +s,@includedir@,$includedir,;t t +s,@oldincludedir@,$oldincludedir,;t t +s,@infodir@,$infodir,;t t +s,@mandir@,$mandir,;t t +s,@build_alias@,$build_alias,;t t +s,@host_alias@,$host_alias,;t t +s,@target_alias@,$target_alias,;t t +s,@DEFS@,$DEFS,;t t +s,@ECHO_C@,$ECHO_C,;t t +s,@ECHO_N@,$ECHO_N,;t t +s,@ECHO_T@,$ECHO_T,;t t +s,@LIBS@,$LIBS,;t t +s,@lbindir@,$lbindir,;t t +s,@CC@,$CC,;t t +s,@CFLAGS@,$CFLAGS,;t t +s,@LDFLAGS@,$LDFLAGS,;t t +s,@CPPFLAGS@,$CPPFLAGS,;t t +s,@ac_ct_CC@,$ac_ct_CC,;t t +s,@EXEEXT@,$EXEEXT,;t t +s,@OBJEXT@,$OBJEXT,;t t +s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t +s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t +s,@INSTALL_DATA@,$INSTALL_DATA,;t t +s,@RANLIB@,$RANLIB,;t t +s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t +s,@CPP@,$CPP,;t t +s,@EGREP@,$EGREP,;t t +s,@LIBOBJS@,$LIBOBJS,;t t +s,@LTLIBOBJS@,$LTLIBOBJS,;t t +CEOF + +_ACEOF + + cat >>$CONFIG_STATUS <<\_ACEOF + # Split the substitutions into bite-sized pieces for seds with + # small command number limits, like on Digital OSF/1 and HP-UX. + ac_max_sed_lines=48 + ac_sed_frag=1 # Number of current file. + ac_beg=1 # First line for current file. + ac_end=$ac_max_sed_lines # Line after last line for current file. + ac_more_lines=: + ac_sed_cmds= + while $ac_more_lines; do + if test $ac_beg -gt 1; then + sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + else + sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag + fi + if test ! -s $tmp/subs.frag; then + ac_more_lines=false + else + # The purpose of the label and of the branching condition is to + # speed up the sed processing (if there are no `@' at all, there + # is no need to browse any of the substitutions). + # These are the two extra sed commands mentioned above. + (echo ':t + /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed + if test -z "$ac_sed_cmds"; then + ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" + else + ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" + fi + ac_sed_frag=`expr $ac_sed_frag + 1` + ac_beg=$ac_end + ac_end=`expr $ac_end + $ac_max_sed_lines` + fi + done + if test -z "$ac_sed_cmds"; then + ac_sed_cmds=cat + fi +fi # test -n "$CONFIG_FILES" + +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + ac_builddir=. + +if test "$ac_dir" != .; then + ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + # A "../" for each directory in $ac_dir_suffix. + ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` +else + ac_dir_suffix= ac_top_builddir= +fi + +case $srcdir in + .) # No --srcdir option. We are building in place. + ac_srcdir=. + if test -z "$ac_top_builddir"; then + ac_top_srcdir=. + else + ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` + fi ;; + [\\/]* | ?:[\\/]* ) # Absolute path. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir ;; + *) # Relative path. + ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_builddir$srcdir ;; +esac + +# Do not use `cd foo && pwd` to compute absolute paths, because +# the directories may not exist. +case `pwd` in +.) ac_abs_builddir="$ac_dir";; +*) + case "$ac_dir" in + .) ac_abs_builddir=`pwd`;; + [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; + *) ac_abs_builddir=`pwd`/"$ac_dir";; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_builddir=${ac_top_builddir}.;; +*) + case ${ac_top_builddir}. in + .) ac_abs_top_builddir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; + *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_srcdir=$ac_srcdir;; +*) + case $ac_srcdir in + .) ac_abs_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; + *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; + esac;; +esac +case $ac_abs_builddir in +.) ac_abs_top_srcdir=$ac_top_srcdir;; +*) + case $ac_top_srcdir in + .) ac_abs_top_srcdir=$ac_abs_builddir;; + [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; + *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; + esac;; +esac + + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_builddir$INSTALL ;; + esac + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + configure_input= + else + configure_input="$ac_file. " + fi + configure_input=$configure_input"Generated from `echo $ac_file_in | + sed 's,.*/,,'` by configure." + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi +_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF + sed "$ac_vpsub +$extrasub +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s,@configure_input@,$configure_input,;t t +s,@srcdir@,$ac_srcdir,;t t +s,@abs_srcdir@,$ac_abs_srcdir,;t t +s,@top_srcdir@,$ac_top_srcdir,;t t +s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t +s,@builddir@,$ac_builddir,;t t +s,@abs_builddir@,$ac_abs_builddir,;t t +s,@top_builddir@,$ac_top_builddir,;t t +s,@abs_top_builddir@,$ac_abs_top_builddir,;t t +s,@INSTALL@,$ac_INSTALL,;t t +" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out + rm -f $tmp/stdin + if test x"$ac_file" != x-; then + mv $tmp/out $ac_file + else + cat $tmp/out + rm -f $tmp/out + fi + +done +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF + +# +# CONFIG_HEADER section. +# + +# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where +# NAME is the cpp macro being defined and VALUE is the value it is being given. +# +# ac_d sets the value in "#define NAME VALUE" lines. +ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' +ac_dB='[ ].*$,\1#\2' +ac_dC=' ' +ac_dD=',;t' +# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". +ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' +ac_uB='$,\1#\2define\3' +ac_uC=' ' +ac_uD=',;t' + +for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue + # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". + case $ac_file in + - | *:- | *:-:* ) # input from stdin + cat >$tmp/stdin + ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` + ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; + * ) ac_file_in=$ac_file.in ;; + esac + + test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + + # First look for the input files in the build tree, otherwise in the + # src tree. + ac_file_inputs=`IFS=: + for f in $ac_file_in; do + case $f in + -) echo $tmp/stdin ;; + [\\/$]*) + # Absolute (can't be DOS-style, as IFS=:) + test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + # Do quote $f, to prevent DOS paths from being IFS'd. + echo "$f";; + *) # Relative + if test -f "$f"; then + # Build tree + echo "$f" + elif test -f "$srcdir/$f"; then + # Source tree + echo "$srcdir/$f" + else + # /dev/null tree + { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 +echo "$as_me: error: cannot find input file: $f" >&2;} + { (exit 1); exit 1; }; } + fi;; + esac + done` || { (exit 1); exit 1; } + # Remove the trailing spaces. + sed 's/[ ]*$//' $ac_file_inputs >$tmp/in + +_ACEOF + +# Transform confdefs.h into two sed scripts, `conftest.defines' and +# `conftest.undefs', that substitutes the proper values into +# config.h.in to produce config.h. The first handles `#define' +# templates, and the second `#undef' templates. +# And first: Protect against being on the right side of a sed subst in +# config.status. Protect against being in an unquoted here document +# in config.status. +rm -f conftest.defines conftest.undefs +# Using a here document instead of a string reduces the quoting nightmare. +# Putting comments in sed scripts is not portable. +# +# `end' is used to avoid that the second main sed command (meant for +# 0-ary CPP macros) applies to n-ary macro definitions. +# See the Autoconf documentation for `clear'. +cat >confdef2sed.sed <<\_ACEOF +s/[\\&,]/\\&/g +s,[\\$`],\\&,g +t clear +: clear +s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp +t end +s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp +: end +_ACEOF +# If some macros were called several times there might be several times +# the same #defines, which is useless. Nevertheless, we may not want to +# sort them, since we want the *last* AC-DEFINE to be honored. +uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines +sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs +rm -f confdef2sed.sed + +# This sed command replaces #undef with comments. This is necessary, for +# example, in the case of _POSIX_SOURCE, which is predefined and required +# on some systems where configure will not decide to define it. +cat >>conftest.undefs <<\_ACEOF +s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, +_ACEOF + +# Break up conftest.defines because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS +echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS +echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS +echo ' :' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.defines >/dev/null +do + # Write a limited-size here document to $tmp/defines.sed. + echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#define' lines. + echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/defines.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail + rm -f conftest.defines + mv conftest.tail conftest.defines +done +rm -f conftest.defines +echo ' fi # grep' >>$CONFIG_STATUS +echo >>$CONFIG_STATUS + +# Break up conftest.undefs because some shells have a limit on the size +# of here documents, and old seds have small limits too (100 cmds). +echo ' # Handle all the #undef templates' >>$CONFIG_STATUS +rm -f conftest.tail +while grep . conftest.undefs >/dev/null +do + # Write a limited-size here document to $tmp/undefs.sed. + echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS + # Speed up: don't consider the non `#undef' + echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS + # Work around the forget-to-reset-the-flag bug. + echo 't clr' >>$CONFIG_STATUS + echo ': clr' >>$CONFIG_STATUS + sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS + echo 'CEOF + sed -f $tmp/undefs.sed $tmp/in >$tmp/out + rm -f $tmp/in + mv $tmp/out $tmp/in +' >>$CONFIG_STATUS + sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail + rm -f conftest.undefs + mv conftest.tail conftest.undefs +done +rm -f conftest.undefs + +cat >>$CONFIG_STATUS <<\_ACEOF + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + if test x"$ac_file" = x-; then + echo "/* Generated by configure. */" >$tmp/config.h + else + echo "/* $ac_file. Generated by configure. */" >$tmp/config.h + fi + cat $tmp/in >>$tmp/config.h + rm -f $tmp/in + if test x"$ac_file" != x-; then + if diff $ac_file $tmp/config.h >/dev/null 2>&1; then + { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +echo "$as_me: $ac_file is unchanged" >&6;} + else + ac_dir=`(dirname "$ac_file") 2>/dev/null || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + { if $as_mkdir_p; then + mkdir -p "$ac_dir" + else + as_dir="$ac_dir" + as_dirs= + while test ! -d "$as_dir"; do + as_dirs="$as_dir $as_dirs" + as_dir=`(dirname "$as_dir") 2>/dev/null || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| \ + . : '\(.\)' 2>/dev/null || +echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } + /^X\(\/\/\)[^/].*/{ s//\1/; q; } + /^X\(\/\/\)$/{ s//\1/; q; } + /^X\(\/\).*/{ s//\1/; q; } + s/.*/./; q'` + done + test ! -n "$as_dirs" || mkdir $as_dirs + fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 +echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} + { (exit 1); exit 1; }; }; } + + rm -f $ac_file + mv $tmp/config.h $ac_file + fi + else + cat $tmp/config.h + rm -f $tmp/config.h + fi +done +_ACEOF + +cat >>$CONFIG_STATUS <<\_ACEOF + +{ (exit 0); exit 0; } +_ACEOF +chmod +x $CONFIG_STATUS +ac_clean_files=$ac_clean_files_save + + +# configure is writing to config.log, and then calls config.status. +# config.status does its own redirection, appending to config.log. +# Unfortunately, on DOS this fails, as config.log is still kept open +# by configure, so config.status won't be able to write to it; its +# output is simply discarded. So we exec the FD to /dev/null, +# effectively closing config.log, so it can be properly (re)opened and +# appended to by config.status. When coming back to configure, we +# need to make the FD available again. +if test "$no_create" != yes; then + ac_cs_success=: + ac_config_status_args= + test "$silent" = yes && + ac_config_status_args="$ac_config_status_args --quiet" + exec 5>/dev/null + $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false + exec 5>>config.log + # Use ||, not &&, to avoid exiting from the if with $? = 1, which + # would make configure fail if this is the last instruction. + $ac_cs_success || { (exit 1); exit 1; } +fi + + --- hesiod-3.0.2.orig/.svn/text-base/hesinfo.1.svn-base +++ hesiod-3.0.2/.svn/text-base/hesinfo.1.svn-base @@ -0,0 +1,223 @@ +.\" $Id: hesinfo.1,v 1.9 1996/11/07 01:57:12 ghudson Exp $ +.\" +.\" Copyright 1987, 1996 by the Massachusetts Institute of Technology. +.\" +.\" Permission to use, copy, modify, and distribute this +.\" software and its documentation for any purpose and without +.\" fee is hereby granted, provided that the above copyright +.\" notice appear in all copies and that both that copyright +.\" notice and this permission notice appear in supporting +.\" documentation, and that the name of M.I.T. not be used in +.\" advertising or publicity pertaining to distribution of the +.\" software without specific, written prior permission. +.\" M.I.T. makes no representations about the suitability of +.\" this software for any purpose. It is provided "as is" +.\" without express or implied warranty. +.TH HESINFO 1 "27 October 1996" +.FM mit +.SH NAME +hesinfo \- find out what is stored in the Hesiod database +.SH SYNOPSIS +.nf +hesinfo \fI[\-bl]\fR \fIHesiodName\fR \fIHesiodNameType\fR +.SH DESCRIPTION +.I hesinfo +takes two arguments, a name to be resolved and a string, known +as a HesiodNameType. It then prints the information returned by +the Hesiod nameserver. +.PP +The value returned by +.B hesinfo +is of the type +.I HesiodNameType. +.PP +.I hesinfo +understands the following options: +.TP +.B \-l +Selects long format. +.TP +.B \-b +Prints the fully-qualified string passed to the nameserver. + +.PP +.SS VALID Hesiod_Names +The following types of identifiers may be used in the +.I HesiodName +argument to +.B hesinfo. +These values will be resolved by accessing the +.B hesiod +database. + +.TP +.B \ +the 8-character-or-less string used to identify users or classes +(e.g. joeuser, root, 1.00, etc). +Used with the +.I Hesiod_Name_Types +.BR passwd, +.BR pobox, +and +.BR filsys. + + +.TP +.B \ +the id number assigned to a user. + +.TP +.B \ +the id number assigned to a group. + +.TP +.B \ +a name identifying a unique group. + +.TP +.B \ +the name of an athena file system. + +.TP +.B \: +the name of an rvd's server and pack seperated by a colon. + +.TP +.B \: +the name of an nfs server and its partition seperated by a colon. + +.TP +.B \ +the machine name of an Athena workstation (e.g. E40-343-3). + +.TP +.B \ +name of an Athena service (e.g. Zephyr). + +.TP +.B \ +name of Unix service (valid entries are defined in /etc/services). + +.TP +.B \ +name of a printer. + +.TP +.B \ +name of an Athena print cluster. + +.TP +.B \ +some +.B hesinfo +calls (e.g. +.B prclusterlist +) do not require a specific +.I HesiodName +argument. However, you must include a dummy string (e.g. 'foo') for +.B hesinfo + to work properly. + + + + +.PP +.SS VALID Hesiod_Name_Types +The following symbols are valid substitutions for the +.I HesiodNameType +argument to +.B hesinfo. + +.TP +.B \ passwd +returns string suitable for inclusion in +.I /etc/passwd, +searching with +.B . + +.TP +.B \ pobox +returns information on the pobox assigned to the user specified by +.I HesiodName, +searching with +.B . + + +.TP +.B \ uid +returns string suitable for inclusion in +.I /etc/passwd, +searching with +.B . + +.TP +.B \ gid +returns string suitable for inclusion in +.I /etc/group, +searching with +.B . + +.TP +.B \ group +returns string suitable for inclusion in +.I /etc/group, +searching with +.B . + +.TP +.B \ grplist +returns subgroups included in superset +defined by +.B . + +.TP +.B \ filsys +returns file system type, export point, server, mount mode, and import point +for the following valid +.I HesiodNames +(see above) +.B \- , , :, +.B and : + +.TP +.B \ cluster +returns information about the local cluster the workstation, specified by +.B . +Included is information about the local file and print servers. This +information is accesses by +.B clusterinfo +at boot time. + +.TP +.B \ sloc +returns network name of service host for +.B . + +.TP +.B \ service +returns Internet protocol type and protocol service port for +.B . + +.TP +.B \ pcap +returns a valid entry for /etc/printcap for +.B . + +.TP +.B \ prcluserlist +returns a list of print clusters. + +.TP +.B \ prcluster +returns a list of printers in a cluster specified by +.B . + +.SH FILES +/etc/hesiod.conf +.SH "SEE ALSO" +`Hesiod - Project Athena Technical Plan -- Name Service', named(8), hesiod(3) +.SH AUTHOR +Steve Dyer, IBM/Project Athena +.br +Copyright 1987, 1988, 1996 by the Massachusetts Institute of Technology. +.br --- hesiod-3.0.2.orig/.svn/text-base/hesiod_free_list.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_free_list.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_free_list.3,v 1.1 1996/12/08 21:44:56 ghudson Exp $ +.so man3/hesiod.3 --- hesiod-3.0.2.orig/.svn/text-base/resscan.h.svn-base +++ hesiod-3.0.2/.svn/text-base/resscan.h.svn-base @@ -0,0 +1,47 @@ +/* $Id: resscan.h,v 1.6 1996/11/07 02:43:27 ghudson Exp $ */ + +/* Copyright 1988, 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* Original version by Steve Dyer, IBM/Project Athena, and Sam Hsu, + * DEC/Project Athena. + */ + +/* This file is part of the Hesiod library. It contains definitions + * for the name resolver scanning routines used by the library. + */ + +typedef struct rr { + short type; /* RR type */ + short class; /* RR class */ + int dlen; /* len of data section */ + const char *data; /* pointer to data */ +} rr_t; + +typedef struct nsmsg { + int len; /* sizeof(msg) */ + int ns_off; /* offset to name server RRs */ + int ar_off; /* offset to additional RRs */ + int count; /* total number of RRs */ + HEADER *hd; /* message header */ + rr_t rr; /* vector of (stripped-down) RR descriptors */ +} nsmsg_t; + +#define DATASIZE 8192 +#define NMSGSIZE (sizeof(nsmsg_t) + \ + sizeof(rr_t) * (DATASIZE / RRFIXEDSZ)) + +nsmsg_t *hes__resolve(const char *name, int class, int type, char *nmsgbuf, + char *databuf); --- hesiod-3.0.2.orig/.svn/text-base/hesiod.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod.3.svn-base @@ -0,0 +1,133 @@ +.\" $Id: hesiod.3,v 1.9.2.1 1997/01/03 21:02:23 ghudson Exp $ +.\" +.\" Copyright 1988, 1996 by the Massachusetts Institute of Technology. +.\" +.\" Permission to use, copy, modify, and distribute this +.\" software and its documentation for any purpose and without +.\" fee is hereby granted, provided that the above copyright +.\" notice appear in all copies and that both that copyright +.\" notice and this permission notice appear in supporting +.\" documentation, and that the name of M.I.T. not be used in +.\" advertising or publicity pertaining to distribution of the +.\" software without specific, written prior permission. +.\" M.I.T. makes no representations about the suitability of +.\" this software for any purpose. It is provided "as is" +.\" without express or implied warranty. +.\" +.TH HESIOD 3 "30 November 1996" +.SH NAME +hesiod, hesiod_init, hesiod_resolve, hesiod_free_list, hesiod_to_bind, hesiod_end \- Hesiod name server interface library +.SH SYNOPSIS +.nf +.B #include +.PP +.B int hesiod_init(void **\fIcontext\fP) +.B char **hesiod_resolve(void *\fIcontext\fP, const char *\fIname\fP, +.B const char *\fItype\fP) +.B void hesiod_free_list(void *\fIcontext\fP, char **\fIlist\fP); +.B char *hesiod_to_bind(void *\fIcontext\fP, const char *\fIname\fP, +.B const char *\fItype\fP) +.B void hesiod_end(void *\fIcontext\fP) +.PP +.B cc file.c \-lhesiod +.fi +.SH DESCRIPTION +This family of functions allows you to perform lookups of Hesiod +information, which is stored as text records in the Domain Name +Service. To perform lookups, you must first initialize a +.IR context , +an opaque object which stores information used internally by the +library between calls. +.I hesiod_init +initializes a context, storing a pointer to the context in the +location pointed to by the +.I context +argument. +.I hesiod_end +frees the resources used by a context. +.PP +.I hesiod_resolve +is the primary interface to the library. If successful, it returns a +list of one or more strings giving the records matching +.I name +and +.IR type . +The last element of the list is followed by a NULL pointer. It is the +caller's responsibility to call +.I hesiod_free_list +to free the resources used by the returned list. +.PP +.I hesiod_to_bind +converts +.I name +and +.I type +into the DNS name used by +.IR hesiod_resolve . +It is the caller's responsibility to free the returned string using +.IR free . +.SH RETURN VALUES +If successful, +.I hesiod_init +returns 0; otherwise it returns \-1 and sets +.I errno +to indicate the error. On failure, +.I hesiod_resolve +and +.I hesiod_to_bind +return NULL and set the global variable +.I errno +to indicate the error. +.SH ENVIRONMENT +If the environment variable +.B HES_DOMAIN +is set, it will override the domain in the Hesiod configuration file. +If the environment variable +.B HESIOD_CONFIG +is set, it specifies the location of the Hesiod configuration file. +.SH SEE ALSO +`Hesiod - Project Athena Technical Plan -- Name Service', named(8), +hesiod.conf(5) +.SH ERRORS +Hesiod calls may fail because of: +.IP ENOMEM +Insufficient memory was available to carry out the requested +operation. +.IP ENOEXEC +.I hesiod_init +failed because the Hesiod configuration file was invalid. +.IP ECONNREFUSED +.I hesiod_resolve +failed because no name server could be contacted to answer the query. +.IP EMSGSIZE +.I hesiod_resolve +or +.I hesiod_to_bind +failed because the query or response was too big to fit into the +packet buffers. +.IP ENOENT +.I hesiod_resolve +failed because the name server had no text records matching +.I name +and +.IR type , +or +.I hesiod_to_bind +failed because the +.I name +argument had a domain extension which could not be resolved with type +``rhs-extension'' in the local Hesiod domain. +.SH AUTHOR +Steve Dyer, IBM/Project Athena +.br +Greg Hudson, MIT Team Athena +.br +Copyright 1987, 1988, 1995, 1996 by the Massachusetts Institute of Technology. +.SH BUGS +The strings corresponding to the +.I errno +values set by the Hesiod functions are not particularly indicative of +what went wrong, especially for +.I ENOEXEC +and +.IR ENOENT . --- hesiod-3.0.2.orig/.svn/text-base/configure.in.svn-base +++ hesiod-3.0.2/.svn/text-base/configure.in.svn-base @@ -0,0 +1,35 @@ +dnl Process this file with autoconf to produce a configure script. +AC_INIT([hesiod], [3.0.2]) +AC_PREREQ(2.53) +AC_CONFIG_SRCDIR([hesiod.c]) + +test -z "$lbindir" && lbindir='${bindir}' +AC_SUBST([lbindir]) + +AC_PROG_CC +AC_PROG_INSTALL +AC_PROG_RANLIB + +AC_EGREP_HEADER([pw_quota], [pwd.h], [AC_DEFINE(HAVE_PW_QUOTA)]) +AC_EGREP_HEADER([pw_comment], [pwd.h], [AC_DEFINE(HAVE_PW_COMMENT)]) +AC_EGREP_HEADER([pw_class], [pwd.h], [AC_DEFINE(HAVE_PW_CLASS)]) +AC_EGREP_HEADER([pw_change], [pwd.h], [AC_DEFINE(HAVE_PW_CHANGE)]) +AC_EGREP_HEADER([pw_expire], [pwd.h], [AC_DEFINE(HAVE_PW_EXPIRE)]) + +AC_CHECK_FUNC([res_ninit], [:], + [AC_MSG_CHECKING([for standalone resolver library existence]) + old_LIBS="$LIBS" + LIBS="$LIBS -lresolv" + AC_LINK_IFELSE([AC_LANG_PROGRAM( + [[#include ]], + [[res_ninit((void *)0);]])], + [AC_MSG_RESULT([found])], + [LIBS="$old_LIBS" + AC_MSG_FAILURE([not found])])]) + +AC_CHECK_FUNCS([strerror_r]) + +AC_CONFIG_HEADER([config.h]) +AC_CONFIG_FILES([Makefile]) +AC_OUTPUT + --- hesiod-3.0.2.orig/.svn/text-base/mkinstalldirs.svn-base +++ hesiod-3.0.2/.svn/text-base/mkinstalldirs.svn-base @@ -0,0 +1,40 @@ +#! /bin/sh +# mkinstalldirs --- make directory hierarchy +# Author: Noah Friedman +# Created: 1993-05-16 +# Public domain + +# $Id: mkinstalldirs,v 1.1 1996/11/07 01:52:05 ghudson Exp $ + +errstatus=0 + +for file +do + set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` + shift + + pathcomp= + for d + do + pathcomp="$pathcomp$d" + case "$pathcomp" in + -* ) pathcomp=./$pathcomp ;; + esac + + if test ! -d "$pathcomp"; then + echo "mkdir $pathcomp" 1>&2 + + mkdir "$pathcomp" || lasterr=$? + + if test ! -d "$pathcomp"; then + errstatus=$lasterr + fi + fi + + pathcomp="$pathcomp/" + done +done + +exit $errstatus + +# mkinstalldirs ends here --- hesiod-3.0.2.orig/.svn/text-base/hescompat.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hescompat.c.svn-base @@ -0,0 +1,165 @@ +/* Copyright 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file is part of the Hesiod library. It implements + * backward-compatibility interfaces. + */ + +static char rcsid[] = "$Id: hescompat.c,v 1.1.2.1 1996/12/16 08:37:45 ghudson Exp $"; + +#include +#include +#include +#include "hesiod.h" + +static int inited = 0; +static void *context; +static char *bindname, **list; +static struct passwd *pw; +static struct servent *serv; +static struct hesiod_postoffice *po; +static struct hes_postoffice compatpo; +static int errval = HES_ER_UNINIT; + +static int init_context(void); +static void translate_errors(void); + +int hes_init() +{ + init_context(); + return errval; +} + +char *hes_to_bind(const char *name, const char *type) +{ + if (init_context() < 0) + return NULL; + if (bindname) + free(bindname); + bindname = hesiod_to_bind(context, name, type); + if (!bindname) + translate_errors(); + return bindname; +} + +char **hes_resolve(const char *name, const char *type) +{ + if (init_context() < 0) + return NULL; + + /* In the old Hesiod interface, the caller was responsible for freeing + * the returned strings but not the vector of strings itself. + */ + if (list) + free(list); + + list = hesiod_resolve(context, name, type); + if (!list) + translate_errors(); + return list; +} + +int hes_error(void) +{ + return errval; +} + +struct passwd *hes_getpwnam(const char *name) +{ + if (init_context() < 0) + return NULL; + if (pw) + hesiod_free_passwd(context, pw); + pw = hesiod_getpwnam(context, name); + if (!pw) + translate_errors(); + return pw; +} + +struct passwd *hes_getpwuid(uid_t uid) +{ + if (init_context() < 0) + return NULL; + if (pw) + hesiod_free_passwd(context, pw); + pw = hesiod_getpwuid(context, uid); + if (!pw) + translate_errors(); + return pw; +} + +struct servent *hes_getservbyname(const char *name, const char *proto) +{ + if (init_context() < 0) + return NULL; + if (serv) + hesiod_free_servent(context, serv); + serv = hesiod_getservbyname(context, name, proto); + if (!serv) + translate_errors(); + return serv; +} + +struct hes_postoffice *hes_getmailhost(const char *name) +{ + if (init_context() < 0) + return NULL; + if (po) + hesiod_free_postoffice(context, po); + po = hesiod_getmailhost(context, name); + if (!po) + { + translate_errors(); + return NULL; + } + compatpo.po_type = po->hesiod_po_type; + compatpo.po_host = po->hesiod_po_host; + compatpo.po_name = po->hesiod_po_name; + return &compatpo; +} + +static int init_context() +{ + if (!inited) + { + inited = 1; + if (hesiod_init(&context) < 0) + { + errval = HES_ER_CONFIG; + return -1; + } + errval = HES_ER_OK; + } + return 0; +} + +static void translate_errors() +{ + switch (errno) + { + case ENOENT: + errval = HES_ER_NOTFOUND; + break; + case ECONNREFUSED: + case EMSGSIZE: + errval = HES_ER_NET; + break; + case ENOMEM: + default: + /* Not a good match, but the best we can do. */ + errval = HES_ER_CONFIG; + break; + } +} --- hesiod-3.0.2.orig/.svn/text-base/hesiod_getpwuid.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_getpwuid.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_getpwuid.3,v 1.1 1996/12/08 21:44:57 ghudson Exp $ +.so man3/hesiod_getpwnam.3 --- hesiod-3.0.2.orig/.svn/text-base/config.h.in.svn-base +++ hesiod-3.0.2/.svn/text-base/config.h.in.svn-base @@ -0,0 +1,33 @@ +/* config.h.in. Generated from configure.in by autoheader. */ +/* Define if struct passwd has a field pw_quota. */ +#undef HAVE_PW_QUOTA + +/* Define if struct passwd has a field pw_comment. */ +#undef HAVE_PW_COMMENT + +/* Define if struct passwd has a field pw_change. */ +#undef HAVE_PW_CHANGE + +/* Define if struct passwd has a field pw_class. */ +#undef HAVE_PW_CLASS + +/* Define if struct passwd has a field pw_expire. */ +#undef HAVE_PW_EXPIRE + +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION --- hesiod-3.0.2.orig/.svn/text-base/hesiod_end.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_end.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_end.3,v 1.1 1996/12/08 21:44:55 ghudson Exp $ +.so man3/hesiod.3 --- hesiod-3.0.2.orig/.svn/text-base/hesiod_getservbyname.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_getservbyname.3.svn-base @@ -0,0 +1,62 @@ +.\" $Id: hesiod_getservbyname.3,v 1.1 1996/12/08 21:38:45 ghudson Exp $ +.\" +.\" Copyright 1996 by the Massachusetts Institute of Technology. +.\" +.\" Permission to use, copy, modify, and distribute this +.\" software and its documentation for any purpose and without +.\" fee is hereby granted, provided that the above copyright +.\" notice appear in all copies and that both that copyright +.\" notice and this permission notice appear in supporting +.\" documentation, and that the name of M.I.T. not be used in +.\" advertising or publicity pertaining to distribution of the +.\" software without specific, written prior permission. +.\" M.I.T. makes no representations about the suitability of +.\" this software for any purpose. It is provided "as is" +.\" without express or implied warranty. +.\" +.TH HESIOD 3 "30 November 1996" +.SH NAME +hesiod_getservbyname, hesiod_free_servent \- Hesiod functions for retrieving service information +.SH SYNOPSIS +.nf +.B #include +.PP +.B struct servent *hesiod_getservbyname(void *\fIcontext\fP, +.B const char *\fIname\fP, const char *\fIproto\fP) +.B void hesiod_free_servent(void *\fIcontext\fP, struct servent *\fIserv\fP) +.PP +.B cc file.c \-lhesiod +.fi +.SH DESCRIPTION +This family of functions allows you to retrieve service to port +mappings using Hesiod. To perform lookups, you need an initialized +Hesiod context; see hesiod(3) for details. Information is returned in +the same format as by +.IR getservbyname . +It is the caller's responsibility to call +.I hesiod_free_servent +with the returned service entry to free the resources used by the +service entry. +.PP +Hesiod queries for service information are made using the ``service'' +Hesiod type, using the service name as the Hesiod name. The +corresponding records should be space-separated lists of strings +giving the service name, protocol, port number (in decimal), and zero +or more aliases for the service. There may be multiple records per +service name; +.I hesiod_getservbyname +will pick the first one whose protocol matches +.IR proto . +.SH RETURN VALUES +On failure, +.I hesiod_getservbyname +returns NULL and sets the global variable +.I errno +to indicate the error. +.SH ERRORS +.I hesiod_getservbyname +may fail for any of the reasons the routine +.I hesiod_resolve +may fail. +.SH SEE ALSO +hesiod(3) --- hesiod-3.0.2.orig/.svn/text-base/hesiod_free_servent.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_free_servent.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_free_servent.3,v 1.1 1996/12/08 21:44:57 ghudson Exp $ +.so man3/hesiod_getservbyname.3 --- hesiod-3.0.2.orig/.svn/text-base/hesiod_init.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_init.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_init.3,v 1.1 1996/12/08 21:44:58 ghudson Exp $ +.so man3/hesiod.3 --- hesiod-3.0.2.orig/.svn/text-base/README.svn-base +++ hesiod-3.0.2/.svn/text-base/README.svn-base @@ -0,0 +1,53 @@ +This is release 3.0.2 of the Hesiod name service library. Hesiod can +provide general name service for a variety of applications and is +based on the Berkeley Internet Name Daemon (BIND). + +To prepare this directory for building, run the command "./configure". +configure takes a number of options; use "./configure --help" to find +out what they are. Hesiod requires a vaguely ANSI compiler to build; +gcc will do. + +Run "make" or "make all" to build the Hesiod library and programs. + +Run "make install" to install Hesiod. + +You will want to create a configuration file named hesiod.conf in the +sysconfdir (/usr/local/etc/hesiod.conf by default) on your client +machines, reading something like: + + rhs=.your.domain + lhs=.ns + +The value of rhs can be overridden at run time by the environment +variable HES_DOMAIN. The value ".ns" for lhs is an unfortunate +historical convention; ".hs" or "hesiod" would have been better. +Nevertheless, you probably want to use ".ns" for compatibility with +existing Hesiod domains. + +To create Hesiod information on your central name servers, you need to +make them authoritative for the domain ns.your.domain with a line in +named.boot reading something like: + + primary ns.your.domain named.hesiod + +And then in named.hesiod, you need data looking something like: + + ; SOA and NS records. + @ IN SOA server1.your.domain admin-address.your.domain ( + 40000 ; serial - database version number + 1800 ; refresh - sec servers + 300 ; retry - for refresh + 3600000 ; expire - unrefreshed data + 7200 ) ; min + NS server1.your.domain + NS server2.your.domain + + ; Actual Hesiod data. + haynes.grplist TXT "haynes:2638" + haynes.group TXT "haynes:*:2638:" + 2638.gid CNAME haynes.group + zephyr.sloc TXT "zephyrserver1.my.domain" + zephyr.sloc TXT "zephyrserver2.my.domain" + +There is a mailing list at MIT for Hesiod users, hesiod@mit.edu. To +get yourself on or off the list, send mail to hesiod-request@mit.edu. --- hesiod-3.0.2.orig/.svn/text-base/hesiod.conf.sample.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod.conf.sample.svn-base @@ -0,0 +1,13 @@ +# This file determines the behavior of the Hesiod library. + +# This line should pretty much always be the same, unless you have a +# funny environment. +lhs=.ns + +# This determines the Hesiod domain. You must specify an rhs line. +rhs=.athena.mit.edu + +# This line specifies the class search order. You can reverse the +# order or leave out IN or HS if you want. Don't add spaces after the +# beginning of the value. +classes=IN,HS --- hesiod-3.0.2.orig/.svn/text-base/hesservbyname.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hesservbyname.c.svn-base @@ -0,0 +1,197 @@ +/* + * Copyright (c) 1983, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +/* Copyright 1988, 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file is part of the Hesiod library. It contains + * hesiod_getservbyname, used to get information about network + * services. + */ + +static char rcsid[] = "$Id: hesservbyname.c,v 1.6 1996/12/08 21:40:44 ghudson Exp $"; + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "hesiod.h" + +static int cistrcmp(const char *s1, const char *s2); + +struct servent *hesiod_getservbyname(void *context, const char *name, + const char *proto) +{ + char **item, **list; + int i = 0, status; + + /* Ask for all entries matching the given service name. */ + list = hesiod_resolve(context, name, "service"); + if (!list) + return NULL; + + /* Look through the returned list for entries matching the given protocol. */ + for (item = list; *item; item++) + { + char **alias, *servicename, *protoname, *port, *p2, *p = *item; + int len = strlen(p), naliases; + struct servent *serv; + + /* Find the service name. */ + while (isspace(*p)) + p++; + servicename = p; + while (*p && !isspace(*p) && *p != ';') + p++; + if (!*p) /* Malformed entry */ + continue; + *p++ = 0; + + /* Find the protocol name and check it. */ + while (isspace(*p)) + p++; + protoname = p; + while (*p && !isspace(*p) && *p != ';') + p++; + if (!*p) /* Malformed entry */ + continue; + *p++ = 0; + if (cistrcmp(proto, protoname)) /* Wrong protocol */ + continue; + + /* Find the port number. */ + while (isspace(*p) || *p == ';') + p++; + if (!*p) /* Malformed entry */ + continue; + port = p; + + while (*p && !isspace(*p) && *p != ';') + p++; + while (isspace(*p) || *p == ';') + p++; + + /* Count the number of aliases. */ + naliases = 0; + p2 = p; + while (*p2) + { + naliases++; + while (*p2 && !isspace(*p2)) + p2++; + while (isspace(*p2)) + p2++; + } + + /* Allocate space for the answer. */ + serv = (struct servent *) malloc(sizeof(struct servent)); + if (serv) + { + serv->s_name = malloc(strlen(servicename) + strlen(proto) + + strlen(p) + 3); + if (serv->s_name) + serv->s_aliases = (char **) + malloc((naliases + 1) * sizeof(char *)); + if (serv->s_name && !serv->s_aliases) + free(serv->s_name); + if (!serv->s_name || !serv->s_aliases) + free(serv); + } + if (!serv || !serv->s_name || !serv->s_aliases) + { + errno = ENOMEM; + return NULL; + } + + /* Copy the information we found into the answer. */ + serv->s_port = htons(atoi(port)); + strcpy(serv->s_name, name); + serv->s_proto = serv->s_name + strlen(name) + 1; + strcpy(serv->s_proto, proto); + p2 = serv->s_proto + strlen(proto) + 1; + strcpy(p2, p); + alias = serv->s_aliases; + while (*p2) + { + *alias++ = p2; + while (*p2 && !isspace(*p2)) + p2++; + if (*p2) + { + *p2++ = 0; + while (isspace(*p2)) + p2++; + } + } + *alias = NULL; + + hesiod_free_list(context, list); + return serv; + } + hesiod_free_list(context, list); + return NULL; +} + +void hesiod_free_servent(void *context, struct servent *serv) +{ + free(serv->s_name); + free(serv->s_aliases); + free(serv); +} + +static int cistrcmp(const char *s1, const char *s2) +{ + while (*s1 && tolower(*s1) == tolower(*s2)) + { + s1++; + s2++; + } + return tolower(*s1) - tolower(*s2); +} --- hesiod-3.0.2.orig/.svn/text-base/NEWS.svn-base +++ hesiod-3.0.2/.svn/text-base/NEWS.svn-base @@ -0,0 +1,48 @@ +Major changes in release 3.0.2: +* Better observance of Autoconf environment variable conventions (you + can set CPPFLAGS, CFLAGS, LDFLAGS, and LIBS). CDEBUGFLAGS is gone; + CFLAGS specifies debugging and optimization flags only. +* Bugs fixed: "make clean" missed config.h, hesiod_to_bind() would + core dump on names with right hand sides, hesiod_to_bind() didn't + length-check its arguments. + +Major changes in release 3.0.1: +* hes_init() function added to backward compatibility interfaces. +* You can use "#ifdef HESIOD_INTERFACES" in an application to test if + the new interfaces are available. + +Major changes in release 3.0.0: +* This NEWS file added. +* Wire protocol change: Hesiod data on the name servers should now be + in class C_IN, not C_HS. Data in class C_HS will still work for + now, but this backward compatibility hack may not stick around + forever. (You can specify which classes to look at in your + hesiod.conf file.) +* Interface change: the preferred interfaces are now named + hesiod_*() and take a context argument. They also return allocated + memory which must be freed by the caller. The *_r() interfaces are + gone, and the hes_*() interfaces are deprecated. +* Hesiod no longer looks for /etc/hesiod.conf (unless sysconfdir is + /etc). It does, however, allow the environment variable + HESIOD_CONFIG to specify where the configuration file lives. +* hesiod.conf is no longer case-sensitive. +* Hesiod compiles on systems which don't define C_HS or T_TXT. +* Bugs fixed: "hesinfo -b" works, better length-checking on response + packets, string termination error in configuration file reading, + README left out periods in sample rhs and lhs values, "make check" + didn't set fixed hesiod configuration, manual pages weren't + installed. + +Major changes in release 2.0.0: +* The hesiod.3 man page now documents all exported functions. +* Reentrant interfaces were added to the API. See the man page for + details. +* hes_strerror() was added to the API. +* Function prototypes were added to . Hesiod now assumes a + compiler which can handle most ANSI constructs. +* Bugs fixed: memory leaks in hes_getpwnam(), hes_getmailhost, + hes_getservbyname(); bounds checking added in res_scan(). +* Hesiod builds with Autoconf instead of imake now. +* An automated test driver is included. +* The maximum Hesiod response length is no longer coupled to the DNS + datagram transport size limit. --- hesiod-3.0.2.orig/.svn/text-base/hesiod_getpwnam.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_getpwnam.3.svn-base @@ -0,0 +1,63 @@ +.\" $Id: hesiod_getpwnam.3,v 1.1 1996/12/08 21:38:24 ghudson Exp $ +.\" +.\" Copyright 1996 by the Massachusetts Institute of Technology. +.\" +.\" Permission to use, copy, modify, and distribute this +.\" software and its documentation for any purpose and without +.\" fee is hereby granted, provided that the above copyright +.\" notice appear in all copies and that both that copyright +.\" notice and this permission notice appear in supporting +.\" documentation, and that the name of M.I.T. not be used in +.\" advertising or publicity pertaining to distribution of the +.\" software without specific, written prior permission. +.\" M.I.T. makes no representations about the suitability of +.\" this software for any purpose. It is provided "as is" +.\" without express or implied warranty. +.\" +.TH HESIOD 3 "30 November 1996" +.SH NAME +hesiod_getpwnam, hesiod_getpwuid, hesiod_free_passwd \- Hesiod functions for retrieving passwd information +.SH SYNOPSIS +.nf +.B #include +.PP +.B struct passwd *hesiod_getpwnam(void *\fIcontext\fP, const char *\fIname\fP) +.B struct passwd *hesiod_getpwuid(void *\fIcontext\fP, uid_t \fIuid\fP) +.B void hesiod_free_passwd(void *\fIcontext\fP, struct passwd *\fIpw\fP) +.PP +.B cc file.c \-lhesiod +.fi +.SH DESCRIPTION +This family of functions allows you to retrieve passwd database +information using Hesiod. To perform lookups, you need an initialized +Hesiod context; see hesiod(3) for details. You may look up passwd +information by name or by uid; information is returned in the same +format as by +.I getpwnam +or +.IR getpwuid . +It is the caller's responsibility to call +.I hesiod_free_passwd +with the returned passwd entry to free the resources used by the +passwd entry. +.PP +Hesiod queries for passwd information are made using the ``passwd'' or +``uid'' Hesiod type, using either the username or the decimal +representation of the uid as the Hesiod name. The corresponding +records should be a colon-separated list of fields giving the +username, encrypted password, uid, gid, GECOS information, home +directory, and shell of the user. +.SH RETURN VALUES +On failure, +.I hesiod_getpwnam +and +.I hesiod_getpwuid +return NULL and set the global variable +.I errno +to indicate the error. +.SH ERRORS +These calls may fail for any of the reasons the routine +.I hesiod_resolve +may fail. +.SH SEE ALSO +hesiod(3) --- hesiod-3.0.2.orig/.svn/text-base/hesiod.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod.c.svn-base @@ -0,0 +1,470 @@ +/* Copyright (c) 1996 by Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + */ + +/* Copyright 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file is part of the hesiod library. It implements the core + * portion of the hesiod resolver. + * + * This file is loosely based on an interim version of hesiod.c from + * the BIND IRS library, which was in turn based on an earlier version + * of this file. Extensive changes have been made on each step of the + * path. + * + * This implementation is not truly thread-safe at the moment because + * it uses res_send() and accesses _res. + */ + +static const char rcsid[] = "$Id: hesiod.c,v 1.18.2.1 1997/01/03 20:48:20 ghudson Exp $"; + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "hesiod.h" +#include "hesiod_p.h" + +/* A few operating systems don't define these. */ +#ifndef C_HS +#define C_HS 4 +#endif +#ifndef T_TXT +#define T_TXT 16 +#endif + +static int read_config_file(struct hesiod_p *ctx, const char *filename); +static char **get_txt_records(struct hesiod_p *ctx, int class, + const char *name); +static int cistrcmp(const char *s1, const char *s2); + +/* This function is called to initialize a hesiod_p. */ +int hesiod_init(void **context) +{ + struct hesiod_p *ctx; + const char *p, *configname; + + ctx = malloc(sizeof(struct hesiod_p)); + if (ctx) + { + *context = ctx; + configname = getenv("HESIOD_CONFIG"); + if (!configname) + configname = SYSCONFDIR "/hesiod.conf"; + if (read_config_file(ctx, configname) >= 0) + { + /* The default rhs can be overridden by an environment variable. */ + p = getenv("HES_DOMAIN"); + if (p) + { + if (ctx->rhs) + free(ctx->rhs); + ctx->rhs = malloc(strlen(p) + 2); + if (ctx->rhs) + { + *ctx->rhs = '.'; + strcpy(ctx->rhs + 1, (*p == '.') ? p + 1 : p); + return 0; + } + else + errno = ENOMEM; + } + else + return 0; + } + } + else + errno = ENOMEM; + + if (ctx->lhs) + free(ctx->lhs); + if (ctx->rhs) + free(ctx->rhs); + if (ctx) + free(ctx); + return -1; +} + +/* This function deallocates the hesiod_p. */ +void hesiod_end(void *context) +{ + struct hesiod_p *ctx = (struct hesiod_p *) context; + + free(ctx->rhs); + if (ctx->lhs) + free(ctx->lhs); + free(ctx); +} + +/* This function takes a hesiod (name, type) and returns a DNS + * name which is to be resolved. + */ +char *hesiod_to_bind(void *context, const char *name, const char *type) +{ + struct hesiod_p *ctx = (struct hesiod_p *) context; + char bindname[MAXDNAME], *p, *ret, **rhs_list = NULL; + const char *rhs; + int len; + + strcpy(bindname, name); + + /* Find the right right hand side to use, possibly truncating bindname. */ + p = strchr(bindname, '@'); + if (p) + { + *p++ = 0; + if (strchr(p, '.')) + rhs = name + (p - bindname); + else + { + rhs_list = hesiod_resolve(context, p, "rhs-extension"); + if (rhs_list) + rhs = *rhs_list; + else + { + errno = ENOENT; + return NULL; + } + } + } else + rhs = ctx->rhs; + + /* See if we have enough room. */ + len = strlen(bindname) + 1 + strlen(type); + if (ctx->lhs) + len += strlen(ctx->lhs) + ((ctx->lhs[0] != '.') ? 1 : 0); + len += strlen(rhs) + ((rhs[0] != '.') ? 1 : 0); + if (len > sizeof(bindname) - 1) + { + if (rhs_list) + hesiod_free_list(context, rhs_list); + errno = EMSGSIZE; + return NULL; + } + + /* Put together the rest of the domain. */ + strcat(bindname, "."); + strcat(bindname, type); + if (ctx->lhs) + { + if (ctx->lhs[0] != '.') + strcat(bindname, "."); + strcat(bindname, ctx->lhs); + } + if (rhs[0] != '.') + strcat(bindname, "."); + strcat(bindname, rhs); + + /* rhs_list is no longer needed, since we're done with rhs. */ + if (rhs_list) + hesiod_free_list(context, rhs_list); + + /* Make a copy of the result and return it to the caller. */ + ret = malloc(strlen(bindname) + 1); + if (!ret) + { + errno = ENOMEM; + return NULL; + } + strcpy(ret, bindname); + return ret; +} + +/* This is the core function. Given a hesiod name and type, it + * returns an array of strings returned by the resolver. + */ +char **hesiod_resolve(void *context, const char *name, const char *type) +{ + struct hesiod_p *ctx = (struct hesiod_p *) context; + char *bindname, **retvec; + + bindname = hesiod_to_bind(context, name, type); + if (!bindname) + return NULL; + + retvec = get_txt_records(ctx, ctx->classes[0], bindname); + if (retvec == NULL && errno == ENOENT && ctx->classes[1]) + retvec = get_txt_records(ctx, ctx->classes[1], bindname); + + free(bindname); + return retvec; +} + +void hesiod_free_list(void *context, char **list) +{ + char **p; + + for (p = list; *p; p++) + free(*p); + free(list); +} + +/* This function parses the /etc/hesiod.conf file. Returns 0 on success, + * -1 on failure. On failure, it might leave values in ctx->lhs or + * ctx->rhs which need to be freed by the caller. */ +static int read_config_file(struct hesiod_p *ctx, const char *filename) +{ + char *key, *data, *p, **which; + char buf[MAXDNAME + 7]; + int n; + FILE *fp; + + /* Set default query classes. */ + ctx->classes[0] = C_IN; + ctx->classes[1] = C_HS; + + /* Try to open the configuration file. */ + fp = fopen(filename, "r"); + if (!fp) + { + /* Use compiled in default domain names. */ + ctx->lhs = malloc(strlen(DEF_LHS) + 1); + ctx->rhs = malloc(strlen(DEF_RHS) + 1); + if (ctx->lhs && ctx->rhs) + { + strcpy(ctx->lhs, DEF_LHS); + strcpy(ctx->rhs, DEF_RHS); + return 0; + } + else + { + errno = ENOMEM; + return -1; + } + } + + ctx->lhs = NULL; + ctx->rhs = NULL; + while (fgets(buf, sizeof(buf), fp) != NULL) + { + p = buf; + if (*p == '#' || *p == '\n' || *p == '\r') + continue; + while(*p == ' ' || *p == '\t') + p++; + key = p; + while(*p != ' ' && *p != '\t' && *p != '=') + p++; + *p++ = 0; + + while(isspace(*p) || *p == '=') + p++; + data = p; + while(!isspace(*p)) + p++; + *p = 0; + + if (cistrcmp(key, "lhs") == 0 || cistrcmp(key, "rhs") == 0) + { + which = (strcmp(key, "lhs") == 0) ? &ctx->lhs : &ctx->rhs; + *which = malloc(strlen(data) + 1); + if (!*which) + { + errno = ENOMEM; + return -1; + } + strcpy(*which, data); + } + else if (cistrcmp(key, "classes") == 0) + { + n = 0; + while (*data && n < 2) + { + p = data; + while (*p && *p != ',') + p++; + if (*p) + *p++ = 0; + if (cistrcmp(data, "IN") == 0) + ctx->classes[n++] = C_IN; + else if (cistrcmp(data, "HS") == 0) + ctx->classes[n++] = C_HS; + data = p; + } + while (n < 2) + ctx->classes[n++] = 0; + } + } + fclose(fp); + + if (!ctx->rhs || ctx->classes[0] == 0 || ctx->classes[0] == ctx->classes[1]) + { + errno = ENOEXEC; + return -1; + } + + return 0; +} + +/* Given a DNS class and a DNS name, do a lookup for TXT records, and + * return a list of them. + */ +static char **get_txt_records(struct hesiod_p *ctx, int qclass, + const char *name) +{ + HEADER *hp; + unsigned char qbuf[PACKETSZ], abuf[MAX_HESRESP], *p, *eom, *eor; + char *dst, **list; + int ancount, qdcount, i, j, n, skip, type, class, len; + + /* Make sure the resolver is initialized. */ + if ((_res.options & RES_INIT) == 0 && res_init() == -1) + return NULL; + + /* Construct the query. */ + n = res_mkquery(QUERY, name, qclass, T_TXT, NULL, 0, + NULL, qbuf, PACKETSZ); + if (n < 0) + return NULL; + + /* Send the query. */ + n = res_send(qbuf, n, abuf, MAX_HESRESP); + if (n < 0) + { + errno = ECONNREFUSED; + return NULL; + } + + /* Parse the header of the result. */ + hp = (HEADER *) abuf; + ancount = ntohs(hp->ancount); + qdcount = ntohs(hp->qdcount); + p = abuf + sizeof(HEADER); + eom = abuf + n; + + /* Skip questions, trying to get to the answer section which follows. */ + for (i = 0; i < qdcount; i++) + { + skip = dn_skipname(p, eom); + if (skip < 0 || p + skip + QFIXEDSZ > eom) + { + errno = EMSGSIZE; + return NULL; + } + p += skip + QFIXEDSZ; + } + + /* Allocate space for the text record answers. */ + list = malloc((ancount + 1) * sizeof(char *)); + if (!list) + { + errno = ENOMEM; + return NULL; + } + + /* Parse the answers. */ + j = 0; + for (i = 0; i < ancount; i++) + { + /* Parse the header of this answer. */ + skip = dn_skipname(p, eom); + if (skip < 0 || p + skip + 10 > eom) + break; + type = p[skip + 0] << 8 | p[skip + 1]; + class = p[skip + 2] << 8 | p[skip + 3]; + len = p[skip + 8] << 8 | p[skip + 9]; + p += skip + 10; + if (p + len > eom) + { + errno = EMSGSIZE; + break; + } + + /* Skip entries of the wrong class and type. */ + if (class != qclass || type != T_TXT) + { + p += len; + continue; + } + + /* Allocate space for this answer. */ + list[j] = malloc(len); + if (!list[j]) + { + errno = ENOMEM; + break; + } + dst = list[j++]; + + /* Copy answer data into the allocated area. */ + eor = p + len; + while (p < eor) + { + n = (unsigned char) *p++; + if (p + n > eor) + { + errno = EMSGSIZE; + break; + } + memcpy(dst, p, n); + p += n; + dst += n; + } + if (p < eor) + { + errno = EMSGSIZE; + break; + } + *dst = 0; + } + + /* If we didn't terminate the loop normally, something went wrong. */ + if (i < ancount) + { + for (i = 0; i < j; i++) + free(list[i]); + free(list); + return NULL; + } + + if (j == 0) + { + errno = ENOENT; + free(list); + return NULL; + } + + list[j] = NULL; + return list; +} + +static int cistrcmp(const char *s1, const char *s2) +{ + while (*s1 && tolower(*s1) == tolower(*s2)) + { + s1++; + s2++; + } + return tolower(*s1) - tolower(*s2); +} --- hesiod-3.0.2.orig/.svn/text-base/hestest.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hestest.c.svn-base @@ -0,0 +1,432 @@ +/* Copyright 1988, 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file is a test driver for the Hesiod library. */ + +static char rcsid[] = "$Id: hestest.c,v 1.2 1996/12/08 21:41:45 ghudson Exp $"; + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include "hesiod.h" + +static char *word_end(char *s); +static char *find_word(char *s); +static char *get_word(char *p, char *buf); +static char *get_field(char *p, int delim, char *buf); +static int compare_vector(char **vector, char *spec); +static int compare_pwnam(struct passwd *pw, char *spec); +static int compare_serv(struct servent *serv, char *spec); +static int compare_office(struct hesiod_postoffice *office, char *spec); +static int compare_compat_office(struct hes_postoffice *office, char *spec); +static void free_ptrs(char **ptrs); +static void failure(const char *fmt, ...); + +int saw_failure = 0; + +int main(int argc, char **argv) +{ + FILE *fp; + char buf[1024], buf2[1024], *p, *q, name[128], type[128], proto[128], **list; + int line, errval; + struct passwd *pw; + struct servent *serv; + struct hesiod_postoffice *po; + struct hes_postoffice *compatpo; + void *context; + + if (argc != 2) + { + fprintf(stderr, "Usage: %s filename\n", argv[0]); + return 1; + } + + fp = fopen(argv[1], "r"); + if (!fp) + { + fprintf(stderr, "Couldn't open %s for reading.\n", argv[1]); + return 1; + } + + if (hesiod_init(&context) < 0) + { + fprintf(stderr, "Can't initialize hesiod library.\n"); + return 1; + } + + line = 0; + while (fgets(buf, sizeof(buf), fp)) + { + line++; + + /* Strip off trailing spaces (inefficiently). */ + while (isspace(buf[strlen(buf) - 1])) + buf[strlen(buf) - 1] = 0; + + /* Get the first word, discard comment lines and invalid lines. */ + q = word_end(p = find_word(buf)); + if (*p == '#' || !*p) + continue; + + if (*q && q - p == 7 && strncmp(p, "resolve", 7) == 0) + { + /* Test for hesiod_resolve and hes_resolve. */ + q = get_word(find_word(q), name); + q = get_word(find_word(q), type); + p = find_word(q); + list = hesiod_resolve(context, name, type); + errval = errno; + if (!list && !(*p == 'E' && p[1] == 0)) + { + failure("Line %d failed (hesiod_resolve error %d).\n", line, + errval); + continue; + } + if (list && compare_vector(list, p) < 0) + { + failure("Line %d failed in hesiod_resolve().\n", line); + hesiod_free_list(context, list); + continue; + } + if (list) + hesiod_free_list(context, list); + list = hes_resolve(name, type); + if (!list) + { + if (*p == 'E' && p[1] == 0) + printf("Line %d passed (%d, %d).\n", line, errval, + hes_error()); + else + failure("Line %d failed (hes_resolve error %d).\n", line, + hes_error()); + continue; + } + if (compare_vector(list, p) < 0) + failure("Line %d failed in hes_resolve().\n", line); + else + printf("Line %d passed.\n", line); + free_ptrs(list); + } + else if (*q && q - p == 8 && strncmp(p, "getpwnam", 8) == 0) + { + /* Test for hesiod_getpwnam and hes_getpwnam. */ + q = get_word(find_word(q), name); + p = find_word(q); + pw = hesiod_getpwnam(context, name); + errval = errno; + if (!pw && !(*p == 'E' && p[1] == 0)) + { + failure("Line %d failed (hesiod_getpwnam error %d).\n", line, + errval); + continue; + } + if (pw && compare_pwnam(pw, p) < 0) + { + failure("Line %d failed in hesiod_getpwnam().\n", line); + continue; + } + if (pw) + hesiod_free_passwd(context, pw); + pw = hes_getpwnam(name); + if (!pw) + { + if (*p == 'E' && p[1] == 0) + printf("Line %d passed (%d, %d).\n", line, errval, + hes_error()); + else + failure("Line %d failed (hes_getpwnam error %d).\n", line, + hes_error()); + continue; + } + if (compare_pwnam(pw, p) < 0) + failure("Line %d failed in hes_getpwnam().\n", line); + else + printf("Line %d passed.\n", line); + } + else if (*q && q - p == 8 && strncmp(p, "getpwuid", 8) == 0) + { + /* Test for hesiod_getpwuid and hes_getpwuid. */ + q = get_word(find_word(q), name); + p = find_word(q); + pw = hesiod_getpwuid(context, atoi(name)); + errval = errno; + if (!pw && !(*p == 'E' && p[1] == 0)) + { + failure("Line %d failed (hesiod_getpwuid error %d).\n", line, + errval); + continue; + } + if (pw && compare_pwnam(pw, p) < 0) + { + failure("Line %d failed in hesiod_getpwuid().\n", line); + continue; + } + if (pw) + hesiod_free_passwd(context, pw); + pw = hes_getpwuid(atoi(name)); + if (!pw) + { + if (*p == 'E' && p[1] == 0) + printf("Line %d passed (%d, %d).\n", line, errval, + hes_error()); + else + failure("Line %d failed (hes_getpwuid error %d).\n", line, + hes_error()); + continue; + } + if (compare_pwnam(pw, p) < 0) + failure("Line %d failed in hes_getpwuid().\n", line); + else + printf("Line %d passed.\n", line); + } + else if (*q && q - p == 13 && strncmp(p, "getservbyname", 13) == 0) + { + /* Test for hesiod_getservbyname and hes_getservbyname. */ + q = get_word(find_word(q), name); + q = get_word(find_word(q), proto); + p = find_word(q); + serv = hesiod_getservbyname(context, name, proto); + errval = errno; + if (!serv && !(*p == 'E' && p[1] == 0)) + { + failure("Line %d failed (hesiod_getservbyname error %d).\n", + line, errno); + continue; + } + if (serv && compare_serv(serv, p) < 0) + { + failure("Line %d failed in hesiod_getservbyname.\n", line); + continue; + } + if (serv) + hesiod_free_servent(context, serv); + serv = hes_getservbyname(name, proto); + if (!serv) + { + if (*p == 'E' && p[1] == 0) + printf("Line %d passed (%d, %d).\n", line, errval, + hes_error()); + else + failure("Line %d failed (hes_getservbyname error %d).\n", line, + hes_error()); + continue; + } + if (compare_serv(serv, p) < 0) + failure("Line %d failed in hes_getservbyname().\n", line); + else + printf("Line %d passed.\n", line); + } + else if (*q && q - p == 11 && strncmp(p, "getmailhost", 11) == 0) + { + /* Test for hesiod_getmailhost and hes_getmailhost. */ + q = get_word(find_word(q), name); + p = find_word(q); + po = hesiod_getmailhost(context, name); + errval = errno; + if (!po && !(*p == 'E' && p[1] == 0)) + { + failure("Line %d failed (hesiod_getmailhost error %d).\n", + line, errval); + continue; + } + if (po && compare_office(po, p) < 0) + { + failure("Line %d failed in hesiod_getmailhost.\n", line); + continue; + } + if (po) + hesiod_free_postoffice(context, po); + compatpo = hes_getmailhost(name); + if (!compatpo) + { + if (*p == 'E' && p[1] == 0) + printf("Line %d passed (%d, %d).\n", line, errval, + hes_error()); + else + failure("Line %d failed (hes_getmailhost error %d).\n", line, + hes_error()); + continue; + } + if (compare_compat_office(compatpo, p) < 0) + failure("Line %d failed in hes_getmailhost().\n", line); + else + printf("Line %d passed.\n", line); + + } + else + { + fprintf(stderr, "Line %d invalid: %s\n", line, buf); + return 2; + } + } + + return saw_failure; +} + +static char *word_end(char *s) +{ + while (*s && !isspace(*s)) + s++; + return s; +} + +static char *find_word(char *s) +{ + while (isspace(*s)) + s++; + return s; +} + +static char *get_word(char *p, char *buf) +{ + char *q = word_end(p); + + strncpy(buf, p, q - p); + buf[q - p] = 0; + return q; +} + +static char *get_field(char *p, int delim, char *buf) +{ + char *q = strchr(p, delim); + + if (q) { + strncpy(buf, p, q - p); + buf[q - p] = 0; + return q + 1; + } else { + strcpy(buf, p); + return NULL; + } +} + +static int compare_vector(char **vector, char *spec) +{ + char field[100]; + + for (; *vector; vector++) { + spec = get_field(spec, '\\', field); + if ((!spec && vector[1]) || strcmp(*vector, field) != 0) + return -1; + } + return (spec) ? -1 : 0; +} + +static int compare_pwnam(struct passwd *pw, char *spec) +{ + char field[100]; + + spec = get_field(spec, ':', field); + if (!spec || strcmp(pw->pw_name, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (!spec || strcmp(pw->pw_passwd, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (pw->pw_uid != atoi(field)) + return -1; + spec = get_field(spec, ':', field); + if (pw->pw_gid != atoi(field)) + return -1; + spec = get_field(spec, ':', field); + if (!spec || strcmp(pw->pw_gecos, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (!spec || strcmp(pw->pw_dir, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (spec || strcmp(pw->pw_shell, field) != 0) + return -1; + return 0; +} + +static int compare_serv(struct servent *serv, char *spec) +{ + char field[100], **aliases; + + spec = get_field(spec, ':', field); + if (!spec || strcmp(serv->s_name, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (!spec || strcmp(serv->s_proto, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (serv->s_port != htons(atoi(field))) + return -1; + for (aliases = serv->s_aliases; *aliases; aliases++) + { + if (!spec) + return -1; + spec = get_field(spec, '\\', field); + if (strcmp(*aliases, field) != 0) + return -1; + } + return (spec) ? -1 : 0; +} + +static int compare_office(struct hesiod_postoffice *office, char *spec) +{ + char field[100]; + + spec = get_field(spec, ':', field); + if (!spec || strcmp(office->hesiod_po_type, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (!spec || strcmp(office->hesiod_po_host, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (spec || strcmp(office->hesiod_po_name, field) != 0) + return -1; + return 0; +} + +static int compare_compat_office(struct hes_postoffice *office, char *spec) +{ + char field[100]; + + spec = get_field(spec, ':', field); + if (!spec || strcmp(office->po_type, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (!spec || strcmp(office->po_host, field) != 0) + return -1; + spec = get_field(spec, ':', field); + if (spec || strcmp(office->po_name, field) != 0) + return -1; + return 0; +} + +static void free_ptrs(char **ptrs) +{ + for (; *ptrs; ptrs++) + free(*ptrs); +} + +static void failure(const char *fmt, ...) +{ + va_list ap; + + saw_failure = 1; + va_start(ap, fmt); + vprintf(fmt, ap); + va_end(ap); +} --- hesiod-3.0.2.orig/.svn/text-base/Makefile.in.svn-base +++ hesiod-3.0.2/.svn/text-base/Makefile.in.svn-base @@ -0,0 +1,102 @@ +# $Id: Makefile.in,v 1.4.2.1 1997/01/03 21:02:55 ghudson Exp $ + +SHELL=/bin/sh +INSTALL=@INSTALL@ +INSTALL_PROGRAM=@INSTALL_PROGRAM@ +RANLIB=@RANLIB@ +VPATH=@srcdir@ +srcdir=@srcdir@ +top_srcdir=@top_srcdir@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +libdir=@libdir@ +includedir=@includedir@ +mandir=@mandir@ +sysconfdir=@sysconfdir@ +lbindir=@lbindir@ + +CC=@CC@ +CPPFLAGS=@CPPFLAGS@ +CFLAGS=@CFLAGS@ +LDFLAGS=@LDFLAGS@ +LIBS=@LIBS@ +ALL_CFLAGS=-I. -DSYSCONFDIR=\"${sysconfdir}\" ${CPPFLAGS} ${CFLAGS} +OBJS=hesiod.o hesmailhost.o hespwnam.o hesservbyname.o hescompat.o +PICOBJS=$(OBJS:.o=.po) + +all: libhesiod.so libhesiod.a hesinfo hestest + +libhesiod.a: ${OBJS} + ar cru $@ ${OBJS} + ${RANLIB} $@ + +libhesiod.so: ${PICOBJS} + ${CC} -shared -Wl,-soname,libhesiod.so.0 $(LIBS) -o $@ ${PICOBJS} + +hesinfo: hesinfo.o libhesiod.so + ${CC} ${LDFLAGS} -o $@ hesinfo.o -L. -lhesiod ${LIBS} + +hestest: hestest.o libhesiod.a + ${CC} ${LDFLAGS} -o $@ hestest.o -L. -lhesiod ${LIBS} + +${OBJS} ${PICOBJS}: hesiod.h resscan.h + +.SUFFIXES: .c .o .po + +.c.o: + ${CC} -c ${ALL_CFLAGS} $< + +.c.po: + ${CC} -c -o $@ -fPIC ${ALL_CFLAGS} $< + +check: + HESIOD_CONFIG=${srcdir}/hesiod.config.sample \ + ./hestest ${srcdir}/hestest.conf + +install: + ${top_srcdir}/mkinstalldirs ${DESTDIR}${libdir} + ${top_srcdir}/mkinstalldirs ${DESTDIR}${lbindir} + ${top_srcdir}/mkinstalldirs ${DESTDIR}${includedir} + ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man1 + ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man3 + ${top_srcdir}/mkinstalldirs ${DESTDIR}${mandir}/man5 + ${INSTALL} -c -m 644 libhesiod.a ${DESTDIR}${libdir} + ${RANLIB} ${DESTDIR}${libdir}/libhesiod.a + chmod u-w ${DESTDIR}${libdir}/libhesiod.a + ${INSTALL} -c -m 644 libhesiod.so ${DESTDIR}${libdir}/libhesiod.so.0 + ln -s libhesiod.so.0 ${DESTDIR}${libdir}/libhesiod.so + ${INSTALL_PROGRAM} -c -m 555 hesinfo ${DESTDIR}${lbindir} + ${INSTALL} -c -m 444 ${srcdir}/hesiod.h ${DESTDIR}${includedir} + ${INSTALL} -c -m 444 ${srcdir}/hesinfo.1 ${DESTDIR}${mandir}/man1 + ${INSTALL} -c -m 444 ${srcdir}/hesiod.3 ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_end.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_free_list.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_free_passwd.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_free_postoffice.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_free_servent.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_getmailhost.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_getpwnam.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_getpwuid.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_getservbyname.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_init.3 ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_resolve.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod_to_bind.3 \ + ${DESTDIR}${mandir}/man3 + ${INSTALL} -c -m 444 ${srcdir}/hesiod.conf.5 ${DESTDIR}${mandir}/man5 + +clean: + rm -f ${OBJS} ${PICOBJS} libhesiod.so libhesiod.a hesinfo.o hesinfo hestest.o hestest + +distclean: clean + rm -f config.cache config.log config.status Makefile config.h --- hesiod-3.0.2.orig/.svn/text-base/hesiod.h.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod.h.svn-base @@ -0,0 +1,73 @@ +/* $Id: hesiod.h,v 1.2.2.1 1996/12/16 08:38:07 ghudson Exp $ */ + +/* + * Copyright (c) 1996 by Internet Software Consortium. + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS + * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE + * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL + * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR + * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS + * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS + * SOFTWARE. + */ + +#ifndef HESIOD__INCLUDED +#define HESIOD__INCLUDED + +#include +#include +#include + +/* Application-visible define to signal that we have the new interfaces. */ +#define HESIOD_INTERFACES + +struct hesiod_postoffice { + char *hesiod_po_type; + char *hesiod_po_host; + char *hesiod_po_name; +}; + +int hesiod_init(void **context); +void hesiod_end(void *context); +char *hesiod_to_bind(void *context, const char *name, const char *type); +char **hesiod_resolve(void *context, const char *name, const char *type); +void hesiod_free_list(void *context, char **list); +struct passwd *hesiod_getpwnam(void *context, const char *name); +struct passwd *hesiod_getpwuid(void *context, uid_t uid); +void hesiod_free_passwd(void *context, struct passwd *pw); +struct servent *hesiod_getservbyname(void *context, const char *name, + const char *proto); +void hesiod_free_servent(void *context, struct servent *serv); +struct hesiod_postoffice *hesiod_getmailhost(void *context, const char *user); +void hesiod_free_postoffice(void *context, struct hesiod_postoffice *po); + +/* Compatibility stuff. */ + +#define HES_ER_UNINIT -1 /* uninitialized */ +#define HES_ER_OK 0 /* no error */ +#define HES_ER_NOTFOUND 1 /* Hesiod name not found by server */ +#define HES_ER_CONFIG 2 /* local problem (no config file?) */ +#define HES_ER_NET 3 /* network problem */ + +struct hes_postoffice { + char *po_type; + char *po_host; + char *po_name; +}; + +int hes_init(void); +char *hes_to_bind(const char *name, const char *type); +char **hes_resolve(const char *name, const char *type); +int hes_error(void); +struct passwd *hes_getpwnam(const char *name); +struct passwd *hes_getpwuid(uid_t uid); +struct servent *hes_getservbyname(const char *name, const char *proto); +struct hes_postoffice *hes_getmailhost(const char *name); + +#endif --- hesiod-3.0.2.orig/.svn/text-base/hesiod_free_postoffice.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_free_postoffice.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_free_postoffice.3,v 1.1 1996/12/08 21:44:57 ghudson Exp $ +.so man3/hesiod_getmailhost.3 --- hesiod-3.0.2.orig/.svn/text-base/acconfig.h.svn-base +++ hesiod-3.0.2/.svn/text-base/acconfig.h.svn-base @@ -0,0 +1,14 @@ +/* Define if struct passwd has a field pw_quota. */ +#undef HAVE_PW_QUOTA + +/* Define if struct passwd has a field pw_comment. */ +#undef HAVE_PW_COMMENT + +/* Define if struct passwd has a field pw_change. */ +#undef HAVE_PW_CHANGE + +/* Define if struct passwd has a field pw_class. */ +#undef HAVE_PW_CLASS + +/* Define if struct passwd has a field pw_expire. */ +#undef HAVE_PW_EXPIRE --- hesiod-3.0.2.orig/.svn/text-base/hesmailhost.c.svn-base +++ hesiod-3.0.2/.svn/text-base/hesmailhost.c.svn-base @@ -0,0 +1,77 @@ +/* Copyright 1988, 1996 by the Massachusetts Institute of Technology. + * + * Permission to use, copy, modify, and distribute this + * software and its documentation for any purpose and without + * fee is hereby granted, provided that the above copyright + * notice appear in all copies and that both that copyright + * notice and this permission notice appear in supporting + * documentation, and that the name of M.I.T. not be used in + * advertising or publicity pertaining to distribution of the + * software without specific, written prior permission. + * M.I.T. makes no representations about the suitability of + * this software for any purpose. It is provided "as is" + * without express or implied warranty. + */ + +/* This file contains hesiod_postoffice, which retrieves post-office + * information for a user. + */ + +static char rcsid[] = "$Id: hesmailhost.c,v 1.8 1996/12/08 21:40:32 ghudson Exp $"; + +#include +#include +#include +#include +#include +#include +#include +#include "hesiod.h" + +struct hesiod_postoffice *hesiod_getmailhost(void *context, const char *user) +{ + char *p, **list; + struct hesiod_postoffice *po; + + /* Get the result, sanity-check it, and copy it into linebuf. */ + list = hesiod_resolve(context, user, "pobox"); + if (!list) + return NULL; + p = malloc(strlen(*list) + 1); + if (!p) + { + hesiod_free_list(context, list); + errno = ENOMEM; + return NULL; + } + strcpy(p, *list); + hesiod_free_list(context, list); + + /* Allocate memory for the result. */ + po = (struct hesiod_postoffice *) malloc(sizeof(struct hesiod_postoffice)); + if (!po) + { + free(p); + errno = ENOMEM; + return NULL; + } + + /* Break up linebuf into fields. */ + po->hesiod_po_type = p; + while (!isspace(*p)) + p++; + *p++ = 0; + po->hesiod_po_host = p; + while (!isspace(*p)) + p++; + *p++ = 0; + po->hesiod_po_name = p; + + return po; +} + +void hesiod_free_postoffice(void *context, struct hesiod_postoffice *po) +{ + free(po->hesiod_po_type); + free(po); +} --- hesiod-3.0.2.orig/.svn/text-base/hestest.conf.svn-base +++ hesiod-3.0.2/.svn/text-base/hestest.conf.svn-base @@ -0,0 +1,11 @@ +resolve systest filsys AFS /afs/athena.mit.edu/user/s/y/systest w /mit/systest +resolve systest group systest:*:17019: +resolve foo bar E +getpwnam systest systest:*:13891:101:Test Account Systems + Operation,,,,:/mit/systest:/bin/athena/tcsh +getpwnam foobar E +getpwuid 13891 systest:*:13891:101:Test Account Systems + Operation,,,,:/mit/systest:/bin/athena/tcsh +getpwuid -3 E +getservbyname zephyr udp zephyr:udp:2102 +getservbyname foo bar E +getmailhost systest POP:PO10.MIT.EDU:systest +getmailhost foobar E --- hesiod-3.0.2.orig/.svn/text-base/hesiod_free_passwd.3.svn-base +++ hesiod-3.0.2/.svn/text-base/hesiod_free_passwd.3.svn-base @@ -0,0 +1,2 @@ +.\" $Id: hesiod_free_passwd.3,v 1.1 1996/12/08 21:44:56 ghudson Exp $ +.so man3/hesiod_getpwnam.3