--- slrn-1.0.1.orig/configure +++ slrn-1.0.1/configure @@ -1,60 +1,81 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.61. +# Generated by GNU Autoconf 2.69. +# +# +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. +# # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' fi - rm -f conf$$.sh + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } fi @@ -63,20 +84,19 @@ # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) -as_nl=' -' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +as_myself= +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -87,32 +107,315 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} +if test "x$CONFIG_SHELL" = x; then + as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which + # is contrary to our usage. Disable this feature. + alias -g '\${1+\"\$@\"}'='\"\$@\"' + setopt NO_GLOB_SUBST +else + case \`(set -o) 2>/dev/null\` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; +esac +fi +" + as_required="as_fn_return () { (exit \$1); } +as_fn_success () { as_fn_return 0; } +as_fn_failure () { as_fn_return 1; } +as_fn_ret_success () { return 0; } +as_fn_ret_failure () { return 1; } + +exitcode=0 +as_fn_success || { exitcode=1; echo as_fn_success failed.; } +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : + +else + exitcode=1; echo positional parameters were not saved. +fi +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" + as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO + as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO + eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && + test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +test \$(( 1 + 1 )) = 2 || exit 1" + if (eval "$as_required") 2>/dev/null; then : + as_have_required=yes +else + as_have_required=no +fi + if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + +else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +as_found=false +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + as_found=: + case $as_dir in #( + /*) + for as_base in sh bash ksh sh5; do + # Try only shells that exist, to save several forks. + as_shell=$as_dir/$as_base + if { test -f "$as_shell" || test -f "$as_shell.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : + CONFIG_SHELL=$as_shell as_have_required=yes + if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : + break 2 +fi +fi + done;; + esac + as_found=false done +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && + { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : + CONFIG_SHELL=$SHELL as_have_required=yes +fi; } +IFS=$as_save_IFS + + + if test "x$CONFIG_SHELL" != x; then : + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 +fi + + if test x$as_have_required = xno; then : + $as_echo "$0: This script requires a shell more modern than all" + $as_echo "$0: the shells that I found on your system." + if test x${ZSH_VERSION+set} = xset ; then + $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" + $as_echo "$0: be upgraded to zsh 4.3.4 or later." + else + $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, +$0: including any error possibly output before this +$0: message. Then install a modern shell, or manually run +$0: the script under such a shell if you do have one." + fi + exit 1 +fi +fi +fi +SHELL=${CONFIG_SHELL-/bin/sh} +export SHELL +# Unset more variables known to interfere with behavior of common tools. +CLICOLOR_FORCE= GREP_OPTIONS= +unset CLICOLOR_FORCE GREP_OPTIONS + +## --------------------- ## +## M4sh Shell Functions. ## +## --------------------- ## +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 + fi + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error -# Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -126,13 +429,17 @@ as_basename=false fi +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi -# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -147,414 +454,113 @@ } s/.*/./; q'` -# CDPATH. -$as_unset CDPATH +# 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 -if test "x$CONFIG_SHELL" = x; then - if (eval ":") 2>/dev/null; then - as_have_required=yes -else - as_have_required=no -fi + as_lineno_1=$LINENO as_lineno_1a=$LINENO + as_lineno_2=$LINENO as_lineno_2a=$LINENO + eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && + test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { + # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } - if test $as_have_required = yes && (eval ": -(as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit } -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in #((((( +-n*) + case `echo 'xy\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; + esac;; +*) + ECHO_N='-n';; +esac -if as_func_ret_success; then - : +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi else - exitcode=1 - echo positional parameters were not saved. + as_ln_s='cp -pR' fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null -test \$exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=\$LINENO - as_lineno_2=\$LINENO - test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && - test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } -") 2> /dev/null; then - : -else - as_candidate_shells= - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - case $as_dir in - /*) - for as_base in sh bash ksh sh5; do - as_candidate_shells="$as_candidate_shells $as_dir/$as_base" - done;; - esac -done -IFS=$as_save_IFS - - - for as_shell in $as_candidate_shells $SHELL; do - # Try only shells that exist, to save several forks. - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { ("$as_shell") 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST +if mkdir -p . 2>/dev/null; then + as_mkdir_p='mkdir -p "$as_dir"' else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - + test -d ./-p && rmdir ./-p + as_mkdir_p=false fi +as_test_x='test -x' +as_executable_p=as_fn_executable_p -: -_ASEOF -}; then - CONFIG_SHELL=$as_shell - as_have_required=yes - if { "$as_shell" 2> /dev/null <<\_ASEOF -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; -esac - -fi +# 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'" -: -(as_func_return () { - (exit $1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi +test -n "$DJDIR" || exec 7<&0 &1 -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = "$1" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test $exitcode = 0) || { (exit 1); exit 1; } - -( - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } - -_ASEOF -}; then - break -fi - -fi - - done - - if test "x$CONFIG_SHELL" != x; then - for as_var in BASH_ENV ENV - do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var - done - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} -fi - - - if test $as_have_required = no; then - echo This script requires a shell more modern than all the - echo shells that I found on your system. Please install a - echo modern shell, or manually run the script under such a - echo shell if you do have one. - { (exit 1); exit 1; } -fi - - -fi - -fi - - - -(eval "as_func_return () { - (exit \$1) -} -as_func_success () { - as_func_return 0 -} -as_func_failure () { - as_func_return 1 -} -as_func_ret_success () { - return 0 -} -as_func_ret_failure () { - return 1 -} - -exitcode=0 -if as_func_success; then - : -else - exitcode=1 - echo as_func_success failed. -fi - -if as_func_failure; then - exitcode=1 - echo as_func_failure succeeded. -fi - -if as_func_ret_success; then - : -else - exitcode=1 - echo as_func_ret_success failed. -fi - -if as_func_ret_failure; then - exitcode=1 - echo as_func_ret_failure succeeded. -fi - -if ( set x; as_func_ret_success y && test x = \"\$1\" ); then - : -else - exitcode=1 - echo positional parameters were not saved. -fi - -test \$exitcode = 0") || { - echo No shell found that supports shell functions. - echo Please tell autoconf@gnu.org about your system, - echo including any error possibly output before this - echo message -} - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi - -ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in --n*) - case `echo 'x\c'` in - *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; - esac;; -*) - ECHO_N='-n';; -esac - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir -fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - - -exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` +# Name of the host. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, +# so uname gets run too. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. @@ -567,7 +573,6 @@ subdirs= MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME= @@ -575,9 +580,9 @@ PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= +PACKAGE_URL= ac_unique_file="src/slrn.c" -gt_needs= # Factoring default headers for most tests. ac_includes_default="\ #include @@ -614,136 +619,179 @@ # include #endif" -ac_subst_vars='RPATH -SHELL -PATH_SEPARATOR -PACKAGE_NAME -PACKAGE_TARNAME -PACKAGE_VERSION -PACKAGE_STRING -PACKAGE_BUGREPORT -exec_prefix -prefix -program_transform_name -bindir -sbindir -libexecdir -datarootdir -datadir -sysconfdir -sharedstatedir -localstatedir -includedir -oldincludedir -docdir -infodir -htmldir -dvidir -pdfdir -psdir -libdir -localedir -mandir -DEFS -ECHO_C -ECHO_N -ECHO_T -LIBS -build_alias -host_alias -target_alias -CONFIG_DIR -build -build_cpu -build_vendor -build_os -host -host_cpu -host_vendor -host_os -SET_MAKE -INSTALL_PROGRAM -INSTALL_SCRIPT -INSTALL_DATA -CC -CFLAGS -LDFLAGS -CPPFLAGS -ac_ct_CC -EXEEXT -OBJEXT -CPP -GREP -EGREP -XMKMF -X_CFLAGS -X_PRE_LIBS -X_LIBS -X_EXTRA_LIBS -SLRN_LIB_DIR -LOCALEDIR -SLRN_HAS_PULL_SUPPORT -SLRNPULL -SLRNPULL_ROOT_DIR -MAN_SLRNPULL -SLRN_HAS_NNTP_SUPPORT -SLRN_HAS_SPOOL_SUPPORT -SLRN_HAS_INEWS_SUPPORT -INEWS -SLRN_INEWS_COMMAND -SLRN_FORCE_INEWS -SLRN_HAS_STRICT_FROM -SLRN_HAS_CHARACTER_MAP -SLRNPULL_USE_SETGID_POSTS -SLRN_HAS_SPOILERS -SLRN_HAS_EMPHASIZED_TEXT -SLRN_HAS_GEN_MSGID -SLRN_HAS_MSGID_CACHE -SLRN_HAS_FAKE_REFS -SLRN_HAS_GROUPLENS -UU_LIB -UU_INC -LINK_LIBUU -SLRN_HAS_UUDEVIEW -CANLOCK_LIB -CANLOCK_INC -LINK_LIBCANLOCK -SLRN_HAS_CANLOCK -LIBICONV -LTLIBICONV -mkdir_p -USE_NLS -MSGFMT -GMSGFMT -MSGFMT_015 -GMSGFMT_015 -XGETTEXT -XGETTEXT_015 -MSGMERGE -INTL_MACOSX_LIBS -INTLLIBS -LIBINTL -LTLIBINTL -POSUB -INCICONV -SSLINC -SSLLIB -SRCDIR -OBJDIR -ELFDIR -nc5config -TERMCAP -MISC_TERMINFO_DIRS -SLANG_LIB -SLANG_INC -PROGRAM_OFILES -PROGRAM_CFILES -PROGRAM_HFILES -PROGRAM_OBJECTS -PROGRAM_ELFOBJECTS +gt_needs= +ac_subst_vars='LTLIBOBJS LIBOBJS -LTLIBOBJS' +PROGRAM_ELFOBJECTS +PROGRAM_OBJECTS +PROGRAM_HFILES +PROGRAM_CFILES +PROGRAM_OFILES +SLANG_INC +SLANG_LIB +MISC_TERMINFO_DIRS +TERMCAP +nc5config +ELFDIR +OBJDIR +SRCDIR +SSLLIB +SSLINC +INCICONV +POSUB +LTLIBINTL +LIBINTL +INTLLIBS +INTL_MACOSX_LIBS +MSGMERGE +XGETTEXT_015 +XGETTEXT +GMSGFMT_015 +MSGFMT_015 +GMSGFMT +MSGFMT +USE_NLS +mkdir_p +LTLIBICONV +LIBICONV +SLRN_HAS_CANLOCK +LINK_LIBCANLOCK +CANLOCK_INC +CANLOCK_LIB +SLRN_HAS_UUDEVIEW +LINK_LIBUU +UU_INC +UU_LIB +SLRN_HAS_GROUPLENS +SLRN_HAS_FAKE_REFS +SLRN_HAS_MSGID_CACHE +SLRN_HAS_GEN_MSGID +SLRN_HAS_EMPHASIZED_TEXT +SLRN_HAS_SPOILERS +SLRNPULL_USE_SETGID_POSTS +SLRN_HAS_CHARACTER_MAP +SLRN_HAS_STRICT_FROM +SLRN_FORCE_INEWS +SLRN_INEWS_COMMAND +SLRN_HAS_INEWS_SUPPORT +SLRN_HAS_SPOOL_SUPPORT +SLRN_HAS_NNTP_SUPPORT +MAN_SLRNPULL +SLRNPULL_ROOT_DIR +SLRNPULL +SLRN_HAS_PULL_SUPPORT +LOCALEDIR +SLRN_LIB_DIR +X_EXTRA_LIBS +X_LIBS +X_PRE_LIBS +X_CFLAGS +XMKMF +EGREP +GREP +CPP +OBJEXT +EXEEXT +ac_ct_CC +CPPFLAGS +LDFLAGS +CFLAGS +CC +INSTALL_DATA +INSTALL_SCRIPT +INSTALL_PROGRAM +SET_MAKE +host_os +host_vendor +host_cpu +host +build_os +build_vendor +build_cpu +build +CONFIG_DIR +target_alias +host_alias +build_alias +LIBS +ECHO_T +ECHO_N +ECHO_C +DEFS +mandir +localedir +libdir +psdir +pdfdir +dvidir +htmldir +infodir +docdir +oldincludedir +includedir +localstatedir +sharedstatedir +sysconfdir +datadir +datarootdir +libexecdir +sbindir +bindir +program_transform_name +prefix +exec_prefix +PACKAGE_URL +PACKAGE_BUGREPORT +PACKAGE_STRING +PACKAGE_VERSION +PACKAGE_TARNAME +PACKAGE_NAME +PATH_SEPARATOR +SHELL +RPATH' ac_subst_files='' +ac_user_opts=' +enable_option_checking +with_x +with_docdir +with_slrnlib +with_localedir +with_slrnpull +with_server_name +with_server_file +enable_nntp +enable_spool +enable_inews +enable_force_inews +enable_strict_from +enable_charmap +enable_setgid_code +enable_spoilers +enable_emph_text +enable_gen_mid +enable_mid_cache +enable_fake_refs +enable_grouplens +with_uu +with_uulib +with_uuinc +with_canlock +with_canlocklib +with_canlockinc +with_gnu_ld +enable_rpath +with_libiconv_prefix +enable_nls +with_libintl_prefix +with_non_gnu_iconv +with_nss_compat +with_gnutls +with_ssl +with_slang +with_slanglib +with_slanginc +enable_warnings +' ac_precious_vars='build_alias host_alias target_alias @@ -759,6 +807,8 @@ # Initialize some variables set by options. ac_init_help= ac_init_version=false +ac_unrecognized_opts= +ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null @@ -814,8 +864,9 @@ fi case $ac_option in - *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; - *) ac_optarg=yes ;; + *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; + *=) ac_optarg= ;; + *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. @@ -857,13 +908,20 @@ datarootdir=$ac_optarg ;; -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + ac_useropt=`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 ;; + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; @@ -876,13 +934,20 @@ dvidir=$ac_optarg ;; -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` - eval enable_$ac_feature=\$ac_optarg ;; + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid feature name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"enable_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ @@ -1073,22 +1138,36 @@ ac_init_version=: ;; -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/[-.]/_/g'` - eval with_$ac_package=\$ac_optarg ;; + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` + ac_useropt=`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 ;; + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && + as_fn_error $? "invalid package name: $ac_useropt" + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in + *" +"with_$ac_useropt" +"*) ;; + *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" + ac_unrecognized_sep=', ';; + esac + eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. @@ -1108,26 +1187,26 @@ | --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; }; } + -*) as_fn_error $? "unrecognized option: \`$ac_option' +Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } + case $ac_envvar in #( + '' | [0-9]* | *[!_$as_cr_alnum]* ) + as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; + esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 + $as_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} + $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 + : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac @@ -1135,23 +1214,36 @@ 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; }; } + as_fn_error $? "missing argument to $ac_option" fi -# Be sure to have absolute directory names. +if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; + fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac +fi + +# Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var + # Remove trailing slashes. + case $ac_val in + */ ) + ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` + eval $ac_var=\$ac_val;; + esac + # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac - { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' @@ -1165,8 +1257,6 @@ 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 @@ -1181,23 +1271,21 @@ ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || - { echo "$as_me: error: Working directory cannot be determined" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || - { echo "$as_me: error: pwd does not report name of working directory" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. - ac_confdir=`$as_dirname -- "$0" || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X"$0" | + ac_confdir=`$as_dirname -- "$as_myself" || +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_myself" : 'X\(//\)[^/]' \| \ + X"$as_myself" : 'X\(//\)$' \| \ + X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -1224,13 +1312,11 @@ fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } + as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( - cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 - { (exit 1); exit 1; }; } + cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then @@ -1270,7 +1356,7 @@ --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 + -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 @@ -1278,9 +1364,9 @@ Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] + [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] + [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify @@ -1290,25 +1376,25 @@ For better control, use the options below. Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] - --datadir=DIR read-only architecture-independent data [DATAROOTDIR] - --infodir=DIR info documentation [DATAROOTDIR/info] - --localedir=DIR locale-dependent data [DATAROOTDIR/locale] - --mandir=DIR man documentation [DATAROOTDIR/man] - --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=DIR html documentation [DOCDIR] - --dvidir=DIR dvi documentation [DOCDIR] - --pdfdir=DIR pdf documentation [DOCDIR] - --psdir=DIR ps documentation [DOCDIR] + --bindir=DIR user executables [EPREFIX/bin] + --sbindir=DIR system admin executables [EPREFIX/sbin] + --libexecdir=DIR program executables [EPREFIX/libexec] + --sysconfdir=DIR read-only single-machine data [PREFIX/etc] + --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] + --localstatedir=DIR modifiable single-machine data [PREFIX/var] + --libdir=DIR object code libraries [EPREFIX/lib] + --includedir=DIR C header files [PREFIX/include] + --oldincludedir=DIR C header files for non-gcc [/usr/include] + --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] + --datadir=DIR read-only architecture-independent data [DATAROOTDIR] + --infodir=DIR info documentation [DATAROOTDIR/info] + --localedir=DIR locale-dependent data [DATAROOTDIR/locale] + --mandir=DIR man documentation [DATAROOTDIR/man] + --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] + --htmldir=DIR html documentation [DOCDIR] + --dvidir=DIR dvi documentation [DOCDIR] + --pdfdir=DIR pdf documentation [DOCDIR] + --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF @@ -1328,6 +1414,7 @@ cat <<\_ACEOF Optional Features: + --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-nntp Disable NNTP support @@ -1383,7 +1470,7 @@ LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l - CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I if + CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor XMKMF Path to xmkmf, Makefile generator for X Window System @@ -1391,6 +1478,7 @@ Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. +Report bugs to the package provider. _ACEOF ac_status=$? fi @@ -1398,15 +1486,17 @@ if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d "$ac_dir" || continue + test -d "$ac_dir" || + { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || + continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -1442,7 +1532,7 @@ echo && $SHELL "$ac_srcdir/configure" --help=recursive else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 + $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done @@ -1452,451 +1542,1030 @@ if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.61 +generated by GNU Autoconf 2.69 -Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. -It was created by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was +## ------------------------ ## +## Autoconf initialization. ## +## ------------------------ ## + +# ac_fn_c_try_compile LINENO +# -------------------------- +# Try to compile conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext + if { { ac_try="$ac_compile" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compile") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest.$ac_objext; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 - $ $0 $@ + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval -_ACEOF -exec 5>>config.log +} # ac_fn_c_try_compile + +# ac_fn_c_try_cpp LINENO +# ---------------------- +# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_cpp () { -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_cpp conftest.$ac_ext" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } > conftest.i && { + test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || + test ! -s conftest.err + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -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` + ac_retval=1 +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` +} # ac_fn_c_try_cpp -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` +# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists, giving a warning if it cannot be compiled using +# the include files in INCLUDES and setting the cache variable VAR +# accordingly. +ac_fn_c_check_header_mongrel () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if eval \${$3+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +else + # Is the header compilable? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +$as_echo_n "checking $2 usability... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_header_compiler=yes +else + ac_header_compiler=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +$as_echo "$ac_header_compiler" >&6; } -_ASUNAME +# Is the header present? +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +$as_echo_n "checking $2 presence... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include <$2> +_ACEOF +if ac_fn_c_try_cpp "$LINENO"; then : + ac_header_preproc=yes +else + ac_header_preproc=no +fi +rm -f conftest.err conftest.i conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +$as_echo "$ac_header_preproc" >&6; } -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done -IFS=$as_save_IFS +# So? What about this header? +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( + yes:no: ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; + no:yes:* ) + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=\$ac_header_compiler" +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +fi + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -} >&5 +} # ac_fn_c_check_header_mongrel -cat >&5 <<_ACEOF +# ac_fn_c_try_run LINENO +# ---------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +# that executables *can* be run. +ac_fn_c_try_run () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then : + ac_retval=0 +else + $as_echo "$as_me: program exited with status $ac_status" >&5 + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + ac_retval=$ac_status +fi + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval -## ----------- ## -## Core tests. ## -## ----------- ## +} # ac_fn_c_try_run -_ACEOF +# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +# ------------------------------------------------------- +# Tests whether HEADER exists and can be compiled using the include files in +# INCLUDES, setting the cache variable VAR accordingly. +ac_fn_c_check_header_compile () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +#include <$2> +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno +} # ac_fn_c_check_header_compile -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args '$ac_arg'" - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } +# ac_fn_c_try_link LINENO +# ----------------------- +# Try to link conftest.$ac_ext, and return whether this succeeded. +ac_fn_c_try_link () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + rm -f conftest.$ac_objext conftest$ac_exeext + if { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>conftest.err + ac_status=$? + if test -s conftest.err; then + grep -v '^ *+' conftest.err >conftest.er1 + cat conftest.er1 >&5 + mv -f conftest.er1 conftest.err + fi + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } && { + test -z "$ac_c_werror_flag" || + test ! -s conftest.err + } && test -s conftest$ac_exeext && { + test "$cross_compiling" = yes || + test -x conftest$ac_exeext + }; then : + ac_retval=0 +else + $as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo + ac_retval=1 +fi + # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information + # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would + # interfere with the next link command; also delete a directory that is + # left behind by Apple's compiler. We do this before executing the actions. + rm -rf conftest.dSYM conftest_ipa8_conftest.oo + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno + as_fn_set_status $ac_retval - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do - eval ac_val=\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" - ;; - esac | - sort -) - echo +} # ac_fn_c_try_link - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo +# ac_fn_c_check_func LINENO FUNC VAR +# ---------------------------------- +# Tests whether FUNC exists, setting the cache variable VAR accordingly +ac_fn_c_check_func () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +/* Define $2 to an innocuous variant, in case declares $2. + For example, HP-UX 11i declares gettimeofday. */ +#define $2 innocuous_$2 - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------------- ## -## File substitutions. ## -## ------------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=\$$ac_var - case $ac_val in - *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; - esac - echo "$ac_var='\''$ac_val'\''" - done | sort - echo - fi +/* System header to define __stub macros and hopefully few prototypes, + which can conflict with char $2 (); below. + Prefer to if __STDC__ is defined, since + exists even on freestanding compilers. */ - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - cat confdefs.h - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 +#ifdef __STDC__ +# include +#else +# include +#endif -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h +#undef $2 -# Predefined preprocessor variables. +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char $2 (); +/* 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_$2 || defined __stub___$2 +choke me +#endif -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" +int +main () +{ +return $2 (); + ; + return 0; +} _ACEOF +if ac_fn_c_try_link "$LINENO"; then : + eval "$3=yes" +else + eval "$3=no" +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno +} # ac_fn_c_check_func -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +# ------------------------------------------- +# Tests whether TYPE exists after having included INCLUDES, setting cache +# variable VAR accordingly. +ac_fn_c_check_type () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +$as_echo_n "checking for $2... " >&6; } +if eval \${$3+:} false; then : + $as_echo_n "(cached) " >&6 +else + eval "$3=no" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof ($2)) + return 0; + ; + return 0; +} _ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" +if ac_fn_c_try_compile "$LINENO"; then : + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +if (sizeof (($2))) + return 0; + ; + return 0; +} _ACEOF +if ac_fn_c_try_compile "$LINENO"; then : +else + eval "$3=yes" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$3 + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF +} # ac_fn_c_check_type +# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +# -------------------------------------------- +# Tries to find the compile-time value of EXPR in a program that includes +# INCLUDES, setting VAR accordingly. Returns whether the value could be +# computed +ac_fn_c_compute_int () +{ + as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + if test "$cross_compiling" = yes; then + # Depending upon the size, compute the lo and hi bounds. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) >= 0)]; +test_array [0] = 0; +return test_array [0]; -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" + ; + return 0; +} _ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=0 ac_mid=0 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0; +return test_array [0]; - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -n "$CONFIG_SITE"; then - set x "$CONFIG_SITE" -elif test "x$prefix" != xNONE; then - set x "$prefix/share/config.site" "$prefix/etc/config.site" + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid; break else - set x "$ac_default_prefix/share/config.site" \ - "$ac_default_prefix/etc/config.site" + as_fn_arith $ac_mid + 1 && ac_lo=$as_val + if test $ac_lo -le $ac_mid; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val fi -shift -for ac_site_file -do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -gt_needs="$gt_needs " -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in $ac_precious_vars; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val=\$ac_cv_env_${ac_var}_value - eval ac_new_val=\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) < 0)]; +test_array [0] = 0; +return test_array [0]; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=-1 ac_mid=-1 + while :; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) >= $ac_mid)]; +test_array [0] = 0; +return test_array [0]; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_lo=$ac_mid; break +else + as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val + if test $ac_mid -le $ac_hi; then + ac_lo= ac_hi= + break + fi + as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + done +else + ac_lo= ac_hi= +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +# Binary search between lo and hi bounds. +while test "x$ac_lo" != "x$ac_hi"; do + as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +int +main () +{ +static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +test_array [0] = 0; +return test_array [0]; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_hi=$ac_mid +else + as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +done +case $ac_lo in #(( +?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +'') ac_retval=1 ;; +esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +$4 +static long int longval () { return $2; } +static unsigned long int ulongval () { return $2; } +#include +#include +int +main () +{ + FILE *f = fopen ("conftest.val", "w"); + if (! f) + return 1; + if (($2) < 0) + { + long int i = longval (); + if (i != ($2)) + return 1; + fprintf (f, "%ld", i); + } + else + { + unsigned long int i = ulongval (); + if (i != ($2)) + return 1; + fprintf (f, "%lu", i); + } + /* Do not output a trailing newline, as this causes \r\n confusion + on some platforms. */ + return ferror (f) || fclose (f) != 0; + ; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + echo >>conftest.val; read $3 config.log <<_ACEOF +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. +It was created by $as_me, which was +generated by GNU Autoconf 2.69. Invocation command line was + $ $0 $@ +_ACEOF +exec 5>>config.log +{ +cat <<_ASUNAME +## --------- ## +## Platform. ## +## --------- ## +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +uname -m = `(uname -m) 2>/dev/null || echo unknown` +uname -r = `(uname -r) 2>/dev/null || echo unknown` +uname -s = `(uname -s) 2>/dev/null || echo unknown` +uname -v = `(uname -v) 2>/dev/null || echo unknown` +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` +/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` +_ASUNAME +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + $as_echo "PATH: $as_dir" + done +IFS=$as_save_IFS -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 +} >&5 +cat >&5 <<_ACEOF +## ----------- ## +## Core tests. ## +## ----------- ## -#These variable are initialized by JD init function -CONFIG_DIR=`pwd` -cd $srcdir -if test "`pwd`" != "$CONFIG_DIR" -then - { { echo "$as_me:$LINENO: error: \"This software does not support configuring from another directory. See the INSTALL file\"" >&5 -echo "$as_me: error: \"This software does not support configuring from another directory. See the INSTALL file\"" >&2;} - { (exit 1); exit 1; }; } -fi -# Note: these will differ if one is a symbolic link -if test -f /usr/bin/dirname; then - JD_Above_Dir=`dirname $CONFIG_DIR` -else -# system is a loser - JD_Above_Dir=`cd ..;pwd` -fi -JD_Above_Dir2=`cd ..;pwd` +_ACEOF -ac_aux_dir= -for ac_dir in autoconf "$srcdir"/autoconf; 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 +# Keep a trace of the command line. +# Strip out --no-create and --no-recursion so they do not pile up. +# Strip out --silent because we don't want to record it for future runs. +# Also quote any args containing shell meta-characters. +# Make two passes to allow for proper duplicate-argument suppression. +ac_configure_args= +ac_configure_args0= +ac_configure_args1= +ac_must_keep_next=false +for ac_pass in 1 2 +do + for ac_arg + do + case $ac_arg in + -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil) + continue ;; + *\'*) + ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + case $ac_pass in + 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; + 2) + as_fn_append ac_configure_args1 " '$ac_arg'" + if test $ac_must_keep_next = true; then + ac_must_keep_next=false # Got value, back to normal. + else + 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 + as_fn_append ac_configure_args " '$ac_arg'" + ;; + esac + done done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&5 -echo "$as_me: error: cannot find install-sh or install.sh in autoconf \"$srcdir\"/autoconf" >&2;} - { (exit 1); exit 1; }; } -fi +{ ac_configure_args0=; unset ac_configure_args0;} +{ ac_configure_args1=; unset ac_configure_args1;} -# These three variables are undocumented and unsupported, -# and are intended to be withdrawn in a future Autoconf release. -# They can cause serious problems if a builder's source tree is in a directory -# whose full name contains unusual characters. -ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. -ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. -ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. - - -# Make sure we can run config.sub. -$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || - { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 -echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} - { (exit 1); exit 1; }; } - -{ echo "$as_me:$LINENO: checking build system type" >&5 -echo $ECHO_N "checking build system type... $ECHO_C" >&6; } -if test "${ac_cv_build+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_build_alias=$build_alias -test "x$ac_build_alias" = x && - ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` -test "x$ac_build_alias" = x && - { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 -echo "$as_me: error: cannot guess build type; you must specify one" >&2;} - { (exit 1); exit 1; }; } -ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} - { (exit 1); exit 1; }; } +# When interrupted or exit'd, cleanup temporary files, and complete +# config.log. We remove comments because anyway the quotes in there +# would cause problems or look ugly. +# WARNING: Use '\'' to represent an apostrophe within the trap. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +trap 'exit_status=$? + # Save into config.log some information that might help in debugging. + { + echo -fi -{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5 -echo "${ECHO_T}$ac_cv_build" >&6; } -case $ac_cv_build in -*-*-*) ;; -*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 -echo "$as_me: error: invalid value of canonical build" >&2;} - { (exit 1); exit 1; }; };; -esac -build=$ac_cv_build -ac_save_IFS=$IFS; IFS='-' + $as_echo "## ---------------- ## +## Cache variables. ## +## ---------------- ##" + echo + # The following way of writing the cache mishandles newlines in values, +( + for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do + eval ac_val=\$$ac_var + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; + esac ;; + esac + done + (set) 2>&1 | + case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( + *${as_nl}ac_space=\ *) + sed -n \ + "s/'\''/'\''\\\\'\'''\''/g; + s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" + ;; #( + *) + sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" + ;; + esac | + sort +) + echo + + $as_echo "## ----------------- ## +## Output variables. ## +## ----------------- ##" + echo + for ac_var in $ac_subst_vars + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + + if test -n "$ac_subst_files"; then + $as_echo "## ------------------- ## +## File substitutions. ## +## ------------------- ##" + echo + for ac_var in $ac_subst_files + do + eval ac_val=\$$ac_var + case $ac_val in + *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; + esac + $as_echo "$ac_var='\''$ac_val'\''" + done | sort + echo + fi + + if test -s confdefs.h; then + $as_echo "## ----------- ## +## confdefs.h. ## +## ----------- ##" + echo + cat confdefs.h + echo + fi + test "$ac_signal" != 0 && + $as_echo "$as_me: caught signal $ac_signal" + $as_echo "$as_me: exit $exit_status" + } >&5 + rm -f core *.core core.conftest.* && + rm -f -r conftest* confdefs* conf$$* $ac_clean_files && + exit $exit_status +' 0 +for ac_signal in 1 2 13 15; do + trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal +done +ac_signal=0 + +# confdefs.h avoids OS command line length limits that DEFS can exceed. +rm -f -r conftest* confdefs.h + +$as_echo "/* confdefs.h */" > confdefs.h + +# Predefined preprocessor variables. + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_NAME "$PACKAGE_NAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_TARNAME "$PACKAGE_TARNAME" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_VERSION "$PACKAGE_VERSION" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_STRING "$PACKAGE_STRING" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +_ACEOF + +cat >>confdefs.h <<_ACEOF +#define PACKAGE_URL "$PACKAGE_URL" +_ACEOF + + +# Let the site file select an alternate cache file if it wants to. +# Prefer an explicitly selected file to automatically selected ones. +ac_site_file1=NONE +ac_site_file2=NONE +if test -n "$CONFIG_SITE"; then + # We do not want a PATH search for config.site. + case $CONFIG_SITE in #(( + -*) ac_site_file1=./$CONFIG_SITE;; + */*) ac_site_file1=$CONFIG_SITE;; + *) ac_site_file1=./$CONFIG_SITE;; + esac +elif test "x$prefix" != xNONE; then + ac_site_file1=$prefix/share/config.site + ac_site_file2=$prefix/etc/config.site +else + ac_site_file1=$ac_default_prefix/share/config.site + ac_site_file2=$ac_default_prefix/etc/config.site +fi +for ac_site_file in "$ac_site_file1" "$ac_site_file2" +do + test "x$ac_site_file" = xNONE && continue + if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 +$as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" \ + || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "failed to load site script $ac_site_file +See \`config.log' for more details" "$LINENO" 5; } + 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. DJGPP emulates it as a regular file. + if test /dev/null != "$cache_file" && test -f "$cache_file"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 +$as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; + *) . "./$cache_file";; + esac + fi +else + { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 +$as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file +fi + +gt_needs="$gt_needs " +# Check that the precious variables saved in the cache have kept the same +# value. +ac_cache_corrupted=false +for ac_var in $ac_precious_vars; do + eval ac_old_set=\$ac_cv_env_${ac_var}_set + eval ac_new_set=\$ac_env_${ac_var}_set + eval ac_old_val=\$ac_cv_env_${ac_var}_value + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 +$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; + *) + if test "x$ac_old_val" != "x$ac_new_val"; then + # differences in whitespace do not lead to failure. + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 +$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else + { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 +$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 +$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 +$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac + # Pass precious variables to config.status. + if test "$ac_new_set" = set; then + case $ac_new_val in + *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; + *) ac_arg=$ac_var=$ac_new_val ;; + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. + *) as_fn_append ac_configure_args " '$ac_arg'" ;; + esac + fi +done +if $ac_cache_corrupted; then + { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 +$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} + as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 +fi +## -------------------- ## +## Main body of script. ## +## -------------------- ## + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' +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 + + + + +#These variable are initialized by JD init function +CONFIG_DIR=`pwd` +cd $srcdir +if test "`pwd`" != "$CONFIG_DIR" +then + as_fn_error $? "\"This software does not support configuring from another directory. See the INSTALL file\"" "$LINENO" 5 +fi +# Note: these will differ if one is a symbolic link +if test -f /usr/bin/dirname; then + JD_Above_Dir=`dirname $CONFIG_DIR` +else +# system is a loser + JD_Above_Dir=`cd ..;pwd` +fi +JD_Above_Dir2=`cd ..;pwd` + + +ac_aux_dir= +for ac_dir in autoconf "$srcdir"/autoconf; do + if test -f "$ac_dir/install-sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install-sh -c" + break + elif test -f "$ac_dir/install.sh"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/install.sh -c" + break + elif test -f "$ac_dir/shtool"; then + ac_aux_dir=$ac_dir + ac_install_sh="$ac_aux_dir/shtool install -c" + break + fi +done +if test -z "$ac_aux_dir"; then + as_fn_error $? "cannot find install-sh, install.sh, or shtool in autoconf \"$srcdir\"/autoconf" "$LINENO" 5 +fi + +# These three variables are undocumented and unsupported, +# and are intended to be withdrawn in a future Autoconf release. +# They can cause serious problems if a builder's source tree is in a directory +# whose full name contains unusual characters. +ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. +ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. +ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. + + +# Make sure we can run config.sub. +$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || + as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 +$as_echo_n "checking build system type... " >&6; } +if ${ac_cv_build+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_build_alias=$build_alias +test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` +test "x$ac_build_alias" = x && + as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 +ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 +$as_echo "$ac_cv_build" >&6; } +case $ac_cv_build in +*-*-*) ;; +*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; +esac +build=$ac_cv_build +ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 @@ -1909,28 +2578,24 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac -{ echo "$as_me:$LINENO: checking host system type" >&5 -echo $ECHO_N "checking host system type... $ECHO_C" >&6; } -if test "${ac_cv_host+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 +$as_echo_n "checking host system type... " >&6; } +if ${ac_cv_host+:} false; then : + $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || - { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 -echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5 -echo "${ECHO_T}$ac_cv_host" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 +$as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; -*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 -echo "$as_me: error: invalid value of canonical host" >&2;} - { (exit 1); exit 1; }; };; +*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' @@ -1947,18 +2612,19 @@ -{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 -echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } -set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` -if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 +$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } +set x ${MAKE-make} +ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : + $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF -# GNU make sometimes prints "make[1]: Entering...", which would confuse us. +# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; @@ -1968,12 +2634,12 @@ rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } SET_MAKE= else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi @@ -1990,22 +2656,23 @@ # 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; } +# Reject install programs that cannot install multiple files. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 +$as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then -if test "${ac_cv_path_install+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if ${ac_cv_path_install+:} false; then : + $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - # Account for people who put trailing slashes in PATH elements. -case $as_dir/ in - ./ | .// | /cC/* | \ + # Account for people who put trailing slashes in PATH elements. +case $as_dir/ in #(( + ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ - ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. @@ -2013,7 +2680,7 @@ # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_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. @@ -2023,17 +2690,29 @@ # 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 + rm -rf conftest.one conftest.two conftest.dir + echo one > conftest.one + echo two > conftest.two + mkdir conftest.dir + if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && + test -s conftest.one && test -s conftest.two && + test -s conftest.dir/conftest.one && + test -s conftest.dir/conftest.two + then + ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" + break 3 + fi fi fi done done ;; esac -done + + done IFS=$as_save_IFS +rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then @@ -2046,8 +2725,8 @@ INSTALL=$ac_install_sh fi fi -{ echo "$as_me:$LINENO: result: $INSTALL" >&5 -echo "${ECHO_T}$INSTALL" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 +$as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. @@ -2066,10 +2745,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2079,25 +2758,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2106,10 +2785,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. @@ -2119,25 +2798,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -2145,12 +2824,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -2163,10 +2838,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2176,25 +2851,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2203,10 +2878,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2217,18 +2892,18 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then @@ -2247,11 +2922,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2262,10 +2937,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -2275,25 +2950,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2306,10 +2981,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. @@ -2319,25 +2994,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -2349,12 +3024,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -2364,51 +3035,37 @@ 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; }; } +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2420,42 +3077,38 @@ } _ACEOF ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files a.out a.exe b.out" +ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. -{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 -echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } -ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` -# -# List of possible output files, starting from the most likely. -# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) -# only as a last resort. b.out is created by i960 compilers. -ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' -# -# The IRIX 6 linker writes into existing files which may not be -# executable, retaining their permissions. Remove them first so a -# subsequent execution test works. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 +$as_echo_n "checking whether the C compiler works... " >&6; } +ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +# The possible output files: +ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" + ac_rmfiles= for ac_file in $ac_files do case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles -if { (ac_try="$ac_link_default" +if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, @@ -2465,14 +3118,14 @@ do test -f "$ac_file" || continue case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) - if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi @@ -2491,78 +3144,41 @@ else ac_file='' fi +if test -z "$ac_file"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +$as_echo "$as_me: failed program was:" >&5 +sed 's/^/| /' conftest.$ac_ext >&5 + +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "C compiler cannot create executables +See \`config.log' for more details" "$LINENO" 5; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 +$as_echo_n "checking for C compiler default output file name... " >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 +$as_echo "$ac_file" >&6; } +ac_exeext=$ac_cv_exeext -{ echo "$as_me:$LINENO: result: $ac_file" >&5 -echo "${ECHO_T}$ac_file" >&6; } -if test -z "$ac_file"; then - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -{ { echo "$as_me:$LINENO: error: C compiler cannot create executables -See \`config.log' for more details." >&5 -echo "$as_me: error: C compiler cannot create executables -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } -fi - -ac_exeext=$ac_cv_exeext - -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 -echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } -# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 -# If not cross compiling, check that we can run a simple program. -if test "$cross_compiling" != yes; then - if { ac_try='./$ac_file' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - cross_compiling=no - else - if test "$cross_compiling" = maybe; then - cross_compiling=yes - else - { { echo "$as_me:$LINENO: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run C compiled programs. -If you meant to cross compile, use \`--host'. -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } - fi - fi -fi -{ echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } - -rm -f a.out a.exe conftest$ac_cv_exeext b.out +rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save -# Check that the compiler produces executables we can run. If not, either -# the compiler is broken, or we cross compile. -{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 -echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } -{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 -echo "${ECHO_T}$cross_compiling" >&6; } - -{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 -echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } -if { (ac_try="$ac_link" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 +$as_echo_n "checking for suffix of executables... " >&6; } +if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with @@ -2570,37 +3186,90 @@ for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else - { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute suffix of executables: cannot compile and link -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } -fi - -rm -f conftest$ac_cv_exeext -{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 -echo "${ECHO_T}$ac_cv_exeext" >&6; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of executables: cannot compile and link +See \`config.log' for more details" "$LINENO" 5; } +fi +rm -f conftest conftest$ac_cv_exeext +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 +$as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT -{ 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. */ +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +int +main () +{ +FILE *f = fopen ("conftest.out", "w"); + return ferror (f) || fclose (f) != 0; + + ; + return 0; +} _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +ac_clean_files="$ac_clean_files conftest.out" +# Check that the compiler produces executables we can run. If not, either +# the compiler is broken, or we cross compile. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 +$as_echo_n "checking whether we are cross compiling... " >&6; } +if test "$cross_compiling" != yes; then + { { ac_try="$ac_link" +case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_link") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } + if { ac_try='./conftest$ac_cv_exeext' + { { case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; +esac +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_try") 2>&5 + ac_status=$? + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run C compiled programs. +If you meant to cross compile, use \`--host'. +See \`config.log' for more details" "$LINENO" 5; } + fi + fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 +$as_echo "$cross_compiling" >&6; } + +rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out +ac_clean_files=$ac_clean_files_save +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 +$as_echo_n "checking for suffix of object files... " >&6; } +if ${ac_cv_objext+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2612,51 +3281,46 @@ } _ACEOF rm -f conftest.o conftest.obj -if { (ac_try="$ac_compile" +if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in - *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; + *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else - echo "$as_me: failed program was:" >&5 + $as_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; }; } +{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot compute suffix of object files: cannot compile +See \`config.log' for more details" "$LINENO" 5; } fi - rm -f conftest.$ac_cv_objext conftest.$ac_ext fi -{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 -echo "${ECHO_T}$ac_cv_objext" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 +$as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT -{ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2670,54 +3334,34 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no + ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ 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` +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2728,34 +3372,11 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2766,35 +3387,12 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_compile "$LINENO"; then : - ac_c_werror_flag=$ac_save_c_werror_flag +else + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -2805,42 +3403,18 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then @@ -2856,23 +3430,18 @@ CFLAGS= fi fi -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* 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); @@ -2924,31 +3493,9 @@ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then + if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done @@ -2959,17 +3506,19 @@ # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; xno) - { echo "$as_me:$LINENO: result: unsupported" >&5 -echo "${ECHO_T}unsupported" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac +if test "x$ac_cv_prog_cc_c89" != xno; then : +fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -2983,15 +3532,15 @@ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" @@ -3005,11 +3554,7 @@ # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include @@ -3018,76 +3563,34 @@ #endif Syntax error _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_cpp "$LINENO"; then : +else # Broken: fails on valid input. continue fi - -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; 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 +rm -f conftest.err conftest.i 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 +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : break fi @@ -3099,8 +3602,8 @@ else ac_cv_prog_CPP=$CPP fi -{ echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do @@ -3110,11 +3613,7 @@ # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include @@ -3123,83 +3622,40 @@ #endif Syntax error _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_cpp "$LINENO"; then : +else # Broken: fails on valid input. continue fi - -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; 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 +rm -f conftest.err conftest.i 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 - : +rm -f conftest.i 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; }; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -3209,45 +3665,40 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu -{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 -echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - # Extract the first word of "grep ggrep" to use in msg output -if test -z "$GREP"; then -set dummy grep ggrep; ac_prog_name=$2 -if test "${ac_cv_path_GREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 +$as_echo_n "checking for grep that handles long lines and -e... " >&6; } +if ${ac_cv_path_GREP+:} false; then : + $as_echo_n "(cached) " >&6 else + if test -z "$GREP"; then ac_path_GREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in grep ggrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue - # Check for GNU ac_path_GREP and select it if it is found. + for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_GREP" || continue +# Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - echo 'GREP' >> "conftest.nl" + $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` + as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" @@ -3259,77 +3710,61 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac - - $ac_path_GREP_found && break 3 + $ac_path_GREP_found && break 3 + done + done done -done - -done IFS=$as_save_IFS - - -fi - -GREP="$ac_cv_path_GREP" -if test -z "$GREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - + if test -z "$ac_cv_path_GREP"; then + as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi else ac_cv_path_GREP=$GREP fi - fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 -echo "${ECHO_T}$ac_cv_path_GREP" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 +$as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" -{ echo "$as_me:$LINENO: checking for egrep" >&5 -echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 +$as_echo_n "checking for egrep... " >&6; } +if ${ac_cv_path_EGREP+:} false; then : + $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else - # Extract the first word of "egrep" to use in msg output -if test -z "$EGREP"; then -set dummy egrep; ac_prog_name=$2 -if test "${ac_cv_path_EGREP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else + if test -z "$EGREP"; then ac_path_EGREP_found=false -# Loop through the user's path and test for each of PROGNAME-LIST -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + # Loop through the user's path and test for each of PROGNAME-LIST + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_prog in egrep; do - for ac_exec_ext in '' $ac_executable_extensions; do - ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue - # Check for GNU ac_path_EGREP and select it if it is found. + for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + as_fn_executable_p "$ac_path_EGREP" || continue +# Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 - echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" + $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" - echo 'EGREP' >> "conftest.nl" + $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break - ac_count=`expr $ac_count + 1` + as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" @@ -3341,78 +3776,229 @@ rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac - - $ac_path_EGREP_found && break 3 + $ac_path_EGREP_found && break 3 + done + done done -done - -done IFS=$as_save_IFS - - -fi - -EGREP="$ac_cv_path_EGREP" -if test -z "$EGREP"; then - { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 -echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} - { (exit 1); exit 1; }; } -fi - + if test -z "$ac_cv_path_EGREP"; then + as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 + fi else ac_cv_path_EGREP=$EGREP fi - fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 -echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 +$as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 +$as_echo_n "checking for ANSI C header files... " >&6; } +if ${ac_cv_header_stdc+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#include +#include +int +main () +{ -{ echo "$as_me:$LINENO: checking for AIX" >&5 -echo $ECHO_N "checking for AIX... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ + ; + return 0; +} _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_header_stdc=yes +else + ac_cv_header_stdc=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + +if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#ifdef _AIX - yes -#endif +#include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } -cat >>confdefs.h <<\_ACEOF -#define _ALL_SOURCE 1 + $EGREP "memchr" >/dev/null 2>&1; then : + +else + ac_cv_header_stdc=no +fi +rm -f conftest* + +fi + +if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include + _ACEOF +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "free" >/dev/null 2>&1; then : else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + ac_cv_header_stdc=no fi rm -f conftest* +fi -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' +if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. + if test "$cross_compiling" = yes; then : + : +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#include +#include +#if ((' ' & 0x0FF) == 0x020) +# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') +# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) +#else +# define ISLOWER(c) \ + (('a' <= (c) && (c) <= 'i') \ + || ('j' <= (c) && (c) <= 'r') \ + || ('s' <= (c) && (c) <= 'z')) +# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) +#endif + +#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) +int +main () +{ + int i; + for (i = 0; i < 256; i++) + if (XOR (islower (i), ISLOWER (i)) + || toupper (i) != TOUPPER (i)) + return 2; + return 0; +} +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +else + ac_cv_header_stdc=no +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 +$as_echo "$ac_cv_header_stdc" >&6; } +if test $ac_cv_header_stdc = yes; then + +$as_echo "#define STDC_HEADERS 1" >>confdefs.h + +fi + +# On IRIX 5.3, sys/types and inttypes.h are conflicting. +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + + + ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" +if test "x$ac_cv_header_minix_config_h" = xyes; then : + MINIX=yes +else + MINIX= +fi + + + if test "$MINIX" = yes; then + +$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h + + +$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h + + +$as_echo "#define _MINIX 1" >>confdefs.h + + fi + + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 +$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } +if ${ac_cv_safe_to_define___extensions__+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + +# define __EXTENSIONS__ 1 + $ac_includes_default +int +main () +{ + + ; + return 0; +} +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_safe_to_define___extensions__=yes +else + ac_cv_safe_to_define___extensions__=no +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 +$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } + test $ac_cv_safe_to_define___extensions__ = yes && + $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h + + $as_echo "#define _ALL_SOURCE 1" >>confdefs.h + + $as_echo "#define _GNU_SOURCE 1" >>confdefs.h + + $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h + + $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h + + + + +ac_ext=c +ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 -{ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -3422,25 +4008,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -3449,10 +4035,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. @@ -3462,25 +4048,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then @@ -3488,12 +4074,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3506,10 +4088,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -3519,25 +4101,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -3546,10 +4128,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -3560,18 +4142,18 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then @@ -3590,11 +4172,11 @@ fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -3605,10 +4187,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. @@ -3618,25 +4200,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then - { echo "$as_me:$LINENO: result: $CC" >&5 -echo "${ECHO_T}$CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 +$as_echo "$CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -3649,10 +4231,10 @@ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_prog_ac_ct_CC+:} false; then : + $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. @@ -3662,25 +4244,25 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_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 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then - { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 -echo "${ECHO_T}$ac_ct_CC" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 +$as_echo "$ac_ct_CC" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -3692,12 +4274,8 @@ else case $cross_compiling:$ac_tool_warned in yes:) -{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&5 -echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools -whose name does not start with the host triplet. If you think this -configuration is useful to you, please write to autoconf@gnu.org." >&2;} +{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 +$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC @@ -3707,56 +4285,42 @@ 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; }; } +test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "no acceptable C compiler found in \$PATH +See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. -echo "$as_me:$LINENO: checking for C compiler version" >&5 -ac_compiler=`set X $ac_compile; echo $2` -{ (ac_try="$ac_compiler --version >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler --version >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -v >&5" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -v >&5") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } -{ (ac_try="$ac_compiler -V >&5" +$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 +set X $ac_compile +ac_compiler=$2 +for ac_option in --version -v -V -qversion; do + { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compiler -V >&5") 2>&5 +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +$as_echo "$ac_try_echo"; } >&5 + (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } + if test -s conftest.err; then + sed '10a\ +... rest of stderr output deleted ... + 10q' conftest.err >conftest.er1 + cat conftest.er1 >&5 + fi + rm -f conftest.er1 conftest.err + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; } +done -{ 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 +$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +if ${ac_cv_c_compiler_gnu+:} false; then : + $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3770,54 +4334,34 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_compiler_gnu=no + ac_compiler_gnu=no fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi -{ 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` +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 +$as_echo "$ac_cv_c_compiler_gnu" >&6; } +if test $ac_compiler_gnu = yes; then + GCC=yes +else + GCC= +fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS -{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 -echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_g+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 +$as_echo_n "checking whether $CC accepts -g... " >&6; } +if ${ac_cv_prog_cc_g+:} false; then : + $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3828,34 +4372,11 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - CFLAGS="" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + CFLAGS="" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3866,35 +4387,12 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_compile "$LINENO"; then : - ac_c_werror_flag=$ac_save_c_werror_flag +else + ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -3905,42 +4403,18 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 +$as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then @@ -3956,23 +4430,18 @@ CFLAGS= fi fi -{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 -echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } -if test "${ac_cv_prog_cc_c89+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 +$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +if ${ac_cv_prog_cc_c89+:} false; then : + $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* 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); @@ -4024,31 +4493,9 @@ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" - rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then + if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done @@ -4059,17 +4506,19 @@ # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) - { echo "$as_me:$LINENO: result: none needed" >&5 -echo "${ECHO_T}none needed" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 +$as_echo "none needed" >&6; } ;; xno) - { echo "$as_me:$LINENO: result: unsupported" >&5 -echo "${ECHO_T}unsupported" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 +$as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" - { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 -echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 +$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac +if test "x$ac_cv_prog_cc_c89" != xno; then : +fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' @@ -4082,15 +4531,15 @@ 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; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 +$as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then - if test "${ac_cv_prog_CPP+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + if ${ac_cv_prog_CPP+:} false; then : + $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" @@ -4104,11 +4553,7 @@ # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include @@ -4117,76 +4562,34 @@ #endif Syntax error _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_cpp "$LINENO"; then : +else # Broken: fails on valid input. continue fi - -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; 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 +rm -f conftest.err conftest.i 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 +rm -f conftest.i conftest.err conftest.$ac_ext +if $ac_preproc_ok; then : break fi @@ -4198,8 +4601,8 @@ else ac_cv_prog_CPP=$CPP fi -{ echo "$as_me:$LINENO: result: $CPP" >&5 -echo "${ECHO_T}$CPP" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 +$as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do @@ -4209,11 +4612,7 @@ # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include @@ -4222,83 +4621,40 @@ #endif Syntax error _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_cpp "$LINENO"; then : +else # Broken: fails on valid input. continue fi - -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; 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 +rm -f conftest.err conftest.i 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 - : +rm -f conftest.i 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; }; } + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "C preprocessor \"$CPP\" fails sanity check +See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c @@ -4308,23 +4664,19 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test $ac_cv_c_compiler_gnu = yes; then - { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 -echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; } -if test "${ac_cv_prog_gcc_traditional+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 +$as_echo_n "checking whether $CC needs -traditional... " >&6; } +if ${ac_cv_prog_gcc_traditional+:} false; then : + $as_echo_n "(cached) " >&6 else ac_pattern="Autoconf.*'x'" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include Autoconf TIOCGETP _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then + $EGREP "$ac_pattern" >/dev/null 2>&1; then : ac_cv_prog_gcc_traditional=yes else ac_cv_prog_gcc_traditional=no @@ -4333,41 +4685,33 @@ if test $ac_cv_prog_gcc_traditional = no; then - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include Autoconf TCGETA _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "$ac_pattern" >/dev/null 2>&1; then + $EGREP "$ac_pattern" >/dev/null 2>&1; then : ac_cv_prog_gcc_traditional=yes fi rm -f conftest* fi fi -{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 -echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 +$as_echo "$ac_cv_prog_gcc_traditional" >&6; } if test $ac_cv_prog_gcc_traditional = yes; then CC="$CC -traditional" fi fi -{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 -echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } -if test "${ac_cv_search_strerror+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 +$as_echo_n "checking for library containing strerror... " >&6; } +if ${ac_cv_search_strerror+:} false; then : + $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4392,60 +4736,33 @@ ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then + if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_strerror=$ac_res -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_strerror+set}" = set; then +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_strerror+:} false; then : break fi done -if test "${ac_cv_search_strerror+set}" = set; then - : +if ${ac_cv_search_strerror+:} false; then : + else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 -echo "${ECHO_T}$ac_cv_search_strerror" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 +$as_echo "$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror -if test "$ac_res" != no; then +if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef hpux yes @@ -4453,23 +4770,17 @@ _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "yes" >/dev/null 2>&1; then + $EGREP "yes" >/dev/null 2>&1; then : -cat >>confdefs.h <<\_ACEOF -#define _HPUX_SOURCE 1 -_ACEOF +$as_echo "#define _HPUX_SOURCE 1" >>confdefs.h if test "$CC" = cc; then CC="cc -Ae"; fi fi rm -f conftest* -{ echo "$as_me:$LINENO: checking C compiler that understands ANSI prototypes" >&5 -echo $ECHO_N "checking C compiler that understands ANSI prototypes... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking C compiler that understands ANSI prototypes" >&5 +$as_echo_n "checking C compiler that understands ANSI prototypes... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4481,48 +4792,26 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : - { echo "$as_me:$LINENO: result: $CC looks ok. Good." >&5 -echo "${ECHO_T}$CC looks ok. Good." >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC looks ok. Good." >&5 +$as_echo "$CC looks ok. Good." >&6; } else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - { echo "$as_me:$LINENO: result: $CC is not a good enough compiler" >&5 -echo "${ECHO_T}$CC is not a good enough compiler" >&6; } - { { echo "$as_me:$LINENO: error: Set env variable CC to your ANSI compiler and rerun configure." >&5 -echo "$as_me: error: Set env variable CC to your ANSI compiler and rerun configure." >&2;} - { (exit 1); exit 1; }; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC is not a good enough compiler" >&5 +$as_echo "$CC is not a good enough compiler" >&6; } + as_fn_error $? "Set env variable CC to your ANSI compiler and rerun configure." "$LINENO" 5 fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext # determine X include and needed libs -{ echo "$as_me:$LINENO: checking for X" >&5 -echo $ECHO_N "checking for X... $ECHO_C" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 +$as_echo_n "checking for X... " >&6; } # Check whether --with-x was given. -if test "${with_x+set}" = set; then +if test "${with_x+set}" = set; then : withval=$with_x; fi @@ -4532,11 +4821,9 @@ have_x=disabled else case $x_includes,$x_libraries in #( - *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5 -echo "$as_me: error: Cannot use X directory names containing '" >&2;} - { (exit 1); exit 1; }; };; #( - *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( + *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : + $as_echo_n "(cached) " >&6 else # One or both of the vars are not set, and there is no cached value. ac_x_includes=no ac_x_libraries=no @@ -4552,12 +4839,12 @@ @echo libdir='${LIBDIR}' _ACEOF if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then - # GNU make sometimes prints "make[1]: Entering...", which would confuse us. + # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. for ac_var in incroot usrlibdir libdir; do eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" done # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. - for ac_extension in a so sl; do + for ac_extension in a so sl dylib la dll; do if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && test -f "$ac_im_libdir/libX11.$ac_extension"; then ac_im_usrlibdir=$ac_im_libdir; break @@ -4571,7 +4858,7 @@ *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; esac case $ac_im_usrlibdir in - /usr/lib | /lib) ;; + /usr/lib | /usr/lib64 | /lib | /lib64) ;; *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; esac fi @@ -4583,21 +4870,25 @@ # Check X11 before X11Rn because it is often a symlink to the current release. ac_x_header_dirs=' /usr/X11/include +/usr/X11R7/include /usr/X11R6/include /usr/X11R5/include /usr/X11R4/include /usr/include/X11 +/usr/include/X11R7 /usr/include/X11R6 /usr/include/X11R5 /usr/include/X11R4 /usr/local/X11/include +/usr/local/X11R7/include /usr/local/X11R6/include /usr/local/X11R5/include /usr/local/X11R4/include /usr/local/include/X11 +/usr/local/include/X11R7 /usr/local/include/X11R6 /usr/local/include/X11R5 /usr/local/include/X11R4 @@ -4619,36 +4910,14 @@ if test "$ac_x_includes" = no; then # Guess where to find include files, by looking for Xlib.h. # First, try using that file with no special directory specified. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then +if ac_fn_c_try_cpp "$LINENO"; then : # We can compile using X headers with no special include directory. ac_x_includes= else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - for ac_dir in $ac_x_header_dirs; do if test -r "$ac_dir/X11/Xlib.h"; then ac_x_includes=$ac_dir @@ -4656,8 +4925,7 @@ fi done fi - -rm -f conftest.err conftest.$ac_ext +rm -f conftest.err conftest.i conftest.$ac_ext fi # $ac_x_includes = no if test "$ac_x_libraries" = no; then @@ -4666,11 +4934,7 @@ # Don't add to $LIBS permanently. ac_save_LIBS=$LIBS LIBS="-lX11 $LIBS" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -4681,36 +4945,16 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : LIBS=$ac_save_LIBS # We can link X programs with no special library path. ac_x_libraries= else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - LIBS=$ac_save_LIBS -for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` + LIBS=$ac_save_LIBS +for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` do # Don't even attempt the hair of trying to link an X program! - for ac_extension in a so sl; do + for ac_extension in a so sl dylib la dll; do if test -r "$ac_dir/libX11.$ac_extension"; then ac_x_libraries=$ac_dir break 2 @@ -4718,9 +4962,8 @@ done done fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi # $ac_x_libraries = no case $ac_x_includes,$ac_x_libraries in #( @@ -4741,8 +4984,8 @@ fi # $with_x != no if test "$have_x" != yes; then - { echo "$as_me:$LINENO: result: $have_x" >&5 -echo "${ECHO_T}$have_x" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 +$as_echo "$have_x" >&6; } no_x=yes else # If each of the values was on the command line, it overrides each guess. @@ -4752,16 +4995,14 @@ ac_cv_have_x="have_x=yes\ ac_x_includes='$x_includes'\ ac_x_libraries='$x_libraries'" - { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 -echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 +$as_echo "libraries $x_libraries, headers $x_includes" >&6; } fi if test "$no_x" = yes; then # Not all programs may use this symbol, but it does not hurt to define it. -cat >>confdefs.h <<\_ACEOF -#define X_DISPLAY_MISSING 1 -_ACEOF +$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= else @@ -4774,16 +5015,12 @@ X_LIBS="$X_LIBS -L$x_libraries" # For Solaris; some versions of Sun CC require a space after -R and # others require no space. Words are not sufficient . . . . - { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 -echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 +$as_echo_n "checking whether -R must be followed by a space... " >&6; } ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" ac_xsave_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4794,37 +5031,13 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } X_LIBS="$X_LIBS -R$x_libraries" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - LIBS="$ac_xsave_LIBS -R $x_libraries" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + LIBS="$ac_xsave_LIBS -R $x_libraries" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int @@ -4835,41 +5048,19 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } +if ac_fn_c_try_link "$LINENO"; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } X_LIBS="$X_LIBS -R $x_libraries" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - { echo "$as_me:$LINENO: result: neither works" >&5 -echo "${ECHO_T}neither works" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 +$as_echo "neither works" >&6; } fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext ac_c_werror_flag=$ac_xsave_c_werror_flag LIBS=$ac_xsave_LIBS fi @@ -4885,11 +5076,7 @@ # libraries were built with DECnet support. And Karl Berry says # the Alpha needs dnet_stub (dnet does not exist). ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4907,41 +5094,17 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - : -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_link "$LINENO"; then : - { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 -echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; } -if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 +$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } +if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -4959,55 +5122,30 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dnet_dnet_ntoa=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dnet_dnet_ntoa=no + ac_cv_lib_dnet_dnet_ntoa=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 -echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; } -if test $ac_cv_lib_dnet_dnet_ntoa = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 +$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" fi if test $ac_cv_lib_dnet_dnet_ntoa = no; then - { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 -echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; } -if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 +$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } +if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldnet_stub $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -5025,47 +5163,25 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dnet_stub_dnet_ntoa=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_dnet_stub_dnet_ntoa=no + ac_cv_lib_dnet_stub_dnet_ntoa=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 -echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } -if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 +$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } +if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" fi fi fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS="$ac_xsave_LIBS" # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, @@ -5076,101 +5192,20 @@ # on Irix 5.2, according to T.E. Dickey. # The functions gethostbyname, getservbyname, and inet_addr are # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. - { echo "$as_me:$LINENO: checking for gethostbyname" >&5 -echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; } -if test "${ac_cv_func_gethostbyname+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 gethostbyname to an innocuous variant, in case declares gethostbyname. - For example, HP-UX 11i declares gettimeofday. */ -#define gethostbyname innocuous_gethostbyname - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char gethostbyname (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef gethostbyname - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char gethostbyname (); -/* 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_gethostbyname || defined __stub___gethostbyname -choke me -#endif - -int -main () -{ -return gethostbyname (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_func_gethostbyname=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +if test "x$ac_cv_func_gethostbyname" = xyes; then : - ac_cv_func_gethostbyname=no fi -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; } - if test $ac_cv_func_gethostbyname = no; then - { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 -echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; } -if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 +$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +if ${ac_cv_lib_nsl_gethostbyname+:} false; then : + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lnsl $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -5188,55 +5223,30 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_nsl_gethostbyname=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_nsl_gethostbyname=no + ac_cv_lib_nsl_gethostbyname=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; } -if test $ac_cv_lib_nsl_gethostbyname = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 +$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" fi if test $ac_cv_lib_nsl_gethostbyname = no; then - { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 -echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; } -if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 +$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } +if ${ac_cv_lib_bsd_gethostbyname+:} false; then : + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lbsd $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -5254,39 +5264,18 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_bsd_gethostbyname=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_bsd_gethostbyname=no + ac_cv_lib_bsd_gethostbyname=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 -echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; } -if test $ac_cv_lib_bsd_gethostbyname = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 +$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } +if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" fi @@ -5300,33 +5289,21 @@ # variants that don't use the name server (or something). -lsocket # must be given before -lnsl if both are needed. We assume that # if connect needs -lnsl, so does gethostbyname. - { echo "$as_me:$LINENO: checking for connect" >&5 -echo $ECHO_N "checking for connect... $ECHO_C" >&6; } -if test "${ac_cv_func_connect+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 connect to an innocuous variant, in case declares connect. - For example, HP-UX 11i declares gettimeofday. */ -#define connect innocuous_connect - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char connect (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ + ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" +if test "x$ac_cv_func_connect" = xyes; then : -#ifdef __STDC__ -# include -#else -# include -#endif +fi -#undef connect + if test $ac_cv_func_connect = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 +$as_echo_n "checking for connect in -lsocket... " >&6; } +if ${ac_cv_lib_socket_connect+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lsocket $X_EXTRA_LIBS $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC @@ -5335,13 +5312,6 @@ extern "C" #endif char connect (); -/* 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_connect || defined __stub___connect -choke me -#endif - int main () { @@ -5350,51 +5320,38 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_func_connect=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_socket_connect=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_connect=no + ac_cv_lib_socket_connect=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +LIBS=$ac_check_lib_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 +$as_echo "$ac_cv_lib_socket_connect" >&6; } +if test "x$ac_cv_lib_socket_connect" = xyes; then : + X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" fi -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext + fi + + # Guillermo Gomez says -lposix is necessary on A/UX. + ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" +if test "x$ac_cv_func_remove" = xyes; then : + fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 -echo "${ECHO_T}$ac_cv_func_connect" >&6; } - if test $ac_cv_func_connect = no; then - { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 -echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; } -if test "${ac_cv_lib_socket_connect+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + if test $ac_cv_func_remove = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 +$as_echo_n "checking for remove in -lposix... " >&6; } +if ${ac_cv_lib_posix_remove+:} false; then : + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lsocket $X_EXTRA_LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +LIBS="-lposix $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -5403,81 +5360,48 @@ #ifdef __cplusplus extern "C" #endif -char connect (); +char remove (); int main () { -return connect (); +return remove (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_socket_connect=yes +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_lib_posix_remove=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_socket_connect=no + ac_cv_lib_posix_remove=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 -echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; } -if test $ac_cv_lib_socket_connect = yes; then - X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 +$as_echo "$ac_cv_lib_posix_remove" >&6; } +if test "x$ac_cv_lib_posix_remove" = xyes; then : + X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" fi fi - # Guillermo Gomez says -lposix is necessary on A/UX. - { echo "$as_me:$LINENO: checking for remove" >&5 -echo $ECHO_N "checking for remove... $ECHO_C" >&6; } -if test "${ac_cv_func_remove+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 remove to an innocuous variant, in case declares remove. - For example, HP-UX 11i declares gettimeofday. */ -#define remove innocuous_remove - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char remove (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. + ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" +if test "x$ac_cv_func_shmat" = xyes; then : -#ifdef __STDC__ -# include -#else -# include -#endif +fi -#undef remove + if test $ac_cv_func_shmat = no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 +$as_echo_n "checking for shmat in -lipc... " >&6; } +if ${ac_cv_lib_ipc_shmat+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_check_lib_save_LIBS=$LIBS +LIBS="-lipc $LIBS" +cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC @@ -5485,227 +5409,7 @@ #ifdef __cplusplus extern "C" #endif -char remove (); -/* 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_remove || defined __stub___remove -choke me -#endif - -int -main () -{ -return remove (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_func_remove=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_remove=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 -echo "${ECHO_T}$ac_cv_func_remove" >&6; } - - if test $ac_cv_func_remove = no; then - { echo "$as_me:$LINENO: checking for remove in -lposix" >&5 -echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; } -if test "${ac_cv_lib_posix_remove+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lposix $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char remove (); -int -main () -{ -return remove (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_lib_posix_remove=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_posix_remove=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 -echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; } -if test $ac_cv_lib_posix_remove = yes; then - X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" -fi - - fi - - # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. - { echo "$as_me:$LINENO: checking for shmat" >&5 -echo $ECHO_N "checking for shmat... $ECHO_C" >&6; } -if test "${ac_cv_func_shmat+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 shmat to an innocuous variant, in case declares shmat. - For example, HP-UX 11i declares gettimeofday. */ -#define shmat innocuous_shmat - -/* System header to define __stub macros and hopefully few prototypes, - which can conflict with char shmat (); below. - Prefer to if __STDC__ is defined, since - exists even on freestanding compilers. */ - -#ifdef __STDC__ -# include -#else -# include -#endif - -#undef shmat - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shmat (); -/* 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_shmat || defined __stub___shmat -choke me -#endif - -int -main () -{ -return shmat (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_func_shmat=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_func_shmat=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 -echo "${ECHO_T}$ac_cv_func_shmat" >&6; } - - if test $ac_cv_func_shmat = no; then - { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 -echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; } -if test "${ac_cv_lib_ipc_shmat+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lipc $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char shmat (); +char shmat (); int main () { @@ -5714,39 +5418,18 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ipc_shmat=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ipc_shmat=no + ac_cv_lib_ipc_shmat=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 -echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; } -if test $ac_cv_lib_ipc_shmat = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 +$as_echo "$ac_cv_lib_ipc_shmat" >&6; } +if test "x$ac_cv_lib_ipc_shmat" = xyes; then : X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" fi @@ -5762,18 +5445,14 @@ # These have to be linked with before -lX11, unlike the other # libraries we check for below, so use a different variable. # John Interrante, Karl Berry - { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 -echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; } -if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 +$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } +if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : + $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lICE $X_EXTRA_LIBS $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. @@ -5791,39 +5470,18 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_ICE_IceConnectionNumber=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_lib_ICE_IceConnectionNumber=no + ac_cv_lib_ICE_IceConnectionNumber=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 -echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; } -if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 +$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } +if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" fi @@ -5843,7 +5501,7 @@ #--------------------------------------------------------------------------- # Check whether --with-docdir was given. -if test "${with_docdir+set}" = set; then +if test "${with_docdir+set}" = set; then : withval=$with_docdir; if test "x$withval" = xyes || test "x$withval" = xno; then docdir='${prefix}/share/doc/slrn' else @@ -5858,7 +5516,7 @@ # Check whether --with-slrnlib was given. -if test "${with_slrnlib+set}" = set; then +if test "${with_slrnlib+set}" = set; then : withval=$with_slrnlib; fi @@ -5876,7 +5534,7 @@ # Check whether --with-localedir was given. -if test "${with_localedir+set}" = set; then +if test "${with_localedir+set}" = set; then : withval=$with_localedir; fi @@ -5895,7 +5553,7 @@ SLRNPULL_ROOT_DIR="/var/spool/news/slrnpull" # Check whether --with-slrnpull was given. -if test "${with_slrnpull+set}" = set; then +if test "${with_slrnpull+set}" = set; then : withval=$with_slrnpull; if test "x$withval" != "xno" ; then optionvalue=1 SLRNPULL="slrnpull\$(EXEEXT)" @@ -5914,12 +5572,10 @@ # Check whether --with-server-name was given. -if test "${with_server_name+set}" = set; then +if test "${with_server_name+set}" = set; then : withval=$with_server_name; if test "x$withval" != "xno"; then if test "x$withval" = "xyes"; then - { { echo "$as_me:$LINENO: error: you must pass the hostname of the server to the option --with-server-name" >&5 -echo "$as_me: error: you must pass the hostname of the server to the option --with-server-name" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "you must pass the hostname of the server to the option --with-server-name" "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF #define NNTPSERVER_NAME "$withval" @@ -5931,12 +5587,10 @@ # Check whether --with-server-file was given. -if test "${with_server_file+set}" = set; then +if test "${with_server_file+set}" = set; then : withval=$with_server_file; if test "x$withval" != "xno"; then if test "x$withval" = "xyes"; then - { { echo "$as_me:$LINENO: error: you must pass the name of the file to the option --with-server-file" >&5 -echo "$as_me: error: you must pass the name of the file to the option --with-server-file" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "you must pass the name of the file to the option --with-server-file" "$LINENO" 5 fi cat >>confdefs.h <<_ACEOF #define NNTPSERVER_FILE "$withval" @@ -5951,7 +5605,7 @@ optionvalue=1 # Check whether --enable-nntp was given. -if test "${enable_nntp+set}" = set; then +if test "${enable_nntp+set}" = set; then : enableval=$enable_nntp; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -5968,7 +5622,7 @@ optionvalue=0 # Check whether --enable-spool was given. -if test "${enable_spool+set}" = set; then +if test "${enable_spool+set}" = set; then : enableval=$enable_spool; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -5985,7 +5639,7 @@ optionvalue=0 # Check whether --enable-inews was given. -if test "${enable_inews+set}" = set; then +if test "${enable_inews+set}" = set; then : enableval=$enable_inews; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -5999,61 +5653,15 @@ if test "x$enable_inews" = xyes ; then - # Extract the first word of "inews", so it can be a program name with args. -set dummy inews; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_INEWS+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - case $INEWS in - [\\/]* | ?:[\\/]*) - ac_cv_path_INEWS="$INEWS" # Let the user override the test with a path. - ;; - *) - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -as_dummy="$PATH:/usr/local/bin:/usr/bin" -for as_dir in $as_dummy -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then - ac_cv_path_INEWS="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 - break 2 - fi -done -done -IFS=$as_save_IFS - - test -z "$ac_cv_path_INEWS" && ac_cv_path_INEWS="no" - ;; -esac -fi -INEWS=$ac_cv_path_INEWS -if test -n "$INEWS"; then - { echo "$as_me:$LINENO: result: $INEWS" >&5 -echo "${ECHO_T}$INEWS" >&6; } -else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } -fi - - + ac_cv_path_INEWS=/usr/bin/inews if test "x$ac_cv_path_INEWS" != xno; then SLRN_INEWS_COMMAND="$ac_cv_path_INEWS -S -h" else - { { echo "$as_me:$LINENO: error: -I cannnot find an inews executable. When using --enable-inews, please make -sure inews can be found in your \$PATH. -" >&5 -echo "$as_me: error: + as_fn_error $? " I cannnot find an inews executable. When using --enable-inews, please make sure inews can be found in your \$PATH. -" >&2;} - { (exit 1); exit 1; }; } +" "$LINENO" 5 fi else SLRN_INEWS_COMMAND="/usr/local/bin/inews -S -h" @@ -6063,7 +5671,7 @@ optionvalue=0 # Check whether --enable-force-inews was given. -if test "${enable_force_inews+set}" = set; then +if test "${enable_force_inews+set}" = set; then : enableval=$enable_force_inews; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6080,7 +5688,7 @@ optionvalue=0 # Check whether --enable-strict-from was given. -if test "${enable_strict_from+set}" = set; then +if test "${enable_strict_from+set}" = set; then : enableval=$enable_strict_from; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6097,7 +5705,7 @@ optionvalue=1 # Check whether --enable-charmap was given. -if test "${enable_charmap+set}" = set; then +if test "${enable_charmap+set}" = set; then : enableval=$enable_charmap; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6114,7 +5722,7 @@ optionvalue=0 # Check whether --enable-setgid-code was given. -if test "${enable_setgid_code+set}" = set; then +if test "${enable_setgid_code+set}" = set; then : enableval=$enable_setgid_code; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6130,7 +5738,7 @@ optionvalue=1 # Check whether --enable-spoilers was given. -if test "${enable_spoilers+set}" = set; then +if test "${enable_spoilers+set}" = set; then : enableval=$enable_spoilers; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6146,7 +5754,7 @@ optionvalue=1 # Check whether --enable-emph-text was given. -if test "${enable_emph_text+set}" = set; then +if test "${enable_emph_text+set}" = set; then : enableval=$enable_emph_text; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6162,7 +5770,7 @@ optionvalue=1 # Check whether --enable-gen-mid was given. -if test "${enable_gen_mid+set}" = set; then +if test "${enable_gen_mid+set}" = set; then : enableval=$enable_gen_mid; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6178,7 +5786,7 @@ optionvalue=0 # Check whether --enable-mid-cache was given. -if test "${enable_mid_cache+set}" = set; then +if test "${enable_mid_cache+set}" = set; then : enableval=$enable_mid_cache; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6194,7 +5802,7 @@ optionvalue=1 # Check whether --enable-fake-refs was given. -if test "${enable_fake_refs+set}" = set; then +if test "${enable_fake_refs+set}" = set; then : enableval=$enable_fake_refs; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6210,7 +5818,7 @@ optionvalue=0 # Check whether --enable-grouplens was given. -if test "${enable_grouplens+set}" = set; then +if test "${enable_grouplens+set}" = set; then : enableval=$enable_grouplens; if test "x$enableval" = "xyes" ; then optionvalue=1 @@ -6262,7 +5870,7 @@ # Check whether --with-uu was given. -if test "${with_uu+set}" = set; then +if test "${with_uu+set}" = set; then : withval=$with_uu; jd_with_uu_arg=$withval else jd_with_uu_arg=unspecified @@ -6290,7 +5898,7 @@ # Check whether --with-uulib was given. -if test "${with_uulib+set}" = set; then +if test "${with_uulib+set}" = set; then : withval=$with_uulib; jd_with_uulib_arg=$withval else jd_with_uulib_arg=unspecified @@ -6302,9 +5910,7 @@ xno) ;; x) - { { echo "$as_me:$LINENO: error: --with-uulib requres a value" >&5 -echo "$as_me: error: --with-uulib requres a value" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "--with-uulib requres a value" "$LINENO" 5 ;; *) jd_with_uu_library="yes" @@ -6314,7 +5920,7 @@ # Check whether --with-uuinc was given. -if test "${with_uuinc+set}" = set; then +if test "${with_uuinc+set}" = set; then : withval=$with_uuinc; jd_with_uuinc_arg=$withval else jd_with_uuinc_arg=unspecified @@ -6322,9 +5928,7 @@ case "x$jd_with_uuinc_arg" in x) - { { echo "$as_me:$LINENO: error: --with-uuinc requres a value" >&5 -echo "$as_me: error: --with-uuinc requres a value" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "--with-uuinc requres a value" "$LINENO" 5 ;; xunspecified) ;; @@ -6336,8 +5940,8 @@ ;; esac - { echo "$as_me:$LINENO: checking for the uu library and header files uudeview.h" >&5 -echo $ECHO_N "checking for the uu library and header files uudeview.h... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the uu library and header files uudeview.h" >&5 +$as_echo_n "checking for the uu library and header files uudeview.h... " >&6; } if test X"$jd_with_uu_library" != Xno then jd_uu_inc_file=uudeview.h @@ -6411,8 +6015,8 @@ if test X"$jd_uu_include_dir" != X -a X"$jd_uu_library_dir" != X then - { echo "$as_me:$LINENO: result: yes: $jd_uu_library_dir and $jd_uu_include_dir" >&5 -echo "${ECHO_T}yes: $jd_uu_library_dir and $jd_uu_include_dir" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: $jd_uu_library_dir and $jd_uu_include_dir" >&5 +$as_echo "yes: $jd_uu_library_dir and $jd_uu_include_dir" >&6; } jd_with_uu_library="yes" UU_LIB=-L$jd_uu_library_dir if test "X$jd_uu_library_dir" = "X/usr/lib" @@ -6477,8 +6081,8 @@ UU_INC="" fi else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } jd_with_uu_library="no" UU_INC="" UU_LIB="" @@ -6489,9 +6093,7 @@ if test $jd_with_uu_library = yes then LINK_LIBUU="-luu" - cat >>confdefs.h <<\_ACEOF -#define HAVE_UUDEVIEW_H 1 -_ACEOF + $as_echo "#define HAVE_UUDEVIEW_H 1" >>confdefs.h optionvalue=1 else @@ -6516,7 +6118,7 @@ # Check whether --with-canlock was given. -if test "${with_canlock+set}" = set; then +if test "${with_canlock+set}" = set; then : withval=$with_canlock; jd_with_canlock_arg=$withval else jd_with_canlock_arg=unspecified @@ -6544,7 +6146,7 @@ # Check whether --with-canlocklib was given. -if test "${with_canlocklib+set}" = set; then +if test "${with_canlocklib+set}" = set; then : withval=$with_canlocklib; jd_with_canlocklib_arg=$withval else jd_with_canlocklib_arg=unspecified @@ -6556,9 +6158,7 @@ xno) ;; x) - { { echo "$as_me:$LINENO: error: --with-canlocklib requres a value" >&5 -echo "$as_me: error: --with-canlocklib requres a value" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "--with-canlocklib requres a value" "$LINENO" 5 ;; *) jd_with_canlock_library="yes" @@ -6568,7 +6168,7 @@ # Check whether --with-canlockinc was given. -if test "${with_canlockinc+set}" = set; then +if test "${with_canlockinc+set}" = set; then : withval=$with_canlockinc; jd_with_canlockinc_arg=$withval else jd_with_canlockinc_arg=unspecified @@ -6576,9 +6176,7 @@ case "x$jd_with_canlockinc_arg" in x) - { { echo "$as_me:$LINENO: error: --with-canlockinc requres a value" >&5 -echo "$as_me: error: --with-canlockinc requres a value" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "--with-canlockinc requres a value" "$LINENO" 5 ;; xunspecified) ;; @@ -6590,8 +6188,8 @@ ;; esac - { echo "$as_me:$LINENO: checking for the canlock library and header files " >&5 -echo $ECHO_N "checking for the canlock library and header files ... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the canlock library and header files " >&5 +$as_echo_n "checking for the canlock library and header files ... " >&6; } if test X"$jd_with_canlock_library" != Xno then jd_canlock_inc_file= @@ -6665,8 +6263,8 @@ if test X"$jd_canlock_include_dir" != X -a X"$jd_canlock_library_dir" != X then - { echo "$as_me:$LINENO: result: yes: $jd_canlock_library_dir and $jd_canlock_include_dir" >&5 -echo "${ECHO_T}yes: $jd_canlock_library_dir and $jd_canlock_include_dir" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: $jd_canlock_library_dir and $jd_canlock_include_dir" >&5 +$as_echo "yes: $jd_canlock_library_dir and $jd_canlock_include_dir" >&6; } jd_with_canlock_library="yes" CANLOCK_LIB=-L$jd_canlock_library_dir if test "X$jd_canlock_library_dir" = "X/usr/lib" @@ -6731,8 +6329,8 @@ CANLOCK_INC="" fi else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } jd_with_canlock_library="no" CANLOCK_INC="" CANLOCK_LIB="" @@ -6743,9 +6341,7 @@ if test $jd_with_canlock_library = yes then LINK_LIBCANLOCK="-lcanlock" - cat >>confdefs.h <<\_ACEOF -#define HAVE_CANLOCK_H 1 -_ACEOF + $as_echo "#define HAVE_CANLOCK_H 1" >>confdefs.h optionvalue=1 else @@ -6898,7 +6494,7 @@ # Check whether --with-gnu-ld was given. -if test "${with_gnu_ld+set}" = set; then +if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no @@ -6920,8 +6516,8 @@ ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. - { echo "$as_me:$LINENO: checking for ld used by GCC" >&5 -echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 +$as_echo_n "checking for ld used by GCC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw @@ -6950,14 +6546,14 @@ ;; esac elif test "$with_gnu_ld" = yes; then - { echo "$as_me:$LINENO: checking for GNU ld" >&5 -echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 +$as_echo_n "checking for GNU ld... " >&6; } else - { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 -echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 +$as_echo_n "checking for non-GNU ld... " >&6; } fi -if test "${acl_cv_path_LD+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +if ${acl_cv_path_LD+:} false; then : + $as_echo_n "(cached) " >&6 else if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" @@ -6984,19 +6580,17 @@ LD="$acl_cv_path_LD" if test -n "$LD"; then - { echo "$as_me:$LINENO: result: $LD" >&5 -echo "${ECHO_T}$LD" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 +$as_echo "$LD" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi -test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 -echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} - { (exit 1); exit 1; }; } -{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 -echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } -if test "${acl_cv_prog_gnu_ld+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 +$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +if ${acl_cv_prog_gnu_ld+:} false; then : + $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 &5 -echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 +$as_echo "$acl_cv_prog_gnu_ld" >&6; } with_gnu_ld=$acl_cv_prog_gnu_ld - { echo "$as_me:$LINENO: checking for shared library run path origin" >&5 -echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6; } -if test "${acl_cv_rpath+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 +$as_echo_n "checking for shared library run path origin... " >&6; } +if ${acl_cv_rpath+:} false; then : + $as_echo_n "(cached) " >&6 else CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ @@ -7026,8 +6620,8 @@ acl_cv_rpath=done fi -{ echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 -echo "${ECHO_T}$acl_cv_rpath" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 +$as_echo "$acl_cv_rpath" >&6; } wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" @@ -7036,7 +6630,7 @@ hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" # Check whether --enable-rpath was given. -if test "${enable_rpath+set}" = set; then +if test "${enable_rpath+set}" = set; then : enableval=$enable_rpath; : else enable_rpath=yes @@ -7084,7 +6678,7 @@ # Check whether --with-libiconv-prefix was given. -if test "${with_libiconv_prefix+set}" = set; then +if test "${with_libiconv_prefix+set}" = set; then : withval=$with_libiconv_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -7490,19 +7084,15 @@ done - { echo "$as_me:$LINENO: checking for iconv" >&5 -echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } -if test "${am_cv_func_iconv+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -7516,42 +7106,15 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -7565,53 +7128,28 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 -echo "${ECHO_T}$am_cv_func_iconv" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then -cat >>confdefs.h <<\_ACEOF -#define HAVE_ICONV 1 -_ACEOF +$as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then - { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 -echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: $LIBICONV" >&5 -echo "${ECHO_T}$LIBICONV" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= @@ -7621,17 +7159,13 @@ if test "$am_cv_func_iconv" = yes; then - { echo "$as_me:$LINENO: checking for iconv declaration" >&5 -echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6; } - if test "${am_cv_proto_iconv+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 +$as_echo_n "checking for iconv declaration... " >&6; } + if ${am_cv_proto_iconv+:} false; then : + $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -7654,39 +7188,19 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then +if ac_fn_c_try_compile "$LINENO"; then : am_cv_proto_iconv_arg1="" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - am_cv_proto_iconv_arg1="const" + am_cv_proto_iconv_arg1="const" fi - rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" fi am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` - { echo "$as_me:$LINENO: result: ${ac_t:- + { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- }$am_cv_proto_iconv" >&5 -echo "${ECHO_T}${ac_t:- +$as_echo "${ac_t:- }$am_cv_proto_iconv" >&6; } cat >>confdefs.h <<_ACEOF @@ -7729,17 +7243,17 @@ fi - { echo "$as_me:$LINENO: checking whether NLS is requested" >&5 -echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 +$as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. -if test "${enable_nls+set}" = set; then +if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi - { echo "$as_me:$LINENO: result: $USE_NLS" >&5 -echo "${ECHO_T}$USE_NLS" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } @@ -7776,10 +7290,10 @@ # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_MSGFMT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 else case "$MSGFMT" in [\\/]* | ?:[\\/]*) @@ -7808,19 +7322,19 @@ fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != ":"; then - { echo "$as_me:$LINENO: result: $MSGFMT" >&5 -echo "${ECHO_T}$MSGFMT" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 +$as_echo "$MSGFMT" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_GMSGFMT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_GMSGFMT+:} false; then : + $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) @@ -7832,14 +7346,14 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" @@ -7848,11 +7362,11 @@ fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then - { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 -echo "${ECHO_T}$GMSGFMT" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 +$as_echo "$GMSGFMT" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -7899,10 +7413,10 @@ # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_XGETTEXT+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_XGETTEXT+:} false; then : + $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in [\\/]* | ?:[\\/]*) @@ -7931,11 +7445,11 @@ fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then - { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 -echo "${ECHO_T}$XGETTEXT" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 +$as_echo "$XGETTEXT" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi rm -f messages.po @@ -7977,10 +7491,10 @@ # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_MSGMERGE+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_MSGMERGE+:} false; then : + $as_echo_n "(cached) " >&6 else case "$MSGMERGE" in [\\/]* | ?:[\\/]*) @@ -8008,11 +7522,11 @@ fi MSGMERGE="$ac_cv_path_MSGMERGE" if test "$MSGMERGE" != ":"; then - { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 -echo "${ECHO_T}$MSGMERGE" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 +$as_echo "$MSGMERGE" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -8045,18 +7559,14 @@ - { echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 -echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6; } -if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 +$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : + $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -8067,57 +7577,30 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFPreferencesCopyAppValue=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - gt_cv_func_CFPreferencesCopyAppValue=no + gt_cv_func_CFPreferencesCopyAppValue=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi -{ echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 -echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 +$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then -cat >>confdefs.h <<\_ACEOF -#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 -_ACEOF +$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h fi - { echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 -echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6; } -if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 +$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : + $as_echo_n "(cached) " >&6 else gt_save_LIBS="$LIBS" LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -8128,43 +7611,20 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_CFLocaleCopyCurrent=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - gt_cv_func_CFLocaleCopyCurrent=no + gt_cv_func_CFLocaleCopyCurrent=no fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS="$gt_save_LIBS" fi -{ echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 -echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 +$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } if test $gt_cv_func_CFLocaleCopyCurrent = yes; then -cat >>confdefs.h <<\_ACEOF -#define HAVE_CFLOCALECOPYCURRENT 1 -_ACEOF +$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h fi INTL_MACOSX_LIBS= @@ -8209,16 +7669,12 @@ gt_expression_test_code= fi - { echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 -echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6; } -if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 +$as_echo_n "checking for GNU gettext in libc... " >&6; } +if eval \${$gt_func_gnugettext_libc+:} false; then : + $as_echo_n "(cached) " >&6 else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code @@ -8233,38 +7689,17 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : eval "$gt_func_gnugettext_libc=yes" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$gt_func_gnugettext_libc=no" + eval "$gt_func_gnugettext_libc=no" fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext fi -ac_res=`eval echo '${'$gt_func_gnugettext_libc'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } +eval ac_res=\$$gt_func_gnugettext_libc + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then @@ -8297,19 +7732,15 @@ done - { echo "$as_me:$LINENO: checking for iconv" >&5 -echo $ECHO_N "checking for iconv... $ECHO_C" >&6; } -if test "${am_cv_func_iconv+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 +$as_echo_n "checking for iconv... " >&6; } +if ${am_cv_func_iconv+:} false; then : + $as_echo_n "(cached) " >&6 else am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_lib_iconv=no - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -8323,42 +7754,15 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : am_cv_func_iconv=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext if test "$am_cv_func_iconv" != yes; then am_save_LIBS="$LIBS" LIBS="$LIBS $LIBICONV" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include @@ -8372,53 +7776,28 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then +if ac_fn_c_try_link "$LINENO"; then : am_cv_lib_iconv=yes am_cv_func_iconv=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext LIBS="$am_save_LIBS" fi fi -{ echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 -echo "${ECHO_T}$am_cv_func_iconv" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 +$as_echo "$am_cv_func_iconv" >&6; } if test "$am_cv_func_iconv" = yes; then -cat >>confdefs.h <<\_ACEOF -#define HAVE_ICONV 1 -_ACEOF +$as_echo "#define HAVE_ICONV 1" >>confdefs.h fi if test "$am_cv_lib_iconv" = yes; then - { echo "$as_me:$LINENO: checking how to link with libiconv" >&5 -echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: $LIBICONV" >&5 -echo "${ECHO_T}$LIBICONV" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 +$as_echo_n "checking how to link with libiconv... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 +$as_echo "$LIBICONV" >&6; } else CPPFLAGS="$am_save_CPPFLAGS" LIBICONV= @@ -8446,7 +7825,7 @@ # Check whether --with-libintl-prefix was given. -if test "${with_libintl_prefix+set}" = set; then +if test "${with_libintl_prefix+set}" = set; then : withval=$with_libintl_prefix; if test "X$withval" = "Xno"; then use_additional=no @@ -8821,73 +8200,16 @@ done fi - { echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 -echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6; } -if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 +$as_echo_n "checking for GNU gettext in libintl... " >&6; } +if eval \${$gt_func_gnugettext_libintl+:} false; then : + $as_echo_n "(cached) " >&6 else gt_save_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $INCINTL" gt_save_LIBS="$LIBS" LIBS="$LIBS $LIBINTL" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -$gt_revision_test_code -extern int _nl_msg_cat_cntr; -extern -#ifdef __cplusplus -"C" -#endif -const char *_nl_expand_alias (const char *); -int -main () -{ -bindtextdomain ("", ""); -return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - eval "$gt_func_gnugettext_libintl=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$gt_func_gnugettext_libintl=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then - LIBS="$LIBS $LIBICONV" - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include $gt_revision_test_code @@ -8896,3685 +8218,734 @@ #ifdef __cplusplus "C" #endif -const char *_nl_expand_alias (const char *); -int -main () -{ -bindtextdomain ("", ""); -return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - LIBINTL="$LIBINTL $LIBICONV" - LTLIBINTL="$LTLIBINTL $LTLIBICONV" - eval "$gt_func_gnugettext_libintl=yes" - -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext - fi - CPPFLAGS="$gt_save_CPPFLAGS" - LIBS="$gt_save_LIBS" -fi -ac_res=`eval echo '${'$gt_func_gnugettext_libintl'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } - fi - - if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ - || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ - && test "$PACKAGE" != gettext-runtime \ - && test "$PACKAGE" != gettext-tools; }; then - gt_use_preinstalled_gnugettext=yes - else - LIBINTL= - LTLIBINTL= - INCINTL= - fi - - - - if test -n "$INTL_MACOSX_LIBS"; then - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" - LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" - fi - fi - - if test "$gt_use_preinstalled_gnugettext" = "yes" \ - || test "$nls_cv_use_gnu_gettext" = "yes"; then - -cat >>confdefs.h <<\_ACEOF -#define ENABLE_NLS 1 -_ACEOF - - else - USE_NLS=no - fi - fi - - { echo "$as_me:$LINENO: checking whether to use NLS" >&5 -echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: $USE_NLS" >&5 -echo "${ECHO_T}$USE_NLS" >&6; } - if test "$USE_NLS" = "yes"; then - { echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 -echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6; } - if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then - gt_source="external libintl" - else - gt_source="libc" - fi - else - gt_source="included intl directory" - fi - { echo "$as_me:$LINENO: result: $gt_source" >&5 -echo "${ECHO_T}$gt_source" >&6; } - fi - - if test "$USE_NLS" = "yes"; then - - if test "$gt_use_preinstalled_gnugettext" = "yes"; then - if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then - { echo "$as_me:$LINENO: checking how to link with libintl" >&5 -echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6; } - { echo "$as_me:$LINENO: result: $LIBINTL" >&5 -echo "${ECHO_T}$LIBINTL" >&6; } - - for element in $INCINTL; do - haveit= - for x in $CPPFLAGS; do - - acl_save_prefix="$prefix" - prefix="$acl_final_prefix" - acl_save_exec_prefix="$exec_prefix" - exec_prefix="$acl_final_exec_prefix" - eval x=\"$x\" - exec_prefix="$acl_save_exec_prefix" - prefix="$acl_save_prefix" - - if test "X$x" = "X$element"; then - haveit=yes - break - fi - done - if test -z "$haveit"; then - CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" - fi - done - - fi - - -cat >>confdefs.h <<\_ACEOF -#define HAVE_GETTEXT 1 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define HAVE_DCGETTEXT 1 -_ACEOF - - fi - - POSUB=po - fi - - - - INTLLIBS="$LIBINTL" - - - - - - - - -# Check whether --with-non-gnu-iconv was given. -if test "${with_non_gnu_iconv+set}" = set; then - withval=$with_non_gnu_iconv; use_non_gnu_iconv=$withval -else - use_non_gnu_iconv=no -fi - -case "x$use_non_gnu_iconv" in -x|xyes) - cat >>confdefs.h <<\_ACEOF -#define NON_GNU_ICONV 1 -_ACEOF - ;; -esac - -#--------------------------------------------------------------------------- -# SSL stuff -#--------------------------------------------------------------------------- - -# Check whether --with-nss-compat was given. -if test "${with_nss_compat+set}" = set; then - withval=$with_nss_compat; use_nss_compat=$withval -else - use_nss_compat=no -fi - - -# Check whether --with-gnutls was given. -if test "${with_gnutls+set}" = set; then - withval=$with_gnutls; use_gnutls=$withval; jd_use_ssl=$withval -else - use_gnutls=no -fi - -{ echo "$as_me:$LINENO: checking if you want SSL support" >&5 -echo $ECHO_N "checking if you want SSL support... $ECHO_C" >&6; } -if test "${jd_use_ssl+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - - -# Check whether --with-ssl was given. -if test "${with_ssl+set}" = set; then - withval=$with_ssl; jd_use_ssl=$withval -else - jd_use_ssl=no -fi - - -fi -{ echo "$as_me:$LINENO: result: $jd_use_ssl" >&5 -echo "${ECHO_T}$jd_use_ssl" >&6; } -case "x$jd_use_ssl" in -xno) - SSLINC= - SSLLIB= - ;; -x|xyes) - if test "x$use_nss_compat" != xno - then - SSLINC="-I/usr/local/include/nss_compat_ossl -I/usr/local/include/nss3 -I/usr/local/include/nspr4" - SSLLIB="-L/usr/local/lib -lnss_compat_ossl" - elif test "x$use_gnutls" != xno - then - SSLINC= - SSLLIB="-lgnutls-openssl" - else - SSLINC="-I/usr/local/ssl/include" - SSLLIB="-L/usr/local/ssl/lib -lssl -lcrypto" - fi -;; -*) - if test "x$use_nss_compat" != xno; then - SSLINC="-I$jd_use_ssl/include/nss_compat_ossl -I$jd_use_ssl/include/nss3 -I$jd_use_ssl/include/nspr4" - SSLLIB="-L$jd_use_ssl/lib -lnss_compat_ossl" - elif test "x$use_gnutls" != xno - then - SSLINC="-I$jd_use_ssl/include" - SSLLIB="-L$jd_use_ssl/lib -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl" - else - SSLINC="-I$jd_use_ssl/include" - SSLLIB="-L$jd_use_ssl/lib -lssl -lcrypto" - fi -esac - - -if test "x$SSLINC$SSLLIB" != x; then - cat >>confdefs.h <<\_ACEOF -#define USE_SSL 1 -_ACEOF - - if test "x$use_nss_compat" != xno; then - cat >>confdefs.h <<\_ACEOF -#define USE_NSS_COMPAT 1 -_ACEOF - - fi - if test "x$use_gnutls" != xno; then - cat >>confdefs.h <<\_ACEOF -#define USE_GNUTLS 1 -_ACEOF - - fi -fi - -#--------------------------------------------------------------------------- -# Check head files -#--------------------------------------------------------------------------- - -{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5 -echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } -if test "${ac_cv_header_stdc+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#include -#include - -int -main () -{ - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_header_stdc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_header_stdc=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - -if test $ac_cv_header_stdc = yes; then - # SunOS 4.x string.h does not declare mem*, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "memchr" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "free" >/dev/null 2>&1; then - : -else - ac_cv_header_stdc=no -fi -rm -f conftest* - -fi - -if test $ac_cv_header_stdc = yes; then - # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. - if test "$cross_compiling" = yes; then - : -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include -#if ((' ' & 0x0FF) == 0x020) -# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') -# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) -#else -# define ISLOWER(c) \ - (('a' <= (c) && (c) <= 'i') \ - || ('j' <= (c) && (c) <= 'r') \ - || ('s' <= (c) && (c) <= 'z')) -# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) -#endif - -#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) -int -main () -{ - int i; - for (i = 0; i < 256; i++) - if (XOR (islower (i), ISLOWER (i)) - || toupper (i) != TOUPPER (i)) - return 2; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - : -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -ac_cv_header_stdc=no -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi - - -fi -fi -{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 -echo "${ECHO_T}$ac_cv_header_stdc" >&6; } -if test $ac_cv_header_stdc = yes; then - -cat >>confdefs.h <<\_ACEOF -#define STDC_HEADERS 1 -_ACEOF - -fi - -# On IRIX 5.3, sys/types and inttypes.h are conflicting. - - - - - - - - - -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ - inttypes.h stdint.h unistd.h -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - - - - - - - - - - - - - - - - - - - - - -for ac_header in \ -direct.h \ -stdlib.h \ -unistd.h \ -memory.h \ -fcntl.h \ -sys/fcntl.h \ -sys/dir.h \ -ndir.h \ -sys/ndir.h \ -malloc.h \ -termios.h \ -sys/socket.h \ -sys/time.h \ -socket.h \ -sys/wait.h \ -netinet/in.h \ -arpa/inet.h \ -sys/utsname.h \ -locale.h langinfo.h \ - -do -as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - { echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -else - # Is the header compilable? -{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 -echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -#include <$ac_header> -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_header_compiler=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_compiler=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 -echo "${ECHO_T}$ac_header_compiler" >&6; } - -# Is the header present? -{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 -echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include <$ac_header> -_ACEOF -if { (ac_try="$ac_cpp conftest.$ac_ext" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } >/dev/null && { - test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || - test ! -s conftest.err - }; then - ac_header_preproc=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_header_preproc=no -fi - -rm -f conftest.err conftest.$ac_ext -{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 -echo "${ECHO_T}$ac_header_preproc" >&6; } - -# So? What about this header? -case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) - { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) - { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 -echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} - - ;; -esac -{ echo "$as_me:$LINENO: checking for $ac_header" >&5 -echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - eval "$as_ac_Header=\$ac_header_preproc" -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } - -fi -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 -_ACEOF - -fi - -done - - -#AC_CHECK_LIB(socket, socket, [LIBSOCKET="-lnsl -lsocket"]) dnl for Solaris -#AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS -#AC_SUBST(LIBSOCKET) - - - - - - -ac_header_dirent=no -for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do - as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` -{ echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5 -echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; } -if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include -#include <$ac_hdr> - -int -main () -{ -if ((DIR *) 0) -return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - eval "$as_ac_Header=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - eval "$as_ac_Header=no" -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -ac_res=`eval echo '${'$as_ac_Header'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_Header'}'` = yes; then - cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 -_ACEOF - -ac_header_dirent=$ac_hdr; break -fi - -done -# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. -if test $ac_header_dirent = dirent.h; then - { echo "$as_me:$LINENO: checking for library containing opendir" >&5 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } -if test "${ac_cv_search_opendir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char opendir (); -int -main () -{ -return opendir (); - ; - return 0; -} -_ACEOF -for ac_lib in '' dir; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_search_opendir=$ac_res -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_opendir+set}" = set; then - break -fi -done -if test "${ac_cv_search_opendir+set}" = set; then - : -else - ac_cv_search_opendir=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 -echo "${ECHO_T}$ac_cv_search_opendir" >&6; } -ac_res=$ac_cv_search_opendir -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -else - { echo "$as_me:$LINENO: checking for library containing opendir" >&5 -echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; } -if test "${ac_cv_search_opendir+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_func_search_save_LIBS=$LIBS -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char opendir (); -int -main () -{ -return opendir (); - ; - return 0; -} -_ACEOF -for ac_lib in '' x; do - if test -z "$ac_lib"; then - ac_res="none required" - else - ac_res=-l$ac_lib - LIBS="-l$ac_lib $ac_func_search_save_LIBS" - fi - rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - ac_cv_search_opendir=$ac_res -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - -fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext - if test "${ac_cv_search_opendir+set}" = set; then - break -fi -done -if test "${ac_cv_search_opendir+set}" = set; then - : -else - ac_cv_search_opendir=no -fi -rm conftest.$ac_ext -LIBS=$ac_func_search_save_LIBS -fi -{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5 -echo "${ECHO_T}$ac_cv_search_opendir" >&6; } -ac_res=$ac_cv_search_opendir -if test "$ac_res" != no; then - test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - -fi - -fi - - -{ echo "$as_me:$LINENO: checking for mode_t" >&5 -echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } -if test "${ac_cv_type_mode_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef mode_t ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_mode_t=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_mode_t=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5 -echo "${ECHO_T}$ac_cv_type_mode_t" >&6; } -if test $ac_cv_type_mode_t = yes; then - : -else - -cat >>confdefs.h <<_ACEOF -#define mode_t int -_ACEOF - -fi - -{ echo "$as_me:$LINENO: checking for pid_t" >&5 -echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; } -if test "${ac_cv_type_pid_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef pid_t ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_pid_t=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_pid_t=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 -echo "${ECHO_T}$ac_cv_type_pid_t" >&6; } -if test $ac_cv_type_pid_t = yes; then - : -else - -cat >>confdefs.h <<_ACEOF -#define pid_t int -_ACEOF - -fi - -{ echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5 -echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; } -if test "${ac_cv_type_uid_t+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -#include - -_ACEOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - $EGREP "uid_t" >/dev/null 2>&1; then - ac_cv_type_uid_t=yes -else - ac_cv_type_uid_t=no -fi -rm -f conftest* - -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5 -echo "${ECHO_T}$ac_cv_type_uid_t" >&6; } -if test $ac_cv_type_uid_t = no; then - -cat >>confdefs.h <<\_ACEOF -#define uid_t int -_ACEOF - - -cat >>confdefs.h <<\_ACEOF -#define gid_t int -_ACEOF - -fi - - -#dnl Eventually, this should go away. We don't need long doubles. It is -#dnl here for the snprintf code. -{ echo "$as_me:$LINENO: checking for long double" >&5 -echo $ECHO_N "checking for long double... $ECHO_C" >&6; } -if test "${ac_cv_type_long_double+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef long double ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_long_double=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_long_double=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_long_double" >&5 -echo "${ECHO_T}$ac_cv_type_long_double" >&6; } - - -{ echo "$as_me:$LINENO: checking for short" >&5 -echo $ECHO_N "checking for short... $ECHO_C" >&6; } -if test "${ac_cv_type_short+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef short ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_short=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_short=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 -echo "${ECHO_T}$ac_cv_type_short" >&6; } - -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ echo "$as_me:$LINENO: checking size of short" >&5 -echo $ECHO_N "checking size of short... $ECHO_C" >&6; } -if test "${ac_cv_sizeof_short+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef short ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef short ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef short ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef short ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef short ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_short=$ac_lo;; -'') if test "$ac_cv_type_short" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (short) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_short=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef short ac__type_sizeof_; -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (ac__type_sizeof_))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%ld\n", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%lu\n", i); - } - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_short=`cat conftest.val` -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_short" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (short) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_short=0 - fi -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 -echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_SHORT $ac_cv_sizeof_short -_ACEOF - - -{ echo "$as_me:$LINENO: checking for int" >&5 -echo $ECHO_N "checking for int... $ECHO_C" >&6; } -if test "${ac_cv_type_int+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef int ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_int=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_int=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 -echo "${ECHO_T}$ac_cv_type_int" >&6; } - -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ echo "$as_me:$LINENO: checking size of int" >&5 -echo $ECHO_N "checking size of int... $ECHO_C" >&6; } -if test "${ac_cv_sizeof_int+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef int ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef int ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef int ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef int ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef int ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_int=$ac_lo;; -'') if test "$ac_cv_type_int" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (int) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_int=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef int ac__type_sizeof_; -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (ac__type_sizeof_))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%ld\n", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%lu\n", i); - } - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_int=`cat conftest.val` -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_int" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (int) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_int=0 - fi -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 -echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_INT $ac_cv_sizeof_int -_ACEOF - - -{ echo "$as_me:$LINENO: checking for long" >&5 -echo $ECHO_N "checking for long... $ECHO_C" >&6; } -if test "${ac_cv_type_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef long ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_long=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_long=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 -echo "${ECHO_T}$ac_cv_type_long" >&6; } - -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ echo "$as_me:$LINENO: checking size of long" >&5 -echo $ECHO_N "checking size of long... $ECHO_C" >&6; } -if test "${ac_cv_sizeof_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_long=$ac_lo;; -'') if test "$ac_cv_type_long" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_long=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long ac__type_sizeof_; -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } -#include -#include -int -main () -{ - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (ac__type_sizeof_))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%ld\n", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%lu\n", i); - } - return ferror (f) || fclose (f) != 0; - - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_long=`cat conftest.val` -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_long" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_long=0 - fi -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val -fi -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 -echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } - - - -cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG $ac_cv_sizeof_long -_ACEOF - - -{ echo "$as_me:$LINENO: checking for float" >&5 -echo $ECHO_N "checking for float... $ECHO_C" >&6; } -if test "${ac_cv_type_float+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef float ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_float=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_cv_type_float=no -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_float" >&5 -echo "${ECHO_T}$ac_cv_type_float" >&6; } - -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ echo "$as_me:$LINENO: checking size of float" >&5 -echo $ECHO_N "checking size of float... $ECHO_C" >&6; } -if test "${ac_cv_sizeof_float+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef float ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef float ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef float ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef float ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; -test_array [0] = 0 - - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo= ac_hi= -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef float ac__type_sizeof_; +const char *_nl_expand_alias (const char *); int main () { -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid +if ac_fn_c_try_link "$LINENO"; then : + eval "$gt_func_gnugettext_libintl=yes" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - ac_lo=`expr '(' $ac_mid ')' + 1` + eval "$gt_func_gnugettext_libintl=no" fi - -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_float=$ac_lo;; -'') if test "$ac_cv_type_float" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (float) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (float) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_float=0 - fi ;; -esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default - typedef float ac__type_sizeof_; -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } -#include -#include +#include +$gt_revision_test_code +extern int _nl_msg_cat_cntr; +extern +#ifdef __cplusplus +"C" +#endif +const char *_nl_expand_alias (const char *); int main () { - - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (ac__type_sizeof_))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%ld\n", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%lu\n", i); - } - return ferror (f) || fclose (f) != 0; - +bindtextdomain ("", ""); +return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") ; return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_float=`cat conftest.val` -else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +if ac_fn_c_try_link "$LINENO"; then : + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" -( exit $ac_status ) -if test "$ac_cv_type_float" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (float) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (float) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_float=0 - fi -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi -rm -f conftest.val +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" fi -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5 -echo "${ECHO_T}$ac_cv_sizeof_float" >&6; } +eval ac_res=\$$gt_func_gnugettext_libintl + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } + fi + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ + || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ + && test "$PACKAGE" != gettext-runtime \ + && test "$PACKAGE" != gettext-tools; }; then + gt_use_preinstalled_gnugettext=yes + else + LIBINTL= + LTLIBINTL= + INCINTL= + fi -cat >>confdefs.h <<_ACEOF -#define SIZEOF_FLOAT $ac_cv_sizeof_float -_ACEOF + if test -n "$INTL_MACOSX_LIBS"; then + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" + LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" + fi + fi -{ echo "$as_me:$LINENO: checking for double" >&5 -echo $ECHO_N "checking for double... $ECHO_C" >&6; } -if test "${ac_cv_type_double+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef double ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_double=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then - ac_cv_type_double=no -fi +$as_echo "#define ENABLE_NLS 1" >>confdefs.h -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_double" >&5 -echo "${ECHO_T}$ac_cv_type_double" >&6; } + else + USE_NLS=no + fi + fi -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ echo "$as_me:$LINENO: checking size of double" >&5 -echo $ECHO_N "checking size of double... $ECHO_C" >&6; } -if test "${ac_cv_sizeof_double+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef double ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; -test_array [0] = 0 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 +$as_echo_n "checking whether to use NLS... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 +$as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 +$as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + gt_source="external libintl" + else + gt_source="libc" + fi + else + gt_source="included intl directory" + fi + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 +$as_echo "$gt_source" >&6; } + fi - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef double ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 + if test "$USE_NLS" = "yes"; then - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 +$as_echo_n "checking how to link with libintl... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 +$as_echo "$LIBINTL" >&6; } - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` -fi + for element in $INCINTL; do + haveit= + for x in $CPPFLAGS; do -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + acl_save_prefix="$prefix" + prefix="$acl_final_prefix" + acl_save_exec_prefix="$exec_prefix" + exec_prefix="$acl_final_exec_prefix" + eval x=\"$x\" + exec_prefix="$acl_save_exec_prefix" + prefix="$acl_save_prefix" + + if test "X$x" = "X$element"; then + haveit=yes + break + fi + done + if test -z "$haveit"; then + CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" + fi done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef double ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; -test_array [0] = 0 + fi - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef double ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; -test_array [0] = 0 - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 +$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h + + +$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h + + fi + + POSUB=po + fi - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_lo= ac_hi= -fi + INTLLIBS="$LIBINTL" + -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef double ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_lo=`expr '(' $ac_mid ')' + 1` + + + +# Check whether --with-non-gnu-iconv was given. +if test "${with_non_gnu_iconv+set}" = set; then : + withval=$with_non_gnu_iconv; use_non_gnu_iconv=$withval +else + use_non_gnu_iconv=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_double=$ac_lo;; -'') if test "$ac_cv_type_double" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (double) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (double) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_double=0 - fi ;; +case "x$use_non_gnu_iconv" in +x|xyes) + $as_echo "#define NON_GNU_ICONV 1" >>confdefs.h + ;; esac -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef double ac__type_sizeof_; -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } -#include -#include -int -main () -{ - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (ac__type_sizeof_))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%ld\n", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%lu\n", i); - } - return ferror (f) || fclose (f) != 0; +#--------------------------------------------------------------------------- +# SSL stuff +#--------------------------------------------------------------------------- - ; - return 0; -} -_ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_double=`cat conftest.val` +# Check whether --with-nss-compat was given. +if test "${with_nss_compat+set}" = set; then : + withval=$with_nss_compat; use_nss_compat=$withval else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -if test "$ac_cv_type_double" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (double) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (double) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_double=0 - fi -fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val + use_nss_compat=no fi -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_double" >&5 -echo "${ECHO_T}$ac_cv_sizeof_double" >&6; } +# Check whether --with-gnutls was given. +if test "${with_gnutls+set}" = set; then : + withval=$with_gnutls; use_gnutls=$withval; jd_use_ssl=$withval +else + use_gnutls=no +fi -cat >>confdefs.h <<_ACEOF -#define SIZEOF_DOUBLE $ac_cv_sizeof_double -_ACEOF +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if you want SSL support" >&5 +$as_echo_n "checking if you want SSL support... " >&6; } +if ${jd_use_ssl+:} false; then : + $as_echo_n "(cached) " >&6 +else +# Check whether --with-ssl was given. +if test "${with_ssl+set}" = set; then : + withval=$with_ssl; jd_use_ssl=$withval +else + jd_use_ssl=no +fi - { echo "$as_me:$LINENO: checking for long long" >&5 -echo $ECHO_N "checking for long long... $ECHO_C" >&6; } -if test "${ac_cv_type_long_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef long long ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $jd_use_ssl" >&5 +$as_echo "$jd_use_ssl" >&6; } +case "x$jd_use_ssl" in +xno) + SSLINC= + SSLLIB= + ;; +x|xyes) + if test "x$use_nss_compat" != xno + then + SSLINC="-I/usr/local/include/nss_compat_ossl -I/usr/local/include/nss3 -I/usr/local/include/nspr4" + SSLLIB="-L/usr/local/lib -lnss_compat_ossl" + elif test "x$use_gnutls" != xno + then + SSLINC= + SSLLIB="-lgnutls-openssl" + else + SSLINC="-I/usr/local/ssl/include" + SSLLIB="-L/usr/local/ssl/lib -lssl -lcrypto" + fi +;; +*) + if test "x$use_nss_compat" != xno; then + SSLINC="-I$jd_use_ssl/include/nss_compat_ossl -I$jd_use_ssl/include/nss3 -I$jd_use_ssl/include/nspr4" + SSLLIB="-L$jd_use_ssl/lib -lnss_compat_ossl" + elif test "x$use_gnutls" != xno + then + SSLINC="-I$jd_use_ssl/include" + SSLLIB="-L$jd_use_ssl/lib -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl" + else + SSLINC="-I$jd_use_ssl/include" + SSLLIB="-L$jd_use_ssl/lib -lssl -lcrypto" + fi esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_long_long=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_type_long_long=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 -echo "${ECHO_T}$ac_cv_type_long_long" >&6; } -if test $ac_cv_type_long_long = yes; then +if test "x$SSLINC$SSLLIB" != x; then + $as_echo "#define USE_SSL 1" >>confdefs.h -cat >>confdefs.h <<_ACEOF -#define HAVE_LONG_LONG 1 -_ACEOF + if test "x$use_nss_compat" != xno; then + $as_echo "#define USE_NSS_COMPAT 1" >>confdefs.h + fi + if test "x$use_gnutls" != xno; then + $as_echo "#define USE_GNUTLS 1" >>confdefs.h + fi fi - { echo "$as_me:$LINENO: checking for long long" >&5 -echo $ECHO_N "checking for long long... $ECHO_C" >&6; } -if test "${ac_cv_type_long_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default -typedef long long ac__type_new_; -int -main () -{ -if ((ac__type_new_ *) 0) - return 0; -if (sizeof (ac__type_new_)) - return 0; - ; - return 0; -} +#--------------------------------------------------------------------------- +# Check head files +#--------------------------------------------------------------------------- + +for ac_header in \ +direct.h \ +stdlib.h \ +unistd.h \ +memory.h \ +fcntl.h \ +sys/fcntl.h \ +sys/dir.h \ +ndir.h \ +sys/ndir.h \ +malloc.h \ +termios.h \ +sys/socket.h \ +sys/time.h \ +socket.h \ +sys/wait.h \ +netinet/in.h \ +arpa/inet.h \ +sys/utsname.h \ +locale.h langinfo.h \ + +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_cv_type_long_long=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_cv_type_long_long=no fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi -{ echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 -echo "${ECHO_T}$ac_cv_type_long_long" >&6; } +done -# The cast to long int works around a bug in the HP C Compiler -# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects -# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. -# This bug is HP SR number 8606223364. -{ echo "$as_me:$LINENO: checking size of long long" >&5 -echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } -if test "${ac_cv_sizeof_long_long+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - if test "$cross_compiling" = yes; then - # Depending upon the size, compute the lo and hi bounds. -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; -test_array [0] = 0 - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=0 ac_mid=0 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +#AC_CHECK_LIB(socket, socket, [LIBSOCKET="-lnsl -lsocket"]) dnl for Solaris +#AC_CHECK_LIB(bsd, gethostbyname, [LIBSOCKET="-lbsd"]) dnl for LynxOS +#AC_SUBST(LIBSOCKET) + +ac_header_dirent=no +for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do + as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh` +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5 +$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; } +if eval \${$as_ac_Header+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default - typedef long long ac__type_sizeof_; +#include +#include <$ac_hdr> + int main () { -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 - +if ((DIR *) 0) +return 0; ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid; break +if ac_fn_c_try_compile "$LINENO"; then : + eval "$as_ac_Header=yes" else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + eval "$as_ac_Header=no" +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +fi +eval ac_res=\$$as_ac_Header + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +$as_echo "$ac_res" >&6; } +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1 +_ACEOF - ac_lo=`expr $ac_mid + 1` - if test $ac_lo -le $ac_mid; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid + 1` +ac_header_dirent=$ac_hdr; break fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done +done +# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. +if test $ac_header_dirent = dirent.h; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 +$as_echo_n "checking for library containing opendir... " >&6; } +if ${ac_cv_search_opendir+:} false; then : + $as_echo_n "(cached) " >&6 else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default - typedef long long ac__type_sizeof_; + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char opendir (); int main () { -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; -test_array [0] = 0 - +return opendir (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=-1 ac_mid=-1 - while :; do - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +for ac_lib in '' dir; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_opendir=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_opendir+:} false; then : + break +fi +done +if ${ac_cv_search_opendir+:} false; then : + +else + ac_cv_search_opendir=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 +$as_echo "$ac_cv_search_opendir" >&6; } +ac_res=$ac_cv_search_opendir +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + +fi + +else + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5 +$as_echo_n "checking for library containing opendir... " >&6; } +if ${ac_cv_search_opendir+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_func_search_save_LIBS=$LIBS +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default - typedef long long ac__type_sizeof_; + +/* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC + builtin and then its argument prototype would still apply. */ +#ifdef __cplusplus +extern "C" +#endif +char opendir (); int main () { -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; -test_array [0] = 0 - +return opendir (); ; return 0; } _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_lo=$ac_mid; break +for ac_lib in '' x; do + if test -z "$ac_lib"; then + ac_res="none required" + else + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi + if ac_fn_c_try_link "$LINENO"; then : + ac_cv_search_opendir=$ac_res +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext + if ${ac_cv_search_opendir+:} false; then : + break +fi +done +if ${ac_cv_search_opendir+:} false; then : + else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_search_opendir=no +fi +rm conftest.$ac_ext +LIBS=$ac_func_search_save_LIBS +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5 +$as_echo "$ac_cv_search_opendir" >&6; } +ac_res=$ac_cv_search_opendir +if test "$ac_res" != no; then : + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" - ac_hi=`expr '(' $ac_mid ')' - 1` - if test $ac_mid -le $ac_hi; then - ac_lo= ac_hi= - break - fi - ac_mid=`expr 2 '*' $ac_mid` fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext - done +fi + + +ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" +if test "x$ac_cv_type_mode_t" = xyes; then : + else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - ac_lo= ac_hi= -fi +cat >>confdefs.h <<_ACEOF +#define mode_t int +_ACEOF -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -# Binary search between lo and hi bounds. -while test "x$ac_lo" != "x$ac_hi"; do - ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ +ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" +if test "x$ac_cv_type_pid_t" = xyes; then : + +else + +cat >>confdefs.h <<_ACEOF +#define pid_t int _ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + +fi + +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5 +$as_echo_n "checking for uid_t in sys/types.h... " >&6; } +if ${ac_cv_type_uid_t+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -$ac_includes_default - typedef long long ac__type_sizeof_; -int -main () -{ -static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; -test_array [0] = 0 +#include - ; - return 0; -} _ACEOF -rm -f conftest.$ac_objext -if { (ac_try="$ac_compile" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_compile") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then - ac_hi=$ac_mid +if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | + $EGREP "uid_t" >/dev/null 2>&1; then : + ac_cv_type_uid_t=yes else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + ac_cv_type_uid_t=no +fi +rm -f conftest* - ac_lo=`expr '(' $ac_mid ')' + 1` fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5 +$as_echo "$ac_cv_type_uid_t" >&6; } +if test $ac_cv_type_uid_t = no; then + +$as_echo "#define uid_t int" >>confdefs.h + + +$as_echo "#define gid_t int" >>confdefs.h + +fi + + +#dnl Eventually, this should go away. We don't need long doubles. It is +#dnl here for the snprintf code. +ac_fn_c_check_type "$LINENO" "long double" "ac_cv_type_long_double" "$ac_includes_default" +if test "x$ac_cv_type_long_double" = xyes; then : + +fi + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 +$as_echo_n "checking size of short... " >&6; } +if ${ac_cv_sizeof_short+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -done -case $ac_lo in -?*) ac_cv_sizeof_long_long=$ac_lo;; -'') if test "$ac_cv_type_long_long" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } - else - ac_cv_sizeof_long_long=0 - fi ;; -esac else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -$ac_includes_default - typedef long long ac__type_sizeof_; -static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } -static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } -#include -#include -int -main () -{ + if test "$ac_cv_type_short" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (short) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_short=0 + fi +fi - FILE *f = fopen ("conftest.val", "w"); - if (! f) - return 1; - if (((long int) (sizeof (ac__type_sizeof_))) < 0) - { - long int i = longval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%ld\n", i); - } - else - { - unsigned long int i = ulongval (); - if (i != ((long int) (sizeof (ac__type_sizeof_)))) - return 1; - fprintf (f, "%lu\n", i); - } - return ferror (f) || fclose (f) != 0; +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 +$as_echo "$ac_cv_sizeof_short" >&6; } - ; - return 0; -} + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_SHORT $ac_cv_sizeof_short _ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_sizeof_long_long=`cat conftest.val` + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +$as_echo_n "checking size of int... " >&6; } +if ${ac_cv_sizeof_int+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : + else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 + if test "$ac_cv_type_int" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (int) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_int=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +$as_echo "$ac_cv_sizeof_int" >&6; } + + + +cat >>confdefs.h <<_ACEOF +#define SIZEOF_INT $ac_cv_sizeof_int +_ACEOF + + +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +$as_echo_n "checking size of long... " >&6; } +if ${ac_cv_sizeof_long+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : -( exit $ac_status ) -if test "$ac_cv_type_long_long" = yes; then - { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot compute sizeof (long long) -See \`config.log' for more details." >&2;} - { (exit 77); exit 77; }; } +else + if test "$ac_cv_type_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long) +See \`config.log' for more details" "$LINENO" 5; } else - ac_cv_sizeof_long_long=0 + ac_cv_sizeof_long=0 fi fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext -fi -rm -f conftest.val + fi -{ echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 -echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +$as_echo "$ac_cv_sizeof_long" >&6; } cat >>confdefs.h <<_ACEOF -#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long +#define SIZEOF_LONG $ac_cv_sizeof_long _ACEOF +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5 +$as_echo_n "checking size of float... " >&6; } +if ${ac_cv_sizeof_float+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float" "$ac_includes_default"; then : + +else + if test "$ac_cv_type_float" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (float) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_float=0 + fi +fi + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5 +$as_echo "$ac_cv_sizeof_float" >&6; } +cat >>confdefs.h <<_ACEOF +#define SIZEOF_FLOAT $ac_cv_sizeof_float +_ACEOF +# The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of double" >&5 +$as_echo_n "checking size of double... " >&6; } +if ${ac_cv_sizeof_double+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (double))" "ac_cv_sizeof_double" "$ac_includes_default"; then : +else + if test "$ac_cv_type_double" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (double) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_double=0 + fi +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_double" >&5 +$as_echo "$ac_cv_sizeof_double" >&6; } +cat >>confdefs.h <<_ACEOF +#define SIZEOF_DOUBLE $ac_cv_sizeof_double +_ACEOF + ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default" +if test "x$ac_cv_type_long_long" = xyes; then : +cat >>confdefs.h <<_ACEOF +#define HAVE_LONG_LONG 1 +_ACEOF +fi + # The cast to long int works around a bug in the HP C Compiler +# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +# This bug is HP SR number 8606223364. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5 +$as_echo_n "checking size of long long... " >&6; } +if ${ac_cv_sizeof_long_long+:} false; then : + $as_echo_n "(cached) " >&6 +else + if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then : +else + if test "$ac_cv_type_long_long" = yes; then + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error 77 "cannot compute sizeof (long long) +See \`config.log' for more details" "$LINENO" 5; } + else + ac_cv_sizeof_long_long=0 + fi +fi +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5 +$as_echo "$ac_cv_sizeof_long_long" >&6; } +cat >>confdefs.h <<_ACEOF +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long +_ACEOF @@ -12601,106 +8972,21 @@ isalpha isspace isdigit isalnum ispunct \ atoll strtoll \ -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 { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ -/* 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 GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char $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 -#endif - -int -main () -{ -return $ac_func (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - 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 core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext -fi -ac_res=`eval echo '${'$as_ac_var'}'` - { echo "$as_me:$LINENO: result: $ac_res" >&5 -echo "${ECHO_T}$ac_res" >&6; } -if test `eval echo '${'$as_ac_var'}'` = yes; then +do : + as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" +if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF -#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done -{ echo "$as_me:$LINENO: checking for timezone in time.h" >&5 -echo $ECHO_N "checking for timezone in time.h... $ECHO_C" >&6; } -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone in time.h" >&5 +$as_echo_n "checking for timezone in time.h... " >&6; } +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -12711,49 +8997,21 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_TIMEZONE 1 -_ACEOF - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } +if ac_fn_c_try_link "$LINENO"; then : + $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5 +$as_echo_n "checking for tm_gmtoff in struct tm... " >&6; } -{ echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5 -echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; } - - -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF +cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int @@ -12764,63 +9022,35 @@ return 0; } _ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest$ac_exeext && - $as_test_x conftest$ac_exeext; then - cat >>confdefs.h <<\_ACEOF -#define HAVE_TM_GMTOFF 1 -_ACEOF - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } +if ac_fn_c_try_link "$LINENO"; then : + $as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi - -rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ - conftest$ac_exeext conftest.$ac_ext +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext - { echo "$as_me:$LINENO: checking for an implementation of va_copy()" >&5 -echo $ECHO_N "checking for an implementation of va_copy()... $ECHO_C" >&6; } -if test "${slrn_cv_va_copy+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5 +$as_echo_n "checking for an implementation of va_copy()... " >&6; } +if ${slrn_cv_va_copy+:} false; then : + $as_echo_n "(cached) " >&6 else - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -12837,64 +9067,35 @@ return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +if ac_fn_c_try_run "$LINENO"; then : slrn_cv_va_copy=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -slrn_cv_va_copy=no + slrn_cv_va_copy=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi -{ echo "$as_me:$LINENO: result: $slrn_cv_va_copy" >&5 -echo "${ECHO_T}$slrn_cv_va_copy" >&6; } -{ echo "$as_me:$LINENO: checking for an implementation of __va_copy()" >&5 -echo $ECHO_N "checking for an implementation of __va_copy()... $ECHO_C" >&6; } -if test "${slrn_cv___va_copy+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $slrn_cv_va_copy" >&5 +$as_echo "$slrn_cv_va_copy" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5 +$as_echo_n "checking for an implementation of __va_copy()... " >&6; } +if ${slrn_cv___va_copy+:} false; then : + $as_echo_n "(cached) " >&6 else - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -12911,64 +9112,35 @@ return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +if ac_fn_c_try_run "$LINENO"; then : slrn_cv___va_copy=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -slrn_cv___va_copy=no + slrn_cv___va_copy=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi -{ echo "$as_me:$LINENO: result: $slrn_cv___va_copy" >&5 -echo "${ECHO_T}$slrn_cv___va_copy" >&6; } -{ echo "$as_me:$LINENO: checking whether va_lists can be copied by value" >&5 -echo $ECHO_N "checking whether va_lists can be copied by value... $ECHO_C" >&6; } -if test "${slrn_cv_va_val_copy+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $slrn_cv___va_copy" >&5 +$as_echo "$slrn_cv___va_copy" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether va_lists can be copied by value" >&5 +$as_echo_n "checking whether va_lists can be copied by value... " >&6; } +if ${slrn_cv_va_val_copy+:} false; then : + $as_echo_n "(cached) " >&6 else - if test "$cross_compiling" = yes; then - { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling -See \`config.log' for more details." >&5 -echo "$as_me: error: cannot run test program while cross compiling -See \`config.log' for more details." >&2;} - { (exit 1); exit 1; }; } + if test "$cross_compiling" = yes; then : + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +as_fn_error $? "cannot run test program while cross compiling +See \`config.log' for more details" "$LINENO" 5; } else - cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include @@ -12985,70 +9157,40 @@ return 0; } _ACEOF -rm -f conftest$ac_exeext -if { (ac_try="$ac_link" -case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_link") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && { ac_try='./conftest$ac_exeext' - { (case "(($ac_try" in - *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; - *) ac_try_echo=$ac_try;; -esac -eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 - (eval "$ac_try") 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then +if ac_fn_c_try_run "$LINENO"; then : slrn_cv_va_val_copy=yes else - echo "$as_me: program exited with status $ac_status" >&5 -echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -( exit $ac_status ) -slrn_cv_va_val_copy=no + slrn_cv_va_val_copy=no fi -rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext fi - fi if test "x$slrn_cv_va_copy" = "xyes" then - cat >>confdefs.h <<\_ACEOF -#define VA_COPY va_copy -_ACEOF + $as_echo "#define VA_COPY va_copy" >>confdefs.h else if test "x$slrn_cv___va_copy" = "xyes" then - cat >>confdefs.h <<\_ACEOF -#define VA_COPY __va_copy -_ACEOF + $as_echo "#define VA_COPY __va_copy" >>confdefs.h fi fi if test "x$slrn_cv_va_val_copy" = "xno" then - cat >>confdefs.h <<\_ACEOF -#define VA_COPY_AS_ARRAY 1 -_ACEOF + $as_echo "#define VA_COPY_AS_ARRAY 1" >>confdefs.h fi -{ echo "$as_me:$LINENO: result: $slrn_cv_va_val_copy" >&5 -echo "${ECHO_T}$slrn_cv_va_val_copy" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $slrn_cv_va_val_copy" >&5 +$as_echo "$slrn_cv_va_val_copy" >&6; } @@ -13074,10 +9216,10 @@ # Extract the first word of "ncurses5-config", so it can be a program name with args. set dummy ncurses5-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_nc5config+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_nc5config+:} false; then : + $as_echo_n "(cached) " >&6 else case $nc5config in [\\/]* | ?:[\\/]*) @@ -13089,14 +9231,14 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_nc5config="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS test -z "$ac_cv_path_nc5config" && ac_cv_path_nc5config="no" @@ -13105,11 +9247,11 @@ fi nc5config=$ac_cv_path_nc5config if test -n "$nc5config"; then - { echo "$as_me:$LINENO: result: $nc5config" >&5 -echo "${ECHO_T}$nc5config" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nc5config" >&5 +$as_echo "$nc5config" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi @@ -13117,10 +9259,10 @@ then # Extract the first word of "ncurses5w-config", so it can be a program name with args. set dummy ncurses5w-config; ac_word=$2 -{ echo "$as_me:$LINENO: checking for $ac_word" >&5 -echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } -if test "${ac_cv_path_nc5config+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 +$as_echo_n "checking for $ac_word... " >&6; } +if ${ac_cv_path_nc5config+:} false; then : + $as_echo_n "(cached) " >&6 else case $nc5config in [\\/]* | ?:[\\/]*) @@ -13132,14 +9274,14 @@ do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + for ac_exec_ext in '' $ac_executable_extensions; do + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_nc5config="$as_dir/$ac_word$ac_exec_ext" - echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done -done + done IFS=$as_save_IFS test -z "$ac_cv_path_nc5config" && ac_cv_path_nc5config="no" @@ -13148,17 +9290,17 @@ fi nc5config=$ac_cv_path_nc5config if test -n "$nc5config"; then - { echo "$as_me:$LINENO: result: $nc5config" >&5 -echo "${ECHO_T}$nc5config" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nc5config" >&5 +$as_echo "$nc5config" >&6; } else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } fi fi -{ echo "$as_me:$LINENO: checking for terminfo" >&5 -echo $ECHO_N "checking for terminfo... $ECHO_C" >&6; } +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for terminfo" >&5 +$as_echo_n "checking for terminfo... " >&6; } if test "$nc5config" != "no" then MISC_TERMINFO_DIRS=`$nc5config --terminfo` @@ -13176,18 +9318,16 @@ do if test -d $terminfo_dir then - { echo "$as_me:$LINENO: result: yes" >&5 -echo "${ECHO_T}yes" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } TERMCAP="" break fi done if test "$TERMCAP"; then - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } - cat >>confdefs.h <<\_ACEOF -#define USE_TERMCAP 1 -_ACEOF + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } + $as_echo "#define USE_TERMCAP 1" >>confdefs.h fi @@ -13205,7 +9345,7 @@ # Check whether --with-slang was given. -if test "${with_slang+set}" = set; then +if test "${with_slang+set}" = set; then : withval=$with_slang; jd_with_slang_arg=$withval else jd_with_slang_arg=unspecified @@ -13233,7 +9373,7 @@ # Check whether --with-slanglib was given. -if test "${with_slanglib+set}" = set; then +if test "${with_slanglib+set}" = set; then : withval=$with_slanglib; jd_with_slanglib_arg=$withval else jd_with_slanglib_arg=unspecified @@ -13245,9 +9385,7 @@ xno) ;; x) - { { echo "$as_me:$LINENO: error: --with-slanglib requres a value" >&5 -echo "$as_me: error: --with-slanglib requres a value" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "--with-slanglib requres a value" "$LINENO" 5 ;; *) jd_with_slang_library="yes" @@ -13257,7 +9395,7 @@ # Check whether --with-slanginc was given. -if test "${with_slanginc+set}" = set; then +if test "${with_slanginc+set}" = set; then : withval=$with_slanginc; jd_with_slanginc_arg=$withval else jd_with_slanginc_arg=unspecified @@ -13265,9 +9403,7 @@ case "x$jd_with_slanginc_arg" in x) - { { echo "$as_me:$LINENO: error: --with-slanginc requres a value" >&5 -echo "$as_me: error: --with-slanginc requres a value" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "--with-slanginc requres a value" "$LINENO" 5 ;; xunspecified) ;; @@ -13279,8 +9415,8 @@ ;; esac - { echo "$as_me:$LINENO: checking for the slang library and header files " >&5 -echo $ECHO_N "checking for the slang library and header files ... $ECHO_C" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the slang library and header files " >&5 +$as_echo_n "checking for the slang library and header files ... " >&6; } if test X"$jd_with_slang_library" != Xno then jd_slang_inc_file= @@ -13354,8 +9490,8 @@ if test X"$jd_slang_include_dir" != X -a X"$jd_slang_library_dir" != X then - { echo "$as_me:$LINENO: result: yes: $jd_slang_library_dir and $jd_slang_include_dir" >&5 -echo "${ECHO_T}yes: $jd_slang_library_dir and $jd_slang_include_dir" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes: $jd_slang_library_dir and $jd_slang_include_dir" >&5 +$as_echo "yes: $jd_slang_library_dir and $jd_slang_include_dir" >&6; } jd_with_slang_library="yes" SLANG_LIB=-L$jd_slang_library_dir if test "X$jd_slang_library_dir" = "X/usr/lib" @@ -13420,8 +9556,8 @@ SLANG_INC="" fi else - { echo "$as_me:$LINENO: result: no" >&5 -echo "${ECHO_T}no" >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } jd_with_slang_library="no" SLANG_INC="" SLANG_LIB="" @@ -13431,14 +9567,12 @@ if test "$jd_with_slang_library" = "no" then - { { echo "$as_me:$LINENO: error: unable to find the slang library and header file $jd_slang_inc_file" >&5 -echo "$as_me: error: unable to find the slang library and header file $jd_slang_inc_file" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "unable to find the slang library and header file $jd_slang_inc_file" "$LINENO" 5 fi # Check whether --enable-warnings was given. -if test "${enable_warnings+set}" = set; then +if test "${enable_warnings+set}" = set; then : enableval=$enable_warnings; gcc_warnings=$enableval fi @@ -13531,12 +9665,13 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done @@ -13544,8 +9679,8 @@ (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" @@ -13567,13 +9702,24 @@ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -13586,14 +9732,15 @@ ac_libobjs= ac_ltlibobjs= +U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs @@ -13601,12 +9748,14 @@ -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -13616,59 +9765,79 @@ debug=false ac_cs_recheck=false ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' fi - rm -f conf$$.sh + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } fi @@ -13677,20 +9846,19 @@ # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) -as_nl=' -' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +as_myself= +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -13701,32 +9869,111 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi -done + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + -# Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -13737,16 +9984,20 @@ if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else - as_basename=false + as_basename=false +fi + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false fi - -# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -13761,131 +10012,118 @@ } s/.*/./; q'` -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in +case `echo -n x` in #((((( -n*) - case `echo 'x\c'` in + case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir - mkdir conf$$.dir + mkdir conf$$.dir 2>/dev/null fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then - as_mkdir_p=: + as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # 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'" @@ -13895,13 +10133,19 @@ exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -# Save the log message, to keep $[0] and so on meaningful, and to +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -13914,7 +10158,16 @@ _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -13922,22 +10175,25 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. -Usage: $0 [OPTIONS] [FILE]... +Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE Configuration files: $config_files @@ -13948,36 +10204,42 @@ Configuration commands: $config_commands -Report bugs to ." +Report bugs to the package provider." _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" -Copyright (C) 2006 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' +test -n "\$AWK" || AWK=awk _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -# 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. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in - --*=*) + --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; *) ac_option=$1 ac_optarg=$2 @@ -13990,34 +10252,41 @@ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - { echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; + $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; - *) ac_config_targets="$ac_config_targets $1" + *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac @@ -14032,27 +10301,29 @@ fi _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + exec "\$@" fi _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - echo "$ac_log" + $as_echo "$ac_log" } >&5 _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -14066,7 +10337,7 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -14077,9 +10348,7 @@ "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "src/slrnfeat.h") CONFIG_FILES="$CONFIG_FILES src/slrnfeat.h:src/slrnfeat.hin" ;; - *) { { 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; }; };; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -14102,281 +10371,302 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 + trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# -# Set up the sed scripts for CONFIG_FILES section. -# +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then -_ACEOF - - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -RPATH!$RPATH$ac_delim -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -CONFIG_DIR!$CONFIG_DIR$ac_delim -build!$build$ac_delim -build_cpu!$build_cpu$ac_delim -build_vendor!$build_vendor$ac_delim -build_os!$build_os$ac_delim -host!$host$ac_delim -host_cpu!$host_cpu$ac_delim -host_vendor!$host_vendor$ac_delim -host_os!$host_os$ac_delim -SET_MAKE!$SET_MAKE$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -CPP!$CPP$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -XMKMF!$XMKMF$ac_delim -X_CFLAGS!$X_CFLAGS$ac_delim -X_PRE_LIBS!$X_PRE_LIBS$ac_delim -X_LIBS!$X_LIBS$ac_delim -X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim -SLRN_LIB_DIR!$SLRN_LIB_DIR$ac_delim -LOCALEDIR!$LOCALEDIR$ac_delim -SLRN_HAS_PULL_SUPPORT!$SLRN_HAS_PULL_SUPPORT$ac_delim -SLRNPULL!$SLRNPULL$ac_delim -SLRNPULL_ROOT_DIR!$SLRNPULL_ROOT_DIR$ac_delim -MAN_SLRNPULL!$MAN_SLRNPULL$ac_delim -SLRN_HAS_NNTP_SUPPORT!$SLRN_HAS_NNTP_SUPPORT$ac_delim -SLRN_HAS_SPOOL_SUPPORT!$SLRN_HAS_SPOOL_SUPPORT$ac_delim -SLRN_HAS_INEWS_SUPPORT!$SLRN_HAS_INEWS_SUPPORT$ac_delim -INEWS!$INEWS$ac_delim -SLRN_INEWS_COMMAND!$SLRN_INEWS_COMMAND$ac_delim -SLRN_FORCE_INEWS!$SLRN_FORCE_INEWS$ac_delim -SLRN_HAS_STRICT_FROM!$SLRN_HAS_STRICT_FROM$ac_delim -SLRN_HAS_CHARACTER_MAP!$SLRN_HAS_CHARACTER_MAP$ac_delim -SLRNPULL_USE_SETGID_POSTS!$SLRNPULL_USE_SETGID_POSTS$ac_delim -SLRN_HAS_SPOILERS!$SLRN_HAS_SPOILERS$ac_delim -SLRN_HAS_EMPHASIZED_TEXT!$SLRN_HAS_EMPHASIZED_TEXT$ac_delim -SLRN_HAS_GEN_MSGID!$SLRN_HAS_GEN_MSGID$ac_delim -SLRN_HAS_MSGID_CACHE!$SLRN_HAS_MSGID_CACHE$ac_delim -SLRN_HAS_FAKE_REFS!$SLRN_HAS_FAKE_REFS$ac_delim -SLRN_HAS_GROUPLENS!$SLRN_HAS_GROUPLENS$ac_delim -UU_LIB!$UU_LIB$ac_delim -UU_INC!$UU_INC$ac_delim -LINK_LIBUU!$LINK_LIBUU$ac_delim -SLRN_HAS_UUDEVIEW!$SLRN_HAS_UUDEVIEW$ac_delim -CANLOCK_LIB!$CANLOCK_LIB$ac_delim -CANLOCK_INC!$CANLOCK_INC$ac_delim -LINK_LIBCANLOCK!$LINK_LIBCANLOCK$ac_delim -SLRN_HAS_CANLOCK!$SLRN_HAS_CANLOCK$ac_delim -LIBICONV!$LIBICONV$ac_delim -LTLIBICONV!$LTLIBICONV$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr fi -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -CEOF$ac_eof +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -mkdir_p!$mkdir_p$ac_delim -USE_NLS!$USE_NLS$ac_delim -MSGFMT!$MSGFMT$ac_delim -GMSGFMT!$GMSGFMT$ac_delim -MSGFMT_015!$MSGFMT_015$ac_delim -GMSGFMT_015!$GMSGFMT_015$ac_delim -XGETTEXT!$XGETTEXT$ac_delim -XGETTEXT_015!$XGETTEXT_015$ac_delim -MSGMERGE!$MSGMERGE$ac_delim -INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim -INTLLIBS!$INTLLIBS$ac_delim -LIBINTL!$LIBINTL$ac_delim -LTLIBINTL!$LTLIBINTL$ac_delim -POSUB!$POSUB$ac_delim -INCICONV!$INCICONV$ac_delim -SSLINC!$SSLINC$ac_delim -SSLLIB!$SSLLIB$ac_delim -SRCDIR!$SRCDIR$ac_delim -OBJDIR!$OBJDIR$ac_delim -ELFDIR!$ELFDIR$ac_delim -nc5config!$nc5config$ac_delim -TERMCAP!$TERMCAP$ac_delim -MISC_TERMINFO_DIRS!$MISC_TERMINFO_DIRS$ac_delim -SLANG_LIB!$SLANG_LIB$ac_delim -SLANG_INC!$SLANG_INC$ac_delim -PROGRAM_OFILES!$PROGRAM_OFILES$ac_delim -PROGRAM_CFILES!$PROGRAM_CFILES$ac_delim -PROGRAM_HFILES!$PROGRAM_HFILES$ac_delim -PROGRAM_OBJECTS!$PROGRAM_OBJECTS$ac_delim -PROGRAM_ELFOBJECTS!$PROGRAM_ELFOBJECTS$ac_delim -LIBOBJS!$LIBOBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim -_ACEOF + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done +rm -f conf$$subs.sh -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries 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/ + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// s/^[^=]*=[ ]*$// }' fi -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} - { (exit 1); exit 1; }; };; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -14395,7 +10685,7 @@ for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -14404,26 +10694,34 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - ac_file_inputs="$ac_file_inputs $ac_f" + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -14433,7 +10731,7 @@ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | +$as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -14451,55 +10749,15 @@ q } s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } + as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -14539,12 +10797,12 @@ esac _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= - -case `sed -n '/datarootdir/ { +ac_sed_dataroot=' +/datarootdir/ { p q } @@ -14552,36 +10810,37 @@ /@docdir@/p /@infodir@/p /@localedir@/p -/@mandir@/p -' $ac_file_inputs` in +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; + s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t +s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t @@ -14591,123 +10850,53 @@ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # -_ACEOF - -# Transform confdefs.h into a sed script `conftest.defines', that -# substitutes the proper values into config.h.in to produce config.h. -rm -f conftest.defines conftest.tail -# First, append a space to every undef/define line, to ease matching. -echo 's/$/ /' >conftest.defines -# Then, protect against being on the right side of a sed subst, or in -# an unquoted here document, in config.status. If some macros were -# called several times there might be several #defines for the same -# symbol, which is useless. But do not sort them, since the last -# AC_DEFINE must be honored. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where -# NAME is the cpp macro being defined, VALUE is the value it is being given. -# PARAMS is the parameter list in the macro definition--in most cases, it's -# just an empty string. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' -ac_dB='\\)[ (].*,\\1define\\2' -ac_dC=' ' -ac_dD=' ,' - -uniq confdefs.h | - sed -n ' - t rset - :rset - s/^[ ]*#[ ]*define[ ][ ]*// - t ok - d - :ok - s/[\\&,]/\\&/g - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p - ' >>conftest.defines - -# Remove the space that was appended to ease matching. -# Then replace #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -# (The regexp can be short, since the line contains either #define or #undef.) -echo 's/ $// -s,^[ #]*u.*,/* & */,' >>conftest.defines - -# Break up conftest.defines: -ac_max_sed_lines=50 - -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" -# et cetera. -ac_in='$ac_file_inputs' -ac_out='"$tmp/out1"' -ac_nxt='"$tmp/out2"' - -while : -do - # Write a here document: - cat >>$CONFIG_STATUS <<_ACEOF - # First, check the format of the line: - cat >"\$tmp/defines.sed" <<\\CEOF -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def -b -:def -_ACEOF - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS - echo 'CEOF - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail - grep . conftest.tail >/dev/null || break - rm -f conftest.defines - mv conftest.tail conftest.defines -done -rm -f conftest.defines conftest.tail - -echo "ac_result=$ac_in" >>$CONFIG_STATUS -cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then - echo "/* $configure_input */" >"$tmp/config.h" - cat "$ac_result" >>"$tmp/config.h" - 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;} + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} else - rm -f $ac_file - mv "$tmp/config.h" $ac_file + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - echo "/* $configure_input */" - cat "$ac_result" + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 fi - rm -f "$tmp/out12" ;; - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 -echo "$as_me: executing $ac_file commands" >&6;} + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -14831,11 +11020,13 @@ done # for ac_tag -{ (exit 0); exit 0; } +as_fn_exit 0 _ACEOF -chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. @@ -14855,7 +11046,11 @@ exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi ac_config_files="$ac_config_files Makefile:autoconf/Makefile.in src/Makefile" @@ -14887,12 +11082,13 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done @@ -14900,8 +11096,8 @@ (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" @@ -14923,13 +11119,24 @@ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -14942,14 +11149,15 @@ ac_libobjs= ac_ltlibobjs= +U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs @@ -14957,12 +11165,14 @@ -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -14972,59 +11182,79 @@ debug=false ac_cs_recheck=false ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' fi - rm -f conf$$.sh + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } fi @@ -15033,20 +11263,19 @@ # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) -as_nl=' -' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +as_myself= +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -15057,32 +11286,111 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi -done + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + -# Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -15096,13 +11404,17 @@ as_basename=false fi +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi -# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -15117,131 +11429,118 @@ } s/.*/./; q'` -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in +case `echo -n x` in #((((( -n*) - case `echo 'x\c'` in + case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir - mkdir conf$$.dir + mkdir conf$$.dir 2>/dev/null fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then - as_mkdir_p=: + as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # 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'" @@ -15251,13 +11550,19 @@ exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -# Save the log message, to keep $[0] and so on meaningful, and to +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -15270,7 +11575,16 @@ _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -15278,22 +11592,25 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. -Usage: $0 [OPTIONS] [FILE]... +Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE Configuration files: $config_files @@ -15304,36 +11621,42 @@ Configuration commands: $config_commands -Report bugs to ." +Report bugs to the package provider." _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" -Copyright (C) 2006 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' +test -n "\$AWK" || AWK=awk _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -# 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. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in - --*=*) + --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; *) ac_option=$1 ac_optarg=$2 @@ -15346,34 +11669,41 @@ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - { echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; + $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; - *) ac_config_targets="$ac_config_targets $1" + *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac @@ -15388,27 +11718,29 @@ fi _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + exec "\$@" fi _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - echo "$ac_log" + $as_echo "$ac_log" } >&5 _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -15422,7 +11754,7 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -15435,9 +11767,7 @@ "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile:autoconf/Makefile.in" ;; "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -15460,281 +11790,302 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 + trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp -# -# Set up the sed scripts for CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then -_ACEOF - - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -RPATH!$RPATH$ac_delim -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -CONFIG_DIR!$CONFIG_DIR$ac_delim -build!$build$ac_delim -build_cpu!$build_cpu$ac_delim -build_vendor!$build_vendor$ac_delim -build_os!$build_os$ac_delim -host!$host$ac_delim -host_cpu!$host_cpu$ac_delim -host_vendor!$host_vendor$ac_delim -host_os!$host_os$ac_delim -SET_MAKE!$SET_MAKE$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -CPP!$CPP$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -XMKMF!$XMKMF$ac_delim -X_CFLAGS!$X_CFLAGS$ac_delim -X_PRE_LIBS!$X_PRE_LIBS$ac_delim -X_LIBS!$X_LIBS$ac_delim -X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim -SLRN_LIB_DIR!$SLRN_LIB_DIR$ac_delim -LOCALEDIR!$LOCALEDIR$ac_delim -SLRN_HAS_PULL_SUPPORT!$SLRN_HAS_PULL_SUPPORT$ac_delim -SLRNPULL!$SLRNPULL$ac_delim -SLRNPULL_ROOT_DIR!$SLRNPULL_ROOT_DIR$ac_delim -MAN_SLRNPULL!$MAN_SLRNPULL$ac_delim -SLRN_HAS_NNTP_SUPPORT!$SLRN_HAS_NNTP_SUPPORT$ac_delim -SLRN_HAS_SPOOL_SUPPORT!$SLRN_HAS_SPOOL_SUPPORT$ac_delim -SLRN_HAS_INEWS_SUPPORT!$SLRN_HAS_INEWS_SUPPORT$ac_delim -INEWS!$INEWS$ac_delim -SLRN_INEWS_COMMAND!$SLRN_INEWS_COMMAND$ac_delim -SLRN_FORCE_INEWS!$SLRN_FORCE_INEWS$ac_delim -SLRN_HAS_STRICT_FROM!$SLRN_HAS_STRICT_FROM$ac_delim -SLRN_HAS_CHARACTER_MAP!$SLRN_HAS_CHARACTER_MAP$ac_delim -SLRNPULL_USE_SETGID_POSTS!$SLRNPULL_USE_SETGID_POSTS$ac_delim -SLRN_HAS_SPOILERS!$SLRN_HAS_SPOILERS$ac_delim -SLRN_HAS_EMPHASIZED_TEXT!$SLRN_HAS_EMPHASIZED_TEXT$ac_delim -SLRN_HAS_GEN_MSGID!$SLRN_HAS_GEN_MSGID$ac_delim -SLRN_HAS_MSGID_CACHE!$SLRN_HAS_MSGID_CACHE$ac_delim -SLRN_HAS_FAKE_REFS!$SLRN_HAS_FAKE_REFS$ac_delim -SLRN_HAS_GROUPLENS!$SLRN_HAS_GROUPLENS$ac_delim -UU_LIB!$UU_LIB$ac_delim -UU_INC!$UU_INC$ac_delim -LINK_LIBUU!$LINK_LIBUU$ac_delim -SLRN_HAS_UUDEVIEW!$SLRN_HAS_UUDEVIEW$ac_delim -CANLOCK_LIB!$CANLOCK_LIB$ac_delim -CANLOCK_INC!$CANLOCK_INC$ac_delim -LINK_LIBCANLOCK!$LINK_LIBCANLOCK$ac_delim -SLRN_HAS_CANLOCK!$SLRN_HAS_CANLOCK$ac_delim -LIBICONV!$LIBICONV$ac_delim -LTLIBICONV!$LTLIBICONV$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr fi -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -CEOF$ac_eof +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -mkdir_p!$mkdir_p$ac_delim -USE_NLS!$USE_NLS$ac_delim -MSGFMT!$MSGFMT$ac_delim -GMSGFMT!$GMSGFMT$ac_delim -MSGFMT_015!$MSGFMT_015$ac_delim -GMSGFMT_015!$GMSGFMT_015$ac_delim -XGETTEXT!$XGETTEXT$ac_delim -XGETTEXT_015!$XGETTEXT_015$ac_delim -MSGMERGE!$MSGMERGE$ac_delim -INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim -INTLLIBS!$INTLLIBS$ac_delim -LIBINTL!$LIBINTL$ac_delim -LTLIBINTL!$LTLIBINTL$ac_delim -POSUB!$POSUB$ac_delim -INCICONV!$INCICONV$ac_delim -SSLINC!$SSLINC$ac_delim -SSLLIB!$SSLLIB$ac_delim -SRCDIR!$SRCDIR$ac_delim -OBJDIR!$OBJDIR$ac_delim -ELFDIR!$ELFDIR$ac_delim -nc5config!$nc5config$ac_delim -TERMCAP!$TERMCAP$ac_delim -MISC_TERMINFO_DIRS!$MISC_TERMINFO_DIRS$ac_delim -SLANG_LIB!$SLANG_LIB$ac_delim -SLANG_INC!$SLANG_INC$ac_delim -PROGRAM_OFILES!$PROGRAM_OFILES$ac_delim -PROGRAM_CFILES!$PROGRAM_CFILES$ac_delim -PROGRAM_HFILES!$PROGRAM_HFILES$ac_delim -PROGRAM_OBJECTS!$PROGRAM_OBJECTS$ac_delim -PROGRAM_ELFOBJECTS!$PROGRAM_ELFOBJECTS$ac_delim -LIBOBJS!$LIBOBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim -_ACEOF + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done +rm -f conf$$subs.sh -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries 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/ + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// s/^[^=]*=[ ]*$// }' fi -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} - { (exit 1); exit 1; }; };; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -15753,7 +12104,7 @@ for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -15762,26 +12113,34 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - ac_file_inputs="$ac_file_inputs $ac_f" + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -15791,42 +12150,7 @@ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | +$as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -15844,20 +12168,15 @@ q } s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } + as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -15897,12 +12216,12 @@ esac _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= - -case `sed -n '/datarootdir/ { +ac_sed_dataroot=' +/datarootdir/ { p q } @@ -15910,36 +12229,37 @@ /@docdir@/p /@infodir@/p /@localedir@/p -/@mandir@/p -' $ac_file_inputs` in +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; + s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t +s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t @@ -15949,123 +12269,53 @@ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # -_ACEOF - -# Transform confdefs.h into a sed script `conftest.defines', that -# substitutes the proper values into config.h.in to produce config.h. -rm -f conftest.defines conftest.tail -# First, append a space to every undef/define line, to ease matching. -echo 's/$/ /' >conftest.defines -# Then, protect against being on the right side of a sed subst, or in -# an unquoted here document, in config.status. If some macros were -# called several times there might be several #defines for the same -# symbol, which is useless. But do not sort them, since the last -# AC_DEFINE must be honored. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where -# NAME is the cpp macro being defined, VALUE is the value it is being given. -# PARAMS is the parameter list in the macro definition--in most cases, it's -# just an empty string. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' -ac_dB='\\)[ (].*,\\1define\\2' -ac_dC=' ' -ac_dD=' ,' - -uniq confdefs.h | - sed -n ' - t rset - :rset - s/^[ ]*#[ ]*define[ ][ ]*// - t ok - d - :ok - s/[\\&,]/\\&/g - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p - ' >>conftest.defines - -# Remove the space that was appended to ease matching. -# Then replace #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -# (The regexp can be short, since the line contains either #define or #undef.) -echo 's/ $// -s,^[ #]*u.*,/* & */,' >>conftest.defines - -# Break up conftest.defines: -ac_max_sed_lines=50 - -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" -# et cetera. -ac_in='$ac_file_inputs' -ac_out='"$tmp/out1"' -ac_nxt='"$tmp/out2"' - -while : -do - # Write a here document: - cat >>$CONFIG_STATUS <<_ACEOF - # First, check the format of the line: - cat >"\$tmp/defines.sed" <<\\CEOF -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def -b -:def -_ACEOF - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS - echo 'CEOF - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail - grep . conftest.tail >/dev/null || break - rm -f conftest.defines - mv conftest.tail conftest.defines -done -rm -f conftest.defines conftest.tail - -echo "ac_result=$ac_in" >>$CONFIG_STATUS -cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then - echo "/* $configure_input */" >"$tmp/config.h" - cat "$ac_result" >>"$tmp/config.h" - 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;} + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} else - rm -f $ac_file - mv "$tmp/config.h" $ac_file + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - echo "/* $configure_input */" - cat "$ac_result" + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 fi - rm -f "$tmp/out12" ;; - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 -echo "$as_me: executing $ac_file commands" >&6;} + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -16189,11 +12439,13 @@ done # for ac_tag -{ (exit 0); exit 0; } +as_fn_exit 0 _ACEOF -chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. @@ -16213,7 +12465,11 @@ exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi ac_config_files="$ac_config_files po/Makefile" @@ -16245,12 +12501,13 @@ case $ac_val in #( *${as_nl}*) case $ac_var in #( - *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 -echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; + *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( - *) $as_unset $ac_var ;; + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( + *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done @@ -16258,8 +12515,8 @@ (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). + # `set' does not quote correctly, so add quotes: double-quote + # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" @@ -16281,13 +12538,24 @@ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then - test "x$cache_file" != "x/dev/null" && - { echo "$as_me:$LINENO: updating cache $cache_file" >&5 -echo "$as_me: updating cache $cache_file" >&6;} - cat confcache >$cache_file + if test "x$cache_file" != "x/dev/null"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 +$as_echo "$as_me: updating cache $cache_file" >&6;} + if test ! -f "$cache_file" || test -h "$cache_file"; then + cat confcache >"$cache_file" + else + case $cache_file in #( + */* | ?:*) + mv -f confcache "$cache_file"$$ && + mv -f "$cache_file"$$ "$cache_file" ;; #( + *) + mv -f confcache "$cache_file" ;; + esac + fi + fi else - { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 -echo "$as_me: not updating unwritable cache $cache_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 +$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache @@ -16300,14 +12568,15 @@ ac_libobjs= ac_ltlibobjs= +U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=`echo "$ac_i" | sed "$ac_script"` + ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. - ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' + as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" + as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs @@ -16315,12 +12584,14 @@ -: ${CONFIG_STATUS=./config.status} +: "${CONFIG_STATUS=./config.status}" +ac_write_fail=0 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 +{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 +$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} +as_write_fail=0 +cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. @@ -16330,59 +12601,79 @@ debug=false ac_cs_recheck=false ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## +SHELL=\${CONFIG_SHELL-$SHELL} +export SHELL +_ASEOF +cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 +## -------------------- ## +## M4sh Initialization. ## +## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else - case `(set -o) 2>/dev/null` in - *posix*) set -o posix ;; + case `(set -o) 2>/dev/null` in #( + *posix*) : + set -o posix ;; #( + *) : + ;; esac - fi - - -# PATH needs CR -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +# Prefer a ksh shell builtin over an external printf program on Solaris, +# but without wasting forks for bash or zsh. +if test -z "$BASH_VERSION$ZSH_VERSION" \ + && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='print -r --' + as_echo_n='print -rn --' +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in #( + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' fi - rm -f conf$$.sh + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' fi -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } fi @@ -16391,20 +12682,19 @@ # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) -as_nl=' -' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. -case $0 in +as_myself= +case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break + done IFS=$as_save_IFS ;; @@ -16415,32 +12705,111 @@ as_myself=$0 fi if test ! -f "$as_myself"; then - echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 - { (exit 1); exit 1; } + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + exit 1 fi -# Work around bugs in pre-3.0 UWIN ksh. -for as_var in ENV MAIL MAILPATH -do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +# Unset variables that we do not need and which cause bugs (e.g. in +# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +# suppresses any "Segmentation fault" message there. '((' could +# trigger a bug in pdksh 5.2.14. +for as_var in BASH_ENV ENV MAIL MAILPATH +do eval test x\${$as_var+set} = xset \ + && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# CDPATH. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + + +# as_fn_error STATUS ERROR [LINENO LOG_FD] +# ---------------------------------------- +# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +# script with STATUS, using 1 if that was 0. +as_fn_error () +{ + as_status=$1; test $as_status -eq 0 && as_status=1 + if test "$4"; then + as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack + $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi -done + $as_echo "$as_me: error: $2" >&2 + as_fn_exit $as_status +} # as_fn_error + + +# as_fn_set_status STATUS +# ----------------------- +# Set $? to STATUS, without forking. +as_fn_set_status () +{ + return $1 +} # as_fn_set_status + +# as_fn_exit STATUS +# ----------------- +# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +as_fn_exit () +{ + set +e + as_fn_set_status $1 + exit $1 +} # as_fn_exit + +# as_fn_unset VAR +# --------------- +# Portably unset VAR. +as_fn_unset () +{ + { eval $1=; unset $1;} +} +as_unset=as_fn_unset +# as_fn_append VAR VALUE +# ---------------------- +# Append the text in VALUE to the end of the definition contained in VAR. Take +# advantage of any shell optimizations that allow amortized linear growth over +# repeated appends, instead of the typical quadratic growth present in naive +# implementations. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : + eval 'as_fn_append () + { + eval $1+=\$2 + }' +else + as_fn_append () + { + eval $1=\$$1\$2 + } +fi # as_fn_append + +# as_fn_arith ARG... +# ------------------ +# Perform arithmetic evaluation on the ARGs, and store the result in the +# global $as_val. Take advantage of shells that can avoid forks. The arguments +# must be portable across $(()) and expr. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : + eval 'as_fn_arith () + { + as_val=$(( $* )) + }' +else + as_fn_arith () + { + as_val=`expr "$@" || test $? -eq 1` + } +fi # as_fn_arith + -# Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr @@ -16454,13 +12823,17 @@ as_basename=false fi +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi -# Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || -echo X/"$0" | +$as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q @@ -16475,131 +12848,118 @@ } s/.*/./; q'` -# CDPATH. -$as_unset CDPATH - - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line after each line using $LINENO; the second 'sed' - # does the real work. The second script uses 'N' to pair each - # line-number line with the line containing $LINENO, and appends - # trailing '-' during substitution so that $LINENO is not a special - # case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # scripts with optimization help from Paolo Bonzini. Blame Lee - # E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/= - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - - -if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then - as_dirname=dirname -else - as_dirname=false -fi +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits ECHO_C= ECHO_N= ECHO_T= -case `echo -n x` in +case `echo -n x` in #((((( -n*) - case `echo 'x\c'` in + case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. - *) ECHO_C='\c';; + xy) ECHO_C='\c';; + *) echo `echo ksh88 bug on AIX 6.1` > /dev/null + ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" = X001; then - as_expr=expr -else - as_expr=false -fi - rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir - mkdir conf$$.dir + mkdir conf$$.dir 2>/dev/null fi -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s='ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -pR'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -pR' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -pR' + fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null + +# as_fn_mkdir_p +# ------------- +# Create "$as_dir" as a directory, including parents if necessary. +as_fn_mkdir_p () +{ + + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || eval $as_mkdir_p || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" + + +} # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then - as_mkdir_p=: + as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # 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'" @@ -16609,13 +12969,19 @@ exec 6>&1 +## ----------------------------------- ## +## Main body of $CONFIG_STATUS script. ## +## ----------------------------------- ## +_ASEOF +test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 -# Save the log message, to keep $[0] and so on meaningful, and to +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.61. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -16628,7 +12994,16 @@ _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +case $ac_config_files in *" +"*) set x $ac_config_files; shift; ac_config_files=$*;; +esac + +case $ac_config_headers in *" +"*) set x $ac_config_headers; shift; ac_config_headers=$*;; +esac + + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" @@ -16636,22 +13011,25 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. +\`$as_me' instantiates files and other configuration actions +from templates according to the current configuration. Unless the files +and actions are specified as TAGs, all are instantiated by default. -Usage: $0 [OPTIONS] [FILE]... +Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit - -q, --quiet do not print progress messages + --config print configuration, then exit + -q, --quiet, --silent + do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - --header=FILE[:TEMPLATE] - instantiate the configuration header FILE + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE Configuration files: $config_files @@ -16662,36 +13040,42 @@ Configuration commands: $config_commands -Report bugs to ." +Report bugs to the package provider." _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.61, - with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" +configured by $0, generated by GNU Autoconf 2.69, + with options \\"\$ac_cs_config\\" -Copyright (C) 2006 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' +test -n "\$AWK" || AWK=awk _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -# 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. +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +# The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in - --*=*) + --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; + --*=) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg= + ac_shift=: + ;; *) ac_option=$1 ac_optarg=$2 @@ -16704,34 +13088,41 @@ -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - echo "$ac_cs_version"; exit ;; + $as_echo "$ac_cs_version"; exit ;; + --config | --confi | --conf | --con | --co | --c ) + $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + '') as_fn_error $? "missing file argument" ;; + esac + as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header - { echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; };; + as_fn_error $? "ambiguous option: \`$1' +Try \`$0 --help' for more information.";; --help | --hel | -h ) - echo "$ac_cs_usage"; exit ;; + $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. - -*) { echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } ;; + -*) as_fn_error $? "unrecognized option: \`$1' +Try \`$0 --help' for more information." ;; - *) ac_config_targets="$ac_config_targets $1" + *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac @@ -16746,27 +13137,29 @@ fi _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - CONFIG_SHELL=$SHELL + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + shift + \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 + CONFIG_SHELL='$SHELL' export CONFIG_SHELL - exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + exec "\$@" fi _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX - echo "$ac_log" + $as_echo "$ac_log" } >&5 _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # @@ -16780,7 +13173,7 @@ _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets @@ -16794,9 +13187,7 @@ "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; + *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done @@ -16819,281 +13210,302 @@ # after its creation but before its name has been assigned to `$tmp'. $debug || { - tmp= + tmp= ac_tmp= trap 'exit_status=$? - { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status + : "${ac_tmp:=$tmp}" + { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 + trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" + test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -# -# Set up the sed scripts for CONFIG_FILES section. -# +} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 +ac_tmp=$tmp -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then -_ACEOF - - - -ac_delim='%!_!# ' -for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -RPATH!$RPATH$ac_delim -SHELL!$SHELL$ac_delim -PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim -PACKAGE_NAME!$PACKAGE_NAME$ac_delim -PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim -PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim -PACKAGE_STRING!$PACKAGE_STRING$ac_delim -PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim -exec_prefix!$exec_prefix$ac_delim -prefix!$prefix$ac_delim -program_transform_name!$program_transform_name$ac_delim -bindir!$bindir$ac_delim -sbindir!$sbindir$ac_delim -libexecdir!$libexecdir$ac_delim -datarootdir!$datarootdir$ac_delim -datadir!$datadir$ac_delim -sysconfdir!$sysconfdir$ac_delim -sharedstatedir!$sharedstatedir$ac_delim -localstatedir!$localstatedir$ac_delim -includedir!$includedir$ac_delim -oldincludedir!$oldincludedir$ac_delim -docdir!$docdir$ac_delim -infodir!$infodir$ac_delim -htmldir!$htmldir$ac_delim -dvidir!$dvidir$ac_delim -pdfdir!$pdfdir$ac_delim -psdir!$psdir$ac_delim -libdir!$libdir$ac_delim -localedir!$localedir$ac_delim -mandir!$mandir$ac_delim -DEFS!$DEFS$ac_delim -ECHO_C!$ECHO_C$ac_delim -ECHO_N!$ECHO_N$ac_delim -ECHO_T!$ECHO_T$ac_delim -LIBS!$LIBS$ac_delim -build_alias!$build_alias$ac_delim -host_alias!$host_alias$ac_delim -target_alias!$target_alias$ac_delim -CONFIG_DIR!$CONFIG_DIR$ac_delim -build!$build$ac_delim -build_cpu!$build_cpu$ac_delim -build_vendor!$build_vendor$ac_delim -build_os!$build_os$ac_delim -host!$host$ac_delim -host_cpu!$host_cpu$ac_delim -host_vendor!$host_vendor$ac_delim -host_os!$host_os$ac_delim -SET_MAKE!$SET_MAKE$ac_delim -INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim -INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim -INSTALL_DATA!$INSTALL_DATA$ac_delim -CC!$CC$ac_delim -CFLAGS!$CFLAGS$ac_delim -LDFLAGS!$LDFLAGS$ac_delim -CPPFLAGS!$CPPFLAGS$ac_delim -ac_ct_CC!$ac_ct_CC$ac_delim -EXEEXT!$EXEEXT$ac_delim -OBJEXT!$OBJEXT$ac_delim -CPP!$CPP$ac_delim -GREP!$GREP$ac_delim -EGREP!$EGREP$ac_delim -XMKMF!$XMKMF$ac_delim -X_CFLAGS!$X_CFLAGS$ac_delim -X_PRE_LIBS!$X_PRE_LIBS$ac_delim -X_LIBS!$X_LIBS$ac_delim -X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim -SLRN_LIB_DIR!$SLRN_LIB_DIR$ac_delim -LOCALEDIR!$LOCALEDIR$ac_delim -SLRN_HAS_PULL_SUPPORT!$SLRN_HAS_PULL_SUPPORT$ac_delim -SLRNPULL!$SLRNPULL$ac_delim -SLRNPULL_ROOT_DIR!$SLRNPULL_ROOT_DIR$ac_delim -MAN_SLRNPULL!$MAN_SLRNPULL$ac_delim -SLRN_HAS_NNTP_SUPPORT!$SLRN_HAS_NNTP_SUPPORT$ac_delim -SLRN_HAS_SPOOL_SUPPORT!$SLRN_HAS_SPOOL_SUPPORT$ac_delim -SLRN_HAS_INEWS_SUPPORT!$SLRN_HAS_INEWS_SUPPORT$ac_delim -INEWS!$INEWS$ac_delim -SLRN_INEWS_COMMAND!$SLRN_INEWS_COMMAND$ac_delim -SLRN_FORCE_INEWS!$SLRN_FORCE_INEWS$ac_delim -SLRN_HAS_STRICT_FROM!$SLRN_HAS_STRICT_FROM$ac_delim -SLRN_HAS_CHARACTER_MAP!$SLRN_HAS_CHARACTER_MAP$ac_delim -SLRNPULL_USE_SETGID_POSTS!$SLRNPULL_USE_SETGID_POSTS$ac_delim -SLRN_HAS_SPOILERS!$SLRN_HAS_SPOILERS$ac_delim -SLRN_HAS_EMPHASIZED_TEXT!$SLRN_HAS_EMPHASIZED_TEXT$ac_delim -SLRN_HAS_GEN_MSGID!$SLRN_HAS_GEN_MSGID$ac_delim -SLRN_HAS_MSGID_CACHE!$SLRN_HAS_MSGID_CACHE$ac_delim -SLRN_HAS_FAKE_REFS!$SLRN_HAS_FAKE_REFS$ac_delim -SLRN_HAS_GROUPLENS!$SLRN_HAS_GROUPLENS$ac_delim -UU_LIB!$UU_LIB$ac_delim -UU_INC!$UU_INC$ac_delim -LINK_LIBUU!$LINK_LIBUU$ac_delim -SLRN_HAS_UUDEVIEW!$SLRN_HAS_UUDEVIEW$ac_delim -CANLOCK_LIB!$CANLOCK_LIB$ac_delim -CANLOCK_INC!$CANLOCK_INC$ac_delim -LINK_LIBCANLOCK!$LINK_LIBCANLOCK$ac_delim -SLRN_HAS_CANLOCK!$SLRN_HAS_CANLOCK$ac_delim -LIBICONV!$LIBICONV$ac_delim -LTLIBICONV!$LTLIBICONV$ac_delim -_ACEOF - - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then - break - elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } - else - ac_delim="$ac_delim!$ac_delim _$ac_delim!! " - fi -done -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` +ac_cr=`echo X | tr X '\015'` +# On cygwin, bash can eat \r inside `` if the user requested igncr. +# But we know of no other shell where ac_cr would be empty at this +# point, so we can use a bashism as a fallback. +if test "x$ac_cr" = x; then + eval ac_cr=\$\'\\r\' +fi +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr fi -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -CEOF$ac_eof +echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF +{ + echo "cat >conf$$subs.awk <<_ACEOF" && + echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && + echo "_ACEOF" +} >conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 +ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do - cat >conf$$subs.sed <<_ACEOF -mkdir_p!$mkdir_p$ac_delim -USE_NLS!$USE_NLS$ac_delim -MSGFMT!$MSGFMT$ac_delim -GMSGFMT!$GMSGFMT$ac_delim -MSGFMT_015!$MSGFMT_015$ac_delim -GMSGFMT_015!$GMSGFMT_015$ac_delim -XGETTEXT!$XGETTEXT$ac_delim -XGETTEXT_015!$XGETTEXT_015$ac_delim -MSGMERGE!$MSGMERGE$ac_delim -INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim -INTLLIBS!$INTLLIBS$ac_delim -LIBINTL!$LIBINTL$ac_delim -LTLIBINTL!$LTLIBINTL$ac_delim -POSUB!$POSUB$ac_delim -INCICONV!$INCICONV$ac_delim -SSLINC!$SSLINC$ac_delim -SSLLIB!$SSLLIB$ac_delim -SRCDIR!$SRCDIR$ac_delim -OBJDIR!$OBJDIR$ac_delim -ELFDIR!$ELFDIR$ac_delim -nc5config!$nc5config$ac_delim -TERMCAP!$TERMCAP$ac_delim -MISC_TERMINFO_DIRS!$MISC_TERMINFO_DIRS$ac_delim -SLANG_LIB!$SLANG_LIB$ac_delim -SLANG_INC!$SLANG_INC$ac_delim -PROGRAM_OFILES!$PROGRAM_OFILES$ac_delim -PROGRAM_CFILES!$PROGRAM_CFILES$ac_delim -PROGRAM_HFILES!$PROGRAM_HFILES$ac_delim -PROGRAM_OBJECTS!$PROGRAM_OBJECTS$ac_delim -PROGRAM_ELFOBJECTS!$PROGRAM_ELFOBJECTS$ac_delim -LIBOBJS!$LIBOBJS$ac_delim -LTLIBOBJS!$LTLIBOBJS$ac_delim -_ACEOF + . ./conf$$subs.sh || + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 32; then + ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` + if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then - { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 -echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} - { (exit 1); exit 1; }; } + as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done +rm -f conf$$subs.sh -ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` -if test -n "$ac_eof"; then - ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` - ac_eof=`expr $ac_eof + 1` -fi - -cat >>$CONFIG_STATUS <<_ACEOF -cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end -_ACEOF -sed ' -s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g -s/^/s,@/; s/!/@,|#_!!_#|/ -:n -t n -s/'"$ac_delim"'$/,g/; t -s/$/\\/; p -N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n -' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF -:end -s/|#_!!_#|//g -CEOF$ac_eof +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF +sed -n ' +h +s/^/S["/; s/!.*/"]=/ +p +g +s/^[^!]*!// +:repl +t repl +s/'"$ac_delim"'$// +t delim +:nl +h +s/\(.\{148\}\)..*/\1/ +t more1 +s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ +p +n +b repl +:more1 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t nl +:delim +h +s/\(.\{148\}\)..*/\1/ +t more2 +s/["\\]/\\&/g; s/^/"/; s/$/"/ +p +b +:more2 +s/["\\]/\\&/g; s/^/"/; s/$/"\\/ +p +g +s/.\{148\}// +t delim +' >$CONFIG_STATUS || ac_write_fail=1 +rm -f conf$$subs.awk +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +_ACAWK +cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ + || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 +_ACEOF -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and +# VPATH may cause trouble with some makes, so we remove sole $(srcdir), +# ${srcdir} and @srcdir@ entries 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/ + ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ +h +s/// +s/^/:/ +s/[ ]*$/:/ +s/:\$(srcdir):/:/g +s/:\${srcdir}:/:/g +s/:@srcdir@:/:/g +s/^:*// s/:*$// +x +s/\(=[ ]*\).*/\1/ +G +s/\n// s/^[^=]*=[ ]*$// }' fi -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$ac_tmp/defines.awk" <<\_ACAWK || +BEGIN { +_ACEOF + +# Transform confdefs.h into an awk script `defines.awk', embedded as +# here-document in config.status, that substitutes the proper values into +# config.h.in to produce config.h. + +# Create a delimiter string that does not exist in confdefs.h, to ease +# handling of long lines. +ac_delim='%!_!# ' +for ac_last_try in false false :; do + ac_tt=`sed -n "/$ac_delim/p" confdefs.h` + if test -z "$ac_tt"; then + break + elif $ac_last_try; then + as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 + else + ac_delim="$ac_delim!$ac_delim _$ac_delim!! " + fi +done + +# For the awk script, D is an array of macro values keyed by name, +# likewise P contains macro parameters if any. Preserve backslash +# newline sequences. + +ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* +sed -n ' +s/.\{148\}/&'"$ac_delim"'/g +t rset +:rset +s/^[ ]*#[ ]*define[ ][ ]*/ / +t def +d +:def +s/\\$// +t bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3"/p +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p +d +:bsnl +s/["\\]/\\&/g +s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ +D["\1"]=" \3\\\\\\n"\\/p +t cont +s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p +t cont +d +:cont +n +s/.\{148\}/&'"$ac_delim"'/g +t clear +:clear +s/\\$// +t bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/"/p +d +:bsnlc +s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p +b cont +' >$CONFIG_STATUS || ac_write_fail=1 + +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { + line = \$ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK +_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 + as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 +fi # test -n "$CONFIG_HEADERS" + -for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; - :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 -echo "$as_me: error: Invalid tag $ac_tag." >&2;} - { (exit 1); exit 1; }; };; + :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac @@ -17112,7 +13524,7 @@ for ac_f do case $ac_f in - -) ac_f="$tmp/stdin";; + -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. @@ -17121,26 +13533,34 @@ [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || - { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 -echo "$as_me: error: cannot find input file: $ac_f" >&2;} - { (exit 1); exit 1; }; };; + as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac - ac_file_inputs="$ac_file_inputs $ac_f" + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ - configure_input="Generated from "`IFS=: - echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} + { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac case $ac_tag in - *:-:* | *:-) cat >"$tmp/stdin";; + *:-:* | *:-) cat >"$ac_tmp/stdin" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac @@ -17150,42 +13570,7 @@ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - { as_dir="$ac_dir" - case $as_dir in #( - -*) as_dir=./$as_dir;; - esac - test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { - as_dirs= - while :; do - case $as_dir in #( - *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( - *) as_qdir=$as_dir;; - esac - as_dirs="'$as_qdir' $as_dirs" - as_dir=`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -echo X"$as_dir" | +$as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q @@ -17203,20 +13588,15 @@ q } s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 -echo "$as_me: error: cannot create directory $as_dir" >&2;} - { (exit 1); exit 1; }; }; } + as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; @@ -17256,12 +13636,12 @@ esac _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= - -case `sed -n '/datarootdir/ { +ac_sed_dataroot=' +/datarootdir/ { p q } @@ -17269,36 +13649,37 @@ /@docdir@/p /@infodir@/p /@localedir@/p -/@mandir@/p -' $ac_file_inputs` in +/@mandir@/p' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 -echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF -cat >>$CONFIG_STATUS <<_ACEOF +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; + s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub +cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 +ac_sed_extra="$ac_vpsub $extrasub _ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF +cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s&@configure_input@&$configure_input&;t t +s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t @@ -17308,123 +13689,53 @@ s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t $ac_datarootdir_hack -" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ + >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && - { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && - { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&5 -echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined." >&2;} + { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ + "$ac_tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined" >&2;} - rm -f "$tmp/stdin" + rm -f "$ac_tmp/stdin" case $ac_file in - -) cat "$tmp/out"; rm -f "$tmp/out";; - *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; - esac + -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; + *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; + esac \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # -_ACEOF - -# Transform confdefs.h into a sed script `conftest.defines', that -# substitutes the proper values into config.h.in to produce config.h. -rm -f conftest.defines conftest.tail -# First, append a space to every undef/define line, to ease matching. -echo 's/$/ /' >conftest.defines -# Then, protect against being on the right side of a sed subst, or in -# an unquoted here document, in config.status. If some macros were -# called several times there might be several #defines for the same -# symbol, which is useless. But do not sort them, since the last -# AC_DEFINE must be honored. -ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* -# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where -# NAME is the cpp macro being defined, VALUE is the value it is being given. -# PARAMS is the parameter list in the macro definition--in most cases, it's -# just an empty string. -ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' -ac_dB='\\)[ (].*,\\1define\\2' -ac_dC=' ' -ac_dD=' ,' - -uniq confdefs.h | - sed -n ' - t rset - :rset - s/^[ ]*#[ ]*define[ ][ ]*// - t ok - d - :ok - s/[\\&,]/\\&/g - s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p - s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p - ' >>conftest.defines - -# Remove the space that was appended to ease matching. -# Then replace #undef with comments. This is necessary, for -# example, in the case of _POSIX_SOURCE, which is predefined and required -# on some systems where configure will not decide to define it. -# (The regexp can be short, since the line contains either #define or #undef.) -echo 's/ $// -s,^[ #]*u.*,/* & */,' >>conftest.defines - -# Break up conftest.defines: -ac_max_sed_lines=50 - -# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" -# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" -# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" -# et cetera. -ac_in='$ac_file_inputs' -ac_out='"$tmp/out1"' -ac_nxt='"$tmp/out2"' - -while : -do - # Write a here document: - cat >>$CONFIG_STATUS <<_ACEOF - # First, check the format of the line: - cat >"\$tmp/defines.sed" <<\\CEOF -/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def -/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def -b -:def -_ACEOF - sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS - echo 'CEOF - sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS - ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in - sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail - grep . conftest.tail >/dev/null || break - rm -f conftest.defines - mv conftest.tail conftest.defines -done -rm -f conftest.defines conftest.tail - -echo "ac_result=$ac_in" >>$CONFIG_STATUS -cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then - echo "/* $configure_input */" >"$tmp/config.h" - cat "$ac_result" >>"$tmp/config.h" - 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;} + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" + } >"$ac_tmp/config.h" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 + if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} else - rm -f $ac_file - mv "$tmp/config.h" $ac_file + rm -f "$ac_file" + mv "$ac_tmp/config.h" "$ac_file" \ + || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else - echo "/* $configure_input */" - cat "$ac_result" + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ + || as_fn_error $? "could not create -" "$LINENO" 5 fi - rm -f "$tmp/out12" ;; - :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 -echo "$as_me: executing $ac_file commands" >&6;} + :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac @@ -17548,11 +13859,13 @@ done # for ac_tag -{ (exit 0); exit 0; } +as_fn_exit 0 _ACEOF -chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save +test $ac_write_fail = 0 || + as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 + # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. @@ -17572,7 +13885,11 @@ exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } + $ac_cs_success || as_fn_exit 1 +fi +if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then + { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 +$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi --- slrn-1.0.1.orig/debian/NEWS +++ slrn-1.0.1/debian/NEWS @@ -0,0 +1,34 @@ +slrn (0.9.9~pre122-1) unstable; urgency=low + + GNU TLS support is back. Since this version you can use encrypted + connections. + + -- Jörg Sommer Fri, 25 Jul 2008 12:21:50 +0200 + +slrn (0.9.9~pre102-3) unstable; urgency=low + + I've found a way to make slrn and slrnpull read /etc/news/server. So, + this file is since this version supported. + + -- Jörg Sommer Tue, 13 May 2008 16:18:39 +0200 + +slrn (0.9.9~pre77-1) experimental; urgency=low + + John E. Davis, the inventor of slrn, has taken over upstream development + again. He has stripped down the source to bring UTF-8 integration forward. + In this version, UTF-8 should be fully supported. + + Unfortunately he has removed support for GNU TLS. As Debian does not have + permission to link slrn against SSL, this package does not provide any + support for encryption. Stay tuned: this may well come back soon. + + He has also temporarily dropped support for slrnpull. I've built the package + but you should expect everything to be broken. + + The support of /etc/news/server was dropped, too. This will be fixed in + the future, but until then you must use the option -h or set the + environment variable NNTPSERVER, i.e. create an alias in your shell: + + alias slrn='NNTPSERVER="$(cat /etc/news/server)" slrn' + + -- Jörg Sommer Sun, 6 Apr 2008 17:05:17 +0200 --- slrn-1.0.1.orig/debian/README.source +++ slrn-1.0.1/debian/README.source @@ -0,0 +1,8 @@ +This package uses dpatch to manage all modifications to the upstream +source. Changes are stored in the source package in debian/patches and +applied during the build. Please see: + + /usr/share/doc/dpatch/README.source + +for more information on how to apply the patches, modify patches, or +remove a patch. --- slrn-1.0.1.orig/debian/changelog +++ slrn-1.0.1/debian/changelog @@ -0,0 +1,2193 @@ +slrn (1.0.1-4) unstable; urgency=medium + + * Cherrypick upstream 107be9a749993d0063d4e87330ab947084d10c47 to, + fixes TLS and too-verbose logging (Closes: #728189, #729901) + * Build-Depend on libgnutls-openssl-dev instead of libgnutls-dev to + allow transitioning to newer GnuTLS. Thanks, Andreas! + (Closes: #731169) + + -- Moritz Muehlenhoff Sat, 07 Dec 2013 19:00:41 +0100 + +slrn (1.0.1-3) unstable; urgency=low + + * Make myself the sole maintainer, Joerg is too busy. Thanks for your + previous work! + * Build-depend on inn2-inews and drop 201_configure.diff kludge + * Update short description + * Update homepage to http://slrn.sourceforge.net/, slrn.org is + domain-squatted + + -- Moritz Muehlenhoff Wed, 23 Oct 2013 18:49:20 +0200 + +slrn (1.0.1-2) unstable; urgency=low + + * Update copyright file and John's email address + * Cleanup debian/rules file + * Reduce gnutls linkage, thanks Andreas Metzler (Closes: #725502) + + -- Moritz Muehlenhoff Mon, 07 Oct 2013 17:05:55 +0200 + +slrn (1.0.1-1) unstable; urgency=low + + * New upstream release + * Add myself to uploaders/maintainers as discussed with Jörg + Acknowledge NMUs, thanks Christian Perrier and Gregor Herrmann + (Closes: #580177, #639772, #607332, #610221, #654556, #660530, #661137) + * Remove now obsolete DM-Upload-Allowed field + * Unversion some build-deps, which are even satisfied in oldstable + * Remove suggests on removed metamail (Closes: #609353) + * Switch to dh_autoreconf, picked from patch by Gregor, thanks! There + will be more changes to modernise the package later (Closes: #696512) + Drop configure-rebuild.dpatch as a consequence from moving to + dh_autoreconf + * Update pt_BR translation, thanks Adriano Rafael Gomes (Closes: #721680) + + -- Moritz Muehlenhoff Fri, 04 Oct 2013 17:34:57 +0200 + +slrn (1.0.0~pre18-1.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Italian (Beatrice Torracca). Closes: #610221 + - Dutch; (Jeroen Schot). Closes: #654556 + - Polish (Michał Kułach). Closes: #660530 + - Slovak (Ivan Masár). Closes: #661137 + + -- Christian Perrier Mon, 27 Feb 2012 07:28:11 +0100 + +slrn (1.0.0~pre18-1.2) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: checking for the slang library and header files ... no": + tell configure about the multiarched slang lib; build-depend on dpkg-dev + (>= 1.16.0). Remove rpath that gets introduced by the multiarch path. + (Closes: #639772) + * Fix "cleanscore breaks with perl 5.12": new patch + cleanscore-prototypes.dpatch. + (Closes: #607332) + + -- gregor herrmann Sat, 03 Dec 2011 15:12:43 +0100 + +slrn (1.0.0~pre18-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix pending l10n issues. Debconf translations: + - Japanese (Hideki Yamane). Closes: #580177 + + -- Christian Perrier Sat, 31 Jul 2010 06:39:14 -0400 + +slrn (1.0.0~pre18-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * Updates of debconf translation: + + Japanese, thanks to Hideki Yamane. (closes: #564482) + + * Converted the debconf templates from _Choices to __Choices. + + * Fixed the name of RUNFROM in slrnpull.postinst. (closes: #569000) + + * Raised the Standards-Version to 3.8.4. No changes needed. + + -- Jörg Sommer Tue, 23 Feb 2010 01:10:38 +0100 + +slrn (1.0.0~pre16-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * New debconf translation: + + Japanese, thanks to Hideki Yamane. (closes: #555545) + + * Added patch from Brian Murray to fix multipart.sl. (closes: #445258) + + * Raised the Standards-Version to 3.8.3. No changes needed. + + -- Jörg Sommer Tue, 10 Nov 2009 21:21:23 +0100 + +slrn (1.0.0~pre11-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * Updates of debconf translation: + + Spanish, thanks to Francisco Javier Cuadrado. (closes: #526697) + + -- Jörg Sommer Sun, 14 Jun 2009 21:59:28 +0200 + +slrn (1.0.0~pre10-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * slrnpull: Cleaned up the permissions underneath /var/spool/slrnpull + and added an override file for lintian. Now, only the directories + /v/s/s/out.going and /v/s/s/out.going/rejects have unusual + permissions. The override file required to request a debhelper + version >= 6.0.7~. + + * slrnpull: Ship /var/spool/slrnpull/requests with the package and set + appropriate permissions that every user can request the body of + articles. + + * slrnpull: Removed the link /var/spool/slrnpull/slrnpull.conf and rely + on fallback to /etc/news/slrnpull.conf. + + * Raised the Standards-Version to 3.8.1. No changes needed. + + -- Jörg Sommer Sun, 19 Apr 2009 22:34:50 +0200 + +slrn (1.0.0~pre2-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * Added the configure option --without-x to disable the check for X + libraries and header files, because the build of slrn should be the + same with and without the X libs installed (dirty build environment). + + * Enabled additional compiler warnings to uncover sources common + mistakes at build time. -Wformat=2 -Wunused -Wundef -Wextra + -Wswitch-enum -Wpointer-arith -Wnested-externs -Wbad-function-cast + -Wcast-qual -Wcast-align -Wshadow + + * Really link with libuu. Use --with-uu instead of --with-uudeview. The + options was renamed with 0.9.9.1. (closes: #506645) + + * Do not link slrnpull with libuu, because it doesn't use it. + + * Remove the workaround from 0.9.9~pre102-3 to read /etc/news/server. + Slrn's configure supports the option --with-server-file, now. + + * Increased Standards-Version to 3.8.0. Added the file README.source to + describe how to use dpatch (or better said link to the defaul + description in /usr/share/doc/dpatch). + + -- Jörg Sommer Sun, 23 Nov 2008 22:36:07 +0100 + +slrn (0.9.9-1) unstable; urgency=low + + * New upstream release + + A solution to workaround the problem of overlong lines in the + header, especially the References line, was added in version + pre127. (closes: #472006) + + * Remove the patch gnutls-support.dpatch, because it's applied to the + upstream source in pre123. + + * Adapted the watch to the the new location on space.mit.edu, former + sourceforge.net. + + * Added the DM-Upload-Allowed field in the control file. + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Mon, 18 Aug 2008 23:32:54 +0200 + +slrn (0.9.9~pre122-1) unstable; urgency=low + + * New upstream release + + * Removed the following patches, they are applied upstream + + 210_doc-fix.diff -- pre121 + + * Updates of debconf translation: + + Swedish, thanks to Martin Ågren. (closes: #492102) + + * Added the patch gnutls-support to enable GNU TLS support. + (closes: #487865) + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Fri, 25 Jul 2008 13:35:45 +0200 + +slrn (0.9.9~pre111-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * Removed the following patches, they are applied upstream + + 205_organization.diff -- pre105 + + 208_slrnrc-conv.diff -- pre103 + + rm_unused_domain_check.dpatch -- pre106 + + * Updates of debconf translation: + + Czech, thanks to Miroslav Jezbera. (closes: #485281) + + -- Jörg Sommer Tue, 17 Jun 2008 01:21:36 +0200 + +slrn (0.9.9~pre102-3) unstable; urgency=low + + * Extended dpatch 203_locations.diff to define the marco + NNTPSERVER_FILE. (closes: #469586) + + * Reset the value of the configuration directory with a make option to + overwrite the default value of $(sysconfdir)/slrn. This solves also + the problem that slrnpull search slrnpull.conf in /etc/news/slrn. + (closes: #480681) + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Tue, 13 May 2008 16:18:47 +0200 + +slrn (0.9.9~pre102-2) unstable; urgency=low + + * Replaced selfmade hardening support by the package hardening-wrapper. + This handles all those special cases I don't have done in my selfmade + version. The hardening-wrapper doesn't use DEB_BUILD_OPTIONS, but its + own variables DEB_BUILD_HARDENING*; see man hardening-wrapper. So, + DEB_BUILD_OPTIONS=nohardening isn't used. (closes: #478057) + + * Updates of debconf translation: + + Vietnamese, thanks and a big sorry to Clytie Siddall. I've + completely missed this bug report. (closes: #461378) + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Wed, 30 Apr 2008 15:46:03 +0200 + +slrn (0.9.9~pre102-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * Removed the dpatch add-missing-checks, because is was applied + upstream. + + * Updates of debconf translations: + + Danish, thanks to M. P. Rommedahl (closes: #475563) + + Basque, thanks to Piarres Beobide (closes: #475965) + + * Enabled hardening as suggested in + http://lists.debian.org/debian-devel-announce/2008/01/msg00006.html + As long as DEB_BUILD_OPTIONS doesn't contain "nohardening" the CFLAGS + -fPIC -fPIE -fstack-protector -Wformat=2 -Wextra -D_FORTIFY_SOURCE=2 + and the LDFLAGS -Wl,-zrelro,-pie are used. + + * Removed the hostname-in-binary check from debian/rules and added a + dpatch to remove the unused domainname and hostname checks from + configure. Upstream told in [1] the hostname-in-binary problem #83725 + can't happen with the current code. (closes: #472361) + + [1] http://sourceforge.net/mailarchive/forum.php?thread_name=slrnfvftt7.1v2.joerg%40alea.gnuu.de&forum_name=slrn-user + + * Fixed permission of /etc/ppp/ip-up.d/slrn and …/slrnpull. The scripts + missed the executable flag. + + * The scripts in /etc/ppp/ip-up.d do no longer run the subjob as a + background process, because this breaks the quick calling mode of + pon. + + * Install the scripts from /etc/ppp/ip-up.d in /etc/network/if-up.d, + too, and modified them to not run, if the variable MODE contains + loopback, i.e. don't start, if the loopback device comes up. + + * Dropped the dpatch 209_optic, because it breaks the translation of + these strings and I don't see what's the intent of this patch. + + * Dropped the dpatch 206_branding, because I don't see what's the value + of this patch except for fun. + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Sat, 26 Apr 2008 16:19:22 +0200 + +slrn (0.9.9~pre99-1) unstable; urgency=high + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * The slrn package shipped the file /etc/default/slrnpull. Now, it + shipps the file slrn. (closes: #470630) Due to this bug I've raised + the urgency of this version to high. + + * Raised debhelper compatibility level to V5, because V4 didn't support + comments in debhelper files. + + * Now, the "make install" call installes all files in debian/tmp and + the files are installed with dh_install* tools into the packages. + This way we benefit from fancy things like character encoding + conversion to UTF-8 by dh_installman. + + * Merged in the Debian changelog entries of version 0.9.8.1pl1-22 to + -28 (the package uploaded to unstable). The changes from these + versions aren't needed, because they are mostly overridden by changes + done since 0.9.9~pre77-1. + + * Updates of debconf translations: + + Galician, thanks to Jacobo Tarrio (closes: #414042) + + Portuguese, thanks to Américo Monteiro (closes: #433397) + + Russian, thanks to Yuri Kozlov (closes: #471028) + + French, thanks to Steve Petruzzello (closes: #472598) + + Finnish, thanks to Esko Arajärvi (closes: #473017) + + German, thanks to Erik Schanze (closes: #473319) + + * Do not update the config settings in the postinst scripts, if the + admin removed the config file in /etc/default. (closes: #471864) + + * Added a note about the missing support for /etc/news/server to + NEWS.Debian. This does not fix #469586, but it should make people + aware of this problem. + + * Added dpatch add-missing-checks to check for functions, header files + and types used in the source. This adds IPv6 support, because now the + necessary functions are detected. (closes: #473214) + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Sun, 6 Apr 2008 22:52:58 +0200 + +slrn (0.9.9~pre97-1) unstable; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + + 97. src/slrn.c: If SLang_getkey fails, then exit. (closes: #450845) + + * Removed debian/patches/fix-s-lang-spelling.dpatch and + debian/patches/fix-manpage-hyphen.dpatch; they are applied upstream + + * Added symlink from /u/s/slrn/newsgroups.dsc to /v/l/slrn/newsgroups.dsc, + because slrn searches there for the newsgroups.dsc file. It's not + possible to configure a different path for this file. + + * Removed code from postinst and preinst scripts for upgrades from + version prior to 0.9.8.1 (current version in stable). Upgrades from + these versions aren't supported. + + * /etc/default/slrn and …/slrnpull are a real conffile, now. + + * Removed automake from the Build-Depends field. It's not used. + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Tue, 04 Mar 2008 14:24:33 +0100 + +slrn (0.9.9~pre77-1) experimental; urgency=low + + * This package is based on the svn snapshot from + https://slrn.svn.sourceforge.net/svnroot/slrn/trunk + + * Set Jörg Sommer as new maintainer + + * Removed unneded patches: 100_version.diff 200_unneeded-deps.diff + 207_damn-autoconf.diff + + * Removed rebuild of locale files and removed gettext from + Build-Depends filed + + * Renamed all slrn related files in debian/ to slrn.$file. + + * Added support for DEB_BUILD_OPTIONS=noopt and nostrip + + * Moved ${misc:Depends} to the Pre-Depends field, because debconf is + used in the preinst script. + + * Added debian/patches/fix-manpage-hyphen.dpatch to use minus signs + instead of hyphens in the manpages. + + * Added debian/patched/fix-manpage-s-lang-spelling.dpatch to unify the + spelling of S‐Lang in the manpage of slrn. + + * Increased Standards-Version to 3.7.3.0. Moved slrn to the menu + Applications/Network/Communication. + + * Removed version informations in Build-Depends field. All packages in + stable are newer as the requested versions. Removed dpkg-dev from + Build-Depends field and debianutils from Depends field. Both are + essential and need no special request. + + * Removed Conflicts/Replaces fields from slrnpull for a nine years old + version. + + * Added Homepage, Vsc-Browser and Vcs-Git fields. + + * Reworked deconf questions: + + Updated shared/news/server to follow dev-ref. + + + Merged slrnpull/run_manual into slrnpull/run_from. + + + Dropped slrn/lost_slrnpull. It's old and an abuse of debconf. + + + Merged slrn/manual_getdescs into slrn/getdescs. + + + Rephrased slrn/getdescs_now to include no questions in the long + description. + + * Added NEWS file + + * Upload sponsored by Norbert Tretkowski + + -- Jörg Sommer Fri, 18 Jan 2008 17:59:01 +0100 + +slrn (0.9.8.1pl2~cvs20070125-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Fri, 26 Jan 2007 21:51:41 +0100 + +slrn (0.9.8.1pl2~cvs20070125-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Fri, 26 Jan 2007 21:51:41 +0100 + +slrn (0.9.8.1pl2~cvs20061116-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Thu, 16 Nov 2006 23:09:51 +0100 + +slrn (0.9.8.1pl2~cvs20061113-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Mon, 13 Nov 2006 22:10:03 +0100 + +slrn (0.9.8.1pl2~cvs20061112-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Sun, 12 Nov 2006 21:16:10 +0100 + +slrn (0.9.8.1pl2~cvs20061030-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Mon, 30 Oct 2006 21:17:01 +0100 + +slrn (0.9.8.1pl2~cvs20060903-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Sun, 3 Sep 2006 17:00:09 +0200 + +slrn (0.9.8.1pl2~cvs20060902-1) experimental; urgency=low + + * New upstream cvs snapshot. + * Fixed most lintian warnings. + + -- Norbert Tretkowski Sat, 2 Sep 2006 21:22:13 +0200 + +slrn (0.9.8.1pl2~cvs20060831-1) experimental; urgency=low + + * New upstream cvs snapshot. + + Fixed segmentation fault on some articles. (closes: #385224, #383669) + + -- Norbert Tretkowski Thu, 31 Aug 2006 11:22:09 +0200 + +slrn (0.9.8.1pl2~cvs20060816-2) experimental; urgency=low + + * Last version was uploaded as native package by accident. + + -- Norbert Tretkowski Wed, 16 Aug 2006 10:42:33 +0200 + +slrn (0.9.8.1pl2~cvs20060816-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Wed, 16 Aug 2006 10:27:25 +0200 + +slrn (0.9.8.1pl2~cvs20060815-1) experimental; urgency=low + + * New upstream cvs snapshot. + + -- Norbert Tretkowski Tue, 15 Aug 2006 18:34:28 +0200 + +slrn (0.9.8.1pl2~cvs20060812-1) experimental; urgency=low + + * New upstream cvs snapshot. + * Removed some patches which got merged upstream. + + -- Norbert Tretkowski Sat, 12 Aug 2006 10:56:49 +0200 + +slrn (0.9.8.1pl1-28) unstable; urgency=high + + * Disabled charset patch from Bas Zoetekouw due to unhandled segfaults. + (closes: #411667) + + -- Norbert Tretkowski Tue, 20 Mar 2007 23:00:01 +0100 + +slrn (0.9.8.1pl1-27) unstable; urgency=medium + + * Updated the fallback charset patch from Bas Zoetekouw to fix regular + segfaults when expunging. (closes: #410135) + + -- Norbert Tretkowski Sun, 11 Feb 2007 18:01:29 +0100 + +slrn (0.9.8.1pl1-26) unstable; urgency=medium + + * Fixed some lintian warnings: + + missing-debconf-dependency-for-preinst + + deprecated-chown-usage + + syntax-error-in-debian-changelog + + -- Norbert Tretkowski Sat, 27 Jan 2007 18:43:51 +0100 + +slrn (0.9.8.1pl1-25) unstable; urgency=medium + + * Added fallback charset patch from Bas Zoetekouw and documented the new + feature in NEWS.Debian. (closes: #403781, #406210) + + -- Norbert Tretkowski Mon, 15 Jan 2007 21:37:41 +0100 + +slrn (0.9.8.1pl1-24) unstable; urgency=medium + + * Disabled hostname check to fix build failure on mips and mipsel. + + -- Norbert Tretkowski Wed, 27 Dec 2006 07:11:21 +0100 + +slrn (0.9.8.1pl1-23) unstable; urgency=medium + + * Added NEWS.Debian file which documents the configuration changes + introduced with the charset patch in the last release. (closes: #403781) + * Fixed debconf templates. (closes: #388959, #388960) + + -- Norbert Tretkowski Thu, 21 Dec 2006 20:29:08 +0100 + +slrn (0.9.8.1pl1-22) unstable; urgency=medium + + * Reenabled charset patch from Bas Zoetekouw. (closes: #316919) + * Really update config.guess and config.sub. (closes: #331427) + + -- Norbert Tretkowski Tue, 12 Dec 2006 07:38:39 +0100 + +slrn (0.9.8.1pl1-21) unstable; urgency=low + + * Added patch from Jason Spiro to bump Slrn_Query_Group_Cutoff to 1000 + instead 100. (closes: #375015) + * Don't remove /var/log/news when purging slrnpull. (closes: #355437) + + -- Norbert Tretkowski Tue, 1 Aug 2006 14:03:27 +0200 + +slrn (0.9.8.1pl1-20) experimental; urgency=low + + * Reenabled charset patch again. + + -- Norbert Tretkowski Mon, 3 Jul 2006 22:20:12 +0200 + +slrn (0.9.8.1pl1-19) unstable; urgency=low + + * Adjusted slrnpull.cron.daily and slrnpull.ip-up for updated su in login + since 1:4.0.15-5, thanks to Simon Taylor. (closes: #371875) + * Updated standards-version to 3.7.2.0, no changes required. + + -- Norbert Tretkowski Sat, 10 Jun 2006 19:47:28 +0200 + +slrn (0.9.8.1pl1-18) unstable; urgency=low + + * Adjusted slrn_getdescs for updated su in login since 1:4.0.15-5, thanks + to Joerg Sommer. (closes: #367770) + * Temporary disabled charset patch for this upload to unstable. + + -- Norbert Tretkowski Wed, 17 May 2006 22:51:28 -0500 + +slrn (0.9.8.1pl1-17) experimental; urgency=low + + * Fixes to the charset patch from Bas Zoetekouw. + + -- Norbert Tretkowski Tue, 4 Apr 2006 21:57:21 +0200 + +slrn (0.9.8.1pl1-16) experimental; urgency=low + + * Added charset patch from Bas Zoetekouw. (closes: #316919) + + -- Norbert Tretkowski Sat, 18 Feb 2006 09:44:56 +0100 + +slrn (0.9.8.1pl1-15) unstable; urgency=low + + * Removed unneeded direct dependencies on libgcrypt11 and libtasn1-2. + (closes: #346481) + + -- Norbert Tretkowski Sun, 22 Jan 2006 02:40:08 +0100 + +slrn (0.9.8.1pl1-14) unstable; urgency=low + + * Rebuilt with libslang2 2.0.5. + * Updated Standards-Version to 3.6.2.1. + + -- Norbert Tretkowski Fri, 18 Nov 2005 16:07:07 +0100 + +slrn (0.9.8.1pl1-13) unstable; urgency=low + + * Use "head -n 1" instead obsolete "head -1" in debconf and postinst + scripts. (closes: #334576) + + -- Norbert Tretkowski Tue, 18 Oct 2005 21:51:33 +0200 + +slrn (0.9.8.1pl1-12) unstable; urgency=low + + * Added an alternative for mail-transport-agent build-dependency. + (closes: #333216) + + -- Norbert Tretkowski Wed, 12 Oct 2005 15:50:10 +0200 + +slrn (0.9.8.1pl1-11) unstable; urgency=low + + * Added a new patch from cvs which fixes messing up the screen when + reconnecting to the newsserver fails. (closes: #294300) + + -- Norbert Tretkowski Sun, 9 Oct 2005 12:49:32 +0200 + +slrn (0.9.8.1pl1-10) unstable; urgency=low + + * Fixed location of config.{guess,sub}. (really closes: #331427) + + -- Norbert Tretkowski Mon, 3 Oct 2005 18:39:09 +0200 + +slrn (0.9.8.1pl1-9) unstable; urgency=low + + * Update config.guess and config.sub in clean target. (closes: #331427) + + -- Norbert Tretkowski Mon, 3 Oct 2005 15:28:45 +0200 + +slrn (0.9.8.1pl1-8) unstable; urgency=low + + * Updated swedish debconf translation from Daniel Nylander. + (closes: #331358) + * Added a new patch which corrects an error in the documentation. + (closes: #277443) + * Removed version from libgnutls-dev build-dependency. + + -- Norbert Tretkowski Mon, 3 Oct 2005 10:27:39 +0200 + +slrn (0.9.8.1pl1-7) unstable; urgency=low + + * Added a new patch which sets SLRN_SPOOL_ROOT and SLRNPULL_ROOT_DIR to + /var/spool/slrnpull. (closes: #300854) + * Added a new patch from Yann Dirson which adds some obsolete statements to + slrnrc-conv. (closes: #282550) + * Added vietnamese debconf translation from Clytie Siddall. + (closes: #318393) + * Fixed spelling error in po/pt_BR.po. (closes: #326623) + + -- Norbert Tretkowski Sun, 2 Oct 2005 15:31:39 +0200 + +slrn (0.9.8.1pl1-6) unstable; urgency=low + + * Built against libgnutls-dev. + + -- Norbert Tretkowski Sun, 31 Jul 2005 19:08:56 +0200 + +slrn (0.9.8.1pl1-5) unstable; urgency=low + + * Upload to unstable. (closes: #315640) + * Updated Standards-Version to 3.6.2. + + -- Norbert Tretkowski Fri, 24 Jun 2005 12:32:29 +0200 + +slrn (0.9.8.1pl1-4) experimental; urgency=low + + * Built against slang2 to get full UTF-8 support. + * Added a new patch from cvs to fix author search. + + -- Norbert Tretkowski Sun, 19 Jun 2005 12:14:22 +0200 + +slrn (0.9.8.1pl1-3) experimental; urgency=low + + * Merged changed from 0.9.8.1-6. + + -- Norbert Tretkowski Fri, 18 Mar 2005 10:43:51 +0100 + +slrn (0.9.8.1pl1-2) experimental; urgency=low + + * Added full path to slrn binary in menu file to make lintian happy. + + -- Norbert Tretkowski Fri, 18 Feb 2005 08:15:32 +0100 + +slrn (0.9.8.1pl1-1) experimental; urgency=low + + * New developer preview of next upstream release. + + Permission 600 given to slrnpull debugging files. (closes: #276645) + * Removed some patches which got merged upstream. + + -- Norbert Tretkowski Thu, 17 Feb 2005 23:23:25 +0100 + +slrn (0.9.8.1-6) unstable; urgency=low + + * Fixed typo in package description of slrnpull. (closes: #300078) + * Removed jm_AC_TYPE_UNSIGNED_LONG_LONG from autoconf requirements. + + -- Norbert Tretkowski Fri, 18 Mar 2005 10:29:33 +0100 + +slrn (0.9.8.1-5) unstable; urgency=medium + + * Updated german debconf translation from Erik Schanze. (closes: #280994) + + -- Norbert Tretkowski Sun, 14 Nov 2004 13:16:35 +0100 + +slrn (0.9.8.1-4) unstable; urgency=medium + + * Added upstream patch slrn-0.9.8.1-lastchar-incr.diff which fixes new + problems introduced in slrn-0.9.8.1-lastchar.diff. + + -- Norbert Tretkowski Sat, 06 Nov 2004 17:24:23 +0100 + +slrn (0.9.8.1-3) unstable; urgency=medium + + * Added upstream patch slrn-0.9.8.1-lastchar.diff to avoid slrn eating the + last character of the article when posting. + * Added a patch which adds Debian branding to user-agent string. + + -- Norbert Tretkowski Thu, 14 Oct 2004 16:15:13 +0200 + +slrn (0.9.8.1-2) unstable; urgency=medium + + * Added upstream patch slrn-0.9.8.1-fetch.diff to avoid going immediately to + the next group when a group contains no new headers. + + -- Norbert Tretkowski Sun, 10 Oct 2004 10:01:35 +0200 + +slrn (0.9.8.1-1) unstable; urgency=low + + * New upstream release. + + -- Norbert Tretkowski Thu, 07 Oct 2004 08:20:34 +0200 + +slrn (0.9.8.0pl1-2) experimental; urgency=low + + * Added version to autoconf build-dependency. + * Added automake1.8 to build-dependencies. + + -- Norbert Tretkowski Fri, 01 Oct 2004 19:44:41 +0200 + +slrn (0.9.8.0pl1-1) experimental; urgency=low + + * New developer preview of next upstream release. + * Removed some patches which got merged upstream. + + -- Norbert Tretkowski Thu, 30 Sep 2004 23:15:32 +0200 + +slrn (0.9.8.0-17) unstable; urgency=medium + + * Added a patch which fixes a segfault when using slrn on terminals wider + than 256 chars. (closes: #270710) + + -- Norbert Tretkowski Sat, 25 Sep 2004 14:26:11 +0200 + +slrn (0.9.8.0-16) unstable; urgency=medium + + * Built against libgnutls11-dev. (closes: #264737) + + -- Norbert Tretkowski Wed, 11 Aug 2004 19:27:26 +0200 + +slrn (0.9.8.0-15) unstable; urgency=low + + * Force usage of /etc/news/server when downloading newsgroup descriptions. + (closes: #243955) + * Added (incomplete) dutch debconf translation from Peter Karlsson. + (closes: #209083) + * Added czech debconf translation from Miroslav Jezbera. (closes: #260231) + + -- Norbert Tretkowski Sat, 7 Aug 2004 20:24:11 +0200 + +slrn (0.9.8.0-14) unstable; urgency=low + + * Updated patch from Paul Martin which fixes removing of .headers files. + * Added this patch to dpatch list. (really closes: #240649, #248297) + + -- Norbert Tretkowski Thu, 01 Jul 2004 19:03:11 +0200 + +slrn (0.9.8.0-13) unstable; urgency=low + + * Updated german debconf translation from Florian Ernst. (closes: #244540) + * Added a patch from J. H. M. Dassen which reduces the amount of shared + library dependencies. (closes: #242998) + * Added a patch from Paul Martin which fixes removing of .headers files. + (closes: #240649, #248297) + * Added a patch from Michael Ablassmeier which disables uudeview support on + hurd-i386. (closes: #245354) + + -- Norbert Tretkowski Sat, 12 Jun 2004 22:56:14 +0200 + +slrn (0.9.8.0-12) unstable; urgency=low + + * Added patch from cvs which fixes overwriting of newsrc if it's a symbolic + link. (closes: #207941) + * Updated spanish debconf translation from Javi Castelo. (closes: #238022) + * Updated danish debconf translation from Claus Hindsgaul. (closes: #235127) + * Converted changelog from iso-8859-1 to utf-8. + * Removed duplicated tag from menu file. + + -- Norbert Tretkowski Sun, 27 Mar 2004 17:24:36 +0100 + +slrn (0.9.8.0-11) unstable; urgency=low + + * Added upstream patch slrn-0.9.8.0-ranges2.diff to avoid marking additional + articles in the other group(s) as read when reading cross-posts. + * Added libcanlock2-dev to build-dependencies and --with-canlock option to + configure. (closes: #127901, #207389) + * Used short hostname when long hostname is not available. (closes: #230408) + * Added explicit build-dependency on libgnutls7-dev. (closes: #232993) + + -- Norbert Tretkowski Mon, 16 Feb 2004 10:01:22 +0100 + +slrn (0.9.8.0-10) unstable; urgency=low + + * New maintainer. (closes: #228006) + * Split out patches and moved over to dpatch. + * Added upstream patch slrn-0.9.8.0-mime.diff to avoid possible crashes + when trying to decode base64-encoded articles. + * Added a patch from Jon Dowland which + activates menu hints. (closes: #223573) + + -- Norbert Tretkowski Sat, 31 Jan 2004 00:26:09 +0100 + +slrn (0.9.8.0-9) unstable; urgency=low + + * Updated Russian debconf po file from Ilgiz Kalmetev. + Closes: #219228 + + -- Joey Hess Wed, 5 Nov 2003 19:35:17 -0500 + +slrn (0.9.8.0-8) unstable; urgency=low + + * Force inews suppot to be on, lose the build-dep on inewsinn. + Closes: #215586 + * Add note to README.Debian about location of contrib programs, + and fixed slrn to give the path to slrnrc-conv again (accidential + reversion). Closes: #216598 + + -- Joey Hess Tue, 14 Oct 2003 21:20:37 -0400 + +slrn (0.9.8.0-6) unstable; urgency=low + + * Updated Polish debconf translation from Bartosz Zapalowski + . Closes: #214709 + + -- Joey Hess Thu, 9 Oct 2003 16:03:15 -0400 + +slrn (0.9.8.0-5) unstable; urgency=low + + * Added a README.Debian for slrn. + * Since /etc/news/organization may not exist (and this package will not + fill something in, since there is no good default, and it's not important + enough to bother the user about), modified slrn so if it uses the value + from OUR_ORGANIZATION, it only treats it as a file, not as a literal + value. Closes: #205406 (again) + + -- Joey Hess Thu, 11 Sep 2003 13:40:53 -0400 + +slrn (0.9.8.0-4) unstable; urgency=low + + * Applied upstream patch slrn-0.9.8.0-post.diff to avoid possible segfaults + when posting on powerpc. + + -- Joey Hess Sat, 6 Sep 2003 11:06:58 -0400 + +slrn (0.9.8.0-3) unstable; urgency=low + + * Applied upstream patch slrn-0.9.8.0-ranges.diff, fixes slrnpull download + stats. + + -- Joey Hess Tue, 2 Sep 2003 15:21:16 -0400 + +slrn (0.9.8.0-2) unstable; urgency=low + + * Updated pt_BR debconf template. Patch from Andre Luis Lopes. + Closes: #208120 + + -- Joey Hess Sun, 31 Aug 2003 21:41:51 -0400 + +slrn (0.9.8.0-1) unstable; urgency=low + + * New upstream release. + - with new cleanscore, obsoleting my hack for #189802 + - incorporating my gnutls patch + - with J.H.M. Dassen's ipv6 patch + - should fix key mismatch bug in Dutch translation. Closes: #159087 + - and the Dutch translation should be complete now. Closes: #144595 + - fixes misaligned columns in group mode. Closes: #64115 + - includes Chris Hanson's uudeview patch. Closes: #139235 + - fixes the annoying capitalization behavior. Closes: #140756 + - with many other fixes and enhancments, see the changelog + * Pass new --with-server-file option to configure. + * Update slrnpull description to reflect new "true offline" capabilities. + * Add new README.offline to slrnpull docs. + * Stop running autotools in debian/rules since all my patches that require + that are in upstream. + * Update copyright file. + + -- Joey Hess Tue, 26 Aug 2003 13:58:47 -0400 + +slrn (0.9.7.4-39) unstable; urgency=low + + * Read organization from /etc/news/organization by default. Closes: #205406 + + -- Joey Hess Thu, 14 Aug 2003 10:56:38 -0400 + +slrn (0.9.7.4-38) unstable; urgency=low + + * Build depends on inewsinn, not inews, since inews puts inews in a + directory not in path. + + -- Joey Hess Sat, 12 Jul 2003 20:40:19 +0200 + +slrn (0.9.7.4-37) unstable; urgency=low + + * Updated French po-debconf file from Pierre Machard. Closes: #195650 + * po/Makefile.in.in: Removed what looked like a workround for an old + version of autoconf that did not finx mkinstalldirs properly. That + workaround broke with autoconf 2.50, which does find it properly. + Closes: #198318 + + -- Joey Hess Sun, 22 Jun 2003 16:26:56 -0400 + +slrn (0.9.7.4-36) unstable; urgency=low + + * Added a menu icon, a rediced color and converted version of the gnome + news icon. Closes: #192605 + * Ran debconf-updatepo. + + -- Joey Hess Tue, 13 May 2003 18:00:08 -0400 + +slrn (0.9.7.4-35) unstable; urgency=low + + * Shut up getopts.pl warning in cleanscore. There is a clean fix in a + new upstream but that is too many changes, I just turned off warnings + around the getopts.pl require line. Closes: #189802 + + -- Joey Hess Sun, 20 Apr 2003 10:15:39 -0400 + +slrn (0.9.7.4-34) unstable; urgency=low + + * Fix off by one in ipv6 patch, Closes: #187882 + + -- Joey Hess Mon, 7 Apr 2003 16:29:34 -0400 + +slrn (0.9.7.4-33) unstable; urgency=low + + * Put back fr.po rom before, DDTP is incomplete after all. Closes: #185916 + + -- Joey Hess Sun, 23 Mar 2003 19:40:36 -0800 + +slrn (0.9.7.4-32) unstable; urgency=low + + * Completed de, pt_BR, fr and updated da, ru, es debconf template + translations from DDTP. + * Shut up the weekly cron job, to avoid noie if the news server is down. + Closes: #185029 + + -- Joey Hess Sun, 16 Mar 2003 15:11:48 -0800 + +slrn (0.9.7.4-31) unstable; urgency=low + + * Add HAVE_GETADDRINFO to slrn.h. + + -- Joey Hess Sun, 2 Mar 2003 22:18:25 -0500 + +slrn (0.9.7.4-30) unstable; urgency=low + + * Applied ipv6 support patch from J.H.M. Dassen. Closes: #183101 + + -- Joey Hess Sun, 2 Mar 2003 12:42:16 -0500 + +slrn (0.9.7.4-29) unstable; urgency=low + + * Added pt_BT translation of debconf templates. Closes: #179502 + * Build-depend on any automaken. + + -- Joey Hess Sun, 2 Feb 2003 15:51:31 -0500 + +slrn (0.9.7.4-28) unstable; urgency=low + + * Rebuilt to clear up indicrect libopencdk dependency. Closes: #173146 + + -- Joey Hess Sun, 15 Dec 2002 14:24:52 -0500 + +slrn (0.9.7.4-27) unstable; urgency=low + + * Use libgnutls-extra-config. Closes: #172298 + + -- Joey Hess Sun, 8 Dec 2002 20:49:40 -0500 + +slrn (0.9.7.4-26) unstable; urgency=low + + * Fix ownership of /etc/ppp directory to 755. + + -- Joey Hess Sun, 17 Nov 2002 12:34:00 -0500 + +slrn (0.9.7.4-25) unstable; urgency=low + + * Built for new gnutls. Closes: #169253 + + -- Joey Hess Fri, 15 Nov 2002 13:55:35 -0500 + +slrn (0.9.7.4-24) unstable; urgency=low + + * Suggest metamail since slrn can use it for viewing mime. + + -- Joey Hess Fri, 15 Nov 2002 13:44:48 -0500 + +slrn (0.9.7.4-23) unstable; urgency=low + + * Updated french debconf po file. Closes: #164113 + * Fixed typo in slrnpull defaults file. Closes: #164669 + * Don't override upstream color scheme, as the current upstream color + scheme is a lot better than it used to be, not using blue foreground + text at all. Closes: #164841 + + -- Joey Hess Thu, 17 Oct 2002 14:25:16 -0400 + +slrn (0.9.7.4-22) unstable; urgency=low + + * Updated config.sub, config.guess to modern versions that may work with + mips. Closes: #163926 + + -- Joey Hess Wed, 9 Oct 2002 17:45:21 -0400 + +slrn (0.9.7.4-21) unstable; urgency=low + + * Updated debconf po files to avoid debconf-gettextize bugs. Closes: #163349 + + -- Joey Hess Fri, 4 Oct 2002 19:49:57 -0400 + +slrn (0.9.7.4-20) unstable; urgency=low + + * Converted to po-debconf for translated templates. + * Turn on new-style debconf encoding stuff. + + -- Joey Hess Wed, 2 Oct 2002 23:57:19 -0400 + +slrn (0.9.7.4-19) unstable; urgency=low + + * Build with new libgnutls-extra.so, and link in -lopencdk. + + -- Joey Hess Sat, 21 Sep 2002 13:17:27 -0400 + +slrn (0.9.7.4-18) unstable; urgency=low + + * Added support for gnutls's openssl compatability layer, and build with it, + adding ssl support to slrn. Closes: #92113 + * Build-dep on libgnutls-dev. + * Run aclocal and autoconf at build time to pull in gnutls stuff in + acinclude.m4. + * Removed autogenerated clutter from diff. + + -- Joey Hess Mon, 26 Aug 2002 02:25:55 -0400 + +slrn (0.9.7.4-17) unstable; urgency=low + + * Run slrn as user news when retreiving descriptions in slrn_getdescs, just + in case. Closes: #157201 + + -- Joey Hess Thu, 22 Aug 2002 11:54:21 -0400 + +slrn (0.9.7.4-16) unstable; urgency=low + + * Typo, Closes: #155330 + + -- Joey Hess Sat, 3 Aug 2002 12:37:10 -0400 + +slrn (0.9.7.4-15) unstable; urgency=low + + * Turn on AM_MAINTAINER_MODE. + * Touch src/stamp-h.in to avoid invocations of autoheader. Closes: #154335 + * Fixed watchfile for sourceforge brokenness. + + -- Joey Hess Sat, 27 Jul 2002 12:59:02 -0400 + +slrn (0.9.7.4-14) unstable; urgency=low + + * Modified aclocal.m4 to work with autoconf 2.50, so it does not silently + fall back to the old autoconf, which broke large file support. + Added a really annoying linking of configure.in to configure.ac so + autoconf2.50 will run. Sigh. + Closes: #153737 + + -- Joey Hess Thu, 25 Jul 2002 23:54:31 -0400 + +slrn (0.9.7.4-13) unstable; urgency=low + + * Make slrn_getdescs ignore root's .slrnrc file; the global file is still + read. This way if root's .slrnrc is broken, it doesn't break this script. + Closes: #150975 + + -- Joey Hess Fri, 28 Jun 2002 17:54:16 -0400 + +slrn (0.9.7.4-12) unstable; urgency=low + + * Build with either automake 1.4 or 1.5 (sigh). + Closes: #150000 + + -- Joey Hess Sat, 15 Jun 2002 20:14:16 -0400 + +slrn (0.9.7.4-11) unstable; urgency=low + + * Debhelper v4. + + -- Joey Hess Thu, 13 Jun 2002 16:37:56 -0400 + +slrn (0.9.7.4-10) unstable; urgency=low + + * Enabled large file support, Closes: #147597 + + -- Joey Hess Tue, 21 May 2002 21:21:12 -0400 + +slrn (0.9.7.4-9) unstable; urgency=low + + * Whups, I touched too much. Closes: #147401 + + -- Joey Hess Sun, 19 May 2002 01:00:21 -0400 + +slrn (0.9.7.4-8) unstable; urgency=low + + * Touch some files before running make to try to avoid the automake + race on m68k. Closes: #146692 + + -- Joey Hess Sat, 18 May 2002 20:54:57 -0400 + +slrn (0.9.7.4-7) unstable; urgency=low + + * Corrected quoting in postinst and preinst, Closes: #146431 + + -- Joey Hess Thu, 9 May 2002 22:40:54 -0400 + +slrn (0.9.7.4-6) unstable; urgency=low + + * Only do the stuff in the postinst (esp nntpserver file munging) on upgrade + from old versions, not every time. + + -- Joey Hess Thu, 18 Apr 2002 22:24:13 -0400 + +slrn (0.9.7.4-5) unstable; urgency=low + + * Temporarily depend on autoconf in a vain attempt to get autobuilt on + sparc. + + -- Joey Hess Sat, 6 Apr 2002 12:38:34 -0500 + +slrn (0.9.7.4-4) unstable; urgency=low + + * Applied upstream patches: + - slrn-0.9.7.4-mem_leak.diff + - slrn-0.9.7.4-popup_win.diff + + -- Joey Hess Sat, 6 Apr 2002 11:25:05 -0500 + +slrn (0.9.7.4-3) unstable; urgency=low + + * Applied slrn-0.9.7.4-po.diff, which fixes some serious localization + problems. + + -- Joey Hess Thu, 21 Mar 2002 19:39:20 -0500 + +slrn (0.9.7.4-2) unstable; urgency=low + + * Applied upstream slrn-0.9.7.4-link_subjects.diff. + * Workaround warning from cleanscore, Closes: #130862 + + -- Joey Hess Thu, 14 Mar 2002 20:28:14 -0500 + +slrn (0.9.7.4-1) unstable; urgency=low + + * New upstream release. Closes: #137129 + + -- Joey Hess Wed, 13 Mar 2002 14:59:52 -0500 + +slrn (0.9.7.3-5) unstable; urgency=low + + * Applied three upstream diffs: slrn-0.9.7.3-menu.diff, + slrn-0.9.7.3-mimeenc.diff, slrn-0.9.7.3-ssl.diff (this last is useful only + if you build slrn with ssl support). + + -- Joey Hess Sat, 26 Jan 2002 17:43:47 -0500 + +slrn (0.9.7.3-4) unstable; urgency=low + + * Make clean see slrn-help.txt, Closes: #130450 + + -- Joey Hess Tue, 22 Jan 2002 20:53:33 -0500 + +slrn (0.9.7.3-3) unstable; urgency=low + + * Carlos Valdivia Yagüe contributed spanish translations + of the debconf stuff. + * Fixed it to look for newsgroups.desc in the traditional place again. + Closes: #119896 + + -- Joey Hess Fri, 16 Nov 2001 22:07:42 -0500 + +slrn (0.9.7.3-2) unstable; urgency=low + + * The "test twice, release once" release. + * Fixed cron.daily and ip-up scripts for slrnpull. + + -- Joey Hess Tue, 6 Nov 2001 20:03:36 -0500 + +slrn (0.9.7.3-1) unstable; urgency=low + + * New upstream, with i18n. + * Use new upstream make install target, instead of doing it all by hand. + * The debian diff is down to just patching 4 lines in slrnfeat.h. + * Moved slrnpull to /usr/bin from sbin (matches man page). + + -- Joey Hess Mon, 5 Nov 2001 18:45:42 -0500 + +slrn (0.9.7.2-9) unstable; urgency=low + + * Don't complain during slrn installation if slrnpull is not in the status + file. Closes: #116779 + + -- Joey Hess Tue, 23 Oct 2001 11:53:05 -0400 + +slrn (0.9.7.2-8) unstable; urgency=low + + * slrnpull.config: read in defaults file if it is present. + Closes: #115525 + + -- Joey Hess Sun, 14 Oct 2001 13:17:26 -0400 + +slrn (0.9.7.2-7) unstable; urgency=low + + * Russian templates from ilgiz kalmetev + also some typo fixes. Closes: #114860, #114859 + + -- Joey Hess Mon, 8 Oct 2001 18:46:37 -0400 + +slrn (0.9.7.2-6) unstable; urgency=HIGH + + * Upstream security fix; slrn's internal uudecoder auto-executes any + shell script in the archive (thinking it's a shar, presumably!). That + just doesn't fly in today's internet. Slrn in unstable is actually + probably not vulnerable, probably, since it is set up to use the + uudeview library for decoding. However, this is too critical a security + fix to omit. + + -- Joey Hess Sat, 22 Sep 2001 11:23:35 -0400 + +slrn (0.9.7.2-5) unstable; urgency=low + + * manual.txt typo, Closes: #112362 + + -- Joey Hess Sun, 16 Sep 2001 19:00:47 -0400 + +slrn (0.9.7.2-4) unstable; urgency=low + + * Upstream patches: + - slrn-0.9.7.2-authneeded.diff + - slrn-0.9.7.2-newsurl.diff + + -- Joey Hess Thu, 30 Aug 2001 17:43:34 -0400 + +slrn (0.9.7.2-3) unstable; urgency=low + + * Previous version was built on a system with a debuggig version of + debconf that generated broken templates files. Corrected, Closes: #110617 + + -- Joey Hess Wed, 29 Aug 2001 23:49:39 -0400 + +slrn (0.9.7.2-2) unstable; urgency=low + + * Some changes to old cruft in the debian diff. + * That includes ading back a missing root_dircat, Closes: #88151 + * Upstream patches: + - slrn-0.9.7.2-forceauth.diff + - slrn-0.9.7.2-readactive.diff + + -- Joey Hess Tue, 28 Aug 2001 15:10:56 -0400 + +slrn (0.9.7.2-1) unstable; urgency=low + + * New upstream release. + * Some changes to configure to make everything we've always built + continue to build with this new version. + * slrnpull.1 man page now shipped with slrn, so use it rather than the + stub I wrote. + * clientlib is dealt with, so the source is pristine once more. + + -- Joey Hess Mon, 20 Aug 2001 20:09:06 -0400 + +slrn (0.9.7.1-10) unstable; urgency=low + + * New upstream patches: + - slrn-0.9.7.1-decode.diff + - slrn-0.9.7.1-readfail.diff + + -- Joey Hess Fri, 13 Jul 2001 12:19:42 -0400 + +slrn (0.9.7.1-9) unstable; urgency=low + + * Fixed typo in /etc/mailname stuff. Closes: #104062 + + -- Joey Hess Mon, 9 Jul 2001 11:14:40 -0400 + +slrn (0.9.7.1-8) unstable; urgency=low + + * Slrn will now consult /etc/mailname to sret the posting_host (the + hostname in the From: line of posted messages. Done by setting + OUR_HOSTNAME=/etc/mailname in slrnfeat.h. Closes: #62265 + * Added code to prompt for a valie for /etc/mailname if it doesn't exist + yet. Using shared debconf question shared/mailname. + * Fixed a bug that made slrn ask about /etc/news/server on fresh slrn + installs when the file already existed. + + -- Joey Hess Wed, 4 Jul 2001 16:47:33 -0400 + +slrn (0.9.7.1-7) unstable; urgency=low + + * Polish translation of slrn's templates file by Krzysztof Krzyzaniak + , Closes: #103090 + + -- Joey Hess Mon, 2 Jul 2001 19:53:26 -0400 + +slrn (0.9.7.1-6) unstable; urgency=low + + * The "look ma, no registry!" release. + * Upstream patch slrn-0.9.7.1-include.diff, Closes: #102601 + * Moved some of the code from the ip-up and cron scripts into slrn_getdescs. + * Added /etc/default/ files for slrn and slrnpull. + * getdescs delay is configurable in /etc/default/slrn, Closes: #47950 + + -- Joey Hess Sat, 30 Jun 2001 12:10:10 -0400 + +slrn (0.9.7.1-5) unstable; urgency=low + + * Hm, I can't generate configure from configure.in easily, since it needs + an external mqacro file. Instead, I'll wimp out and just build-depend + on mail-transport-agent. Closes: #100963 + + -- Joey Hess Sun, 17 Jun 2001 18:21:14 -0400 + +slrn (0.9.7.1-4) unstable; urgency=low + + * Hacked configure script to assume sendmail is present so the package + need not build-depend on sendmail. Closes: #100963 + + -- Joey Hess Fri, 15 Jun 2001 11:23:49 -0400 + +slrn (0.9.7.1-3) unstable; urgency=low + + * German translations of templates files for: + - slrn, by Kai Weber Closes: #100830 + - slrpull, by Sebastian Feltel" Closes: #100825 + + -- Joey Hess Thu, 14 Jun 2001 12:38:49 -0400 + +slrn (0.9.7.1-2) unstable; urgency=low + + * Removed grouplens stuff from package description (dead). + * Applied upstream patches: + - slrn-0.9.7.1-readcount.diff + - slrn-0.9.7.1-xhdr_spool.diff + + -- Joey Hess Tue, 12 Jun 2001 16:42:31 -0400 + +slrn (0.9.7.1-1) unstable; urgency=low + + * New upstream release. + * Modified message about slrnrc.conv to give complete path to the file, + which is now in /usr/share/slrn/contrib/ + * Debhelper v3. + + -- Joey Hess Wed, 6 Jun 2001 20:29:30 -0400 + +slrn (0.9.7.0a-9) unstable; urgency=low + + * Upstream patches: + slrn-0.9.7.0-noregexp.diff (Closes: #96738) + + -- Joey Hess Thu, 10 May 2001 17:21:41 -0400 + +slrn (0.9.7.0a-8) unstable; urgency=low + + * Changed the slrnpull question about how to run slrnpull from low to + high, since this is a critical question to slrnpulls operation, and + there is not a very good default for everyone (bug #96792). + + -- Joey Hess Tue, 8 May 2001 17:34:30 -0400 + +slrn (0.9.7.0a-7) unstable; urgency=low + + * Upstream patches: + - slrn-0.9.7.0-hash.diff + - slrn-0.9.7.0-reply.diff + + -- Joey Hess Thu, 26 Apr 2001 23:48:35 -0400 + +slrn (0.9.7.0a-6) unstable; urgency=low + + * Upstream patches: + - slrn-0.9.7.0-uudeview.diff, Closes: #93194 + - slrn-0.9.7.0-editscore.diff + + -- Joey Hess Mon, 9 Apr 2001 12:50:57 -0700 + +slrn (0.9.7.0a-5) unstable; urgency=low + + * Fixed libdir, Closes: #93330 + + -- Joey Hess Sun, 8 Apr 2001 15:48:08 -0700 + +slrn (0.9.7.0a-4) unstable; urgency=low + + * Build-dep on inewsinn | inews, Closes: #93148 + + -- Joey Hess Fri, 6 Apr 2001 15:19:12 -0700 + +slrn (0.9.7.0a-3) unstable; urgency=low + + * Oops, I lost the /etc/news/slrn.rc patch, Closes: #93091 + + -- Joey Hess Fri, 6 Apr 2001 01:23:26 -0700 + +slrn (0.9.7.0a-2) unstable; urgency=low + + * Patch slrn-0.9.7.0-comp_charsets.diff fixes compatible_charsets, + which is the new feature that Closes: #64928 + + -- Joey Hess Thu, 5 Apr 2001 09:37:18 -0700 + +slrn (0.9.7.0a-1) unstable; urgency=low + + * New upstream, with a new maintainer. Incorporates many debian patches. + - this is the slrn.sourceforge.net version, Closes: #80200, #75961 + - manual.txt documents all the variables, Closes: #57300 + - decodes utf-8 (partial support anyhow, with more planned), Closes: #60650 + - should fix DST issues, Closes: #70050 + - group list position is preserved on 'G', Closes: #67926 + - looks like error printing is improved, Closes: #39672 + * Updated home page info. + * Turned off grouplens support, as the project seems to be dead. + * Added contrib/ directory contents to the examples. + * Removed clientlib.* from the upstream tarball, and excised all code + that tries to use it. It turns out that that file is not free software: + restrictions on sale. Luckily, that file contains only code that is not + used by slrn anymore (on linux anyway), so it was easy to remove. + * Applied patches from http://slrn.sourceforge.net/patches/#sect_bugs: + - slrn-0.9.7.0-mark_read.diff + - slrn-0.9.7.0-extract_header.diff + - slrn-0.9.7.0-newgroups.diff + + -- Joey Hess Wed, 4 Apr 2001 12:07:12 -0700 + +slrn (0.9.6.3-16) unstable; urgency=low + + * Uses libuu now, for uudeview support built in. + + -- Joey Hess Sat, 24 Mar 2001 21:37:41 -0800 + +slrn (0.9.6.3-15) unstable; urgency=low + + * Fixed man page typo, Closes: #89452 + * Fixed bashism. + + -- Joey Hess Wed, 14 Mar 2001 12:47:31 -0800 + +slrn (0.9.6.3-14) unstable; urgency=low + + * -r'd some xargs calls, Closes: #88810 + + -- Joey Hess Tue, 6 Mar 2001 19:33:17 -0800 + +slrn (0.9.6.3-13) unstable; urgency=low + + * Run daily slrnpull expiry job as user news, perms get messed up + otherwise. + * Fixed said messed up perms on upgrade. + * Make slrnpull.log file in postinst if it does not exist, so its perms + can be set. + + -- Joey Hess Mon, 5 Mar 2001 17:00:10 -0800 + +slrn (0.9.6.3-12) unstable; urgency=low + + * Fixed bad dpkg --compare-versions call on initial install. + + -- Joey Hess Mon, 5 Mar 2001 16:44:49 -0800 + +slrn (0.9.6.3-11) unstable; urgency=low + + * cd to spool directory before running slrnpull, Closes: #88151 + * Fixed problems with slrnpull log permissions. + + -- Joey Hess Thu, 1 Mar 2001 12:12:41 -0800 + +slrn (0.9.6.3-10) unstable; urgency=low + + * I had a report that the chmod/chown in the rules file fails on + the slrnpull.conf symlink. Although I have never seen such a thing, nor + can I reproduce it, it did make me relaize I want to make that symlink + only after the chmod/chown, because I don't want it's perms to be + affected. + + -- Joey Hess Wed, 28 Feb 2001 13:21:30 -0800 + +slrn (0.9.6.3-9) unstable; urgency=low + + * Rats, I can't do away with that slrnpull.conf symlink after all, it + breaks for people who have multiple confs and use -d. + + -- Joey Hess Sat, 24 Feb 2001 21:37:10 -0800 + +slrn (0.9.6.3-8) unstable; urgency=low + + * Really fixed build-depends typo, Closes: #84268 + + -- Joey Hess Fri, 9 Feb 2001 13:36:16 -0800 + +slrn (0.9.6.3-7) unstable; urgency=medium + + * Slrnpull now uses the scheme described in setuid.txt, Closes: #63011 + - run as user 'news' + - and /var/spool/slrnpull/{data,news} directories are sgid group news, but not + writable by that group, just by user news. + - /var/spool/slrnpull/out.going is +t to prevent users from stomping over + other user's files. + - Modified slrn to make posts to slrnpull spool be mode 640. (Enabled + SLRNPULL_USE_SETGID_POSTS, and hacked it to use mode 640, not 660.) + - Documented above in README.Debian + - Include slrnpull/setgid.txt in binary package. + - Added postinst code to update systems to the new permissions -- hope + this steps on no toes. + * Also made slrnpull read /etc/news/slrnpull.conf, so the symlink in + /var/news/slrnpull can be done away with. + + -- Joey Hess Wed, 7 Feb 2001 14:06:23 -0800 + +slrn (0.9.6.3-6) unstable; urgency=medium + + * Fixed build-depends, Closes: #83811 + + -- Joey Hess Sat, 27 Jan 2001 19:18:47 -0800 + +slrn (0.9.6.3-5) unstable; urgency=medium + + * Don't hardcode the domain name to build host *again*. This last happened + in 1997 and the fix for that was reverted somewhere along the way. + To prevent it from ever happenning again, I added a regression test + too. Closes: #83725 + + -- Joey Hess Sat, 27 Jan 2001 02:48:50 -0800 + +slrn (0.9.6.3-4) unstable; urgency=low + + * Added News hint, Closes: #80052 + + -- Joey Hess Tue, 19 Dec 2000 17:23:31 -0800 + +slrn (0.9.6.3-3) unstable; urgency=low + + * Modified maintainer scripts to not fail if /etc/news/server has more + than one line (although the format of the file is not particularly well + defined) Closes: #72978 + + -- Joey Hess Fri, 8 Dec 2000 22:25:06 -0800 + +slrn (0.9.6.3-2) unstable; urgency=low + + * Patch from Colin Phipps to fix a temp file + problem. Closes: #79058 (This problem is not exploitable by default + in Debian.) + + -- Joey Hess Fri, 8 Dec 2000 13:25:29 -0800 + +slrn (0.9.6.3-1) unstable; urgency=low + + * New upstream version. + + -- Joey Hess Tue, 31 Oct 2000 10:46:49 -0800 + +slrn (0.9.6.2-14) unstable; urgency=low + + * Patch from Michal Politowski to fix the patch I applied in -9 from + redhat's BTS. It was using sizeof() incorrectly, and truncating the + web browser command it ran to sizeof(char *). Closes: #75171 + + -- Joey Hess Fri, 20 Oct 2000 12:21:39 -0700 + +slrn (0.9.6.2-13) unstable; urgency=low + + * Removed a CVS directory that snuck into the deb. + + -- Joey Hess Fri, 13 Oct 2000 01:28:19 -0400 + +slrn (0.9.6.2-12) unstable; urgency=low + + * In both config scripts, used hostname -d. I had a quoting error that + was making the hostname be evaled. Closes: #71686 + + -- Joey Hess Sat, 30 Sep 2000 21:19:24 -0700 + +slrn (0.9.6.2-11) unstable; urgency=low + + * Added a guard to /etc/cron.weekly/slrn to ensure slrn is installed + before it tries to run. Closes: #69099 + * Config scripts detect reconfigure case, and when it is reconfigured, + allows you to change your news server. Closes: #64299 + * The config scripts are now shell scripts, not perl programs. + * Fixed some dumb bugs in the preinst. + * No longer links /etc/news/server to /etc/nntpserver, the latter is + long-deprecated. + + -- Joey Hess Thu, 31 Aug 2000 18:50:03 -0700 + +slrn (0.9.6.2-10) unstable; urgency=low + + * Moved to using logrotate for slrnpull. + + -- Joey Hess Sun, 9 Jul 2000 00:43:51 -0700 + +slrn (0.9.6.2-9) unstable; urgency=low + + * Applied a patch from + http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=12750 to fix + dozens of potential buffer overrun holes in slrn and slrnpull. These + include local environment variable overruns which Debian should not be + vulnerable to, since nothing in this package is installed setuid or + setgid (unlike Red Hat). It also includes theoretical remote exploits by + poisening newsgroup data. All theoretical, so I am not uploading it to + frozen, but I might as well apply the patch. + + -- Joey Hess Thu, 22 Jun 2000 18:26:33 -0700 + +slrn (0.9.6.2-8) unstable; urgency=low + + * Whoops, my unstable version numbers got out of sync, and the changes below + were never accepted in. Reupload with a better version number and a merge + from the potato branch. + * Slrnpull runs in background from ip-up.d script. Closes: #59615 + * Closes: #54137, weird .deb timestamp problem seems to be unreproducable. + * Closes: #53811, fixed long ago + * Documented how to turn off colors, Closes: #43570 + * Included slrnfuns.txt, Closes: #57298 + * Changed all blue on black text to brightblue on black, in the global + slrn.rc. This is the smallest change I can think of to make to fix the + issue that the color scheme is unreadable in an xterm. Closes: #55201 + + -- Joey Hess Fri, 11 Feb 2000 14:33:38 -0800 + +slrn (0.9.6.2-7) frozen unstable; urgency=low + + * Replaced my hackery in the last release with a good patch from upstream. + Url-escapes most stuff in URLS to prevent exploits, and doesn't use a + fixed size buffer. Closes: #57616 + + -- Joey Hess Wed, 9 Feb 2000 21:23:00 -0800 + +slrn (0.9.6.2-6) frozen unstable; urgency=low + + * Fixed 2 sprintf calls in launch_url that get untrusted text passed + into them, and so could be used for exploits in theory. + * Also fixed a quoting bug that let attackers run arbitrary commands by + embedding them in URLs. (This is not entirely fixed, but you are safe if + you use the suggested quoting in the slrn man page. It should really use + exec..) + * Luckily, there are 2 barriers for either of these security holes to be + expolited: first, the user is presented with the url before the browser + is launched (though an attacker could simply pad the front of the url with + something innocuous and hope the victim didn't scroll all the way to the + end of it). Second, you have to have non_Xbrowser or Xbrowser set in your + .slrnrc, and they are not set by default. Still, this needs to go into + frozen. Closes: #57616 + * The bug reporter is right, slrn needs a through audit. :-( + + -- Joey Hess Wed, 9 Feb 2000 15:51:33 -0800 + +slrn (0.9.6.2-5) frozen unstable; urgency=low + + * Upped MAX_GROUP_NAME_LEN to 200, to deal with a nasty long group name + floating around on pacbell's news servers. The group does not seem to be + propigating outside pacbell, so I don't know if this is a critical bug or + not. It will surely affect all pacbell customers who newly install slrn. + Up to the release manager whether this goes into frozen. Closes: #57539 + + -- Joey Hess Tue, 8 Feb 2000 16:21:33 -0800 + +slrn (0.9.6.2-4) unstable; urgency=low + + * Fixed sample slrn.rc. Closes: #54244 (half the bug report was already + fixed, actually) + * Already fixed bug: Closes: #54245 + + -- Joey Hess Sun, 9 Jan 2000 17:05:20 -0800 + +slrn (0.9.6.2-3) unstable; urgency=low + + * Search for rc file in /etc/ again. Closes: #54210 + + -- Joey Hess Thu, 6 Jan 2000 11:56:26 -0800 + +slrn (0.9.6.2-2) unstable; urgency=low + + * Oops, I forgot to correct a spelling error, Closes: #53205 + + -- Joey Hess Mon, 3 Jan 2000 16:33:00 -0800 + +slrn (0.9.6.2-1) unstable; urgency=low + + * New upstream, Closes: #53875 and fixes source package. + + -- Joey Hess Mon, 3 Jan 2000 12:13:24 -0800 + +slrn (0.9.5.7-16) unstable; urgency=low + + * Need to build-depend on a specific version of debhelper or higher. + + -- Joey Hess Sat, 4 Dec 1999 15:55:44 -0800 + +slrn (0.9.5.7-15) unstable; urgency=low + + * debian/config: Removed weird extra capb command, Closes: #51650 + * Build deps. + + -- Joey Hess Tue, 30 Nov 1999 15:26:42 -0800 + +slrn (0.9.5.7-14) unstable; urgency=low + + * If /etc/news/server is exists but is empty, populate it on install, + asking question if necessary. Closes: #48218 + * Correct cron job (and ip-up script) Closes: #50845 + + -- Joey Hess Mon, 22 Nov 1999 13:51:25 -0800 + +slrn (0.9.5.7-13) unstable; urgency=low + + * More debconf protocol version 2 fixes. + + -- Joey Hess Tue, 9 Nov 1999 16:14:11 -0800 + +slrn (0.9.5.7-12) unstable; urgency=low + + * Converted to debconf protocol version 2.0. + + -- Joey Hess Fri, 29 Oct 1999 16:24:37 -0700 + +slrn (0.9.5.7-11) unstable; urgency=low + + * Corrected a minor typo on the slrn man page. Closes: #47262 + * Fixed slrnpull's ip-up script to actually pull news if you aksed it to. + Closes: #46884 + + -- Joey Hess Wed, 13 Oct 1999 07:01:44 -0700 + +slrn (0.9.5.7-10) unstable; urgency=low + + * Reupload with full source, *again*. + * Closes: #46282, which was really fixed last release. + * Fixed typo in ip-up.d, Closes: #46473 + + -- Joey Hess Sun, 3 Oct 1999 01:32:17 -0700 + +slrn (0.9.5.7-9) unstable; urgency=low + + * Reupload with full source, because it's got a messed up tar file in the + archive (which needs to be deleted, ftp maintainers take note..) + * Closes: #46282, which was really fixed last release. + + -- Joey Hess Thu, 30 Sep 1999 12:05:35 -0700 + +slrn (0.9.5.7-8) unstable; urgency=low + + * Raised the priority of the "get descriptions now?" question, and + don't abort the postinst if it fails, as it is hardly critical to the + use of slrn. Closes: #46282 + + -- Joey Hess Wed, 29 Sep 1999 20:47:22 -0700 + +slrn (0.9.5.7-7) unstable; urgency=low + + * Modified to use new debhelper debconf support. + + -- Joey Hess Tue, 28 Sep 1999 17:04:36 -0700 + +slrn (0.9.5.7-6) unstable; urgency=low + + * Added code to clean up the debconf db on purge. This is a test of the + shared variable stuff. + + -- Joey Hess Mon, 27 Sep 1999 16:38:11 -0700 + +slrn (0.9.5.7-5) unstable; urgency=low + + * Optimized the ip-up script. (Closes: #45726) + + -- Joey Hess Sat, 25 Sep 1999 02:24:05 -0700 + +slrn (0.9.5.7-4) unstable; urgency=low + + * Modified to use debconf. The postinst was made completly non-interactive. + slrnconfig and slrnpullconfig were removed (use + "dpkg-reconfigure slrn(pull)"). All the cron jobs and such pull values + out of the debconf db directly. + + -- Joey Hess Thu, 9 Sep 1999 12:17:24 -0700 + +slrn (0.9.5.7-2) unstable; urgency=low + + * Added #DEBHELPER# to both preinsts. + * Fixed some bad mergers. + * FHS + + -- Joey Hess Mon, 6 Sep 1999 17:41:13 -0700 + +slrn (0.9.5.7-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Mon, 6 Sep 1999 17:41:07 -0700 + +slrn (0.9.5.6-5) unstable; urgency=low + + * Rebuilt with new slang1-dev to fix dependancy problem. + + -- Joey Hess Fri, 27 Aug 1999 20:39:51 -0700 + +slrn (0.9.5.6-4) unstable; urgency=low + + * Fixed source in perl script bashism. Don't ask. + + -- Joey Hess Fri, 6 Aug 1999 17:18:24 -0700 + +slrn (0.9.5.6-3) unstable; urgency=low + + * Fixed dependancy. + + -- Joey Hess Wed, 4 Aug 1999 15:42:34 -0700 + +slrn (0.9.5.6-2) unstable; urgency=low + + * Now depends on slang1 from unstable. If one used unstable slrn and stable + slang1, it could crash in some circumstances (Closes: #41903) + + -- Joey Hess Wed, 4 Aug 1999 11:37:07 -0700 + +slrn (0.9.5.6-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Tue, 25 May 1999 13:55:23 -0700 + +slrn (0.9.5.5-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Mon, 26 Apr 1999 19:09:54 -0700 + +slrn (0.9.5.4-4) unstable; urgency=low + + * Fixed crash on weird email addresses, patch from Dinko Korunic. + + -- Joey Hess Sat, 17 Apr 1999 13:37:18 -0700 + +slrn (0.9.5.4-3) unstable; urgency=low + + * Use /etc/news/server. + + -- Joey Hess Fri, 16 Apr 1999 12:36:11 -0700 + +slrn (0.9.5.4-2) unstable; urgency=low + + * Added example score file to slrnpull, fixes part of #33096. + * Moved /var/spool/slrnpull/log to /var/log/news/slrnpull.log, and rotate + it (closes: #33096) + + -- Joey Hess Tue, 9 Feb 1999 14:16:53 -0800 + +slrn (0.9.5.4-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Sat, 7 Nov 1998 17:08:46 -0800 + +slrn (0.9.5.3-4) unstable; urgency=low + + * Fixed postinst typo. + + -- Joey Hess Thu, 8 Oct 1998 11:55:53 -0700 + +slrn (0.9.5.3-3) unstable; urgency=low + + * Remove some slrnpull stuff if you don't use slrnpull. + + -- Joey Hess Tue, 6 Oct 1998 20:02:05 -0700 + +slrn (0.9.5.3-2) unstable; urgency=low + + * Made slrnconfig guess at newsserver to provide a default (#27287). + + -- Joey Hess Thu, 1 Oct 1998 17:10:38 -0700 + +slrn (0.9.5.3-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Mon, 14 Sep 1998 12:27:12 -0700 + +slrn (0.9.5.2-7) unstable; urgency=low + + * Rebuilt with debhelper 1.1.19, fixes man page collision problem #26603. + + -- Joey Hess Thu, 10 Sep 1998 11:22:34 -0700 + +slrn (0.9.5.2-6) unstable; urgency=low + + * If /etc/ppp/ip-ip.d/slrn, or /etc/cron.weekly/slrn contains the string, + "/etc/slrnget.conf", output a warning and offer to fix it to point to + /etc/news/slrn.debian.conf (#26541). + * If upgrading from a version before the split into 2 packages, and if + slrnpull is not marked for install, output a warning message letting + them know they are going to lose slrnpull (#26541). + + -- Joey Hess Tue, 8 Sep 1998 12:43:41 -0700 + +slrn (0.9.5.2-5) unstable; urgency=low + + * Rebuilt to fix dependancies (#26542). + + -- Joey Hess Tue, 8 Sep 1998 12:30:10 -0700 + +slrn (0.9.5.2-4) unstable; urgency=low + + * Applied patch from author, to fix slrn's response to signals. + + -- Joey Hess Tue, 16 Jun 1998 13:42:34 -0700 + +slrn (0.9.5.2-3) unstable; urgency=low + + * Fixed several typo's intrroduced in the last version. + * FYI, this package was built on a computer moving 60mph on a train. :-) + + -- Joey Hess Sun, 17 May 1998 11:20:08 -0700 + +slrn (0.9.5.2-2) unstable; urgency=low + + * The previous version removed the conffile /etc/cron.daily/slrn (it was + moved into the slrnpull package and renamed). I notice that on upgrade + to slrn, this file is preserved, and gets run daily, generating error + messages. To work around that, I have added code to the postinst of slrn + to delete it if it exists. + + -- Joey Hess Thu, 14 May 1998 00:48:55 -0700 + +slrn (0.9.5.2-1) unstable; urgency=low + + * New upstream release. + * Split the package into two: slrn will contain only the newsreader, while + the new slrnpull package will contain the slrnpull stuff. Did this + becuase it's ben pointed out some people may want slrn but not slrnpull, + other may want slrnpull, but a news reader other than slrn. + * Rewrote slrnconfig extensively, splitting part of it into + slrnpullconfig, and making it all much easier to use. + * Split /etc/slrnget.conf into 2 files, /etc/news/slrn.debian.conf and + /etc/news/slrnpull.debian.conf + + -- Joey Hess Tue, 5 May 1998 13:31:39 -0700 + +slrn (0.9.5.1-2) unstable; urgency=low + + * Moved /var/spool/slrnpull/slrnpull.conf to /etc/news/slrnpull.conf with + a symlink back to the old location. (#21133) + + -- Joey Hess Tue, 28 Apr 1998 14:55:36 -0700 + +slrn (0.9.5.1-1) unstable; urgency=low + + * New upstream release, linked with new slang 1.2. + + -- Joey Hess Sat, 25 Apr 1998 16:42:35 -0700 + +slrn (0.9.4.3-4) unstable; urgency=low + + * Fixed all lintian reports: + - updated standard version. + - fixed FSF mailing address. + - removed du control file. + - fixed md5sums permissions. + - added man pages for all executables. + * There is a problem with using slrnpull for a local news spool and + posting outgoing news into /var/spool/slrnpull/out.going/. Unless that + directory is set to permissions 777 (or your user is in group news), it + won't work. Since most people do not use slrnpull, I have not changed the + directory permissions, but this is now documented in README.Debian. I + have also brought this problem to the attention of the upstream author. + + -- Joey Hess Fri, 20 Feb 1998 15:12:49 -0800 + +slrn (0.9.4.3-3) unstable; urgency=low + + * Don't depend on perl; perl-base is sufficient. + + -- Joey Hess Sat, 7 Feb 1998 19:24:52 -0800 + +slrn (0.9.4.3-2) unstable; urgency=low + + * Removed ugly modification of /etc/ppp/ip-up, now uses ip-up.d directory. + * Added du and md5sums. + + -- Joey Hess Thu, 8 Jan 1998 12:53:03 -0500 + +slrn (0.9.4.3-1) unstable; urgency=low + + * New upstream release. + * Use debhelper. + * Fixed unchecked prompting in postinst. + * Use pristine upstream source. + + -- Joey Hess Wed, 1 Oct 1997 12:30:38 -0400 + +slrn (0.9.4.2-8) unstable; urgency=low + + * Fixed slrn to read global slrn.rc file. + * Routine update of debian/rules: + Fixed binary-indep target. + + -- Joey Hess Fri, 5 Sep 1997 14:29:23 -0400 + +slrn (0.9.4.2-7) unstable; urgency=low + + * Don't delete /etc/news/server, instead, make sure it is a symlink to + /etc/nntpserver. (#12478) + + -- Joey Hess Thu, 4 Sep 1997 15:54:31 -0400 + +slrn (0.9.4.2-6) unstable; urgency=low + + * Fixed bug when user said not to save configuration in slrnconfig. + + -- Joey Hess Tue, 2 Sep 1997 13:10:35 -0400 + +slrn (0.9.4.2-5) unstable; urgency=low + + * Don't hardcode the domain name (was hardcoded to kite.ml.org by configure + script). (#11616) + + -- Joey Hess Wed, 30 Jul 1997 00:12:24 -0400 + +slrn (0.9.4.2-4) unstable; urgency=low + + * Change umask to 022 in ip-up script for slrnpull, reset when done. + * Don't use /etc/news/server (#11447) + + -- Joey Hess Sat, 19 Jul 1997 13:56:08 -0400 + +slrn (0.9.4.2-3) unstable; urgency=low + + * Fixed uid/gid problem (caused by fakeroot with a non-libc6 dpkg-deb) + #11182 + + -- Joey Hess Sat, 12 Jul 1997 13:05:34 -0400 + +slrn (0.9.4.2-2) unstable; urgency=low + + * post{inst,rm} were calling update-menus twice, this led to very weird + results, and has been corrected. + * Fixes to debian/rules to only run sudo when it really has to so fakeroot + works right. + + -- Joey Hess Wed, 9 Jul 1997 16:13:16 -0400 + +slrn (0.9.4.2-1) unstable; urgency=low + + * New upstream release. + + -- Joey Hess Wed, 9 Jul 1997 14:34:15 -0400 + +slrn (0.9.4.1-3) unstable; urgency=low + + * Only run slrnconfig in postinst if /etc/slrnget.conf is not present. + + -- Joey Hess Wed, 25 Jun 1997 08:43:48 -0400 + +slrn (0.9.4.1-2) unstable; urgency=low + + * Added a /usr/doc/slrn/examples/slrn.rc_for_slrnpull file. + * Added note to README.debian about how to set up slrnrc for slrnpull. + + -- Joey Hess Tue, 24 Jun 1997 16:30:15 -0400 + +slrn (0.9.4.1-1) unstable; urgency=low + + * New upstream release. + * Built with glibc6 and a new version of the slang package. + * Added slrnconfig to debian menus (Apps/System/Admin menu), converted + menu file to new format. + * Let debstd install the menu file. + * Removed slrn-wrap.c from source package (hasn't been used for a long + time.) + + -- Joey Hess Tue, 24 Jun 1997 11:54:22 -0400 + +slrn (0.9.3.2-5) unstable; urgency=low + + * Last version was rejected to stable, this should correct it, and go into + only unstable. (Version 0.9.3.2-2.1 will go into stable.) + * No further changes, except those from last version that was rejected, + fixing crontab problem. + + -- Joey Hess Mon, 23 Jun 1997 11:34:03 -0400 + +slrn (0.9.3.2-4) stable unstable; urgency=low + + * Fix cron job problem that caused an error to be printed each week. + I hope this can make it into a stable point-release of debian. + + -- Joey Hess Sun, 8 Jun 1997 15:51:25 -0400 + +slrn (0.9.3.2-3) unstable; urgency=low + + * For compatablity with qmail, use /usr/sbin/sendmail, not + /usr/lib/sendmail, to send mail. + * Routine update of debian/rules: + Run dpkg-gencontrol after debstd, and delete substvars during clean. + + -- Joey Hess Sun, 1 Jun 1997 23:25:39 -0400 + +slrn (0.9.3.2-2) unstable; urgency=low + + * Install properly if ppp is not installed (#7817). + + -- Joey Hess Tue, 4 Mar 1997 16:30:12 -0500 + +slrn (0.9.3.2-1) unstable; urgency=low + + * New upstream release (bugfix release). + * Pipe some things in the cron jobs to /dev/null. + * Cosmetic fix to slrnconfig. + + -- Joey Hess Mon, 3 Mar 1997 20:35:31 -0500 + +slrn (0.9.3.1-1) unstable; urgency=low + + * New upstream version. + * Added slrnpull to the package. + * Remove message about TERMCAP from slrn's readme.debian -- fixed now by + new slang library. + * Oops, forgot to fix maintainer in control file and copyright file. + * Removed references to my obsolete jeh22@cornell.edu address. + * Rewrote description in control file. + * Rewrote postinst script in sh. Added a perl script, /usr/sbin/slrnconfig, + so still has a dependancy on perl. + * No more wrapper program! Instead, the above mentioned slrnconfig can + activate cron jobs, or place commands in /etc/ppp/ip-up. + * Made /etc/news/slrn.rc a conffile. + * Cleaned up purging. + + -- Joey Hess Fri, 28 Feb 1997 22:56:24 -0500 + +slrn (0.9.2.1-1) unstable; urgency=low + + * New upstream version. + * New maintainer. + * Routine update of debian/rules. + * Added a menu-file. + * Enabled support for local news spools, inews, and grouplens. + * debian/rules clean cleans up some files it missed before. + * Added README.macros file to docs. + + -- Joey Hess Wed, 18 Dec 1996 22:21:25 -0500 + +slrn (0.8.8.4-1.1) unstable; urgency=low + + * Interim release by Joey Hess . + * Updated to new packaging standard and now uses debmake. + * Fixed slang dependancy to use proper name of slang package. (#5253) + * Fixed "5 min" typo in wrapper program. + * Changed fix for xterm problem to unsetting TERMCAP. + * Registers itself with install-fvwm2menu. + * Added depends: perl for postinst. + * Changed MEMSET to SLmemset so it will work with new version of slang. + * Made /etc/news/slrn-help.txt a conffile. + + -- Joey Hess Mon, 4 Nov 1996 12:20:56 -0500 --- slrn-1.0.1.orig/debian/compat +++ slrn-1.0.1/debian/compat @@ -0,0 +1 @@ +5 --- slrn-1.0.1.orig/debian/control +++ slrn-1.0.1/debian/control @@ -0,0 +1,44 @@ +Source: slrn +Section: news +Priority: optional +Maintainer: Moritz Muehlenhoff +Build-Depends: debhelper, libslang2-dev, libuu-dev, + exim4 | mail-transport-agent, libgnutls-openssl-dev, po-debconf, autoconf, + dpatch, libcanlock2-dev, autotools-dev, hardening-wrapper, + dpkg-dev (>= 1.16.0), chrpath, dh-autoreconf, inn2-inews +Standards-Version: 3.8.4 +Homepage: http://slrn.sourceforge.net/ + +Package: slrn +Architecture: any +Pre-Depends: ${misc:Depends} +Depends: ${shlibs:Depends} +Provides: news-reader +Suggests: slrnpull +Description: threaded text-mode news reader + Slrn is a threaded news reader with color support that is designed to + read news fast over slow links. + . + Slrn can read usenet news via NNTP or directly from a local news spool. + . + Slrn can be heavily customized from its rc file, and even includes a + built in macro language. There is also support for killfiles and + article scoring. + +Package: slrnpull +Architecture: any +Pre-Depends: ${misc:Depends} +Depends: ${shlibs:Depends} +Suggests: slrn | news-reader +Description: pulls a small newsfeed from an NNTP server + Slrnpull pulls a small newsfeed, from an NNTP server, to a local news spool + directory. The news spool can be used by news readers (such as slrn), which + can read a local news spool without an NNTP server. + . + In combination with the slrn news reader, slrnpull can provide true + offline news reading. You can tell slrnpull to download headers only, + mark interesting ones for download with slrn and fetch those article + bodies during the next run of slrnpull. + . + Slrnpull also has the ability to killfile articles so that they will not + be downloaded from the server. \ No newline at end of file --- slrn-1.0.1.orig/debian/copyright +++ slrn-1.0.1/debian/copyright @@ -0,0 +1,38 @@ +This is a Debian-packaged version of the slrn newsreader. + +Source code was obtained from: + http://slrn.sourceforge.net/ + +The debian package of slrn was originally maintained by Maarten Boekhold + and Joey Hess . + +The following copyright applies to this package: + + Copyright (c) 1994, 1999, 2007-2012 John E. Davis + + For parts of it: + + Copyright (c) 2001-2006 Thomas Schultz + + For the parts in src/snprintf.c that are based on code from glib 1.2.8: + + Copyright (C) 1995-1998 Peter Mattis, Spencer Kimball and Josh MacDonald + Modified by the GLib Team and others 1997-1999. See the AUTHORS + file for a list of people on the GLib Team. See the ChangeLog + files for a list of changes. These files are distributed with + GLib at ftp://ftp.gtk.org/pub/gtk/. + + All the code in this package is distributed under the following conditions: + + This program is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + +On Debian systems the complete text of the GPL is in +/usr/share/common-licenses/GPL-2 --- slrn-1.0.1.orig/debian/default/slrn +++ slrn-1.0.1/debian/default/slrn @@ -0,0 +1,10 @@ +# Defaults for slrn. + +# When to update news group descriptions. May be one of 'manually' (do it +# yourself with slrn_getdescs), 'ip-up' (do it when a ppp connection comes +# up), or 'cron job' (do it weekly in a cron job). +GETDESCS='manually' + +# If the news group descriptions are updated by ip-up, you can control how +# often they should be downloaded, in days. The default is once a week. +INTERVAL=7 --- slrn-1.0.1.orig/debian/default/slrnpull +++ slrn-1.0.1/debian/default/slrnpull @@ -0,0 +1,6 @@ +# Defaults for slrnpull. + +# How slrnpull is run. It can be 'manually' (by some mechanism you come up +# with), 'cron job' (by a daily cron job), or 'ip-up' (on ppp connection to +# the net). +RUNFROM='manually' --- slrn-1.0.1.orig/debian/install-list-filter.sed +++ slrn-1.0.1/debian/install-list-filter.sed @@ -0,0 +1,18 @@ + +# these files aren't installed +\+usr/share/doc/slrn/COPY\(ING\|RIGHT\)+ d + +# GroupLens isn't enabled +\+usr/share/doc/slrn/README.GroupLens+ d + +\+/doc/slrn/slrnpull/+ s./slrnpull/.pull/. + +\+usr/share/doc/slrn/changes.txt+ s/changes.txt/changelog/ + +\+usr/share/doc/slrn/help.txt+ cetc/news/slrn-help.txt + +\+usr/share/doc/slrnpull/\(score\|slrnpull.sh\|slrn.rc\)+ s./\([^/]*\)$./examples/\1. + +\+usr/share/doc/slrnpull/slrnpull.conf+ s+.*/+etc/news/+ + +\+usr/share/doc/slrn/\(score.sl\|slrn.rc\)+ s./\([^/]*\)$./examples/\1. --- slrn-1.0.1.orig/debian/patches/00list +++ slrn-1.0.1/debian/patches/00list @@ -0,0 +1,12 @@ +202_help.txt.diff +203_locations.diff +204_manpage.diff +211_query-cutoff.diff + +less-gnutls-linkage.diff + +config.guess+sub +fix-multipart.sl +cleanscore-prototypes + +fix-tls-log \ No newline at end of file --- slrn-1.0.1.orig/debian/patches/202_help.txt.diff +++ slrn-1.0.1/debian/patches/202_help.txt.diff @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 202_help.txt.diff; author unknown +## +## DP: * Because Perl is every time installed on Debian we can simplify the +## DP: upgrade message. +## DP: * help.txt is installed as slrn-help.txt in Debian. + +@DPATCH@ +--- slrn-0.9.8.0.orig/src/slrn.c ++++ slrn-0.9.8.0/src/slrn.c +@@ -1221,9 +1221,8 @@ + { + slrn_message (_("\n! Your configuration file contains obsolete commands or function names that\n" + "! will not be supported by future versions of this program.\n" +- "! If you have Perl installed, you can use the script slrnrc-conv to change\n" +- "! your configuration accordingly. It can be found in the source distribution\n" +- "! or retrieved from .\n")); ++ "! You can use the script /usr/share/slrn/contrib/slrnrc-conv to change\n" ++ "! your configuration accordingly.\n")); + Slrn_Saw_Warning = 1; + } + +@@ -1281,7 +1281,7 @@ + #ifdef VMS + slrn_snprintf (file, sizeof (file), "%s%s", SLRN_CONF_DIR, "help.txt"); + #else +- slrn_snprintf (file, sizeof (file), "%s/%s", SLRN_CONF_DIR, "help.txt"); ++ slrn_snprintf (file, sizeof (file), "%s/%s", SLRN_CONF_DIR, "slrn-help.txt"); + #endif + } + --- slrn-1.0.1.orig/debian/patches/203_locations.diff +++ slrn-1.0.1/debian/patches/203_locations.diff @@ -0,0 +1,37 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 203_locations.diff author unknown +## +## DP: This patch changes values in src/slrnfeat.hin + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/slrnfeat.h slrn-0.9.8.1pl1/src/slrnfeat.h +--- slrn-0.9.8.1pl1.orig/src/slrnfeat.hin ++++ slrn-0.9.8.1pl1/src/slrnfeat.hin +@@ -70,7 +70,7 @@ + */ + + /* Root directory names */ +-# define SLRN_SPOOL_ROOT "/var/spool/news" ++# define SLRN_SPOOL_ROOT "/var/spool/slrnpull/news" + /* SLRN_NOV_ROOT gives the root directory for overview files + * if you don't have overview files, leave as SLRN_SPOOL_ROOT for now */ + # define SLRN_SPOOL_NOV_ROOT SLRN_SPOOL_ROOT +@@ -152,7 +152,9 @@ + #endif /* vms */ + + /* #define OUR_ORGANIZATION "organization-name" */ ++#define OUR_ORGANIZATION "/etc/news/organization" + /* #define OUR_HOSTNAME "host.name.here" */ ++#define OUR_HOSTNAME "/etc/mailname" + + #if SLRN_HAS_GROUPLENS + # undef SLRN_USE_SLTCP +@@ -189,7 +191,7 @@ + #define SLRNPULL_NEWS_DIR "news" + + /* File where messages and errors will be placed. */ +-#define SLRNPULL_LOGFILE "log" ++#define SLRNPULL_LOGFILE "/var/log/news/slrnpull.log" + + #if !SLRN_HAS_NNTP_SUPPORT + # undef SLRN_HAS_GROUPLENS --- slrn-1.0.1.orig/debian/patches/204_manpage.diff +++ slrn-1.0.1/debian/patches/204_manpage.diff @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 204_manpage.diff author unknown +## +## DP: The file help.txt is installed as slrn-help.txt in Debian. +## DP: So update the manpage. + +@DPATCH@ +--- slrn-0.9.8.0.orig/doc/slrn.1 ++++ slrn-0.9.8.0/doc/slrn.1 +@@ -208,7 +208,7 @@ + You can set this variable to a file slrn + should read its online help from. This is only needed when the default key + bindings have been changed and you want the help function to reflect this. +-If unset, slrn looks for help.txt in the configuration directory. ++If unset, slrn looks for slrn-help.txt in the configuration directory. + .TP + .B SLRNHOME + When interpreting filenames as relative to your home directory, --- slrn-1.0.1.orig/debian/patches/211_query-cutoff.diff +++ slrn-1.0.1/debian/patches/211_query-cutoff.diff @@ -0,0 +1,28 @@ +#! /bin/sh -e +if [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1;; +esac + +exit 0 + +@DPATCH@ +diff -Nur slrn-0.9.8.1pl1.orig/src/group.c slrn-0.9.8.1pl1/src/group.c +--- slrn-0.9.8.1pl1.orig/src/group.c 2004-12-06 00:59:17.000000000 +0100 ++++ slrn-0.9.8.1pl1/src/group.c 2006-08-01 14:01:59.000000000 +0200 +@@ -68,7 +68,7 @@ + + /*{{{ Global Variables */ + +-int Slrn_Query_Group_Cutoff = 100; ++int Slrn_Query_Group_Cutoff = 1000; + int Slrn_Groups_Dirty; /* 1 == need to write newsrc */ + int Slrn_List_Active_File = 0; + int Slrn_Write_Newsrc_Flags = 0; /* if 1, do not save unsubscribed --- slrn-1.0.1.orig/debian/patches/cleanscore-prototypes.dpatch +++ slrn-1.0.1/debian/patches/cleanscore-prototypes.dpatch @@ -0,0 +1,41 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## cleanscore-prototypes.dpatch by gregor herrmann +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Taken from https://groups.google.com/group/news.software.readers/msg/5bdbd6dfa74332b8 +## DP: Original author: Ignatios Souvatzis +## DP: subroutine prototypes have changed in perl since 5.12 + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' slrn-1.0.0~pre18~/contrib/cleanscore slrn-1.0.0~pre18/contrib/cleanscore +--- slrn-1.0.0~pre18~/contrib/cleanscore 2009-12-02 16:44:32.000000000 +0100 ++++ slrn-1.0.0~pre18/contrib/cleanscore 2011-12-03 15:07:24.000000000 +0100 +@@ -27,8 +27,8 @@ + + sub help(); + sub reset_vars(%); +-sub insert_comment(%%); +-sub end_of_score(%$); ++sub insert_comment(%); ++sub end_of_score(%); + sub clean_file($); + + # globals variables. +@@ -323,7 +323,7 @@ + + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + +-sub end_of_score(%$) ++sub end_of_score(%) + { + my $entry = shift; + my $file_is_changed = shift; +@@ -355,7 +355,7 @@ + + # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # + +-sub insert_comment(%%) ++sub insert_comment(%) + { + my $comment=shift; + my $entry=shift; --- slrn-1.0.1.orig/debian/patches/config.guess+sub.dpatch +++ slrn-1.0.1/debian/patches/config.guess+sub.dpatch @@ -0,0 +1,24 @@ +#! /bin/sh -e +## config.guess+sub.dpatch © Ralf Treinen +## +## DP: replace all config.{guess,sub} by the vesion installed in +## DP: /usr/share/misc + +dpatch_patch () +{ + find . -name config.guess -o -name config.sub \ + | tar vcf debian/patched/config.guess+sub.tar -T - + find . -name config.guess \ + -exec ln -sfv /usr/share/misc/config.guess '{}' \; + find . -name config.sub \ + -exec ln -sfv /usr/share/misc/config.sub '{}' \; +} + +dpatch_unpatch () +{ + tar xf debian/patched/config.guess+sub.tar +} + +DPATCH_LIB_NO_DEFAULT=1 + +. /usr/share/dpatch/dpatch.lib.sh --- slrn-1.0.1.orig/debian/patches/fix-multipart.sl.dpatch +++ slrn-1.0.1/debian/patches/fix-multipart.sl.dpatch @@ -0,0 +1,32 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## fix-multipart.sl.dpatch by Brian Murray +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The usage of the return value of string_match in multipart.sl is +## DP: wrong. The return value is the position from the start of the string +## DP: and not from the start of the match. Hence, the calculation of the +## DP: new start is wrong. + +@DPATCH@ + +diff --git a/macros/multipart.sl b/macros/multipart.sl +--- a/macros/multipart.sl ++++ b/macros/multipart.sl +@@ -40,7 +40,7 @@ define subject_compare_hook ( subject1, subject2) + + while (tmp > 0) + { +- pos1 = pos1 + 4 + tmp; ++ pos1 = tmp; + tmp = string_match(subject1, pattern, pos1 + 5); + } + +@@ -48,7 +48,7 @@ define subject_compare_hook ( subject1, subject2) + tmp = string_match(subject2, pattern, pos2 + 5); + while (tmp > 0) + { +- pos2 = pos2 + 4 + tmp; ++ pos2 = tmp; + tmp = string_match(subject2, pattern, pos2 + 5); + } + --- slrn-1.0.1.orig/debian/patches/fix-tls-log.dpatch +++ slrn-1.0.1/debian/patches/fix-tls-log.dpatch @@ -0,0 +1,25 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run + +commit 107be9a749993d0063d4e87330ab947084d10c47 +Author: John E. Davis +Date: Tue Dec 3 23:19:15 2013 -0500 + + pre1.0.2 change 12: Set the gnutls global log level to 0 as a work-around for a connection issue when a higher value is used. + + See for + additional information. + +@DPATCH@ +diff --git a/src/sltcp.c b/src/sltcp.c +index b2c1c5e..c19bb89 100644 +--- a/src/sltcp.c ++++ b/src/sltcp.c +@@ -583,7 +583,7 @@ static SSL *alloc_ssl (void) + + #if SLTCP_HAS_GNUTLS_SUPPORT + gnutls_global_set_log_function(tls_log_func); +- gnutls_global_set_log_level(4711); ++ gnutls_global_set_log_level(0); + #endif + ssl = SSL_new (This_SSL_Ctx); + if (ssl != NULL) --- slrn-1.0.1.orig/debian/patches/less-gnutls-linkage.diff +++ slrn-1.0.1/debian/patches/less-gnutls-linkage.diff @@ -0,0 +1,15 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## by Andreas Metzler + +@DPATCH@ +--- slrn-1.0.1.orig/autoconf/configure.ac ++++ slrn-1.0.1/autoconf/configure.ac +@@ -271,7 +271,7 @@ + elif test "x$use_gnutls" != xno + then + SSLINC="-I$jd_use_ssl/include" +- SSLLIB="-L$jd_use_ssl/lib -lgnutls-extra -lgnutls -ltasn1 -lgcrypt -lgnutls-openssl" ++ SSLLIB="-L$jd_use_ssl/lib -lgnutls -lgnutls-openssl" + else + SSLINC="-I$jd_use_ssl/include" + SSLLIB="-L$jd_use_ssl/lib -lssl -lcrypto" --- slrn-1.0.1.orig/debian/po/POTFILES.in +++ slrn-1.0.1/debian/po/POTFILES.in @@ -0,0 +1,2 @@ +[type: gettext/rfc822deb] slrn.templates +[type: gettext/rfc822deb] slrnpull.templates --- slrn-1.0.1.orig/debian/po/cs.po +++ slrn-1.0.1/debian/po/cs.po @@ -0,0 +1,196 @@ +# +# 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: slrn\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-06-07 21:53+0200\n" +"Last-Translator: Miroslav Jezbera \n" +"Language-Team: Czech \n" +"Language: cs\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "News server pro čtení a odesílání příspěvků:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Vložte plně kvalifikované doménové jméno news serveru (NNTP server), který " +"by měl být standardně používán pro čtení a odesílání příspěvků." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Vložte prosím poštovní jméno vašeho systému:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"Poštovní jméno\" je název počítače, které je součástí adresy zobrazené v " +"odesílaných příspěvcích a poštovních zprávách." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "úloha cronu" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "ručně" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Jak mají být obnovovány popisy news skupin?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn se potřebuje periodicky připojovat k síti, aby stáhnul nové popisy news " +"skupin. To může být realizováno více způsoby." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Může být použita úloha cronu, která běží jednou týdně. To funguje dobře " +"pokud máte stálé připojení k síti, nebo pokud používáte diald nebo podobný " +"program, který se připojuje k síti na požádání." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skript ip-up bude získávat popisy poté, co se připojíte na síť pomocí ppp. " +"Pokud zvolíte tuto metodu, pak se budou nové popisy získávat pouze jednou " +"týdně, bez ohledu na to, jak často se připojujete k síti." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Nebo si můžete vybrat řešit toto ručně a jako root spouštět příkaz /usr/sbin/" +"slrn_getdescs každý týden, případně když jste připojen." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Stáhnout nyní popisy news skupin?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Zdá se, že je toto nová instalace slrn; žádné popisy skupin nebyly doposud " +"staženy. Jste-li aktuálně připojen, pak by jste je měl stáhnout.(Potrvá to " +"pár minut, v závislosti na rychlosti vašeho připojení.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Kdy má běžet slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull potřebuje být spouštěn pravidelně na stahování příspěvků. To může " +"být realizováno více způsoby." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Může být použita úloha cronu, která běží jednou denně. To funguje dobře " +"pokud máte stálé připojení k síti, nebo pokud používáte diald nebo podobný " +"program, který se připojuje k síti na požádání." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Pomocí skriptu ip-up bude slrnpull stahovat příspěvky, když se připojíte na " +"síť pomocí ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Nebo si můžete vybrat řešit toto ručně a jako root spouštět podle potřeby " +"příkaz slrnpull -h `cat /etc/news/server`." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "úloha cronu, ip-up, ručně" --- slrn-1.0.1.orig/debian/po/da.po +++ slrn-1.0.1/debian/po/da.po @@ -0,0 +1,229 @@ +# translation of slrn_0.9.8.0-11_da.po to Danish +# +# This file is from the DDTP, the Debian Description Translation Project +# +# See http://ddtp.debian.org/ for more information. +# Claus Hindsgaul , 2004. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn_0.9.8.0-11_da\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-04-11 09:35+0100\n" +"Last-Translator: M.P. Rommedahl \n" +"Language-Team: Danish \n" +"Language: da\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.3\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +# Template: shared/news/server +# ddtp-prioritize: 62 +# +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Nyhedsserver til at læse og indsende nyheder:" + +# +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Indtast det fuldt kvalificerede domænenavn på nyhedsserveren (NNTP-server) " +"som skal bruges som standard til at læse nyhedsgrupper og indsende indlæg i " +"nyhedsgrupper?" + +# Template: shared/mailname +# ddtp-prioritize: 62 +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Indtast det postnavn, som bruges på dit system:" + +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"Postnavnet\" er værtsnavns-delen af den adresse, der vil blive vist i " +"udgående nyheds- og postbeskeder." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "cron-job" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manuelt" + +# Template: slrn/getdescs +# ddtp-prioritize: 62 +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Hvordan skal nyhedsgruppebeskrivelser opdateres?" + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn skal jævnligt forbinde sig til netværket og hente nye beskrivelser af " +"nyhedsgrupper. Dette kan gøres på flere måder." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Et cronjob kan køres ugentligt. Det fungerer fint hvis du har en permanent " +"netforbindelse, eller hvis du benytter diald eller et tilsvarende program " +"til automatisk at forbinde dig til netværket efter behov." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skriptet ip-up vil få slrn til at genopfriske beskrivelserne når du " +"forbinder dig til netværket via ppp. De nye beskrivelser vil stadig kun " +"blive hentet én gang om ugen hvis du vælger denne metode, uanset hvor ofte " +"du forbinder dig til netværket." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Eller du kan vælge at håndtere dette manuelt og som root køre kommandoen /" +"usr/sbin/slrn_getdescs cirka hver uge mens du er online." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +# msgid "" +# "Refreshing newsgroup descriptions manually." +# msgstr "" +# +# msgid "" +# "You indicated that you want to refresh newsgroup descriptions by hand, " +# "rather than automatically via a cron job or other method. The command to " +# "run (as root) to update the newsgroup descriptions is: " +# "/usr/sbin/slrn_getdescs You should run this every week or so while you're " +# "online." +# msgstr "" +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Hent nyhedsgruppe-beskrivelserne nu?" + +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Dette lader til at være en nyinstallation af slrn; der er endnu ikke hentet " +"nogen nyhedsgruppebeskrivelser. Hvis du er på nettet nu, bør du hente skal " +"nyhedsgruppebeskrivelserne. (Det vil tage et par minutter afhængigt af " +"hastigheden på din netværksforbindelse.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Hvornår skal slrnpull blive kørt?" + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull skal køres jævnligt for at hente nyheder. Dette kan gøres på flere " +"måder." + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Et cron-job kan køres dagligt. Det fungerer fint, hvis du har en permanent " +"netforbindelse eller benytter diald eller et tilsvarende program til " +"automatisk at forbinde dig til netværket efter behov." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Skriptet ip-up vil få slrnpull til at hente nyheder når du forbinder dig til " +"nettet viar ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Eller du kan vælge at håndtere dette manuelt og som root køre kommandoen " +"slrnpull -h `cat /etc/news/server` som du ønsker." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "cron-job, ip-up, manuelt" --- slrn-1.0.1.orig/debian/po/de.po +++ slrn-1.0.1/debian/po/de.po @@ -0,0 +1,212 @@ +# translation of slrn_0.9.9~pre97-1_de.po to German +# +# Erik Schanze , 2004-2008. +msgid "" +msgstr "" +"Project-Id-Version: slrn_0.9.9~pre97-1_de\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-03-29 23:13+0100\n" +"Last-Translator: Erik Schanze \n" +"Language-Team: German \n" +"Language: de\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" + +# Template: shared/news/server +# ddtp-prioritize: 43 +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "News-Server zum Lesen und Senden von News:" + +# +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Bitte geben Sie den vollständigen Rechnernamen (fully qualified domain name) " +"des News-Servers (NNTP-Server) ein, der standardmäßig zum Lesen und Senden " +"von News benutzt werden soll." + +# Template: shared/mailname +# ddtp-prioritize: 43 +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Bitte geben Sie den »mail name« Ihres Systems ein:" + +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Der »mail name« ist der Rechnernamensteil der Adresse, die auf ausgehenden " +"News- und E-Mail-Mitteilungen angegeben ist." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "Cronjob" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manuell" + +# Template: slrn/getdescs +# ddtp-prioritize: 43 +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Wie sollen die Newsgroup-Beschreibungen aktualisiert werden?" + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn muss sich regelmäßig mit dem Netzwerk verbinden, um neue Beschreibungen " +"von Newsgroups herunterzuladen. Das kann auf verschiedene Weise geschehen." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Es kann ein wöchentlich laufender Cronjob benutzt werden. Das funktioniert " +"gut, wenn Sie über eine dauerhafte Netzverbindung verfügen oder falls Sie " +"Diald oder ein ähnliches Programm verwenden, das eine Netzverbindung bei " +"Bedarf aufbaut." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Das Skript »ip-up« kann Slrn die Beschreibungen beim Verbindungsaufbau mit " +"PPP aktualisieren lassen. Die neuen Beschreibungen werden aber nur einmal " +"pro Woche geholt, falls Sie diese Methode wählen, unabhängig davon, wie oft " +"Sie sich einwählen." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Oder Sie kümmern sich selbst darum und starten als Benutzer Root das " +"Kommando '/usr/sbin/slrn_getdescs' z. B. jede Woche, wenn Sie online sind." + +# Template: slrn/getdescs_now +# ddtp-prioritize: 43 +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Newsgroup-Beschreibungen jetzt herunterladen?" + +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Dies scheint eine Neuinstallation von Slrn zu sein; es wurden bisher keine " +"Newsgroup-Beschreibungen heruntergeladen. Falls Sie gerade online sind, " +"sollen die Newsgroup-Beschreibungen jetzt heruntergeladen werden? (Das kann " +"einige Minuten dauern, abhängig von der Geschwindigkeit der Verbindung.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Wann soll Slrnpull gestartet werden?" + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull muss regelmäßig gestartet werden, um News herunterzuladen. Das kann " +"auf verschiedene Weise geschehen." + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Es kann ein täglich laufender Cronjob benutzt werden. Das funktioniert gut, " +"wenn Sie über eine dauerhafte Netzverbindung verfügen oder falls Sie Diald " +"oder ein ähnliches Programm verwenden, das eine Netzverbindung bei Bedarf " +"aufbaut." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Das Skript »ip-up« kann Slrnpull veranlassen, News herunterzuladen, sobald " +"Sie sich mit dem Netz via PPP verbinden." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Oder Sie kümmern sich selbst darum und starten als Benutzer Root das " +"Kommando 'slrnpull -h `cat /etc/news/server`' wann immer Sie möchten." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "Cronjob, ip-up, manuell" --- slrn-1.0.1.orig/debian/po/es.po +++ slrn-1.0.1/debian/po/es.po @@ -0,0 +1,278 @@ +# slrn po-debconf translation to Spanish +# Copyright (C) 2004, 2009 Software in the Public Interest +# This file is distributed under the same license as the slrn package. +# +# Changes: +# - Initial translation +# Javi Castelo , 2004 +# +# - Updates +# Francisco Javier Cuadrado , 2009 +# +# - Revision +# Ruben Porras +# Javier Merino Cacho +# Esteban Manchado Velázquez +# +# Traductores, si no conocen el formato PO, merece la pena leer la +# documentación de gettext, especialmente las secciones dedicadas a este +# formato, por ejemplo ejecutando: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Equipo de traducción al español, por favor lean antes de traducir +# los siguientes documentos: +# +# - El proyecto de traducción de Debian al español +# http://www.debian.org/intl/spanish/coordinacion +# especialmente las notas de traducción en +# http://www.debian.org/intl/spanish/notas +# +# - La guía de traducción de po's de debconf: +# /usr/share/doc/po-debconf/README-trans +# o http://www.debian.org/intl/l10n/po-debconf/README-trans +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 1.0.0~pre2-1\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2009-04-21 13:34+0100\n" +"Last-Translator: Francisco Javier Cuadrado \n" +"Language-Team: Debian l10n Spanish \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Servidor de noticias para leer y escribir noticias:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Introduzca el nombre de dominio completamente cualificado del servidor de " +"noticias (servidor de NNTP) que se debería utilizar de forma predeterminada " +"para leer y escribir noticias." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Introduzca el nombre de correo de su sistema:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"El «nombre de correo» es la parte del nombre de servidor de la dirección de " +"correo que aparecerá en los mensajes de correo y noticias salientes." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "tarea de cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manualmente" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "¿Cómo desea actualizar las descripciones de los grupos de noticias?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn necesita conectarse periódicamente a la red para descargar " +"descripciones nuevas de los grupos de noticias. Esto se puede realizar de " +"diferentes maneras." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Se puede planificar como tarea a ejecutar semanalmente por cron. Esto " +"funciona bien si tiene una conexión permanente a la red, o si utiliza " +"«diald» o un programa similar que conecta a la red bajo demanda." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"El script «ip-up» hace que slrn actualice las descripciones mencionadas " +"cuando se conecta a la red mediante «ppp». Las descripciones nuevas " +"solamente se recuperarán una vez a la semana si escoge este método, " +"independientemente la frecuencia con que se conecte a la red." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"O puede escoger gestionar esto manualmente y ejecutar como administrador " +"(«root») la orden «/usr/sbin/slrn_getdescs» cada semana o mientras esté " +"conectado." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "¿Desea descargar las descripciones de los grupos de noticias ahora?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Al parecer es una nueva instalación de slrn, hasta el momento no se han " +"descargado descripciones de los grupos de noticias. Si está conectado, " +"debería descargar las descripciones de los grupos de noticias. (Esto llevará " +"unos pocos minutos dependiendo de la velocidad de su conexión a la red)." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "¿Cuándo debería ejecutarse slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"slrnpull necesita ejecutarse periódicamente para descargar las noticias. " +"Esto puede llevarse a cabo de diferentes maneras." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Puede utilizar una tarea del cron para ejecutar slrnpull diariamente. Esto " +"funciona bien si tiene una conexión permanente a red, o si utiliza «diald» o " +"un programa similar que se conecte a la red bajo demanda." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"El script «ip-up» hará que slrnpull descargue las noticias cuando se conecte " +"a la red mediante «ppp»." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"O puede escoger gestionar esto manualmente y ejecutar como administrador " +"(«root») la orden «slrnpull -h `cat /etc/news/server`» cuando quiera." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "tarea de cron, ip-up, manualmente" + +#~ msgid "Or you can choose to handle this manually." +#~ msgstr "O bien puede elegir realizar dicha tarea manualmente." + +#~ msgid "Refreshing newsgroup descriptions manually." +#~ msgstr "" +#~ "Actualización manual de las descripciones de los grupos de noticias." + +#~ msgid "" +#~ "You indicated that you want to refresh newsgroup descriptions by hand, " +#~ "rather than automatically via a cron job or other method. The command to " +#~ "run (as root) to update the newsgroup descriptions is: /usr/sbin/" +#~ "slrn_getdescs" +#~ msgstr "" +#~ "Usted indicó que prefiere actualizar las descripciones de los grupos de " +#~ "noticias manualmente, en vez de automáticamente mediante cron u otro " +#~ "método. La orden a ejecutar (como usuario root) para actualizar las " +#~ "descripciones de los grupos de noticias manualmente es: «usr/sbin/" +#~ "slrn_getdescs»" + +#~ msgid "You should run this every week or so while you're online." +#~ msgstr "Debería ejecutarlo más o menos cada semana mientras esté conectado." + +#~ msgid "Slrnpull has been split into a separate package." +#~ msgstr "«slrnpull» se encuentra ahora en otro paquete." + +#~ msgid "" +#~ "You are upgrading from a version of slrn that contained the slrnpull " +#~ "program, and it appears that you used slrnpull. Slrnpull has now been " +#~ "split out into a separate package. If you do use slrnpull, you should " +#~ "install the slrnpull package." +#~ msgstr "" +#~ "Usted está actualizando desde una versión de slrn que contiene el " +#~ "programa slrnpull y parece que ha hecho uso de él. slrnpull se encuentra " +#~ "ahora en un paquete aparte. Si quiere usarlo, debería instalar el paquete " +#~ "slrnpull." + +#~ msgid "Slrnpull will be run manually." +#~ msgstr "slrnpull se ejecutará manualmente." + +#~ msgid "" +#~ "You indicated that you want run slrnpull manually to download news, " +#~ "rather than automatically via a cron job or other method. The command to " +#~ "run (as root) to download news is:" +#~ msgstr "" +#~ "Usted indicó que prefiere ejecutar slrnpull manualmente para descargar " +#~ "las noticias en vez de automáticamente mediante una tarea del cron u otro " +#~ "método. La orden a ejecutar (como usuario root) para descargar las " +#~ "noticias es:" + +#~ msgid "slrnpull -h `cat /etc/news/server`" +#~ msgstr "«slrnpull -h `cat /etc/news/server`»" + +#~ msgid "Enter the fully qualified domain name of the server." +#~ msgstr "" +#~ "Introduzca el nombre de dominio completamente cualificado del servidor." --- slrn-1.0.1.orig/debian/po/eu.po +++ slrn-1.0.1/debian/po/eu.po @@ -0,0 +1,190 @@ +# translation of slrn-eu.po to Euskara +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Piarres Beobide , 2008. +msgid "" +msgstr "" +"Project-Id-Version: slrn-eu\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-04-14 10:32+0200\n" +"Last-Translator: Piarres Beobide \n" +"Language-Team: Euskara \n" +"Language: \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 +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Berriak jaso eta bideltzeko berri-talde zerbitzaria:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Idatzi lehenespenez berriak jaso eta bidaltzeko erabiliko den berri-talde " +"zerbitzariaren (NNTP zerbitzaria) guztiz kualifikaturiko domeinu izena." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Mesedez idatzi zure sistemako posta izena:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"Posta izena\" eposta mezuak eta berri-talde mezuak bidaltzen direnean " +"ikusiko den ostalari izen zatia da." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "cron lana" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "eskuz" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Noiz freskatu behar dira berri-talde azalapenak?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn-ek aldiro sarera konektatu behar da berri-taldeetako azalpenak " +"jasotzeko. Hau modu ezberdinetan kudeatu daiteke." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Astean behin abiarazoiko den cron lan bat erabili daiteke. Honek ondo " +"funtzionatuko du konexio egonkor bat baduzu edo eskaripean sarera " +"konektatzen den markatze programa bat edo antzekoren bat erabiltzen baduzu." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Ip-up eskriptak azalpenak zuk ppp bidez sarera konektatzen zarenean " +"freskatuko ditu. Azalpen berriak astean behin jakin jasoko dira metodo hau " +"hautatzen baduzu, ez sarera konektatzen zaren bakoitzean." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Edo hau eskuz kudeatzea hautatu dezakezu, orduan /usr/sbin/slrn_getdescs " +"komandoa rrot gisa abiarazi beharko duzu sarera konektaturik zaudenean." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Berri-talde azalapenak orain deskargatu?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Dirudienez hau slrn-ren instalazio berri bat da; oraindik ez da berri-talde " +"azalpenik deskargatu. Orain sarera konektaturik bazaude berri-talde " +"azalapenak deskargatzeko eskaria onartu beharko zenuke. (Honek minutu " +"batzuek tarda ditzake konexio abiaduraren arabera.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Slrnpull noiz abiarazi behar da?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull aldiro abiarazi behar da berri-talde mezu berriak deskargatzeko. " +"Hau ere modu ezberdinetan kudeatu daiteke." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Egunero abiarazoiko den cron lan bat erabili daiteke. Honek ondo " +"funtzionatuko du konexio egonkor bat baduzu edo eskaripean sarera " +"konektatzen den markatze programa bat edo antzekoren bat erabiltzen baduzu." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Ip-up skriptak slrnpull egin dezake mezu berriak jasotzeko zu ppp bidez " +"sarera konektatzerakoan." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Edu eskuz kudeatzea hautatu dezakezu, orduan berriak jaso nahi dituzunean " +"root gisa slrnpull -h `cat /etc/news/server` komandoa exekutatu." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "cron lana, ip-up, eskuz" --- slrn-1.0.1.orig/debian/po/fi.po +++ slrn-1.0.1/debian/po/fi.po @@ -0,0 +1,185 @@ +msgid "" +msgstr "" +"Project-Id-Version: slrn\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-03-27 21:16+0200\n" +"Last-Translator: Esko Arajärvi \n" +"Language-Team: Finnish \n" +"Language: fi\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 +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Uutispalvelin, jota käytetään uutisten lukemiseen ja lähettämiseen:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Anna oletuksena uutisten lukemiseen ja lähettämiseen käytettävän " +"uutispalvelimen (NNTP-palvelin) täydellinen verkkotunnus." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Anna järjestelmän postinimi:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"”postinimi” on verkkonimen osa, jota käytetään lähetettävissä uutis- ja " +"sähköpostiviesteissä." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "cron-työnä" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up:lla" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "käsin" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Kuinka uutisryhmäkuvaukset tulisi päivittää?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Ohjelman slrn tarvitsee säännöllisesti ottaa verkkoyhteys uusien " +"uutisryhmien kuvausten lataamiseksi. Tämä voidaan hoitaa usealla tavalla." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Yksi tapa on käyttää viikoittain ajettavaa cron-työtä. Tämä toimii hyvin, " +"jos käytössä on pysyvä verkkoyhteys tai jos käytetään diald:tä tai vastaavaa " +"ohjelmaa, joka ottaa verkkoyhteyden tarvittaessa." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Komentosarja ip-up saa slrn:n päivittämään kuvaukset, kun ppp-yhteys " +"avataan. Uudet kuvaukset haetaan tälläkin menetelmällä vain kerran viikossa " +"riippumatta siitä kuinka usein verkkoyhteys otetaan." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Vaihtoehtoisesti päivitys voidaan hoitaa käsin ajamalla pääkäyttäjänä " +"komento /usr/sbin/slrn_getdescs noin viikottain, kun yhteys on auki." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Ladataanko uutisryhmien kuvaukset nyt?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Näyttää siltä, että slrn:ää ollaan asentamassa ensimmäistä kertaa, eikä " +"uutisryhmien kuvauksia ole vielä ladattu. Jos verkkoyhteys on nyt auki, " +"kannattaa uutisryhmien kuvaukset ladata nyt. (Tämä kestää muutaman minuutin " +"riippuen verkkoyhteyden nopeudesta.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Miten slrnpull tulisi ajaa?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Ohjelma slrnpull tulee ajaa säännöllisesti uusien uutisten hakemiseksi. Tämä " +"voidaan tehdä usealla tavalla." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Yksi tapa on käyttää päivittäin ajettavaa cron-työtä. Tämä toimii hyvin, jos " +"käytössä on pysyvä verkkoyhteys tai jos käytetään diald:tä tai vastaavaa " +"ohjelmaa, joka ottaa yhteyden tarvittaessa." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Komentosarja ip-up saa slrnpullin lataamaan uutiset, kun ppp-yhteys avataan." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Vaihtoehtoisesti lataaminen voidaan tehdä käsin ajamalla tarpeen mukaan " +"pääkäyttäjänä komento slrnpull -h `cat /etc/news/server`." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "cron-työnä, ip-up:lla, käsin" --- slrn-1.0.1.orig/debian/po/fr.po +++ slrn-1.0.1/debian/po/fr.po @@ -0,0 +1,198 @@ +# slrn debconf's French localization +# Copyright (C)2008 +# This file is distributed under the same license as the slrn package. +# Pierre Machard , 2002-2003. +# +msgid "" +msgstr "" +"Project-Id-Version: SLRN 0.9.7.4-21\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-03-11 08:42+0100\n" +"Last-Translator: Steve Petruzzello \n" +"Language-Team: Debian l10n French \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Poedit-Language: French\n" +"X-Poedit-Country: SWITZERLAND\n" +"X-Poedit-SourceCharset: utf-8\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "" +"Quel serveur de nouvelles souhaitez-vous utiliser pour lire et poster les " +"nouvelles ?" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Veuillez indiquer le nom de domaine complètement qualifié du serveur de " +"nouvelles (NNTP) que vous souhaitez utiliser pour lire et poster les " +"nouvelles." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Veuillez indiquer le nom pour le courrier de votre système :" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Le « nom pour le courrier » est la partie correspondant au nom d'hôte de " +"l'adresse qui sera affichée sur les nouvelles envoyées et sur les courriels." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "tâche cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manuellement" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Comment les descriptions des forums doivent-elles être rechargées ?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn a besoin de se connecter périodiquement sur le réseau pour télécharger " +"les nouvelles descriptions des forums. Cela peut se réaliser de différentes " +"façons." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"On peut utiliser une tâche cron qui sera lancée chaque semaine. Cela " +"fonctionne bien si vous avez une connexion permanente, ou si vous utilisez " +"diald ou un programme apparenté qui se connecte au réseau à la demande." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Le script ip-up fera recharger par slrn les descriptions lorsque vous vous " +"connecterez au réseau via ppp. Les nouvelles descriptions ne seront " +"rapatriées qu'une fois par semaine si vous optez pour cette méthode, peu " +"importe la fréquence de vos connexions." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Vous pouvez aussi décider de gérer ceci vous-même et exécuter régulièrement " +"en tant que super-utilisateur la commande « /usr/sbin/slrn_getdescs » " +"lorsque vous êtes connecté." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Télécharger les descriptions des forums maintenant ?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Il semble qu'il s'agisse d'une nouvelle installation de slrn ; aucune " +"description de forum n'a encore été téléchargée. Si vous êtes actuellement " +"connecté, vous devriez télécharger les descriptions des forums. Cette " +"opération prendra plusieurs minutes selon la vitesse de votre connexion." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Quand slrnpull doit-il être lancé ?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull a besoin de fonctionner de façon périodique pour télécharger les " +"nouvelles. Cela peut se réaliser de différentes façons." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"On peut utiliser une tâche cron qui sera lancée quotidiennement. Cela " +"fonctionne bien si vous avez une connexion permanente, ou si vous utilisez " +"diald ou un programme du même genre qui se connecte au réseau à la demande." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Le script ip-up fera télécharger les nouvelles par slrnpull lorsque vous " +"vous connecterez au réseau via ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Vous pouvez aussi décider de gérer cela vous-même et exécuter en tant que " +"super-utilisateur la commande « slrnpull -h `cat /etc/news/server` »." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "tâche cron, ip-up, manuellement" --- slrn-1.0.1.orig/debian/po/gl.po +++ slrn-1.0.1/debian/po/gl.po @@ -0,0 +1,190 @@ +# Galician translation of slrn's debconf templates +# This file is distributed under the same license as the slrn package. +# Jacobo Tarrio , 2007, 2008. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-03-31 00:40+0100\n" +"Last-Translator: Jacobo Tarrio \n" +"Language-Team: Galician \n" +"Language: gl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Servidor de novas para ler e enviar novas:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Introduza o nome de dominio completamente cualificado (FQDN) do servidor de " +"novas (servidor NNTP) que se debe empregar por defecto para ler e enviar " +"novas." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Introduza o nome de correo do sistema:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"O \"nome de correo\" é a parte de nome da máquina do enderezo que ha figurar " +"nas mensaxes de correo e novas que saian da máquina." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "tarefa de cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manualmente" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "¿Como quere que se refresquen as descricións dos grupos de novas?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn precisa de se conectar periodicamente á rede para descargar novas " +"descricións de grupos de novas. Isto pódese xestionar de varias maneiras." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Pódese empregar unha tarefa de cron que se execute semanalmente. Isto " +"funciona ben se ten unha conexión permanente á rede, ou se emprega diald ou " +"un programa semellante para se conectar á rede baixo demanda." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"O script ip-up ha facer que slrn refresque as descricións cando se conecte á " +"rede mediante ppp. As novas descricións só se han descargar unha vez por " +"semana incluso se escolle este método, sen importar cantas veces se conecte " +"á rede." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Tamén pode xestionar isto manualmente e executar a orde \"/usr/sbin/" +"slrn_getdescs\" coma administrador unha vez por semana cando estea conectado." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "¿Descargar agora as descricións dos grupos de novas?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Semella que esta é unha instalación nova de slrn; aínda non se descargou " +"ningunha descrición de grupos de novas. Se está conectado ahora, debería " +"descargar as descricións dos grupos de novas. (Ha levar uns minutos, " +"dependendo da velocidade da conexión á rede)." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "¿Cando se debe executar slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull precisa de se executar periodicamente para descargar novas. Isto " +"pódese facer de varias maneiras." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Pódese empregar unha tarefa de cron que se execute diariamente. Isto " +"funciona ben se ten unha conexión permanente á rede, ou se emprega diald ou " +"un programa semellante para se conectar á rede baixo demanda." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"O script ip-up ha facer que slrnpull descargue as novas cando se conecte á " +"rede mediante ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Tamén pode xestionar isto manualmente e executar a orde \"slrnpull -h `cat /" +"etc/news/server`\" de cando en vez." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "tarefa de cron, ip-up, manualmente" --- slrn-1.0.1.orig/debian/po/it.po +++ slrn-1.0.1/debian/po/it.po @@ -0,0 +1,192 @@ +# Italian translation of slrn debconf. +# Copyright (C) 2011 Free Software Foundation Inc. +# This file is distributed under the same license as the slrn package. +# Beatrice Torracca , 2011. +msgid "" +msgstr "" +"Project-Id-Version: slrn 1.0.0~pre18-1.1\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2011-01-16 11:53+0200\n" +"Last-Translator: Beatrice Torracca \n" +"Language-Team: debian-l10n-italian\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Virtaal 0.6.1\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Server news per leggere e inviare i messaggi ai newsgroup:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Inserire il nome di dominio pienamente qualificato del news server (server " +"NNTP) che deve essere usato in maniera predefinita per leggere e inviare i " +"messaggi ai newsgroup." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Inserire il nome per la posta del sistema:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Il \"nome per la posta\" è la porzione col nome host dell'indirizzo da " +"mostrare sui messaggi di posta e news in uscita." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "compito cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manualmente" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Come devono essere aggiornate le descrizioni dei newsgroup?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"È necessario che slrn si connetta periodicamente alla rete per scaricare le " +"nuove descrizioni dei newsgroup. Questa operazione può essere gestita in " +"svariati modi." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Può essere usato un compito cron che viene eseguito settimanalmente. Questo " +"metodo funziona bene se si ha una connessione permanente alla rete, o se si " +"usa diald o un programma simile che crei connessioni alla rete su richiesta." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Lo script ip-up farà sì che slrn aggiorni le descrizioni quando ci si " +"connette alla rete via ppp. Se si sceglie questo metodo, le nuove " +"descrizioni saranno comunque recuperate solamente una volta alla settimana, " +"indipendentemente da quanto frequenti siano le connessioni alla rete." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Oppure si può scegliere di gestire la cosa in modo manuale eseguendo come " +"root il comando /usr/sbin/slrn_getdescs all'incirca ogni settimana quando si " +"è connessi." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Scaricare le descrizioni dei newsgroup ora?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Questa sembra essere una nuova installazione di slrn; per il momento non è " +"stata scaricata alcuna descrizione di newsgroup. Se ora si è connessi, si " +"dovrebbero scaricare le descrizioni dei newsgroup. (Saranno necessari alcuni " +"minuti, a seconda della velocità della connessione di rete.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Quando deve essere eseguito slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"È necessario eseguire slrnpull periodicamente per scaricare i messaggi news. " +"Questo può essere fatto in diversi modi." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Può essere usato un compito cron che viene eseguito quotidianamente. Questo " +"metodo funziona bene se si ha una connessione permanente alla rete, o se si " +"usa diald o un programma simile che crei connessioni alla rete su richiesta." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Lo script ip-up farà sì che slrnpull scarichi i messaggi news quando ci si " +"connette alla rete con ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Oppure si può scegliere di gestire la cosa in modo manuale e di eseguire " +"come root il comando slrnpull -h `cat /etc/news/server` quando lo si " +"desidera." --- slrn-1.0.1.orig/debian/po/ja.po +++ slrn-1.0.1/debian/po/ja.po @@ -0,0 +1,188 @@ +# Copyright (C) 2009 +# This file is distributed under the same license as openafs package. +# Hideki Yamane (Debian-JP) , 2009-2010. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 1.0.0~pre18-1\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2010-05-04 11:21+0200\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"Language: ja\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "ネットニュースを読み書きするネットニュースサーバ:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"ネットニュースの読み書きにデフォルトで使うネットニュースサーバ (NNTP サーバ) " +"の完全修飾ドメイン名を入力してください。" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "システムのメール名を入力してください:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"「メール名」は、外部へ配送されるネットニュースやメールのメッセージで表示され" +"るアドレスのホスト名部分です。" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "cron ジョブ" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "手動で実行" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "どのようにしてニュースグループの説明文を更新しますか?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"slrn はニュースグループの新しい説明文をダウンロードするため、定期的にネット" +"ワークに接続する必要があります。これは様々な方法で実施できます。" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"毎週実行される cron ジョブを利用できます。ネットワークが常時接続、あるいは" +"diald やその他類似のプログラムを使って必要に応じてネットワークに接続する場" +"合、これはうまく動作します。" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"ip-up スクリプトは、ppp 経由でネットワークに接続する際に slrn が説明文を更新" +"するようにします。この方法を選んだ場合、どんなに頻繁にネットワークに接続した" +"としても、ネットニュースの説明文は週に 1 度だけ回収されます。" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"あるいはこれを手動で管理するのを選んで、オンラインになっている間、毎週 root " +"として /usr/sbin/slrn_getdescs コマンドを動作させるなどもできます。" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "今すぐニュースグループの説明文をダウンロードしますか?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"新規に slrn をインストールしたようです。そのため、ニュースグループの説明文は" +"何もダウンロードされていません。現在オンラインであれば、ニュースグループの説" +"明文をダウンロードする必要があります (これにはネットワーク接続の速度によりま" +"すが、数分ほどかかります)。" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "いつ slrnpull を動作させればいいですか?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"ネットニュースをダウンロードするため、slrnpull は定期的に動作する必要がありま" +"す。これは様々な方法で完了することができます。" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"毎日実行される cron ジョブを利用できます。ネットワークが常時接続、あるいは" +"diald やその他類似のプログラムを使って必要に応じてネットワークに接続する場" +"合、これはうまく動作します。" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"ip-up スクリプトは、ppp 経由でネットワークに接続した時に slrnpull がネット" +"ニュースをダウンロードするようにします。" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"あるいは手動でこれを管理するのを選び、slrnpull -h `cat /etc/news/server` など" +"好きなコマンドを root として実行することもできます。" + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "cron ジョブ, ip-up, 手動で実行" --- slrn-1.0.1.orig/debian/po/nl.po +++ slrn-1.0.1/debian/po/nl.po @@ -0,0 +1,194 @@ +# Dutch translation of slrn debconf templates. +# Copyright (C) 2003-2012 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the slrn package. +# Tim Vandermeersch , 2003. +# Jeroen Schot , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 1.0.0~pre18-1.2\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2012-01-03 09:47+0100\n" +"Last-Translator: Jeroen Schot \n" +"Language-Team: Debian l10n Dutch \n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Nieuwsserver voor het lezen en posten van nieuws:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Geef de volledige computernaam (FQDN) van de nieuwsserver (NNTP-server) op " +"die standaard moet worden gebruikt voor het lezen en plaatsen van " +"nieuwsberichten." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Geef het e-maildomein van uw systeem op:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Het \"e-maildomein\" is het computernaam-gedeelte van het adres dat wordt " +"getoond bij uitgaande e-mail- en nieuwsberichten." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "crontaak" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "handmatig" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Hoe moeten de nieuwsgroepbeschrijvingen worden ververst?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn moet regelmatig verbinding maken met het network om nieuwe " +"beschrijvingen van nieuwsgroepen op te halen. Dit kan op verschillende " +"manieren worden geregeld." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Er kan een crontaak worden gebruikt die wekelijks wordt uitgevoerd. Dit " +"werkt goed als u een permanente netwerkverbinding heeft of als u daild of " +"een soortgelijk programma gebruikt dat wanneer nodig automatisch verbinding " +"kan maken met het netwerk." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Het ip-up-script zal ervoor zorgen dat slrn de omschrijvingen ververst " +"wanneer u een netwerkverbinding maakt via ppp. De nieuwe beschrijvingen " +"worden met deze methode nog steeds maar eenmaal per week opgehaald, ongeacht " +"hoe vaak u verbinding maakt met het netwerk." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Of u kunt ervoor kiezen om dit handmatig te regelen en als beheerder " +"wekelijks het commando '/usr/sbin/slrn_getdescs' uit te voeren wanneer u " +"online bent." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "De beschrijvingen van de nieuwsgroepen nu ophalen?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Het lijkt erop dat dit een nieuwe installatie van slrn is: Er zijn nog geen " +"beschrijvingen van nieuwsgroepen opgehaald. Als u op dit moment online bent " +"kunt u het best nu de nieuwsgroepbeschrijvingen ophalen. (Dit zal enkele " +"minuten in beslag nemen, dit is afhankelijk van uw netwerkverbinding.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Wanneer moet slrnpull worden uitgevoerd?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull moet regelmatig worden uitgevoerd om nieuwsberichten op te halen. " +"Dit kan op verschillende manieren worden geregeld." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Er kan een crontaak worden gebruikt die dagelijks uitgevoerd. Dit werkt goed " +"als u een permanente netwerkverbinding heeft of als u daild of een " +"soortgelijk programma gebruikt dat wanneer nodig automatisch verbinding kan " +"maken met het netwerk." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Het ip-up-script zal ervoor zorgen dat slrnpull nieuws ophaalt wanneer u een " +"netwerkverbinding maakt via ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Of u kunt ervoor kiezen om dit handmatig te regelen en als beheerder het " +"commando 'slrnpull -h `cat /etc/news/server`' uit te voeren wanneer u maar " +"wilt." --- slrn-1.0.1.orig/debian/po/output +++ slrn-1.0.1/debian/po/output @@ -0,0 +1 @@ +2 --- slrn-1.0.1.orig/debian/po/pl.po +++ slrn-1.0.1/debian/po/pl.po @@ -0,0 +1,250 @@ +# Translation of slrn debconf templates to Polish. +# Copyright (C) +# This file is distributed under the same license as the slrn package. +# +# Translators, please read /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Bartosz Zapałowski , 2003. +# Michał Kułach , 2012. +msgid "" +msgstr "" +"Project-Id-Version: slrn 0.9.8.0-5\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2012-02-19 17:42+0100\n" +"Last-Translator: Michał Kułach \n" +"Language-Team: Polish \n" +"Language: pl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Lokalize 1.2\n" +"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " +"|| n%100>=20) ? 1 : 2);\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Który serwer grup dyskusyjnych będzie używany do czytania i wysyłania?" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Proszę podać pełną nazwę domenową serwera grupy dyskusyjnej (serwera NNTP), " +"który będzie używany domyślnie do czytania i wysyłania wiadomości." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Podaj nazwę pocztową tego systemu:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"Nazwa pocztowa jest nazwą komputera w adresie pokazywanym w wychodzących " +"postach i listach." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "zadanie cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "ręcznie" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Proszę wybrać metodę uaktualniania opisów grup." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Program Slrn musi okresowo połączyć się z siecią, aby ściągnąć nowe opisy " +"grup. Może być to wykonane na kilka sposobów." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Można dopisać zadanie do cotygodniowych zadań demona cron. Jest to dobre " +"rozwiązanie przy stałym połączeniu sieciowym, lub jeśli do automatycznego " +"zestawiania połączenia na żądanie używany jest program diald (lub podobny)." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skrypt ip-up może spowodować, że slrn uaktualni sobie opisy grup podczas " +"połączenia z siecią za pomocą ppp. Nowe opisy również będą ściągane raz na " +"tydzień, niezależnie od tego, jak często nastąpi połączenie z Internetem." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Można również wybrać obsługę ręczną i wykonywać polecenie /usr/sbin/" +"slrn_getdescs co np. tydzień, kiedy dostępne jest połączenie z Internetem." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Ściągnąć teraz opisy grup?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Wygląda na to, że pakiet slrn jest instalowany po raz pierwszy; jak dotąd " +"nie ściągnięto jeszcze opisów grup. Jeśli połączenie jest dostępne w tej " +"chwili, powinno się je pobrać (czynność ta może potrwać kilka minut, w " +"zależności od prędkości połączenia z siecią)." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Kiedy ma być uruchamiany slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Program Slrn musi okresowo połączyć się z siecią, aby ściągnąć nowe opisy " +"grup. Może być to wykonane na kilka sposobów." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Można dopisać zadanie do codziennych zadań demona cron. Jest to dobre " +"rozwiązanie przy stałym połączeniu sieciowym, lub jeśli do automatycznego " +"zestawiania połączenia na żądanie używany jest program diald (lub podobny)." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Skrypt ip-up będzie uruchamiał slrnpull, który ściągnie posty zaraz po " +"połączeniu się z siecią za pomocą ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Można również wybrać obsługę ręczną i wykonywać co jakiś czas polecenie " +"slrnpull -h `cat /etc/news/server`." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "zadanie cron, ip-up, ręcznie" + +#~ msgid "Or you can choose to handle this manually." +#~ msgstr "Możesz również wybrać obsługę ręczną." + +#~ msgid "Refreshing newsgroup descriptions manually." +#~ msgstr "Ręczne odświeżanie opisów grup." + +#~ msgid "" +#~ "You indicated that you want to refresh newsgroup descriptions by hand, " +#~ "rather than automatically via a cron job or other method. The command to " +#~ "run (as root) to update the newsgroup descriptions is: /usr/sbin/" +#~ "slrn_getdescs" +#~ msgstr "" +#~ "Dałeś do zrozumienia, że zamierzasz odświeżać opisy grup ręcznie a nie " +#~ "automatycznie np. jako zadanie demon cron lub inne. Opisy uaktualnia się " +#~ "poleceniem /usr/sbin/slrn_getdescs, które musi uruchamiać osoba z prawami " +#~ "administratora." + +#~ msgid "You should run this every week or so while you're online." +#~ msgstr "" +#~ "Powinieneś to uruchamiać raz na tydzień lub gdy jesteś połączony z siecią." + +#~ msgid "Slrnpull has been split into a separate package." +#~ msgstr "Slrnpull został przeniesiony do osobnego pakietu." + +#~ msgid "" +#~ "You are upgrading from a version of slrn that contained the slrnpull " +#~ "program, and it appears that you used slrnpull. Slrnpull has now been " +#~ "split out into a separate package. If you do use slrnpull, you should " +#~ "install the slrnpull package." +#~ msgstr "" +#~ "Uaktualniasz z wersji, która zawierała program slrnpull, a wygląda na to, " +#~ "że z niego korzystasz. Slrnpull obecnie znajduje się w osobnym pakiecie. " +#~ "Jeśli korzystasz z programu slrnpull, powinieneś zainstalować pakiet " +#~ "slrnpull." + +#~ msgid "Slrnpull will be run manually." +#~ msgstr "Slrnpull będzie uruchamiany ręcznie." + +#~ msgid "" +#~ "You indicated that you want run slrnpull manually to download news, " +#~ "rather than automatically via a cron job or other method. The command to " +#~ "run (as root) to download news is:" +#~ msgstr "" +#~ "Dałeś do zrozumienia, że zamierzasz odświeżać opisy grup ręcznie a nie " +#~ "automatycznie np. jako zadanie demon cron lub inne. Opisy uaktualnia się " +#~ "poleceniem /usr/sbin/slrn_getdescs, które musi uruchamiać osoba z prawami " +#~ "administratora." + +#~ msgid "slrnpull -h `cat /etc/news/server`" +#~ msgstr "slrnpull -h `cat /etc/news/server`" + +#~ msgid "Enter the fully qualified domain name of the server." +#~ msgstr "Wprowadź pełną nazwę (FQDN) serwera." --- slrn-1.0.1.orig/debian/po/pt.po +++ slrn-1.0.1/debian/po/pt.po @@ -0,0 +1,192 @@ +# translation of slrn_pt debconf to Portuguese +# Copyright (C) 2007 Américo Monteiro +# This file is distributed under the same license as the slrn package. +# +# Américo Monteiro , 2007-2008. +msgid "" +msgstr "" +"Project-Id-Version: slrn_unknown?\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-03-31 19:59+0100\n" +"Last-Translator: Américo Monteiro \n" +"Language-Team: Portuguese \n" +"Language: pt\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 +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Servidor de noticias (news) para ler e publicar noticias:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Indique o nome totalmente qualificado de domínio do servidor de noticias " +"(servidor NNTP) que será usado por predefinição para ler e publicar noticias." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Por favor indique o nome de mail do seu sistema:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"O \"nome de mail\" é a porção do endereço do nome da máquina a ser mostrado " +"em noticias enviadas e mensagens de correio electrónico." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "Tarefa agendada (cron)" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "Manualmente" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Como deverão as descrições dos grupos de noticias ser refrescadas?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"O slrn precisa de periodicamente ligar à rede para receber novas descrições " +"dos grupos de noticias. Isto pode ser efectuado de várias maneiras." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Pode ser utilizada uma tarefa agendada (cron) que funciona semanalmente. " +"Isto funciona bem se você tiver uma ligação permanente à rede, ou se você " +"usar o diald ou programa semelhante que efectue ligação à rede a pedido." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"O script de ip-up fará o slrn refrescar as descrições quando você ligar à " +"rede através de ppp. As novas descrições serão, da mesma forma, apenas " +"obtidas uma vez por semana se você escolher este método, não importando a " +"frequência com que se liga à rede." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Ou você pode optar por controlar isto manualmente e correr, como root, o " +"comando /usr/sbin/slrn_getdescs semanalmente ou noutros períodos, enquanto " +"está 'online'." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Obter as descrições dos grupos de noticias agora?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Esta parece ser uma nova instalação do slrn; nenhuma descrição de grupos de " +"noticias foi obtida até agora. Se você está ligado agora, deverá descarregar " +"as descrições de grupos de noticias. (Irá demorar alguns minutos, dependendo " +"da velocidade da sua ligação à rede.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Quando deve o slrnpull ser executado?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"O slrnpull precisa de correr periodicamente para receber noticias (news). " +"Isto pode ser efectuado de várias maneiras." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Pode ser utilizada uma tarefa agendada (cron) que corre diariamente. Isto " +"funciona bem se você tiver uma ligação permanente à rede, ou se você usa o " +"diald ou programa semelhante que efectua ligação à rede a pedido." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"O script de ip-up fará o slrnpull transferir notícias quando você ligar à " +"rede por ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Ou você pode optar por controlar isto manualmente e correr, como root, o " +"comando slrnpull -h `cat /etc/news/server` sempre que desejar." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "Tarefa agendada (cron), ip-up, Manualmente" --- slrn-1.0.1.orig/debian/po/pt_BR.po +++ slrn-1.0.1/debian/po/pt_BR.po @@ -0,0 +1,279 @@ +# Debconf translations for slrn. +# Copyright (C) 2012 THE slrn'S COPYRIGHT HOLDER +# This file is distributed under the same license as the slrn package. +# André Luís Lopes , 2003. +# Adriano Rafael Gomes , 2012, 2013. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 1.0.0~pre18-1.3\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2013-08-22 11:24-0300\n" +"Last-Translator: Adriano Rafael Gomes \n" +"Language-Team: Brazilian Portuguese \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +# Template: shared/news/server +# ddtp-prioritize: 62 +# +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Servidor de notícias para leitura e postagem de notícias:" + +# +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Informe o nome de domínio totalmente qualificado do servidor de notícias " +"(servidor NNTP) que deve ser usado por padrão para leitura e postagem de " +"notícias." + +# Template: shared/mailname +# ddtp-prioritize: 62 +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Por favor, informe o nome de e-mail de seu sistema:" + +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"O nome de e-mail (\"mail name\") é a porção nome de máquina (\"hostname\") " +"do endereço a ser exibido em notícias e mensagens de e-mail enviadas." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "cron job" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manualmente" + +# Template: slrn/getdescs +# ddtp-prioritize: 62 +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Como as descrições de grupos de notícias deverão ser atualizadas?" + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"O slrn precisa se conectar periodicamente à rede para fazer o download de " +"novas descrições de grupos de notícias. Isso pode ser gerenciado de diversas " +"maneiras." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Um cron job que é executado semanalmente pode ser usado. Isso funciona bem " +"caso você possua uma conexão de rede permanente, ou caso você esteja usando " +"o diald ou um programa similar que se conecta à rede por demanda." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"O script ip-up fará com que o slrn atualize as descrições quando você se " +"conectar à rede via ppp. As novas descrições continuarão a ser obtidas " +"somente uma vez por semana caso você opte por este método, não importando a " +"frequência com a qual você se conecta à rede." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Ou você pode escolher por tratar isso manualmente e executar, como root, o " +"comando /usr/sbin/slrn_getdescs aproximadamente a cada semana enquanto você " +"estiver online." + +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Fazer o download das descrições dos grupos de notícias agora?" + +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Esta parece ser uma nova instalação do slrn; nenhum download de descrições " +"de grupos de notícias foi feito até agora. Se você estiver online agora, " +"você deve fazer o download das descrições de grupos de notícias. (Isso pode " +"demorar alguns minutos, dependendo da velocidade de sua conexão de rede.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Quando o slrnpull deverá ser executado?" + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"O slrnpull precisa ser executado periodicamente para fazer o download de " +"notícias. Isso pode ser feito de diversas maneiras." + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Um cron job que é executado diariamente pode ser usado. Isso funciona bem " +"caso você possua uma conexão de rede permanente, ou caso você esteja usando " +"o diald ou um programa similar que se conecta à rede por demanda." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"O script ip-up fará com que o slrnpull faça o download de notícias quando " +"você se conectar à rede via ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Ou você pode escolher por tratar isso manualmente e executar, como root, o " +"comando slrnpull -h `cat /etc/news/server` como preferir." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "cron job, ip-up, manualmente" + +# +#~ msgid "Or you can choose to handle this manually." +#~ msgstr "Ou você pode optar por gerenciar isso manualmente." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +#~ msgid "Refreshing newsgroup descriptions manually." +#~ msgstr "Atualizando as descrições dos grupos de notícias manualmente." + +# +#~ msgid "" +#~ "You indicated that you want to refresh newsgroup descriptions by hand, " +#~ "rather than automatically via a cron job or other method. The command to " +#~ "run (as root) to update the newsgroup descriptions is: /usr/sbin/" +#~ "slrn_getdescs" +#~ msgstr "" +#~ "Você indicou que deseja atualizar as descrições dos grupos de notícias " +#~ "manualmente ao invés de automaticamente através de um cron job ou outro " +#~ "método. O comando a ser executado (como root) para atualizar as " +#~ "descrições dos grupos de notícias é : /usr/sbin/slrn_getdescs ." + +#~ msgid "You should run this every week or so while you're online." +#~ msgstr "Você deverá executá-lo semanalmente enquanto estiver conectado." + +# Template: slrn/lost_slrnpull +# ddtp-prioritize: 62 +# +#~ msgid "Slrnpull has been split into a separate package." +#~ msgstr "O slrnpull foi dividido em um pacote separado." + +# +#~ msgid "" +#~ "You are upgrading from a version of slrn that contained the slrnpull " +#~ "program, and it appears that you used slrnpull. Slrnpull has now been " +#~ "split out into a separate package. If you do use slrnpull, you should " +#~ "install the slrnpull package." +#~ msgstr "" +#~ "Você está atualizando de uma versão do slrn que continha o programa " +#~ "slrnpull e parece que você usou o slrnpull. O slrnpull foi agora dividido " +#~ "em pacote separado. Caso você use o slrnpull você deverá instalar o " +#~ "pacote slrnpull." + +#~ msgid "Slrnpull will be run manually." +#~ msgstr "O slrnpull será executado manualmente." + +# +#~ msgid "" +#~ "You indicated that you want run slrnpull manually to download news, " +#~ "rather than automatically via a cron job or other method. The command to " +#~ "run (as root) to download news is:" +#~ msgstr "" +#~ "Você indicou que deseja atualizar as descrições dos grupos de notícias " +#~ "manualmente ao invés de automaticamente através de um cron job ou outro " +#~ "método. O comando a ser executado (como root) para atualizar as " +#~ "descrições dos grupos de notícias é :" + +#~ msgid "slrnpull -h `cat /etc/news/server`" +#~ msgstr "slrnpull -h `cat /etc/news/server`" + +# +#~ msgid "Enter the fully qualified domain name of the server." +#~ msgstr "Informe o nome de domínio totalmente qualificado do servidor." --- slrn-1.0.1.orig/debian/po/ru.po +++ slrn-1.0.1/debian/po/ru.po @@ -0,0 +1,230 @@ +# translation of slrn_0.9.9~pre97-1_ru.po to Russian +# Russian messages: +# +# This file is from the DDTP, the Debian Description Translation Project +# +# See http://ddtp.debian.org/ for more information. +# +# Ilgiz Kalmetev , 2003. +# Yuri Kozlov , 2008. +msgid "" +msgstr "" +"Project-Id-Version: 0.9.9~pre97-1\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-03-15 13:24+0300\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"Language: ru\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" + +# Template: shared/news/server +# ddtp-prioritize: 62 +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Cервер для чтения и отправки новостей:" + +# +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Укажите полное доменное имя машины сервера новостей (сервер NNTP), который " +"должен использоваться для чтения и отправки новостей." + +# Template: shared/mailname +# ddtp-prioritize: 62 +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Пожалуйста, введите почтовое имя вашей системы:" + +# +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"Почтовое имя\" -- это хостовая часть адреса, которая отображается в " +"исходящих почтовых сообщениях и статьях новостей." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "задание cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "сценарий ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "вручную" + +# Template: slrn/getdescs +# ddtp-prioritize: 62 +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Способ обновления описаний групп новостей:" + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn должен периодически подключаться к серверу в сети и скачивать новые " +"описания групп новостей. Это может быть сделано различными способами." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"С помощью еженедельного задания cron. Это хорошо работает, если вы имеете " +"постоянное соединение с Интернет, или используете diald или что-то в этом " +"роде для обеспечения соединения с сетью по запросу." + +# +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Сценарий ip-up будет запрашивать описания при соединении с сетью по ppp. При " +"использовании этого метода новые описания будут по-прежнему скачиваться " +"только раз в неделю, а не при каждом устанавливаемом сеансе соединения." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Или вы можете выбрать запуск вручную. Для этого раз в неделю (или когда вы " +"подключены к сети) запускайте команду /usr/sbin/slrn_getdescs от " +"пользователя root." + +# Template: slrn/manual_getdescs +# ddtp-prioritize: 62 +# +# msgid "" +# "Refreshing newsgroup descriptions manually." +# msgstr "" +# +# msgid "" +# "You indicated that you want to refresh newsgroup descriptions by hand, " +# "rather than automatically via a cron job or other method. The command to " +# "run (as root) to update the newsgroup descriptions is: " +# "/usr/sbin/slrn_getdescs You should run this every week or so while you're " +# "online." +# msgstr "" +# Template: slrn/getdescs_now +# ddtp-prioritize: 62 +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Скачать описания групп новостей прямо сейчас?" + +# +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Это сообщение появляется при новой установке slrn, когда описания групп " +"новостей не были обнаружены. Если сейчас вы в сети, то вам нужно скачать " +"описания групп новостей. (Это займет несколько минут, в зависимости от " +"скорости вашего соединения)." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Когда должен запускаться slrnpull?" + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull должен периодически скачивать новости. Это может быть сделано " +"различными способами." + +# +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"С помощью ежедневного задания cron. Это хорошо работает, если вы имеете " +"постоянное соединение с Интернет, или используете diald или что-то в этом " +"роде для обеспечения соединения с сетью по запросу." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Сценарий ip-up будет заставлять slrnpull скачивать новости при соединении с " +"сетью по ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Или вы можете выбрать запуск вручную и запускать команду slrnpull -h `cat /" +"etc/news/server` от root когда вам нужно." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "задание cron, сценарий ip-up, вручную" --- slrn-1.0.1.orig/debian/po/sk.po +++ slrn-1.0.1/debian/po/sk.po @@ -0,0 +1,189 @@ +# Slovak translation for slrn debconf template. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the slrn package. +# +# Ivan Masár , 2012. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2012-02-24 13:29+0100\n" +"Last-Translator: Ivan Masár \n" +"Language-Team: Slovak \n" +"Language: sk\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Server news na čítanie a posielanie noviniek:" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Zadajte plne kvalifikovaná názov servera news (NNTP server), ktorý sa má " +"použiť ako predvolený na čítanie a posielanie noviniek." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Prosím, zadajte poštový názov vášho systému:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"„Poštový názov“ je časť adresy známa ako „názov hostiteľa“. Bude sa " +"zobrazovať v odchádzajúcich správach noviniek a pošty." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "úloha cron" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manuálne" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Ako sa majú aktualizovať popisy skupín noviniek?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn sa potrebuje pravidelne pripájať k sieti, aby mohol stiahnuť nové " +"popisy skupín noviniek. To sa dá dosiahnuť niekoľkými spôsobmi." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Je možné použiť úlohu cron, ktorá sa spúšťa týždenne. To funguje dobre ak " +"máte trvalé pripojenie k sieti alebo ako používate diald alebo podobný " +"program, ktorý sa pripája k sieti na požiadanie." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skript ip-up spôsobí, že slrn obnoví popisy, keď sa pripojíte k sieti " +"pomocou ppp. Ak zvolíte tento spôsob, nové popisy sa stále budú sťahovať raz " +"za týždeň, bez ohľadu na to ako často sa pripájate k sieti." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Alebo sa môžete rozhodnúť, že sa o to postaráte manuálne a ako používateľ " +"root budete spúšťať príkaz /usr/sbin/slrn_getdescs približne raz za týždeň, " +"keď ste online." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Stiahnuť popisy skupín noviniek teraz?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Zdá sa, že toto je nová inštalácia slrn a zatiaľ neboli stiahnuté žiadne " +"popisy noviniek. Ak ste teraz online, mali by ste popisy skupín noviniek " +"stiahnuť. (Môže to chvíľu trvať, v závislosti na rýchlosti vášho pripojenia " +"k sieti.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Kedy sa má spúšťať slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrnpull potrebuje pravidelne sťahovať novinky. To sa dá dosiahnuť " +"niekoľkými spôsobmi." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Je možné použiť úlohu cron, ktorá sa spúšťa denne. To funguje dobre ak máte " +"trvalé pripojenie k sieti alebo ako používate diald alebo podobný program, " +"ktorý sa pripája k sieti na požiadanie." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Skript ip-up spôsobí, že slrn stiahne novinky, keď sa pripojíte k sieti " +"pomocou ppp." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Alebo sa môžete rozhodnúť, že sa o to postaráte manuálne a ako používateľ " +"root budete spúšťať príkaz „slrnpull -h `cat /etc/news/server`“ tak často, " +"ako chcete." --- slrn-1.0.1.orig/debian/po/sv.po +++ slrn-1.0.1/debian/po/sv.po @@ -0,0 +1,196 @@ +# translation of slrn_0.9.9~pre111-1_sv.po to Swedish +# Swedish translation of slrn. +# Copyright (C) 2005 THE slrn'S COPYRIGHT HOLDER +# This file is distributed under the same license as the slrn package. +# Translators, please read /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Daniel Nylander , 2005. +# Martin gren , 2008. +msgid "" +msgstr "" +"Project-Id-Version: slrn_0.9.9~pre111-1_sv\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-07-23 20:33+0200\n" +"Last-Translator: Martin gren \n" +"Language-Team: Swedish \n" +"Language: sv\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Server fr att lsa och skriva i diskussionsgrupper (news):" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Ange domnnamnet p den diskussionsgruppsserver (NNTP-server, newsserver) " +"som skall anvndas fr att lsa och skriva i diskussionsgrupper." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Ange e-postnamnet fr ditt system:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"\"E-postnamnet\" r vrdnamnsdelen av adressen som kommer visas i utgende " +"diskussionsgrupps- och e-postmeddelanden." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "cron-jobb" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "manuellt" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Hur skall diskussionsgruppsbeskrivningar uppdateras?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Slrn behver med jmna mellanrum ansluta till ntverket fr att hmta nya " +"diskussionsgruppsbeskrivningar. Detta kan gras p flera olika stt." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Ett cron-jobb som krs varje vecka kan anvndas. Detta fungerar bra om du " +"har en permanent ntverksanslutning, eller om du anvnder diald eller ett " +"liknande program som ansluter till ntverket vid behov." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +"Skriptet ip-up kan anvndas fr att lta slrn uppdatera beskrivningarna nr " +"du ansluter till ntverket via ppp. Nya beskrivningar kommer fortfarande " +"bara att hmtas en gng i veckan om du anvnder denna metod, oavsett hur " +"ofta du ansluter till ntverket." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +"Du kan ocks hantera detta fr hand genom att som root kra kommandot /usr/" +"sbin/slrn_getdescs ngon gng varje vecka medan du r online." + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Hmta diskussionsgruppsbeskrivningar nu?" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Detta verkar vara en ny installation av slrn; inga " +"diskussionsgruppsbeskrivningar har nnu hmtats. Om du r ansluten till " +"ntverket br du hmta beskrivningarna nu. (Det kommer att ta ngra minuter, " +"beroende p hastigheten p din ntverksanslutning.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Nr ska slrnpull kras?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Slrn behver med jmna mellanrum ansluta till ntverket fr att hmta nya " +"diskussionsgrupper. Detta kan gras p flera olika stt." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +"Ett cron-jobb som krs varje vecka kan anvndas. Detta fungerar bra om du " +"har en permanent ntverksanslutning, eller om du anvnder diald eller ett " +"liknande program som ansluter till ntverket vid behov." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +"Skriptet ip-up kommer att se till att slrnpull laddar ner nyheter nr du r " +"uppkopplad p ntverket via PPP." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +"Du kan ocks hantera detta fr hand genom att som root kra kommandot " +"slrnpull -h `cat /etc/news/server` nr det passar." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "cron-jobb, ip-up, manuellt" --- slrn-1.0.1.orig/debian/po/templates.pot +++ slrn-1.0.1/debian/po/templates.pot @@ -0,0 +1,159 @@ +# 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: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "" + +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "" + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" --- slrn-1.0.1.orig/debian/po/vi.po +++ slrn-1.0.1/debian/po/vi.po @@ -0,0 +1,198 @@ +# Vietnamese translation for slrn. +# Copyright © 2008 Free Software Foundation, Inc. +# Clytie Siddall , 2005-2008. +# +msgid "" +msgstr "" +"Project-Id-Version: slrn 0.9.9~pre77-1\n" +"Report-Msgid-Bugs-To: slrn@packages.debian.org\n" +"POT-Creation-Date: 2010-01-06 19:06+0100\n" +"PO-Revision-Date: 2008-01-18 18:01+1030\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"Language: vi\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" + +# msgid "What news server should be used for reading and posting news?" +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "News server for reading and posting news:" +msgstr "Máy phục vụ để đọc/gửi bài tin:" + +# msgid "" +# What news server (NNTP server) should be used for reading and posting +# news? +#. Type: string +#. Description +#: ../slrn.templates:1001 ../slrnpull.templates:1001 +msgid "" +"Enter the fully qualified domain name of the news server (NNTP server) that " +"should be used by default for reading and posting news." +msgstr "" +"Hãy nhập tên miền có khả năng đầy đủ của máy phục vụ tin tức (máy phục vụ " +"NNTP) nên dùng theo mặc định để đọc và gửi bài tin." + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "Please enter the mail name of your system:" +msgstr "Hãy nhập tên thư của hệ thống của bạn:" + +#. Type: string +#. Description +#: ../slrn.templates:2001 +msgid "" +"The \"mail name\" is the hostname portion of the address to be shown on " +"outgoing news and mail messages." +msgstr "" +"« Tên thư tín » là phần tên máy của địa chỉ cần hiển thị trong mọi thư hay " +"bài tin gửi đi." + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "cron job" +msgstr "công việc định kỳ" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "ip-up" +msgstr "ip-up" + +#. Type: select +#. Choices +#: ../slrn.templates:3001 ../slrnpull.templates:2001 +msgid "manually" +msgstr "bằng tay" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "How should newsgroup descriptions be refreshed?" +msgstr "Các mô tả của nhóm tin nên được cập nhật như thế nào?" + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Slrn needs to periodically connect to the network to download new " +"descriptions of newsgroups. This can be handled in a variety of ways." +msgstr "" +"Trình slrn cần phải kết nối đến mạng theo định kỷ, để tải về các mô tả mới " +"của nhóm tin. Có thể quản lý trường hợp này bằng vài cách khác nhau." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"A cron job that is run weekly can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +" • Có thể sử dụng một công việc định kỳ (cron job) được chạy hàng tuần. " +"Phương pháp này là tốt nếu bạn có kết nối bền bỉ tới mạng, hoặc nếu bạn sử " +"dụng diald hay chương trình tương tự mà kết nối đến mạng theo yêu cầu." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"The ip-up script will make slrn refresh the descriptions when you connect to " +"the network via ppp. The new descriptions will still only be retrieved once " +"a week if you choose this method, no matter how often you connect to the " +"network." +msgstr "" +" • Văn lệnh « ip-up » sẽ làm cho trình slrn cập nhật các mô tả khi bạn kết " +"nối tới mạng thông qua PPP. Các mô tả mới vẫn còn sẽ được lấy chỉ một lần " +"mỗi tuần nếu bạn chọn phương pháp này, bất chấp mấy lần bạn kết nối tới mạng." + +#. Type: select +#. Description +#: ../slrn.templates:3002 +msgid "" +"Or you can choose to handle this manually and run as root the command /usr/" +"sbin/slrn_getdescs every week or so while you're online." +msgstr "" +" • Hoặc bạn có thể chọn quản lý trường hợp này bằng tay: chạy (dưới người " +"chủ) câu lệnh « /usr/sbin/slrn_getdesc » khoảng mỗi tuần khi bạn trực tuyến. " + +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "Download newsgroup descriptions now?" +msgstr "Tải về các mô tả nhóm tin ngay bây giờ không?" + +# msgid "" +# This appears to be a new install of slrn; no newsgroup descriptions have +# been downloaded so far. Are you online, and should the newsgroup +# descriptions be downloaded now? (It will take a few minutes, depending on +# the speed of your network connection.) +#. Type: boolean +#. Description +#: ../slrn.templates:4001 +msgid "" +"This appears to be a new install of slrn; no newsgroup descriptions have " +"been downloaded so far. If you are online now, you should download the " +"newsgroup descriptions. (It will take a few minutes, depending on the speed " +"of your network connection.)" +msgstr "" +"Hình như đây là một bản cài đặt slrn mới: chưa tải về mô tả nhóm tin. Nếu " +"bạn lúc này trực tuyến, có nên tải về các mô tả của nhóm tin. (Tiến trình " +"này sẽ mất vài phút, phụ thuộc vào tốc độ của kết nối mạng.)" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "When should slrnpull be run?" +msgstr "Khi nào nên chạy slrnpull?" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Slrnpull needs to run periodically to download news. This can be " +"accomplished in a variety of ways." +msgstr "" +"Trình slrnpull cần phải chạy định kỳ để tải về các bài tin. Có thể quản lý " +"trường hợp này bằng vài cách khác nhau." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"A cron job that is run daily can be used. This works well if you have a " +"permanent network connection, or if you are using diald or a similar program " +"that connects to the network on demand." +msgstr "" +" • Có thể sử dụng một công việc định kỳ (cron job) được chạy hàng tuần. " +"Phương pháp này là tốt nếu bạn có kết nối bền bỉ tới mạng, hoặc nếu bạn sử " +"dụng diald hay chương trình tương tự mà kết nối đến mạng theo yêu cầu." + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"The ip-up script will make slrnpull download news when you connect to the " +"network via ppp." +msgstr "" +" • Văn lệnh « ip-up » sẽ làm cho trình slrn cập nhật các mô tả khi bạn kết " +"nối tới mạng thông qua PPP" + +#. Type: select +#. Description +#: ../slrnpull.templates:2002 +msgid "" +"Or you can choose to handle this manually and run as root the command " +"slrnpull -h `cat /etc/news/server` as you like it." +msgstr "" +" • Hoặc bạn có thể chọn quản lý trường hợp này bằng tay: chạy câu lệnh « " +"slrnpull -h `cat /etc/news/server » theo ý kiến của bạn." + +#~ msgid "cron job, ip-up, manually" +#~ msgstr "công việc định kỳ, ip-up, bằng tay" --- slrn-1.0.1.orig/debian/ppp-ip-up/slrn +++ slrn-1.0.1/debian/ppp-ip-up/slrn @@ -0,0 +1,14 @@ +#!/bin/sh +# +# This script is called when ppp/ifup connects to the network. +# Slrn uses it for refreshing newsgroup descriptions + +[ -x /usr/bin/slrn ] || exit 0 + +if [ -f /etc/default/slrn ]; then + . /etc/default/slrn +fi + +if [ "$GETDESCS" = "ip-up" -a "$METHOD" != loopback ]; then + /usr/sbin/slrn_getdescs $INTERVAL >/dev/null +fi --- slrn-1.0.1.orig/debian/ppp-ip-up/slrnpull +++ slrn-1.0.1/debian/ppp-ip-up/slrnpull @@ -0,0 +1,19 @@ +#!/bin/sh +# +# This script is called when ppp/ifup connects to the network. +# It pulls in news with slrnpull. +# +# Written By Joey Hess + +[ -x /usr/bin/slrnpull ] || exit 0 + +if [ -f /etc/default/slrnpull ]; then + . /etc/default/slrnpull +fi + +cd /var/spool/slrnpull + +if [ "$RUNFROM" = "ip-up" -a "$METHOD" != loopback ] ; then + # Get new articles. + su news -c 'slrnpull -h `head -n 1 /etc/news/server` >/dev/null' +fi --- slrn-1.0.1.orig/debian/rules +++ slrn-1.0.1/debian/rules @@ -0,0 +1,125 @@ +#!/usr/bin/make -f + +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + +# These additional compiler flags should bring up warnings about common +# sources of errors. +export CFLAGS += -Wall -g -Wformat=2 -Wunused -Wundef -Wextra -Wswitch-enum \ + -Wpointer-arith -Wnested-externs -Wbad-function-cast -Wcast-qual \ + -Wcast-align -Wshadow + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +export DEB_BUILD_HARDENING=1 + +include /usr/share/dpatch/dpatch.make + +slrn_dir = $(CURDIR)/debian/slrn +slrnpull_dir = $(CURDIR)/debian/slrnpull +tmp_dir = $(CURDIR)/debian/tmp + +build: build-stamp +build-stamp: patch-stamp + dh_testdir + dh_autoreconf autoconf -- --verbose --include=autoconf --output=configure autoconf/configure.ac + ./configure \ + --with-slrnpull=/var/spool/slrnpull \ + --with-gnutls=/usr/lib/$(DEB_HOST_MULTIARCH) \ + --enable-inews --enable-spool \ + --enable-setgid-code \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc/news \ + --with-server-file=/etc/news/server \ + --with-canlock \ + --without-x \ + --with-uu \ + --with-slanglib=/usr/lib/$(DEB_HOST_MULTIARCH) \ + --with-slanginc=/usr/include \ + || { rc=$$?; cat config.log; exit $$rc; } + + $(MAKE) -C src CONFDIR=/etc/news slrn + $(MAKE) CANLOCK_LIB= UUDEVIEW_LIB= CONFDIR=/etc/news slrnpull + touch build-stamp + +clean: unpatch + dh_testdir + dh_autoreconf_clean + if [ -e Makefile ]; then $(MAKE) distclean; fi + dh_clean build-stamp debian/installed-files + +# Build architecture-dependent files here. +binary-arch: build + dh_testdir + dh_testroot + dh_clean + + $(MAKE) install DESTDIR=$(tmp_dir) + dh_install + chrpath --delete $(slrn_dir)/usr/bin/slrn + + cp $(tmp_dir)/usr/share/doc/slrn/help.txt \ + $(slrn_dir)/etc/news/slrn-help.txt + + chmod +x $(slrn_dir)/usr/share/slrn/contrib/* + + dh_link -pslrn var/lib/slrn/newsgroups.dsc \ + usr/share/slrn/newsgroups.dsc + + dh_installchangelogs -k changes.txt + dh_installcron + dh_installdebconf + dh_installdirs + dh_installdocs + dh_installexamples + dh_installlogrotate + dh_installman + dh_installmenu + dh_lintian + + chmod +x $(slrnpull_dir)/usr/share/doc/slrnpull/examples/slrnpull.sh + + find $(slrn_dir) $(slrnpull_dir) -not -type d -printf '%P\n' \ + | sort > debian/installed-files + + find $(tmp_dir) -not -type d -printf '%P\n' \ + | sed --file=debian/install-list-filter.sed \ + | sort \ + | diff -u debian/installed-files - | sed 1,2d \ + | (! grep ^+) + + dh_strip + dh_compress + dh_installdeb + dh_shlibdeps + dh_gencontrol + + chmod +x $(slrn_dir)/etc/ppp/ip-up.d/slrn \ + $(slrn_dir)/etc/network/if-up.d/slrn \ + $(slrnpull_dir)/etc/ppp/ip-up.d/slrnpull \ + $(slrnpull_dir)/etc/network/if-up.d/slrnpull + dh_fixperms + chown news.news $(slrn_dir)/etc/news $(slrn_dir)/var/lib/slrn + # The perms on these directories are set so that files in them + # are owned by group news, but the directories are only writable + # by user news. out.going is g+w,+t since users write there. + chown -R news.news $(slrnpull_dir)/var/spool/slrnpull + chmod g+ws,+t $(slrnpull_dir)/var/spool/slrnpull/out.going \ + $(slrnpull_dir)/var/spool/slrnpull/out.going/rejects + chmod g+ws,o+w,+t $(slrnpull_dir)/var/spool/slrnpull/requests + + dh_md5sums + dh_builddeb + +# Build architecture-independent files here. +binary-indep: + +binary: binary-indep binary-arch +.PHONY: binary binary-indep binary-arch build clean + + + --- slrn-1.0.1.orig/debian/slrn-icon.xpm +++ slrn-1.0.1/debian/slrn-icon.xpm @@ -0,0 +1,50 @@ +/* XPM */ +static char *slrn[] = { +/* columns rows colors chars-per-pixel */ +"32 32 12 1", +" c black", +". c #191919", +"X c gray20", +"o c #4C4C4C", +"O c #666667", +"+ c gray50", +"@ c gray60", +"# c #B2B2B2", +"$ c gray80", +"% c gray90", +"& c gray100", +"* c None", +/* pixels */ +"********************************", +"********************************", +"********************************", +"********************************", +"********************************", +"* @O.. ************* .o+@@@O***", +"* @%$#oo **********.o+@#$%%%@***", +"**o%%%%%@@X *** .o+@@###@@#@***", +"**X$%%%%&&%@X* .oO+++@@@+O@$.***", +"***@%#@#%%%%%ooO++oXX+@@o@o#.***", +"***@%@+#%###%#+OOoXooooOOOo@.***", +"***+%#@#%#%@$#oOoXXoOXoXO###.***", +"***.%$##%#@O$$X.XXXoOO+@@@O@.***", +"***.%$##%%#@$%oXXX.oO+@O+++O ***", +"***.%%$%&&%$%%OoOooOOOO+O++O.***", +"***.%%#%%&%$%%OooooooO+O+o@@ ***", +"***.%%###$$%%%+oooooOO++@@#+. **", +"***.%%$$%$$$&%+oXoooOO+O@@#O **", +"***.%%%$%%$$%%+oooooOOOO@@#X *", +"***.%%$%&$#$%%+ooXoooO+O@@#o *", +"***.%&%&&$$@%%+Ooooooo+O##$o *", +"** .#%&&&$$$%$+ooooO++++@@#o ", +"** .o@#%&%$&$+OOOOoOO++@#$o ", +"** .X+$&&$@OOooooOOOooo. ", +"** .@$%@OooX. .. ", +"*** .+OX. ", +"***** ", +"******* ", +"******** *", +"********* ***", +"********** *********", +"************* ************" +}; --- slrn-1.0.1.orig/debian/slrn.README.Debian +++ slrn-1.0.1/debian/slrn.README.Debian @@ -0,0 +1,23 @@ +Debian-specific slrn configuration +---------------------------------- + +For Debian, slrn is configured to use the news server in /etc/news/server +unless this is overridden by user configuration. It will also use +/etc/news/organization for the ogranization header for posts, if that file +exists, and /etc/mailname to configure the hostname in news posts. + +The program /usr/sbin/slrn_getdescs can be run periodically to update the +newsgroup descriptions file. You can configure when it runs by editing +/etc/default/slrn. + +All of the above can also be reconfigured interactively with debconf: +dpkg-reconfigure slrn + +The slrnpull program is not included in Debian's slrn package. If you want +to use slrnpull for downloading news, install the slrnpull package. + +The contrib slrn programs (slrnrc-conv, cleanscore) are in +/usr/share/slrn/contrib; their documentation is in the +/usr/share/doc/slrn/contrib directory. + +-- Joey Hess --- slrn-1.0.1.orig/debian/slrn.config +++ slrn-1.0.1/debian/slrn.config @@ -0,0 +1,68 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +# Load in defaults file if it exists, and use it to set defaults of debconf +# questions. +if [ -f /etc/default/slrn ]; then + . /etc/default/slrn || true +fi + +if [ ! -z "$GETDESCS" ]; then + db_set slrn/getdescs "$GETDESCS" +fi + +db_beginblock + +# Note this code block is duplicated in slrnpull's config script. +if [ ! -s /etc/news/server ]; then + # No news server file currently exists (or it's empty). + db_get shared/news/server + SERVER="$RET" + # If there is no server set, try to guess a good value. + if [ -z "$SERVER" ]; then + NETNAME="`hostname -d`" || true + if [ ! -z "$NETNAME" ]; then + db_set shared/news/server "news.$NETNAME" + fi + fi +else + # Reconfiguring the package, or a news server file already exists. + # Still ask the question, though it may or may not be seen. Just + # use the first line of the file now as the default answer. + db_set shared/news/server "`head -n 1 /etc/news/server`" + # Effectively, the question is seen -- since the file is set up.. + db_fset shared/news/server seen true +fi +db_input medium shared/news/server || true + +if [ ! -s /etc/mailname ]; then + # No /etc/mailname file, or it's empty, so prompt for the mailname. + db_get shared/mailname + MAILNAME="$RET" + if [ -z "$MAILNAME" ]; then + db_set shared/mailname "`hostname --fqdn`" || db_set shared/mailname "`hostname`" + fi +else + # Reconfiguring the package, or a mailname file already exists. + # Still ask the question, though it may not be seen. Just use the + # first line of the file now as the default answer. + db_set shared/mailname "`head -n 1 /etc/mailname`" + # Effectively, the question is seen -- since the file is set up.. + db_fset shared/mailname seen true +fi +db_input medium shared/mailname || true + +db_input low slrn/getdescs || true + +if [ ! -f /var/lib/slrn/newsgroups.dsc ]; then + db_input low slrn/getdescs_now || true +else + db_set slrn/getdescs_now false +fi + +db_endblock +db_go || true --- slrn-1.0.1.orig/debian/slrn.cron.weekly +++ slrn-1.0.1/debian/slrn.cron.weekly @@ -0,0 +1,13 @@ +#!/bin/sh +# +# Cron.weekly script for slrn. Update newsgroups descriptions. + +[ -x /usr/bin/slrn ] || exit 0 + +if [ -f /etc/default/slrn ]; then + . /etc/default/slrn +fi + +if [ "$GETDESCS" = "cron job" ]; then + /usr/sbin/slrn_getdescs $INTERVAL >/dev/null 2>&1 +fi --- slrn-1.0.1.orig/debian/slrn.dirs +++ slrn-1.0.1/debian/slrn.dirs @@ -0,0 +1 @@ +var/lib/slrn --- slrn-1.0.1.orig/debian/slrn.docs +++ slrn-1.0.1/debian/slrn.docs @@ -0,0 +1,14 @@ +debian/tmp/usr/share/doc/slrn/README.SSL +debian/tmp/usr/share/doc/slrn/README.macros +debian/tmp/usr/share/doc/slrn/slrn-doc.html +debian/tmp/usr/share/doc/slrn/slrnfuns.txt +debian/tmp/usr/share/doc/slrn/manual.txt +debian/tmp/usr/share/doc/slrn/README.multiuser +debian/tmp/usr/share/doc/slrn/THANKS +debian/tmp/usr/share/doc/slrn/FIRST_STEPS +debian/tmp/usr/share/doc/slrn/README +debian/tmp/usr/share/doc/slrn/FAQ +debian/tmp/usr/share/doc/slrn/score.txt + +# GroupLens isn't enabled +#debian/tmp/usr/share/doc/slrn/README.GroupLens --- slrn-1.0.1.orig/debian/slrn.examples +++ slrn-1.0.1/debian/slrn.examples @@ -0,0 +1,2 @@ +debian/tmp/usr/share/doc/slrn/slrn.rc +debian/tmp/usr/share/doc/slrn/score.sl --- slrn-1.0.1.orig/debian/slrn.install +++ slrn-1.0.1/debian/slrn.install @@ -0,0 +1,14 @@ +debian/tmp/usr/share/locale usr/share +debian/tmp/usr/share/slrn usr/share + +contrib/cleanscore contrib/slrnrc-conv usr/share/slrn/contrib +contrib/NEWS* contrib/README.* usr/share/doc/slrn/contrib + +debian/default/slrn etc/default +debian/slrn.rc etc/news +debian/ppp-ip-up/slrn etc/ppp/ip-up.d/ +debian/ppp-ip-up/slrn etc/network/if-up.d/ +debian/slrn_getdescs usr/sbin +debian/slrn-icon.xpm usr/share/pixmaps + +src/objs/slrn usr/bin --- slrn-1.0.1.orig/debian/slrn.manpages +++ slrn-1.0.1/debian/slrn.manpages @@ -0,0 +1,2 @@ +debian/tmp/usr/share/man/man1/slrn.1 +debian/slrn_getdescs.8 --- slrn-1.0.1.orig/debian/slrn.menu +++ slrn-1.0.1/debian/slrn.menu @@ -0,0 +1,4 @@ +?package(slrn):needs="text" section="Applications/Network/Communication" \ + title="Slrn" longtitle="Slrn News Reader" command="/usr/bin/slrn" \ + hints="News Reader"\ + icon="/usr/share/pixmaps/slrn-icon.xpm" --- slrn-1.0.1.orig/debian/slrn.postinst +++ slrn-1.0.1/debian/slrn.postinst @@ -0,0 +1,31 @@ +#!/bin/sh + +set -e + +# Yes, this uses debconf. +. /usr/share/debconf/confmodule + +if [ "$1" = configure ]; then + # Always update the files; the config script makes sure ths variables + # always have a sane and current value in them. + + db_get shared/news/server + echo "$RET" > /etc/news/server + + db_get shared/mailname + echo "$RET" > /etc/mailname + + file=/etc/default/slrn + if test -e $file + then + db_get slrn/getdescs + sed -i -e "/^[^#]*GETDESCS=/s/=.*/='$RET'/" $file + fi + + db_get slrn/getdescs_now + if [ "$RET" = true ]; then + slrn_getdescs || true + fi +fi + +#DEBHELPER# --- slrn-1.0.1.orig/debian/slrn.postrm +++ slrn-1.0.1/debian/slrn.postrm @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + remove|purge) + rm -f /var/lib/slrn/newsgroups.dsc + ;; + upgrade);; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac --- slrn-1.0.1.orig/debian/slrn.rc +++ slrn-1.0.1/debian/slrn.rc @@ -0,0 +1,6 @@ +% This is an empy configuration-file for slrn. This version of the file is +% only meant for system-wide preferences. It is left empty by the installation, +% to let slrn's default settings be used. +% +% If you to include options in this file, take a look at the manpage for slrn +% or at /usr/share/doc/slrn/examples/slrn.rc.gz --- slrn-1.0.1.orig/debian/slrn.templates +++ slrn-1.0.1/debian/slrn.templates @@ -0,0 +1,40 @@ +Template: shared/news/server +Type: string +_Description: News server for reading and posting news: + Enter the fully qualified domain name of the news server (NNTP server) that + should be used by default for reading and posting news. + +Template: shared/mailname +Type: string +_Description: Please enter the mail name of your system: + The "mail name" is the hostname portion of the address to be shown on + outgoing news and mail messages. + +Template: slrn/getdescs +Type: select +__Choices: cron job, ip-up, manually +Default: cron job +_Description: How should newsgroup descriptions be refreshed? + Slrn needs to periodically connect to the network to download new + descriptions of newsgroups. This can be handled in a variety of ways. + . + A cron job that is run weekly can be used. This works well if you have a + permanent network connection, or if you are using diald or a similar + program that connects to the network on demand. + . + The ip-up script will make slrn refresh the descriptions when you connect + to the network via ppp. The new descriptions will still only be retrieved + once a week if you choose this method, no matter how often you connect to + the network. + . + Or you can choose to handle this manually and run as root the command + /usr/sbin/slrn_getdescs every week or so while you're online. + +Template: slrn/getdescs_now +Type: boolean +Default: false +_Description: Download newsgroup descriptions now? + This appears to be a new install of slrn; no newsgroup descriptions have + been downloaded so far. If you are online now, you should download the + newsgroup descriptions. (It will take a few minutes, depending on the speed + of your network connection.) --- slrn-1.0.1.orig/debian/slrn_getdescs +++ slrn-1.0.1/debian/slrn_getdescs @@ -0,0 +1,27 @@ +#!/usr/bin/perl +# +# Update newsgroup descriptions file. +# This should be run by root. + +# Make sure TERM is set to something sane, or slrn will get upset. +$ENV{TERM}='vt100'; + +# Make sure the umask is sane as well. +umask(022); + +# Location of newsgroups dsc file. +$dsc_file="/var/lib/slrn/newsgroups.dsc"; + +# The global slrn.rc file; used instead of root's .slrnrc. +$global_rc_file="/etc/news/slrn.rc"; + +# If the file is younger than 7 days old, do not update it. +$min_age=shift || 7; +$min_age--; # small fudge factor + +if (! -f $dsc_file || -M $dsc_file >= $min_age) { + $dsc_file_slrn=$dsc_file; + $dsc_file_slrn=~s/\.dsc$//; # slrn doesn't want the extention. + system "su news -c 'slrn -i $global_rc_file -f $dsc_file_slrn -h \$(cat /etc/news/server) -d'"; + chmod 0644,$dsc_file; +} --- slrn-1.0.1.orig/debian/slrn_getdescs.8 +++ slrn-1.0.1/debian/slrn_getdescs.8 @@ -0,0 +1,16 @@ +.TH SLRN_GETDESCS 8 +.SH NAME +slrn_getdescs \- weekly update of newsgroups descriptions file +.SH SYNOPSIS +.B slrn_getdescs [interval] +.SH "DESCRIPTION" +.BR slrn_getdescs +is a script that should be run periodically to update +slrn's newsgroup descriptions file, /var/lib/slrn/newsgroups.dsc . +.BR slrn_getdescs +may be run as often as is desired, but it will only update the file once per +week (or how ever many days are specified with the interval parameter, if +it is used). +.SH AUTHOR +This manual page was written by Joey Hess, +for the Debian GNU/Linux system. --- slrn-1.0.1.orig/debian/slrnpull.README.debian +++ slrn-1.0.1/debian/slrnpull.README.debian @@ -0,0 +1,17 @@ +Configuring slrn to use slrnpull +-------------------------------- + +If you decide to use slrnpull, you will need to configure slrn to look for +news in /var/spool/slrnpull. See +/usr/share/doc/slrnpull/examples/slrn.rc for an example slrnrc file +you can use for this purpose. You should also read README.slrnpull + +Slrnpull is not configured by default to allow users to post news. For +posting to work with slrnpull, you must have write access to the directory +/var/spool/slrnpull/out.going . I don't want to make this directory mode 4777 +in the default debian package, so as a compromise, it is shipped writable +by all users in the 'news' group. You may add users to that group to allow +them to post, or, if you wish, make the directory mode 4777 which will let +anyone post. For details about how this scheme works, see setgid.txt. + +-- Joey Hess --- slrn-1.0.1.orig/debian/slrnpull.config +++ slrn-1.0.1/debian/slrnpull.config @@ -0,0 +1,45 @@ +#!/bin/sh + +set -e + +. /usr/share/debconf/confmodule +db_version 2.0 + +# Load in defaults file if it exists, and use it to set defaults of debconf +# questions. +if [ -f /etc/default/slrnpull ]; then + . /etc/default/slrnpull || true +fi + +if [ ! -z "$RUNFROM" ]; then + db_set slrnpull/run_from "$RUNFROM" +fi + +db_beginblock + +# Note this oode block is duplicated in slrn's config script. +if [ ! -s /etc/news/server ]; then + # No news server file currently exists (or it's empty). + db_get shared/news/server + SERVER="$RET" + # If there is no server set, try to guess a good value. + if [ -z "$SERVER" ]; then + NETNAME="`hostname -d`" + if [ ! -z "$NETNAME" ]; then + db_set shared/news/server "news.$NETNAME" + fi + fi +else + # Reconfiguring the package, or a news server file already exists. + # Still ask the question, though it may or may not be seen. Just + # use the first line now as the default answer. + db_set shared/news/server "`head -n 1 /etc/news/server`" + # Effectively, the question is seen -- since the file is set up.. + db_fset shared/news/server seen true +fi +db_input medium shared/news/server || true + +db_input high slrnpull/run_from || true + +db_endblock +db_go || true --- slrn-1.0.1.orig/debian/slrnpull.cron.daily +++ slrn-1.0.1/debian/slrnpull.cron.daily @@ -0,0 +1,20 @@ +#!/bin/sh +# +# Cron.daily script for slrnpull. +# Written By Joey Hess + +[ -x /usr/bin/slrnpull ] || exit 0 + +if [ -f /etc/default/slrnpull ]; then + . /etc/default/slrnpull +fi + +cd /var/spool/slrnpull + +# Perform expiration, even if we aren't fetching articles right now. +su news -c 'slrnpull --expire >/dev/null' + +if [ "$RUNFROM" = "cron job" ] ; then + # Get new articles. + su news -c 'slrnpull -h `head -n 1 /etc/news/server`' >/dev/null +fi --- slrn-1.0.1.orig/debian/slrnpull.dirs +++ slrn-1.0.1/debian/slrnpull.dirs @@ -0,0 +1,5 @@ +var/log/news +var/spool/slrnpull/data +var/spool/slrnpull/news +var/spool/slrnpull/out.going/rejects +var/spool/slrnpull/requests --- slrn-1.0.1.orig/debian/slrnpull.docs +++ slrn-1.0.1/debian/slrnpull.docs @@ -0,0 +1,4 @@ +debian/tmp/usr/share/doc/slrn/slrnpull/README.offline +debian/tmp/usr/share/doc/slrn/slrnpull/setgid.txt +debian/tmp/usr/share/doc/slrn/slrnpull/SETUP +debian/tmp/usr/share/doc/slrn/slrnpull/README --- slrn-1.0.1.orig/debian/slrnpull.examples +++ slrn-1.0.1/debian/slrnpull.examples @@ -0,0 +1,3 @@ +debian/tmp/usr/share/doc/slrn/slrnpull/slrn.rc +debian/tmp/usr/share/doc/slrn/slrnpull/score +debian/tmp/usr/share/doc/slrn/slrnpull/slrnpull.sh --- slrn-1.0.1.orig/debian/slrnpull.install +++ slrn-1.0.1/debian/slrnpull.install @@ -0,0 +1,6 @@ +debian/default/slrnpull etc/default +doc/slrnpull/slrnpull.conf etc/news +debian/ppp-ip-up/slrnpull etc/ppp/ip-up.d/ +debian/ppp-ip-up/slrnpull etc/network/if-up.d/ + +src/objs/slrnpull usr/bin --- slrn-1.0.1.orig/debian/slrnpull.lintian-overrides +++ slrn-1.0.1/debian/slrnpull.lintian-overrides @@ -0,0 +1,13 @@ +# users (in the group news) can place their outgoing articles in the +# directory out.going and should remove rejected articles from rejects +# --> g+w +# but nobody else from the group news should be able to remove these files +# --> +t +# as the files might not be world-readable, but slrnpull must read them +# they should be owned by the group news --> g+s +slrnpull: non-standard-dir-perm var/spool/slrnpull/out.going/ 3775 != 0755 +slrnpull: non-standard-dir-perm var/spool/slrnpull/out.going/rejects/ 3775 != 0755 + +# the same as above and everybody should be allowed to request the body +# of articles --> o+w +slrnpull: non-standard-dir-perm var/spool/slrnpull/requests/ 3777 != 0755 --- slrn-1.0.1.orig/debian/slrnpull.logrotate +++ slrn-1.0.1/debian/slrnpull.logrotate @@ -0,0 +1,10 @@ +/var/log/news/slrnpull.log { + rotate 5 + daily + compress + delaycompress + # Skip rotation if the log file is empty; this will happen if + # slrnpull isn't being run daily via cron. + notifempty + create 644 news adm +} --- slrn-1.0.1.orig/debian/slrnpull.manpages +++ slrn-1.0.1/debian/slrnpull.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/slrnpull.1 --- slrn-1.0.1.orig/debian/slrnpull.postinst +++ slrn-1.0.1/debian/slrnpull.postinst @@ -0,0 +1,23 @@ +#!/bin/sh + +set -e + +# Yes, this uses debconf. +. /usr/share/debconf/confmodule + +if [ "$1" = configure ]; then + # Always update the files; the config script makes sure ths + # variables always have a sane and current value in them. + + db_get shared/news/server + echo "$RET" > /etc/news/server + + file=/etc/default/slrnpull + if test -e $file + then + db_get slrnpull/run_from + sed -i -e "/^[^#]*RUNFROM=/s/=.*/='$RET'/" $file + fi +fi + +#DEBHELPER# --- slrn-1.0.1.orig/debian/slrnpull.postrm +++ slrn-1.0.1/debian/slrnpull.postrm @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +case "$1" in + remove) + rm -rf /var/spool/slrnpull + ;; + purge) + rm -rf /var/spool/slrnpull + rm -f /var/log/news/slrnpull.log* + ;; + upgrade);; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac --- slrn-1.0.1.orig/debian/slrnpull.templates +++ slrn-1.0.1/debian/slrnpull.templates @@ -0,0 +1,23 @@ +Template: shared/news/server +Type: string +_Description: News server for reading and posting news: + Enter the fully qualified domain name of the news server (NNTP server) that + should be used by default for reading and posting news. + +Template: slrnpull/run_from +Type: select +__Choices: cron job, ip-up, manually +Default: cron job +_Description: When should slrnpull be run? + Slrnpull needs to run periodically to download news. This can be + accomplished in a variety of ways. + . + A cron job that is run daily can be used. This works well if you have a + permanent network connection, or if you are using diald or a similar + program that connects to the network on demand. + . + The ip-up script will make slrnpull download news when you connect to the + network via ppp. + . + Or you can choose to handle this manually and run as root the command + slrnpull -h `cat /etc/news/server` as you like it. --- slrn-1.0.1.orig/debian/watch +++ slrn-1.0.1/debian/watch @@ -0,0 +1,3 @@ +version=3 + +ftp://space.mit.edu/pub/davis/slrn/slrn-(.*)\.tar\.gz