# Find the correct PATH separator.  Usually this is  `:',  but  #
DJGPP  uses  `;'  like  DOS.  if test "X${PATH_SEPARATOR+set}" !=
Xset; then
  UNAME=${UNAME-`uname 2>/dev/null`}
  case X$UNAME in
    *-DOS) lt_cv_sys_path_separator=';' ;;
    *)     lt_cv_sys_path_separator=':' ;;
  esac
  PATH_SEPARATOR=$lt_cv_sys_path_separator fi


#  Check  that  we  are  running   under   the   correct   shell.
SHELL=${CONFIG_SHELL-/bin/sh}

case X$ECHO in X*--fallback-echo)
  #  Remove one level of quotation (which was required for Make).
  ECHO=`echo "$ECHO" | sed 's,\\$0,'$0','`
  ;; esac

echo=${ECHO-echo} if test "X$1" = X--no-reexec; then
  # Discard the --no-reexec flag, and continue.
  shift elif test "X$1" = X--fallback-echo; then
  # Avoid inline document here, it may be left over
  : elif test "X`($echo '') 2>/dev/null`" = 'X'; then
  # Yippee, $echo works!
  : else
  # Restart under the correct shell.
  exec $SHELL "$0" --no-reexec ${1+"$@"} fi

if test "X$1" = X--fallback-echo; then
  # used as fallback echo
  shift
  cat <<EOF

EOF
  exit 0 fi

# The HP-UX ksh and POSIX shell print  the  target  directory  to
stdout # if CDPATH is set.  if test "X${CDPATH+set}" = Xset; then
CDPATH=:; export CDPATH; fi

if test -z "$ECHO"; then if  test  "X${echo_test_string+set}"  !=
Xset;  then  # find a string as large as possible, as long as the
shell can cope with it
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q
"$0"' 'echo test'; do
    #  expected  sizes:  less than 2Kb, 1Kb, 512 bytes, 16 bytes,
...
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
       echo_test_string="`eval $cmd`" &&
       (test   "X$echo_test_string"    =    "X$echo_test_string")
2>/dev/null
  #   echo "$something" | sed 's/\/\\/g'
  #
  # So, first we look for a working echo in the user's PATH.

  IFS="${IFS=   }"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  for dir in $PATH /usr/ucb; do
    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
       test "X`($dir/echo '') 2>/dev/null`" = 'X' &&
       echo_testing_string=`($dir/echo       "$echo_test_string")
2>/dev/null` &&
       test "X$echo_testing_string" = "X$echo_test_string"; then
      echo="$dir/echo"
      break
    fi
  done
  IFS="$save_ifs"

  if test "X$echo" = Xecho; then
    # We didn't find a better echo, so look for alternatives.
    if test "X`(print -r '') 2>/dev/null`" = 'X' &&
       echo_testing_string=`(print     -r    "$echo_test_string")
2>/dev/null` &&
       test "X$echo_testing_string" = "X$echo_test_string"; then
      # This shell has a builtin print -r that does the trick.
      echo='print -r'
    elif (test -f /bin/ksh  ||  test  -f  /bin/ksh$ac_exeext)  &&
         test "X$CONFIG_SHELL" != X/bin/ksh; then
      # If we have ksh, try running configure again with it.
      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
      export ORIGINAL_CONFIG_SHELL
      CONFIG_SHELL=/bin/ksh
      export CONFIG_SHELL
      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    else
      # Try using printf.
      echo='printf %s0
      if  test  "X`($echo  '')  2>/dev/null`"  =  'X' &&
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null`  &&
          test  "X$echo_testing_string"  =  "X$echo_test_string";
then         # Cool, printf works         :
      elif   echo_testing_string=`($ORIGINAL_CONFIG_SHELL    "$0"
--fallback-echo '') 2>/dev/null` &&            test "X$echo_test-
ing_string" =  'X'  &&              echo_testing_string=`($ORIGI-
NAL_CONFIG_SHELL    "$0"   --fallback-echo   "$echo_test_string")
2>/dev/null`  &&               test   "X$echo_testing_string"   =
"X$echo_test_string";   then          CONFIG_SHELL=$ORIGINAL_CON-
FIG_SHELL           export   CONFIG_SHELL            SHELL="$CON-
FIG_SHELL"          export  SHELL          echo="$CONFIG_SHELL $0
--fallback-echo"
      elif echo_testing_string=`($CONFIG_SHELL  "$0"  --fallback-
echo  '') 2>/dev/null` &&            test "X$echo_testing_string"
=  'X'  &&              echo_testing_string=`($CONFIG_SHELL  "$0"
"$0"  ${1+"$@"}         else           # Oops.  We lost complete-
ly, so just stick with echo.            echo=echo         fi
      fi
    fi
  fi fi fi

# Copy echo and quote the copy suitably for  passing  to  libtool
from  #  the  Makefile, instead of quoting the original, which is
used later.  ECHO=$echo if test  "X$ECHO"  =  "X$CONFIG_SHELL  $0
--fallback-echo"; then
   ECHO="$CONFIG_SHELL \--fallback-echo" fi



if expr a : '' >/dev/null 2>&1; then
  as_expr=expr else
  as_expr=false fi


##  ---------------------  ##  ##  M4sh  Initialization.   ##  ##
--------------------- ##

# Be Bourne compatible if test -n "${ZSH_VERSION+set}"  &&  (emu-
late sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:  elif test -n "${BASH_VERSION+set}" && (set -o posix)
>/dev/null 2>&1; then
  set -o posix fi

# NLS nuisances.  # Support unset when  possible.   if  (FOO=FOO;
unset FOO) >/dev/null 2>&1; then
  as_unset=unset else
  as_unset=false fi

(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
    { $as_unset LANG || test "${LANG+set}" != set; } ||
      {  LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; ex-
port LC_ALL) 2>&1`") &&
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
      { LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C;
export LC_TIME) 2>&1`") &&
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
      {   LC_TIME=C;   export   LC_TIME;   }  (set  +x;  test  -n
"`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
      { LC_CTYPE=C; export LC_CTYPE; } (set +x; test  -n  "`(LAN-
GUAGE=C; export LANGUAGE) 2>&1`") &&
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
      {   LANGUAGE=C;   export  LANGUAGE;  }  (set  +x;  test  -n
"`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set;  }
||
    sed '/^.*/][^/]**$/{ s//1/; q; }
          /^X$/{ s//1/; q; }
          /^X.*/{ s//1/; q; }
          s/.*/./; q'`

# PATH needs CR, and LINENO needs CR and PATH.  # Avoid depending
upon  Character  Ranges.    as_cr_letters='abcdefghijklmnopqrstu-
vwxyz'    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'   as_cr_Let-
ters=$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" >conftest.sh
  echo  "exit 0"   >>conftest.sh
  chmod +x conftest.sh
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conftest.sh fi


  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no  path  at
all
  # relative or not.
  case $0 in
    *[\/]* ) as_myself=$0 ;;
    *)  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done

       ;;
  esac
  # We did not find ourselves, most probably we were run  as  `sh
COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    {  echo "$as_me: error: cannot find myself; rerun with an ab-
solute path" >&2
   { (exit 1); exit 1; }; }
              CONFIG_SHELL=$as_dir/$as_base                export
CONFIG_SHELL               exec  "$CONFIG_SHELL"  "$0"  ${1+"$@"}
           fi;;          esac
       done done ;;
  esac

  #  Create  $as_me.lineno  as  a  copy  of  $as_myself, but with
$LINENO
  # uniformly replaced by the line number.  The first  'sed'  in-
serts a
  #  line-number line before each line; the second 'sed' does the
real
  # work.  The second script uses 'N' to  pair  each  line-number
line
  # with the numbered line, and appends trailing '-' during
  #  substitution  so  that $LINENO is not a special case at line
end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  #  second 'sed' script.  Blame Lee E. McMahon for sed's syntax.
:-)
  sed '=' <$as_myself |
    sed '
      N
      s,$,-,
      : loop
      s,^$as_cr_digits']*[$]LINENO'$as_cr_alnum'_],1213,
      t loop
      s,-$,,
      s,^['$as_cr_digits']*0,
    ' >$as_me.lineno &&
  chmod +x $as_me.lineno ||
    { echo "$as_me: error:  cannot  create  $as_me.lineno;  rerun
with a POSIX shell" >&2
   { (exit 1); exit 1; }; }

  #  Don't  try  to  exec as it changes $[0], causing all sort of
problems
  # (the dirname of $[0] is not the place where we might find the
  #  original  and  so  on.   Autoconf  is especially sensible to
this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit }


case `echo "testing  *c*,-n*) ECHO_N= ECHO_C='
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='esac

if expr a : '' >/dev/null 2>&1; then
  as_expr=expr else
  as_expr=false fi
  as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

#  Sed  expression  to  map  a  string  onto  a  valid  CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_al-
num]%_%g"

#  Sed  expression  to  map  a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"


# IFS # We need space, tab and new line, in precisely that order.
as_nl=' IFS="   $as_nl"

#  CDPATH.   $as_unset CDPATH || test "${CDPATH+set}" != set || {
CDPATH=$PATH_SEPARATOR; export CDPATH; }


# Name of the host.  # hostname on some systems  (SVR3.2,  Linux)
returns  a  bogus exit status, # so uname gets run too.  ac_host-
name=`(hostname || uname -n) 2>/dev/null | sed 1q`

exec 6>&1

# # Initializations.  #  ac_default_prefix=/usr/local  cross_com-
piling=no     subdirs=     MFLAGS=     MAKEFLAGS=    SHELL=${CON-
FIG_SHELL-/bin/sh}

# Maximum number of lines to put in a  shell  here  document.   #
This variable seems obsolete.  It should probably be removed, and
#    only     ac_max_sed_lines     should     be     used.      :
${ac_max_here_lines=38}

# Identity of this package.  PACKAGE_NAME= PACKAGE_TARNAME= PACK-
AGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT=

ac_unique_file="Makefile.in" ac_default_prefix=/usr/local #  Fac-
toring default headers for most tests.  ac_includes_default="#in-
clude <stdio.h> #if HAVE_SYS_TYPES_H # include <sys/types.h> #en-
dif   #if  HAVE_SYS_STAT_H  #  include  <sys/stat.h>  #endif  #if
STDC_HEADERS # include <stdlib.h> # include <stddef.h> #else # if
HAVE_STDLIB_H   #    include   <stdlib.h>   #  endif  #endif  #if
HAVE_STRING_H # if  !STDC_HEADERS  &&  HAVE_MEMORY_H  #   include
confdefs.h

# Predefined preprocessor variables.

cat >>confdefs.h <<_ACEOF @%:@define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF


cat  >>confdefs.h  <<_ACEOF  @%:@define  PACKAGE_TARNAME  "$PACK-
AGE_TARNAME" _ACEOF


cat  >>confdefs.h  <<_ACEOF  @%:@define  PACKAGE_VERSION  "$PACK-
AGE_VERSION" _ACEOF


cat   >>confdefs.h  <<_ACEOF  @%:@define  PACKAGE_STRING  "$PACK-
AGE_STRING" _ACEOF


cat >>confdefs.h <<_ACEOF  @%:@define  PACKAGE_BUGREPORT  "$PACK-
AGE_BUGREPORT" _ACEOF


#  Let  the  site file select an alternate cache file if it wants
to.  # Prefer explicitly selected file to automatically  selected
ones.  if test -z "$CONFIG_SITE"; then
  if test "x$prefix" != xNONE; then
    CONFIG_SITE="$prefix/share/config.site       $prefix/etc/con-
fig.site"
  else
    CONFIG_SITE="$ac_default_prefix/share/config.site     $ac_de-

"$as_me: loading cache $cache_file" >&6;}
    case $cache_file in
      [\/]* | ?:[\/]* ) . $cache_file;;
      *)                      . ./$cache_file;;
    esac
  fi else
  {  echo  "$as_me:$LINENO:  creating cache $cache_file" >&5 echo
"$as_me: creating cache $cache_file" >&6;}
  >$cache_file fi

# Check that the precious variables saved in the cache have  kept
the  same # value.  ac_cache_corrupted=false for ac_var in `(set)
2>&1 |
               sed -n 's/^ac_env_-zA-Z_0-9]*_set=.*/1/p'`; do
  eval ac_old_set=c_cv_env_${ac_var}_set
  eval ac_new_set=c_env_${ac_var}_set
  eval ac_old_val="c_cv_env_${ac_var}_value"
  eval ac_new_val="c_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_compiler_gnu=$ac_cv_c_compiler_gnu




















PACKAGE=LPRng VERSION=3.8.28


ac_aux_dir= for ac_dir in . $srcdir/.; do
  if test -f $ac_dir/install-sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install-sh -c"
    break
  elif test -f $ac_dir/install.sh; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/install.sh -c"
    break
  elif test -f $ac_dir/shtool; then
    ac_aux_dir=$ac_dir
    ac_install_sh="$ac_aux_dir/shtool install -c"
    break
  fi done if test -z "$ac_aux_dir"; then
  {  { echo "$as_me:$LINENO: error: cannot find install-sh or in-
stall.sh in . $srcdir/." >&5 echo "$as_me: error: cannot find in-
stall-sh or install.sh in . $srcdir/." >&2;}
   {   (exit   1);   exit  1;  };  }  fi  ac_config_guess="$SHELL
$ac_aux_dir/config.guess" ac_config_sub="$SHELL  $ac_aux_dir/con-
fig.sub"   ac_configure="$SHELL   $ac_aux_dir/configure"  #  This
should be Cygnus configure.

#  Make  sure  we  can  run  config.sub.    $ac_config_sub   sun4
>/dev/null 2>&1 ||
  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   { (exit 1); exit 1; }; }

fig_sub $ac_cv_build_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi  echo  "$as_me:$LINENO:   result:   $ac_cv_build"   >&5   echo
"${ECHO_T}$ac_cv_build"  >&6  build=$ac_cv_build  build_cpu=`echo
$ac_cv_build   |   sed   's/^-]*--]*-$/1/'`    build_vendor=`echo
$ac_cv_build | sed 's/^-]*--]*-$/2/'` build_os=`echo $ac_cv_build
| sed 's/^-]*--]*-$/3/'`


echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N
"checking    host   system   type...   $ECHO_C"   >&6   if   test
"${ac_cv_host+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_cv_host_alias=$host_alias test -z "$ac_cv_host_alias" &&
  ac_cv_host_alias=$ac_cv_build_alias  ac_cv_host=`$ac_config_sub
$ac_cv_host_alias` ||
  {     {    echo    "$as_me:$LINENO:    error:    $ac_config_sub
$ac_cv_host_alias failed" >&5 echo "$as_me: error: $ac_config_sub
$ac_cv_host_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi   echo   "$as_me:$LINENO:   result:   $ac_cv_host"   >&5  echo
"${ECHO_T}$ac_cv_host"   >&6   host=$ac_cv_host    host_cpu=`echo
$ac_cv_host    |    sed    's/^-]*--]*-$/1/'`   host_vendor=`echo
$ac_cv_host | sed 's/^-]*--]*-$/2/'` host_os=`echo $ac_cv_host  |
sed 's/^-]*--]*-$/3/'`


echo  "$as_me:$LINENO:  checking  target  system  type"  >&5 echo
$ECHO_N "checking target system  type...  $ECHO_C"  >&6  if  test
"${ac_cv_target+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_cv_target_alias=$target_alias  test "x$ac_cv_target_alias" =
"x" &&
  ac_cv_target_alias=$ac_cv_host_alias     ac_cv_target=`$ac_con-
fig_sub $ac_cv_target_alias` ||
  {  {  echo  "$as_me:$LINENO:  error: $ac_config_sub $ac_cv_tar-
get_alias  failed"  >&5  echo  "$as_me:   error:   $ac_config_sub
$ac_cv_target_alias failed" >&2;}
   { (exit 1); exit 1; }; }

fi   echo   "$as_me:$LINENO:   result:  $ac_cv_target"  >&5  echo
"${ECHO_T}$ac_cv_target"    >&6     target=$ac_cv_target     tar-
get_cpu=`echo  $ac_cv_target | sed 's/^-]*--]*-$/1/'` target_ven-
dor=`echo $ac_cv_target | sed 's/^-]*--]*-$/2/'`  target_os=`echo
$ac_cv_target | sed 's/^-]*--]*-$/3/'`


#  The aliases save the names the user supplied, while $host etc.
# will get canonicalized.  test -n "$target_alias" &&
  test "$program_prefix$program_suffix$program_transform_name"  =

if test -z "$LOCALEDIR" ; then
    LOCALEDIR='${prefix}/share/locale' fi;


# Check whether --with-localedir or --without-localedir was  giv-
en.  if test "${with_localedir+set}" = set; then
  withval="$with_localedir"
  echo  "$as_me:$LINENO:  result: LOCALEDIR is $withval" >&5 echo
"${ECHO_T}LOCALEDIR is $withval" >&6 LOCALEDIR="$withval" else
  LOCALEDIR="$LOCALEDIR" echo "$as_me:$LINENO: result:  LOCALEDIR
defaults  to $LOCALEDIR" >&5 echo "${ECHO_T}LOCALEDIR defaults to
$LOCALEDIR" >&6

fi;  export LOCALEDIR



# Check whether --with-ccopts or --without-ccopts was given.   if
test "${with_ccopts+set}" = set; then
  withval="$with_ccopts"
  {  {  echo  "$as_me:$LINENO: error:  --with-ccopts   OBSOLETE -
use CFLAGS=... see configure --help"  >&5  echo  "$as_me:  error:
--with-ccopts    OBSOLETE  - use CFLAGS=... see configure --help"
>&2;}
   { (exit 1); exit 1; }; }

fi;

# Check whether --with-ccpopts or  --without-ccpopts  was  given.
if test "${with_ccpopts+set}" = set; then
  withval="$with_ccpopts"
  {  {  echo  "$as_me:$LINENO: error:  --with-cppopts  OBSOLETE -
use CPPFLAGS=... see configure --help" >&5 echo  "$as_me:  error:
--with-cppopts  OBSOLETE - use CPPFLAGS=... see configure --help"
>&2;}
   { (exit 1); exit 1; }; }

fi;

# Check whether --with-ldopts or --without-ldopts was given.   if
test "${with_ldopts+set}" = set; then
  withval="$with_ldopts"
  { { echo "$as_me:$LINENO: error:  --with-ldopts  OBSOLETE - use
LDFLAGS=...  see  configure  --help"  >&5  echo  "$as_me:  error:
--with-ldopts   OBSOLETE  - use LDFLAGS=... see configure --help"
>&2;}
   { (exit 1); exit 1; }; }

fi;


= set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$AWK"; then
  ac_cv_prog_AWK="$AWK" # Let the user override the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_AWK="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then
  echo "$as_me:$LINENO: result: $AWK"  >&5  echo  "${ECHO_T}$AWK"
>&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  test -n "$AWK" && break done


# Extract the first word of "sed", so it can be  a  program  name
with  args.   set  dummy  sed;  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_SED+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $SED in
  [\/]* | ?:[\/]*)
  ac_cv_path_SED="$SED"  #  Let the user override the test with a
path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_SED="$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

  ;; esac fi SED=$ac_cv_path_SED

if test -n "$SED"; then
  echo  "$as_me:$LINENO:  result:  $SED" >&5 echo "${ECHO_T}$SED"
>&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
#  Extract  the first word of "perl", so it can be a program name
with args.  set  dummy  perl;  ac_word=$2  echo  "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

  ;; esac fi PERL=$ac_cv_path_PERL

if test -n "$PERL"; then
  echo "$as_me:$LINENO: result: $PERL" >&5 echo  "${ECHO_T}$PERL"
>&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
# Extract the first word of "chown", so it can be a program  name
with  args.   set  dummy  chown; 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_CHOWN+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $CHOWN in
  [\/]* | ?:[\/]*)
  ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_CHOWN="$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

  ;; esac fi CHOWN=$ac_cv_path_CHOWN

if test -n "$CHOWN"; then
  echo     "$as_me:$LINENO:     result:    $CHOWN"    >&5    echo
"${ECHO_T}$CHOWN" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
#  Extract the first word of "chgrp", so it can be a program name
with args.  set dummy  chgrp;  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_CHGRP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $CHGRP in
  [\/]* | ?:[\/]*)
  ac_cv_path_CHGRP="$CHGRP" # Let the user override the test with
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do

ing for $ac_word" >&5  echo  $ECHO_N  "checking  for  $ac_word...
$ECHO_C" >&6 if test "${ac_cv_path_PRUTIL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $PRUTIL in
  [\/]* | ?:[\/]*)
  ac_cv_path_PRUTIL="$PRUTIL"  #  Let  the user override the test
with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_PRUTIL="$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

  ;; esac fi PRUTIL=$ac_cv_path_PRUTIL

if test -n "$PRUTIL"; then
  echo "$as_me:$LINENO: result: $PRUTIL" >&5 echo "${ECHO_T}$PRU-
TIL" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
#  Extract  the  first  word of "openssl", so it can be a program
name   with   args.    set   dummy   openssl;   ac_word=$2   echo
"$as_me:$LINENO:  checking for $ac_word" >&5 echo $ECHO_N "check-
ing     for     $ac_word...     $ECHO_C"     >&6     if      test
"${ac_cv_path_OPENSSL+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $OPENSSL in
  [\/]* | ?:[\/]*)
  ac_cv_path_OPENSSL="$OPENSSL"  # Let the user override the test
with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_OPENSSL="$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

  ;; esac fi OPENSSL=$ac_cv_path_OPENSSL

if test -n "$OPENSSL"; then
  echo    "$as_me:$LINENO:    result:    $OPENSSL"    >&5    echo
"${ECHO_T}$OPENSSL" >&6 else
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_PGP_PATH="$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

  ;; esac fi PGP_PATH=$ac_cv_path_PGP_PATH

if test -n "$PGP_PATH"; then
  echo   "$as_me:$LINENO:    result:    $PGP_PATH"    >&5    echo
"${ECHO_T}$PGP_PATH" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

cat >>confdefs.h <<_ACEOF @%:@define PGP_PATH "$PGP_PATH" _ACEOF




echo "$as_me:$LINENO: checking unix  socket  pathname"  >&5  echo
$ECHO_N "checking unix socket pathname... $ECHO_C" >&6

#  Check  whether --with-unix_socket_path or --without-unix_sock-
et_path was given.  if test "${with_unix_socket_path+set}" = set;
then
  withval="$with_unix_socket_path"
  UNIXSOCKETPATH=$withval else
  UNIXSOCKETPATH=/var/run/lprng

fi;  echo  "$as_me:$LINENO:  result:  $UNIXSOCKETPATH"  >&5  echo
"${ECHO_T}$UNIXSOCKETPATH" >&6


CONFIG_SUBDIR=lpd echo  "$as_me:$LINENO:  checking  configuration
information  subdirectory"  >&5 echo $ECHO_N "checking configura-
tion information subdirectory... $ECHO_C" >&6

# Check whether --with-config_subdir  or  --without-config_subdir
was given.  if test "${with_config_subdir+set}" = set; then
  withval="$with_config_subdir"
  CONFIG_SUBDIR=$withval  fi; echo "$as_me:$LINENO: result: $CON-
FIG_SUBDIR" >&5 echo "${ECHO_T}$CONFIG_SUBDIR" >&6



echo "$as_me:$LINENO: checking if installing clients setuid"  >&5
echo  $ECHO_N  "checking if installing clients setuid... $ECHO_C"
>&6 # Check whether --enable-setuid or --disable-setuid was  giv-
en.  if test "${enable_setuid+set}" = set; then
  enableval="$enable_setuid"

priv_ports or --disable-priv_ports was  given.   if  test  "${en-
able_priv_ports+set}" = set; then
  enableval="$enable_priv_ports"

if    test   "$enableval"   =   "yes"   ;   then           v=yes;
PRIV_PORTS=""; else         v=no; PRIV_PORTS="#"; fi

else

        v=no; PRIV_PORTS="#";


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6;

echo  "$as_me:$LINENO:  checking disable force_localhost default"
>&5 echo $ECHO_N  "checking  disable  force_localhost  default...
$ECHO_C"  >&6  # Check whether --enable-force_localhost or --dis-
able-force_localhost was given.  if  test  "${enable_force_local-
host+set}" = set; then
  enableval="$enable_force_localhost"

if test "$enableval" = "yes" ; then         v=enabled;  FORCE_LO-
CALHOST=1; else         v=disabled; FORCE_LOCALHOST=0; fi

else

        v=enabled;  FORCE_LOCALHOST=1;


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6

cat >>confdefs.h <<_ACEOF @%:@define FORCE_LOCALHOST  "$FORCE_LO-
CALHOST" _ACEOF


echo  "$as_me:$LINENO:  checking require_configfiles default" >&5
echo $ECHO_N "checking  require_configfiles  default...  $ECHO_C"
>&6 # Check whether --enable-require_configfiles or --disable-re-
quire_configfiles was given.  if  test  "${enable_require_config-
files+set}" = set; then
  enableval="$enable_require_configfiles"

if  test "$enableval" = "yes" ; then         v=yes;  REQUIRE_CON-
FIGFILES=1; else         v=no; REQUIRE_CONFIGFILES=0; fi

else

        v=yes;  REQUIRE_CONFIGFILES=1;


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6

else

        v=disabled; KERBEROS=;


fi; echo "$as_me:$LINENO: result: $v  (KERBEROS  $KERBEROS)"  >&5
echo "${ECHO_T}$v (KERBEROS $KERBEROS)" >&6;

echo  "$as_me:$LINENO:  checking if MIT Kerberos4 is enabled" >&5
echo $ECHO_N "checking if MIT Kerberos4  is  enabled...  $ECHO_C"
>&6  # Check whether --enable-mit_kerberos4 or --disable-mit_ker-
beros4 was given.  if test "${enable_mit_kerberos4+set}"  =  set;
then
  enableval="$enable_mit_kerberos4"

if  test  "$enableval" = "yes" ; then         v=enabled; MIT_KER-
BEROS4=1;  cat  >>confdefs.h  <<_ACEOF  @%:@define  MIT_KERBEROS4
"$MIT_KERBEROS4" _ACEOF

else         v=disabled; MIT_KERBEROS4=; fi

else

        v=disabled; MIT_KERBEROS4=;


fi;  echo  "$as_me:$LINENO:  result:  $v (MIT_KERBEROS4 $MIT_KER-
BEROS4)" >&5 echo  "${ECHO_T}$v  (MIT_KERBEROS4  $MIT_KERBEROS4)"
>&6;

echo  "$as_me:$LINENO:  checking if Kerberos libraries are to lo-
cated and other checks" >&5 echo $ECHO_N  "checking  if  Kerberos
libraries are to located and other checks... $ECHO_C" >&6 # Check
whether  --enable---disable-kerberos_checks  or  --disable---dis-
able-kerberos_checks was given.  if test "${enable___disable_ker-
beros_checks+set}" = set; then
  enableval="$enable___disable_kerberos_checks"

if test "$enableval"  =  "yes"  ;  then          v=enabled;  KER-
BEROS_CHECKS=1; else         v=disabled; KERBEROS_CHECKS=; fi

else

        v=enabled; KERBEROS_CHECKS=1;


fi;  echo  "$as_me:$LINENO:  result:  $v  (KERBEROS_CHECKS  $KER-
BEROS_CHECKS)"  >&5  echo  "${ECHO_T}$v  (KERBEROS_CHECKS   $KER-
BEROS_CHECKS)"  >&6;  echo "$as_me:$LINENO: checking where to in-
stall the lpd binary" >&5 echo $ECHO_N "checking where to install
the lpd binary... $ECHO_C" >&6

was given.  if test "${with_lpd_conf_path+set}" = set; then
  withval="$with_lpd_conf_path"
  LPD_CONF_PATH=$withval else
  LPD_CONF_PATH=sysconfdir}/${CONFIG_SUBDIR}/lpd.conf   fi;  echo
"$as_me:$LINENO:     result:     $LPD_CONF_PATH"     >&5     echo
"${ECHO_T}$LPD_CONF_PATH" >&6


echo  "$as_me:$LINENO:  checking  lpd.perms  location"  >&5  echo
$ECHO_N "checking lpd.perms location... $ECHO_C" >&6

# Check whether --with-lpd_perms_path or --without-lpd_perms_path
was given.  if test "${with_lpd_perms_path+set}" = set; then
  withval="$with_lpd_perms_path"
  LPD_PERMS_PATH=$withval else
  LPD_PERMS_PATH=sysconfdir}/${CONFIG_SUBDIR}/lpd.perms  fi; echo
"$as_me:$LINENO:    result:     $LPD_PERMS_PATH"     >&5     echo
"${ECHO_T}$LPD_PERMS_PATH" >&6


echo   "$as_me:$LINENO:  checking  printcap  location"  >&5  echo
$ECHO_N "checking printcap location... $ECHO_C" >&6

# Check whether --with-printcap_path  or  --without-printcap_path
was given.  if test "${with_printcap_path+set}" = set; then
  withval="$with_printcap_path"
  PRINTCAP_PATH=$withval else
  PRINTCAP_PATH=sysconfdir}/printcap  fi;  echo  "$as_me:$LINENO:
result: $PRINTCAP_PATH" >&5 echo "${ECHO_T}$PRINTCAP_PATH" >&6


echo "$as_me:$LINENO: checking lpd_printcap  location"  >&5  echo
$ECHO_N "checking lpd_printcap location... $ECHO_C" >&6

#  Check whether --with-lpd_printcap_path or --without-lpd_print-
cap_path was given.  if  test  "${with_lpd_printcap_path+set}"  =
set; then
  withval="$with_lpd_printcap_path"
  LPD_PRINTCAP_PATH=$withval else
  LPD_PRINTCAP_PATH=sysconfdir}/${CONFIG_SUBDIR}/lpd_printcap fi;
echo  "$as_me:$LINENO:  result:  $LPD_PRINTCAP_PATH"   >&5   echo
"${ECHO_T}$LPD_PRINTCAP_PATH" >&6

echo  "$as_me:$LINENO: checking startup (initialization) file lo-
cation" >&5 echo $ECHO_N "checking startup (initialization)  file
location... $ECHO_C" >&6

#  Check whether --with-initpath or --without-initpath was given.
if test "${with_initpath+set}" = set; then
  withval="$with_initpath"
  INIT=$withval else
  INIT=  fi;  echo  "$as_me:$LINENO:  result:  $INIT"  >&5   echo

echo "$as_me:$LINENO: checking default spool directory" >&5  echo
$ECHO_N "checking default spool directory... $ECHO_C" >&6

#  Check whether --with-spooldir or --without-spooldir was given.
if test "${with_spooldir+set}" = set; then
  withval="$with_spooldir"
  SD_DEFAULT="$withval" else
  SD_DEFAULT="/var/spool/lpd" fi; echo  "$as_me:$LINENO:  result:
echo "${ECHO_T}


echo  "$as_me:$LINENO:  checking  LD_LIBRARY_PATH value" >&5 echo
$ECHO_N "checking LD_LIBRARY_PATH value... $ECHO_C" >&6

#  Check  whether  --with-ld_library_path   or   --without-ld_li-
brary_path  was  given.   if test "${with_ld_library_path+set}" =
set; then
  withval="$with_ld_library_path"
  LD_LIBRARY_PATH="$withval" else
  LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib"

fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}


echo  "$as_me:$LINENO:  checking  filter  PATH  value"  >&5  echo
$ECHO_N "checking filter PATH value... $ECHO_C" >&6

#  Check  whether --with-filter_path or --without-filter_path was
given.  if test "${with_filter_path+set}" = set; then
  withval="$with_filter_path"
  FILTER_PATH="$withval" else
  FILTER_PATH="/bin:/usr/bin:/usr/local/bin"

fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}


echo "$as_me:$LINENO:  checking  run  lpd  as  userid"  >&5  echo
$ECHO_N "checking run lpd as userid... $ECHO_C" >&6

#  Check whether --with-userid or --without-userid was given.  if
test "${with_userid+set}" = set; then
  withval="$with_userid"
  USERID="$withval" else
  USERID="daemon"  fi;   echo   "$as_me:$LINENO:   result:   echo
"${ECHO_T}


echo  "$as_me:$LINENO:  checking  run  lpd  as  groupid" >&5 echo
$ECHO_N "checking run lpd as groupid... $ECHO_C" >&6

# Check whether --with-groupid or  --without-groupid  was  given.
  DONE_JOBS="$withval" else
  DONE_JOBS="1" fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}



echo "$as_me:$LINENO: checking retain status for jobs less than N
seconds old" >&5 echo $ECHO_N "checking retain  status  for  jobs
less than N seconds old... $ECHO_C" >&6

#    Check   whether   --with-done_jobs_max_age   or   --without-
done_jobs_max_age        was        given.         if        test
"${with_done_jobs_max_age+set}" = set; then
  withval="$with_done_jobs_max_age"
  DONE_JOBS_MAX_AGE="$withval" else
  DONE_JOBS_MAX_AGE="0"  fi;  echo  "$as_me:$LINENO: result: echo
"${ECHO_T}


echo "$as_me:$LINENO: checking load balance queue chooser routine
name"  >&5 echo $ECHO_N "checking load balance queue chooser rou-
tine name... $ECHO_C" >&6

# Check whether --with-chooser_routine or  --without-chooser_rou-
tine  was  given.   if  test "${with_chooser_routine+set}" = set;
then
  withval="$with_chooser_routine"

CHOOSER_ROUTINE="$withval"

cat  >>confdefs.h  <<_ACEOF  @%:@define  CHOOSER_ROUTINE  $CHOOS-
ER_ROUTINE _ACEOF



fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}

echo "$as_me:$LINENO: checking queue order routine name" >&5 echo
$ECHO_N "checking queue order routine name... $ECHO_C" >&6

# Check whether --with-order_routine  or  --without-order_routine
was given.  if test "${with_order_routine+set}" = set; then
  withval="$with_order_routine"

ORDER_ROUTINE="$withval"

cat  >>confdefs.h  <<_ACEOF @%:@define ORDER_ROUTINE "$ORDER_ROU-
TINE" _ACEOF



fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}


# Check whether --with-user_include or --without-user_include was
given.  if test "${with_user_include+set}" = set; then
  withval="$with_user_include"

USER_INCLUDE="$withval"

cat >>confdefs.h <<_ACEOF @%:@define USER_INCLUDE "$USER_INCLUDE"
_ACEOF



fi; echo "$as_me:$LINENO: result: echo "${ECHO_T}

echo "$as_me:$LINENO: checking terminal screen clear program" >&5
echo $ECHO_N "checking terminal screen clear program...  $ECHO_C"
>&6 if test -z "$CLEAR" ; then
  #  Extract  the  first  word of "clear", so it can be a program
name   with   args.    set   dummy   clear;    ac_word=$2    echo
"$as_me:$LINENO:  checking for $ac_word" >&5 echo $ECHO_N "check-
ing     for     $ac_word...     $ECHO_C"     >&6     if      test
"${ac_cv_path_CLEAR+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $CLEAR in
  [\/]* | ?:[\/]*)
  ac_cv_path_CLEAR="$CLEAR" # Let the user override the test with
a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_path_CLEAR="$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

  ;; esac fi CLEAR=$ac_cv_path_CLEAR

if test -n "$CLEAR"; then
  echo     "$as_me:$LINENO:     result:    $CLEAR"    >&5    echo
"${ECHO_T}$CLEAR" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
fi if test -z "$CLEAR" ; then
 {  echo  "$as_me:$LINENO: WARNING: Program 'clear' is not found.
Set environment CLEAR=no if you do not want to use it"  >&5  echo
"$as_me:  WARNING:  Program 'clear' is not found. Set environment
CLEAR=no if you do not want to use it" >&2;};
 exit 1 fi if test "$CLEAR" = "no" ; then CLEAR= ; fi if test  -n
"$CLEAR"  ;  then            cat >>confdefs.h <<_ACEOF @%:@define
available or -ax AND -e options do not work" >&2;}
        { echo "$as_me:$LINENO: WARNING: specify options  in  the
PSHOWALL environment variable" >&5 echo "$as_me: WARNING: specify
options in the PSHOWALL environment variable" >&2;};         exit
1
  fi fi echo "$as_me:$LINENO: result: echo "${ECHO_T}


echo "$as_me:$LINENO: checking filter directory" >&5 echo $ECHO_N
"checking filter directory... $ECHO_C" >&6

# Check whether --with-filterdir or --without-filterdir was  giv-
en.  if test "${with_filterdir+set}" = set; then
  withval="$with_filterdir"
  FILTER_DIR=$withval else
  FILTER_DIR=libexecdir}/filters  fi;  echo  "$as_me:$LINENO: re-
sult: $FILTER_DIR" >&5 echo "${ECHO_T}$FILTER_DIR" >&6


echo "$as_me:$LINENO: checking disable  -Werror  flag"  >&5  echo
$ECHO_N  "checking  disable  -Werror flag... $ECHO_C" >&6 # Check
whether --enable-werror or --disable-werror was given.   if  test
"${enable_werror+set}" = set; then
  enableval="$enable_werror"

if  test  "$enableval"  =  "yes"  ; then         v=yes;  werror="
-Werror "; else         v=no; werror=""; fi

else

        v=yes;  werror=" -Werror ";


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6

echo "$as_me:$LINENO: checking  disable  stripped  binaries"  >&5
echo  $ECHO_N "checking disable stripped binaries... $ECHO_C" >&6
# Check whether --enable-strip or --disable-strip was given.   if
test "${enable_strip+set}" = set; then
  enableval="$enable_strip"

if  test  "$enableval"  =  "yes" ; then         v=yes;  STRIP_OP-
TION=" -s "; else         v=no; STRIP_OPTION=""; fi

else

        v=yes;  STRIP_OPTION=" -s ";


fi; echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v" >&6


cat  >>confdefs.h  <<_ACEOF  @%:@define TARGETARCHITECTURE "$tar-
get_cpu" _ACEOF


cat >>confdefs.h <<_ACEOF @%:@define OSNAME "$osword" _ACEOF


cat >>confdefs.h <<_ACEOF @%:@define OSVERSION $version _ACEOF

OSNAME=$osword OSVERSION=$version



ac_ext=c  ac_cpp='$CPP  $CPPFLAGS'  ac_compile='$CC  -c   $CFLAGS
$CPPFLAGS  conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext  $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS   >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu  if  test -n "$ac_tool_pre-
fix"; then
  # Extract the first word of "${ac_tool_prefix}gcc", so  it  can
be  a  program  name  with args.  set dummy ${ac_tool_prefix}gcc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5  echo
$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC"  >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program  name
with  args.   set  dummy  gcc;  ac_word=$2  echo "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  CC=$ac_ct_CC else
  CC="$ac_cv_prog_CC" fi

if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be
a   program  name  with  args.   set  dummy  ${ac_tool_prefix}cc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5  echo
$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
  echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC"  >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "cc", so it can be a  program  name
with args.  set dummy cc; ac_word=$2 echo "$as_me:$LINENO: check-
ing for $ac_word" >&5  echo  $ECHO_N  "checking  for  $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
  echo   "$as_me:$LINENO:    result:    $ac_ct_CC"    >&5    echo
"${ECHO_T}$ac_ct_CC" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $@%:@ != 0; then
    # We chose a different compiler from the bogus one.
    #  However,  it  has  the same basename, so the bogon will be
chosen
    # first if we set CC to just the basename; use the full  file
name.
    shift
    set dummy "$as_dir/$ac_word" ${1+"$@"}
    shift
    ac_cv_prog_CC="$@"
  fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
  echo  "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  for ac_prog in cl
  do
    #  Extract the first word of "$ac_tool_prefix$ac_prog", so it
can be  a  program  name  with  args.   set  dummy  $ac_tool_pre-
fix$ac_prog;   ac_word=$2   echo  "$as_me:$LINENO:  checking  for
$ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC"  #  Let  the  user override the test.  else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2

ing     for     $ac_word...     $ECHO_C"     >&6     if      test
"${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
  echo   "$as_me:$LINENO:    result:    $ac_ct_CC"    >&5    echo
"${ECHO_T}$ac_ct_CC" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  test -n "$ac_ct_CC" && break done

  CC=$ac_ct_CC fi

fi


test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C
compiler  found  in ATH" >&5 echo "$as_me: error: no acceptable C
compiler found in ATH" >&2;}
   { (exit 1); exit 1; }; }

#  Provide   some   information   about   the   compiler.    echo
"$as_me:$LINENO:"       "checking  for  C  compiler  version" >&5
ac_compiler=`set  X  $ac_compile;   echo   $2`   {   (eval   echo
"$as_me:$LINENO:
  (eval $ac_compiler --version </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } { (eval echo "$as_me:$LINENO:
  (eval $ac_compiler -v </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } { (eval echo "$as_me:$LINENO:
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }

cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"
  (eval $ac_link_default) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; then
  #  Find the output, starting from the most likely.  This scheme
is # not robust to junk in `.', hence go to wildcards (a.*)  only
as a last # resort.

#  Be  careful  to  initialize this variable, since it used to be
cached.  # Otherwise an old cache value of `no' led to `EXEEXT  =
no'  in  a  Makefile.  ac_cv_exeext= for ac_file in `ls a_out.exe
a.exe conftest.exe 2>/dev/null;
                ls a.out conftest 2>/dev/null;
                ls a.* conftest.* 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds |  *.d  |  *.pdb  |
*.xSYM ) ;;
    a.out  )  # We found the default executable, but exeext='' is
most
            # certainly right.
            break;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]**'`
          # FIXME: I believe we export ac_cv_exeext  for  Libtool
--akim.
          export ac_cv_exeext
          break;;
    * ) break;;
  esac done else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
{ { echo "$as_me:$LINENO: error: C compiler  cannot  create  exe-
cutables"  >&5 echo "$as_me: error: C compiler cannot create exe-
cutables" >&2;}
   { (exit 77); exit 77; }; } fi

ac_exeext=$ac_cv_exeext echo "$as_me:$LINENO:  result:  $ac_file"
>&5 echo "${ECHO_T}$ac_file" >&6

#  Check  the  compiler produces executables we can run.  If not,
either # the compiler is  broken,  or  we  cross  compile.   echo
"$as_me:$LINENO:  checking whether the C compiler works" >&5 echo
$ECHO_N "checking whether the C compiler works... $ECHO_C" >&6  #
FIXME:  These cross compiler hacks should be removed for Autoconf
3.0 # If not cross compiling, check that we can run a simple pro-
gram.  if test "$cross_compiling" != yes; then
  if { ac_try='./$ac_file'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
    cross_compiling=no
  else

or  we  cross compile.  echo "$as_me:$LINENO: checking whether we
are cross compiling" >&5 echo $ECHO_N "checking  whether  we  are
cross  compiling...  $ECHO_C"  >&6  echo "$as_me:$LINENO: result:
$cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6

echo "$as_me:$LINENO: checking for  suffix  of  executables"  >&5
echo  $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; then
  # If both `conftest.exe' and `conftest'  are  `present'  (well,
observable)  #  catch  `conftest.exe'.  For instance with Cygwin,
`ls  conftest'  will  #  work  properly  (i.e.,  refer  to  `con-
ftest.exe'),  while  it  won't  with # `rm'.  for ac_file in `(ls
conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
  case $ac_file in
    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]**'`
          export ac_cv_exeext
          break;;
    * ) break;;
  esac done else
  { { echo "$as_me:$LINENO: error: cannot compute suffix of  exe-
cutables:  cannot compile and link" >&5 echo "$as_me: error: can-
not compute suffix of executables: cannot compile and link" >&2;}
   { (exit 1); exit 1; }; } fi

rm   -f   conftest$ac_cv_exeext   echo  "$as_me:$LINENO:  result:
$ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6

rm  -f  conftest.$ac_ext  EXEEXT=$ac_cv_exeext  ac_exeext=$EXEEXT
echo  "$as_me:$LINENO:  checking  for suffix of object files" >&5
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
if test "${ac_cv_objext+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  ;
  return 0; } _ACEOF rm -f conftest.o  conftest.obj  if  {  (eval
echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; then
  for  ac_file  in  `(ls  conftest.o conftest.obj; ls conftest.*)

"${ECHO_T}$ac_cv_objext"  >&6 OBJEXT=$ac_cv_objext ac_objext=$OB-
JEXT 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_compil-
er_gnu+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  #ifn-
def __GNUC__
       choke me #endif

  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_compiler_gnu=no  fi rm -f conftest.$ac_objext conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5  echo
"${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu =
yes      &&      echo      yes`      ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking
whether $CC accepts -g" >&5 echo $ECHO_N  "checking  whether  $CC
accepts  -g...  $ECHO_C"  >&6  if test "${ac_cv_prog_cc_g+set}" =
set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5

then
  CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi fi # Some people use a C++ compiler to compile C.  Since  we
use `exit', # in C++ we need to declare it.  In case someone uses
the same compiler # for both compiling C and C++ we need to  have
the C++ compiler decide # the declaration of exit, since it's the
most  demanding  environment.   cat  >conftest.$ac_ext   <<_ACEOF
@%:@ifndef __cplusplus
  choke  me @%:@endif _ACEOF rm -f conftest.$ac_objext if { (eval
echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  for ac_declaration in    ''   '#include <stdlib.h>'     'extern
"C"  void  std::exit (int) throw (); using std::exit;'    'extern
"C" void std::exit (int); using std::exit;'    'extern  "C"  void
exit  (int)  throw ();'    'extern "C" void exit (int);'    'void
exit (int);' do
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h" @%:@include <stdlib.h> $ac_declaration #ifdef
F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main ()  {  exit
(42);
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  break else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext  done  rm  -f  con-
ftest* if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h fi

else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi   rm   -f   conftest.$ac_objext   conftest.$ac_ext    ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS con-
ftest.$ac_ext >&5'  ac_link='$CC  -o  conftest$ac_exeext  $CFLAGS
$CPPFLAGS   $LDFLAGS   conftest.$ac_ext   $LIBS  >&5'  ac_compil-
er_gnu=$ac_cv_c_compiler_gnu

ac_ext=c  ac_cpp='$CPP  $CPPFLAGS'  ac_compile='$CC  -c   $CFLAGS
$CPPFLAGS  conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext  $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  "check-
ing  how  to  run  the  C preprocessor... $ECHO_C" >&6 # On Suns,
sometimes $CPP names a directory.  if test -n "$CPP" &&  test  -d
"$CPP"; then
  CPP= fi if test -z "$CPP"; then
  if test "${ac_cv_prog_CPP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
      # Double quotes because CPP needs to be expanded
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    do
      ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # On the NeXT, cc -E runs the code through the compiler's pars-
er,
  #  not  just  through cpp. "Syntax error" is here to catch this
case.
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h" @%:@include <assert.h>
                     Syntax   error   _ACEOF   if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  # Broken: fails on valid input.  continue fi rm -f conftest.err
conftest.$ac_ext

  #  OK,  works  on  sane  cases.  Now check whether non-existent
headers
  # can be detected and how.
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h"  @%:@include  <ac_nonexistent.h>  _ACEOF if {
(eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.  continue else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  # Passes both tests.   ac_preproc_ok=:  break  fi  rm  -f  con-
ftest.err conftest.$ac_ext

done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was
skipped.  rm -f conftest.err conftest.$ac_ext if  $ac_preproc_ok;
then
  break fi

    done
    ac_cv_prog_CPP=$CPP

fi
  CPP=$ac_cv_prog_CPP else
  ac_cv_prog_CPP=$CPP  fi echo "$as_me:$LINENO: result: $CPP" >&5
echo  "${ECHO_T}$CPP"  >&6  ac_preproc_ok=false   for   ac_c_pre-
proc_warn_flag in '' yes do
  # Use a header file that comes with gcc, so configuring glibc
  # with a fresh cross-compiler works.
  # On the NeXT, cc -E runs the code through the compiler's pars-
er,
  # not just through cpp. "Syntax error" is here  to  catch  this
case.
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <assert.h>
                     Syntax  error  _ACEOF  if   {   (eval   echo
"$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  cat conftest.$ac_ext >&5
  # Broken: fails on valid input.  continue fi rm -f conftest.err
conftest.$ac_ext

  # OK, works on sane  cases.   Now  check  whether  non-existent
headers
  # can be detected and how.
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include  <ac_nonexistent.h>  _ACEOF  if  {
(eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
  # Broken: success on invalid input.  continue else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  #  Passes  both  tests.   ac_preproc_ok=:  break  fi rm -f con-
ftest.err conftest.$ac_ext

done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was
skipped.   rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok;
then
  : else
  { { echo "$as_me:$LINENO: error: C preprocessor  echo  "$as_me:
error: C preprocessor
   { (exit 1); exit 1; }; } fi

ac_ext=c   ac_cpp='$CPP  $CPPFLAGS'  ac_compile='$CC  -c  $CFLAGS
$CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o  conftest$ac_exe-
ext   $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS  >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

ac_ext=c  ac_cpp='$CPP  $CPPFLAGS'  ac_compile='$CC  -c   $CFLAGS
$CPPFLAGS  conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext  $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS   >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu  if  test -n "$ac_tool_pre-
fix"; 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 "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC"  >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$ac_cv_prog_CC"; then
  ac_ct_CC=$CC
  # Extract the first word of "gcc", so it can be a program  name
with  args.   set  dummy  gcc;  ac_word=$2  echo "$as_me:$LINENO:
checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="gcc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
  echo   "$as_me:$LINENO:    result:    $ac_ct_CC"    >&5    echo
"${ECHO_T}$ac_ct_CC" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  CC=$ac_ct_CC else
  CC="$ac_cv_prog_CC" fi

if test -z "$CC"; then
  if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}cc", so it can be
a   program  name  with  args.   set  dummy  ${ac_tool_prefix}cc;
ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5  echo
$ECHO_N   "checking   for   $ac_word...   $ECHO_C"  >&6  if  test
"${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user  override  the  test.   else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="${ac_tool_prefix}cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
  echo   "$as_me:$LINENO:    result:    $ac_ct_CC"    >&5    echo
"${ECHO_T}$ac_ct_CC" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  CC=$ac_ct_CC else
  CC="$ac_cv_prog_CC" fi

fi if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a  program  name
with args.  set dummy cc; ac_word=$2 echo "$as_me:$LINENO: check-
ing for $ac_word" >&5  echo  $ECHO_N  "checking  for  $ac_word...
$ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.  else
  ac_prog_rejected=no  as_save_IFS=$IFS;  IFS=$PATH_SEPARATOR for
as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
       ac_prog_rejected=yes
       continue
     fi
    ac_cv_prog_CC="cc"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

if test $ac_prog_rejected = yes; then
  # We found a bogon in the path, so make sure we never use it.
  set dummy $ac_cv_prog_CC
  shift
  if test $@%:@ != 0; then
    # We chose a different compiler from the bogus one.
    #  However,  it  has  the same basename, so the bogon will be
chosen
    # first if we set CC to just the basename; use the full  file
name.
can be  a  program  name  with  args.   set  dummy  $ac_tool_pre-
fix$ac_prog;   ac_word=$2   echo  "$as_me:$LINENO:  checking  for
$ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_prog_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC"  #  Let  the  user override the test.  else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then
  echo  "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

    test -n "$CC" && break
  done fi if test -z "$CC"; then
  ac_ct_CC=$CC
  for ac_prog in cl do
  #  Extract the first word of "$ac_prog", so it can be a program
name  with   args.    set   dummy   $ac_prog;   ac_word=$2   echo
"$as_me:$LINENO:  checking for $ac_word" >&5 echo $ECHO_N "check-
ing     for     $ac_word...     $ECHO_C"     >&6     if      test
"${ac_cv_prog_ac_ct_CC+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_CC"; then
  ac_cv_prog_ac_ct_CC="$ac_ct_CC"  #  Let  the  user override the
test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for  as_dir  in
$PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_CC="$ac_prog"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then
  echo   "$as_me:$LINENO:    result:    $ac_ct_CC"    >&5    echo
"${ECHO_T}$ac_ct_CC" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  test -n "$ac_ct_CC" && break done

  (eval $ac_compiler --version </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } { (eval echo "$as_me:$LINENO:
  (eval $ac_compiler -v </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } { (eval echo "$as_me:$LINENO:
  (eval $ac_compiler -V </dev/null >&5) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }

echo  "$as_me:$LINENO:  checking  whether  we are using the GNU C
compiler" >&5 echo $ECHO_N "checking whether we are using the GNU
C  compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}"
= set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { #ifn-
def __GNUC__
       choke me #endif

  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_compiler_gnu=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_compiler_gnu=no fi rm -f conftest.$ac_objext  conftest.$ac_ext
ac_cv_c_compiler_gnu=$ac_compiler_gnu

fi  echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo
"${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu =
yes      &&      echo      yes`      ac_test_CFLAGS=${CFLAGS+set}
ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking
whether  $CC  accepts  -g" >&5 echo $ECHO_N "checking whether $CC
accepts -g... $ECHO_C" >&6  if  test  "${ac_cv_prog_cc_g+set}"  =
set; then
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_prog_cc_g=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_prog_cc_g=no fi rm -f conftest.$ac_objext  conftest.$ac_ext
fi  echo  "$as_me:$LINENO:  result:  $ac_cv_prog_cc_g"  >&5  echo
"${ECHO_T}$ac_cv_prog_cc_g" >&6 if test "$ac_test_CFLAGS" =  set;
then
  CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then
  if test "$GCC" = yes; then
    CFLAGS="-g -O2"
  else
    CFLAGS="-g"
  fi else
  if test "$GCC" = yes; then
    CFLAGS="-O2"
  else
    CFLAGS=
  fi  fi # Some people use a C++ compiler to compile C.  Since we
use `exit', # in C++ we need to declare it.  In case someone uses
the  same compiler # for both compiling C and C++ we need to have
the C++ compiler decide # the declaration of exit, since it's the
most   demanding  environment.   cat  >conftest.$ac_ext  <<_ACEOF
@%:@ifndef __cplusplus
  choke me @%:@endif _ACEOF rm -f conftest.$ac_objext if {  (eval
echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  for  ac_declaration in    ''   '#include <stdlib.h>'    'extern
"C" void std::exit (int) throw (); using  std::exit;'     'extern
"C"  void  std::exit (int); using std::exit;'    'extern "C" void
exit (int) throw ();'    'extern "C" void exit  (int);'     'void
exit (int);' do
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" @%:@include <stdlib.h> $ac_declaration  #ifdef
F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  { return 1; } #endif int main () { exit
(42);
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
continue fi rm -f conftest.$ac_objext conftest.$ac_ext
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h" $ac_declaration #ifdef F77_DUMMY_MAIN #  ifdef
__cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main ()  {  exit
(42);
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  break else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi  rm  -f  conftest.$ac_objext  conftest.$ac_ext done rm -f con-
ftest* if test -n "$ac_declaration"; then
  echo '#ifdef __cplusplus' >>confdefs.h
  echo $ac_declaration      >>confdefs.h
  echo '#endif'             >>confdefs.h fi

else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi    rm   -f   conftest.$ac_objext   conftest.$ac_ext   ac_ext=c
ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS con-
ftest.$ac_ext  >&5'  ac_link='$CC  -o  conftest$ac_exeext $CFLAGS
$CPPFLAGS  $LDFLAGS  conftest.$ac_ext   $LIBS   >&5'   ac_compil-
er_gnu=$ac_cv_c_compiler_gnu





echo  "$as_me:$LINENO: checking for AIX" >&5 echo $ECHO_N "check-
ing for AIX... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF  #line
$LINENO "configure" #include "confdefs.h" #ifdef _AIX
  yes #endif

_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 _ACEOF

else
#ifdef __cplusplus extern "C" #endif /* We use char  because  int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char strerror (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main ()  {  str-
error ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_cposix_strerror=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_cposix_strerror=no  fi  rm  -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS  fi
echo  "$as_me:$LINENO:  result:  $ac_cv_lib_cposix_strerror"  >&5
echo   "${ECHO_T}$ac_cv_lib_cposix_strerror"    >&6    if    test
$ac_cv_lib_cposix_strerror = yes; then
  LIBS="$LIBS -lcposix" fi



echo  "$as_me:$LINENO: checking for ANSI C header files" >&5 echo
$ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test
"${ac_cv_header_stdc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" #include <stdlib.h> #include  <stdarg.h>  #in-
clude <string.h> #include <float.h>

_ACEOF if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cv_header_stdc=no fi rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h" #include <stdlib.h>

_ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  : else
  ac_cv_header_stdc=no fi rm -f conftest*

fi

if test $ac_cv_header_stdc = yes; then
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using
-ansi.
  if test "$cross_compiling" = yes; then
  : else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h"  #include  <ctype.h>  #if  (('  ' & 0x0FF) ==
0x020) # define ISLOWER(c) ('a' <= (c) && (c) <=  'z')  #  define
TOUPPER(c)  (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define
ISLOWER(c) (('a' <= (c) && (c)  <=  'i')                       ||
('j' <= (c) && (c) <= 'r')                      || ('s' <= (c) &&
(c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ?  ((c)  |  0x40)  :
(c)) #endif

#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () {
  int i;
  for (i = 0; i < 256; i++)
    if (XOR (islower (i), ISLOWER (i))
        || toupper (i) != TOUPPER (i))
      exit(2);
  exit  (0);  }  _ACEOF  rm -f conftest$ac_exeext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (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 cat conftest.$ac_ext >&5 ( exit
$ac_status ) ac_cv_header_stdc=no fi rm  -f  core  core.*  *.core
conftest$ac_exeext  conftest.$ac_objext conftest.$ac_ext fi fi fi




for ac_header in sys/types.h sys/stat.h stdlib.h  string.h  memo-
ry.h  strings.h                   inttypes.h stdint.h unistd.h do
as_ac_Header=`echo "ac_cv_header_$ac_header"  |  $as_tr_sh`  echo
"$as_me:$LINENO:   checking  for  $ac_header"  >&5  echo  $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h" $ac_includes_default

@%:@include  <$ac_header>  _ACEOF  rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval   "$as_ac_Header=no"   fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext  fi  echo  "$as_me:$LINENO:  result:   `eval   echo
'${'$as_ac_Header'}'`"     >&5    echo    "${ECHO_T}`eval    echo
'${'$as_ac_Header'}'`" >&6 if test  `eval  echo  '${'$as_ac_Head-
er'}'` = yes; then
  cat  >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF

fi

done


if test "${ac_cv_header_minix_config_h+set}" = set; then
  echo "$as_me:$LINENO: checking  for  minix/config.h"  >&5  echo
$ECHO_N  "checking  for  minix/config.h...  $ECHO_C"  >&6 if test
"${ac_cv_header_minix_config_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6  fi  echo  "$as_me:$LINENO:
result:        $ac_cv_header_minix_config_h"       >&5       echo
"${ECHO_T}$ac_cv_header_minix_config_h" >&6 else
  # Is the header  compilable?   echo  "$as_me:$LINENO:  checking
minix/config.h  usability"  >&5 echo $ECHO_N "checking minix/con-
fig.h usability... $ECHO_C" >&6  cat  >conftest.$ac_ext  <<_ACEOF
#line  $LINENO "configure" #include "confdefs.h" $ac_includes_de-
fault @%:@include <minix/config.h> _ACEOF rm -f  conftest.$ac_ob-
ftest.$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
minix/config.h  presence"  >&5  echo $ECHO_N "checking minix/con-
fig.h presence... $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF
#line   $LINENO  "configure"  #include  "confdefs.h"  @%:@include
return(0);}
EOF

  if { (eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5

      # Make sure that we snagged all the symbols we need.
      if  egrep  '  nm_test_var$'   "$nlist"   >/dev/null;   then
        if  egrep  '  nm_test_func$'  "$nlist"  >/dev/null;  then
          cat <<EOF > conftest.$ac_ext #ifdef __cplusplus  extern
"C" { #endif

EOF             #  Now  generate the symbol file.            eval
"$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext'

          cat <<EOF >> conftest.$ac_ext #if defined (__STDC__) &&
__STDC__  #  define  lt_ptr void * #else # define lt_ptr char * #
define const #endif

/* The mapping between symbol names and symbols. */ const  struct
{
  const char *name;
  lt_ptr  address; } lt_preloaded_symbols[] = { EOF           sed
"s/^$symcode$symcode*  $/  {           cat << >> conftest.$ac_ext
  {0, (lt_ptr) 0} };

#ifdef  __cplusplus  } #endif EOF           # Now try linking the
two files.            mv conftest.$ac_objext  conftstm.$ac_objext
            save_LIBS="$LIBS"               save_CFLAGS="$CFLAGS"
                    LIBS="conftstm.$ac_objext"
CFLAGS="$CFLAGS$no_builtin_flag"               if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit  $ac_status);  }  &&  test  -s  conftest$ac_exeext;  then
                 pipe_works=yes                   fi
LIBS="$save_LIBS"             CFLAGS="$save_CFLAGS"          else
            echo   "cannot   find  nm_test_func  in  $nlist"  >&5
        fi
      else         echo "cannot find nm_test_var in $nlist" >&5
      fi
    else
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
    fi
  else
    echo "$progname: failed program was:" >&5
    cat conftest.$ac_ext >&5
  fi
  rm -f conftest* conftst*

  # Do not use the global_symbol_pipe unless it works.
  if test "$pipe_works" = yes; then
    break
  else
    lt_cv_sys_global_symbol_pipe=
  fi done


for  ac_header  in  dlfcn.h  do  as_ac_Header=`echo  "ac_cv_head-
er_$ac_header" | $as_tr_sh` if eval "test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo  $ECHO_N  "(cached)  $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  #  Is  the  header  compilable?  echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking  $ac_header  us-
ability...  $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF #line
$LINENO "configure"  #include  "confdefs.h"  $ac_includes_default
@%:@include  <$ac_header>  _ACEOF  rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no   fi   rm   -f   conftest.$ac_objext   con-
ftest.$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  pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes else
  echo "$as_me: failed program was:" >&5
  cat conftest.$ac_ext >&5
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING:  $ac_header:  present
but cannot be compiled" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding  with  the  preprocessor's  result"  >&2;};; esac echo
"$as_me:$LINENO:  checking  for  $ac_header"  >&5  echo   $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  eval       "$as_ac_Header=$ac_header_preproc"      fi      echo
"$as_me:$LINENO: result: `eval  echo  '${'$as_ac_Header'}'`"  >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat  >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF

fi

done






# Only perform the check for file, if the check  method  requires
it case $deplibs_check_method in file_magic*)
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C"  >&6
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $MAGIC_CMD in
  /*)
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD"  #  Let the user override the
test with a path.
  ;;
  ?:/*)
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user  override  the
test with a dos path.
  ;;
  *)
  ac_save_MAGIC_CMD="$MAGIC_CMD"
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="/usr/bin:$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.

grams linked with such libtool *** libraries will work regardless
of this problem.  Nevertheless, you *** may want  to  report  the
problem to your system manager and/or to *** bug-libtool@gnu.org

EOF           fi ;;         esac
      fi
      break
    fi
  done
  IFS="$ac_save_ifs"
  MAGIC_CMD="$ac_save_MAGIC_CMD"
  ;; esac fi

MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then
  echo    "$as_me:$LINENO:    result:    $MAGIC_CMD"   >&5   echo
"${ECHO_T}$MAGIC_CMD" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

if test -z "$lt_cv_path_MAGIC_CMD"; then
  if test -n "$ac_tool_prefix"; then
    echo  "$as_me:$LINENO:  checking  for  file" >&5 echo $ECHO_N
"checking for file... $ECHO_C"  >&6  if  test  "${lt_cv_path_MAG-
IC_CMD+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case $MAGIC_CMD in
  /*)
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD"  #  Let the user override the
test with a path.
  ;;
  ?:/*)
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user  override  the
test with a dos path.
  ;;
  *)
  ac_save_MAGIC_CMD="$MAGIC_CMD"
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
  ac_dummy="/usr/bin:$PATH"
  for ac_dir in $ac_dummy; do
    test -z "$ac_dir" && ac_dir=.
    if test -f $ac_dir/file; then
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
      if   test  -n  "$file_magic_test_file";  then          case
$deplibs_check_method   in           "file_magic   "*)
file_magic_regex="`expr               MAGIC_CMD="$lt_cv_path_MAG-
IC_CMD"           if eval $file_magic_cmd ile_magic_test_file  2>
/dev/null  |               egrep "$file_magic_regex" > /dev/null;
then             :           else             cat <<EOF 1>&2

*** Warning: the command libtool uses to detect shared libraries,
***  $file_magic_cmd,  produces output that libtool cannot recog-
nize.  *** The result is  that  libtool  may  fail  to  recognize
shared  libraries  *** as such.  This will affect the creation of
MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then
  echo    "$as_me:$LINENO:    result:    $MAGIC_CMD"   >&5   echo
"${ECHO_T}$MAGIC_CMD" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

  else
    MAGIC_CMD=:
  fi fi

  fi
  ;; esac

if test -n "$ac_tool_prefix"; then
  #  Extract  the  first word of "${ac_tool_prefix}ranlib", so it
can be a program name with args.  set dummy ${ac_tool_prefix}ran-
lib;  ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking  for  $ac_word...  $ECHO_C"  >&6  if  test
"${ac_cv_prog_RANLIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB"  #  Let the user override the test.
else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then
  echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RAN-
LIB" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$ac_cv_prog_RANLIB"; then
  ac_ct_RANLIB=$RANLIB
  # Extract the first word of "ranlib", so it can  be  a  program
name    with   args.    set   dummy   ranlib;   ac_word=$2   echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N  "check-
ing for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_RAN-
LIB+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_RANLIB"; then
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override
the  test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir
in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then

if test -n "$ac_tool_prefix"; then
  # Extract the first word of "${ac_tool_prefix}strip", so it can
be a program name with args.  set  dummy  ${ac_tool_prefix}strip;
ac_word=$2  echo "$as_me:$LINENO: checking for $ac_word" >&5 echo
$ECHO_N  "checking  for  $ac_word...   $ECHO_C"   >&6   if   test
"${ac_cv_prog_STRIP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$STRIP"; then
  ac_cv_prog_STRIP="$STRIP"  #  Let  the  user override the test.
else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then
  echo    "$as_me:$LINENO:    result:    $STRIP"     >&5     echo
"${ECHO_T}$STRIP" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

fi if test -z "$ac_cv_prog_STRIP"; then
  ac_ct_STRIP=$STRIP
  # Extract the first word of "strip", so it  can  be  a  program
name    with    args.    set   dummy   strip;   ac_word=$2   echo
"$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N  "check-
ing      for     $ac_word...     $ECHO_C"     >&6     if     test
"${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -n "$ac_ct_STRIP"; then
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the  user  override
the  test.  else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir
in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_ac_ct_STRIP="strip"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
fi   fi   ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP    if    test    -n
"$ac_ct_STRIP"; then
  echo    "$as_me:$LINENO:   result:   $ac_ct_STRIP"   >&5   echo
"${ECHO_T}$ac_ct_STRIP" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

#  Some flags need to be propagated to the compiler or linker for
good # libtool support.  case $host in *-*-irix6*)
  # Find out which ABI we are using.
  echo '#line __oline__ "configure"' > conftest.$ac_ext
  if { (eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; then
    case `/usr/bin/file conftest.$ac_objext` in
    *32-bit*)
      LD="${LD-ld} -32"
      ;;
    *N32*)
      LD="${LD-ld} -n32"
      ;;
    *64-bit*)
      LD="${LD-ld} -64"
      ;;
    esac
  fi
  rm -rf conftest*
  ;;

*-*-sco3.2v5*)
  # On SCO OpenServer 5, we need -belf to get full-featured bina-
ries.
  SAVE_CFLAGS="$CFLAGS"
  CFLAGS="$CFLAGS -belf"
  echo  "$as_me:$LINENO:  checking  whether  the C compiler needs
-belf" >&5 echo $ECHO_N "checking whether the  C  compiler  needs
-belf... $ECHO_C" >&6 if test "${lt_cv_cc_needs_belf+set}" = set;
then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else


     ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c  $CFLAGS
$CPPFLAGS  conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exe-
ext  $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS   >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

     cat  >conftest.$ac_ext  <<_ACEOF  #line  $LINENO "configure"
#include "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5

$CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o  conftest$ac_exe-
ext   $CFLAGS  $CPPFLAGS  $LDFLAGS  conftest.$ac_ext  $LIBS  >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

fi echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf"  >&5  echo
"${ECHO_T}$lt_cv_cc_needs_belf" >&6
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
    #  this is probably gcc 2.8.0, egcs 1.0 or newer; no need for
-belf
    CFLAGS="$SAVE_CFLAGS"
  fi
  ;;


esac

# Sed substitution that helps us do  robust  quoting.   It  back-
slashifies  # metacharacters that are still active within double-
quoted   strings.    Xsed='sed    -e    s/^X//'    sed_quote_sub-
st='s/"\`$\\]/\1/g'

#  Same  as  above,  but  do not quote variable references.  dou-
ble_quote_subst='s/"\`\\]/\1/g'

# Sed substitution to delay expansion of an escaped  shell  vari-
able  in  a  # double_quote_subst'ed string.  delay_variable_sub-
st='s/\\\\\\\\$/g'

# Constants: rm="rm -f"

# Global variables: default_ofile=libtool can_build_shared=yes

# All known linkers require a `.a'  archive  for  static  linking
(except    M$VC,   #   which   needs   '.lib').    libext=a   lt-
main="$ac_aux_dir/ltmain.sh"               ofile="$default_ofile"
with_gnu_ld="$lt_cv_prog_gnu_ld"                 need_locks="$en-
able_libtool_lock"

old_CC="$CC" old_CFLAGS="$CFLAGS"

# Set sane defaults for various variables test -z "$AR" &&  AR=ar
test  -z  "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test
-z "$CC" && CC=cc test -z "$DLLTOOL" && DLLTOOL=dlltool  test  -z
"$LD"  &&  LD=ld  test  -z "$LN_S" && LN_S="ln -s" test -z "$MAG-
IC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test  -z  "$OBJ-
DUMP"  &&  OBJDUMP=objdump  test -z "$RANLIB" && RANLIB=: test -z
"$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o

if test x"$host" != x"$build"; then
  ac_tool_prefix=${host_alias}- else
  ac_tool_prefix= fi

  ;; esac

#  Determine  commands  to  create  old-style  static   archives.
old_archive_cmds='$AR    $AR_FLAGS   $oldlib$oldobjs$old_deplibs'
old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds=

if test -n "$RANLIB"; then
  case $host_os in
  openbsd*)
    old_postinstall_cmds="ANLIB -t ldlib~$old_postinstall_cmds"
    ;;
  *)
    old_postinstall_cmds="ANLIB ldlib~$old_postinstall_cmds"
    ;;
  esac
  old_archive_cmds="$old_archive_cmds~ANLIB ldlib" fi

# Allow CC to be a program name with arguments.   set  dummy  $CC
compiler="$2"

##   FIXME:   this   should   be   a   separate   macro  ##  echo
"$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N  "checking
for  objdir...  $ECHO_C"  >&6 rm -f .libs 2>/dev/null mkdir .libs
2>/dev/null if test -d .libs; then
  objdir=.libs else
  # MS-DOS does not allow filenames that begin with a dot.
  objdir=_libs fi rmdir .libs 2>/dev/null  echo  "$as_me:$LINENO:
result: $objdir" >&5 echo "${ECHO_T}$objdir" >&6 ## ## END FIXME


## FIXME: this should be a separate macro ##

#  Check  whether --with-pic or --without-pic was given.  if test
"${with_pic+set}" = set; then
  withval="$with_pic"
  pic_mode="$withval" else
  pic_mode=default fi; test -z "$pic_mode" && pic_mode=default

# We assume here that the value for lt_cv_prog_cc_pic will not be
cached  #  in  isolation, and that seeing it set (from the cache)
indicates that # the associated values are  set  (in  the  cache)
correctly  too.  echo "$as_me:$LINENO: checking for $compiler op-
tion to produce PIC" >&5 echo $ECHO_N "checking for $compiler op-
tion     to    produce    PIC...    $ECHO_C"    >&6    if    test
"${lt_cv_prog_cc_pic+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
   lt_cv_prog_cc_pic=
  lt_cv_prog_cc_shlib=
  lt_cv_prog_cc_wl=
  lt_cv_prog_cc_static=
  lt_cv_prog_cc_no_builtin=
  lt_cv_prog_cc_can_build_shared=$can_build_shared

flags.
      # This hack allows C programs to be  linked  with  "-static
-ldl", but
      # not sure about C++ programs.
      lt_cv_prog_cc_static="$lt_cv_prog_cc_static
${lt_cv_prog_cc_wl}-lC"
      ;;
    amigaos*)
      # FIXME: we need at least 68020 code to  build  shared  li-
braries, but
      #  adding  the `-m68020' flag to GCC prevents building any-
thing better,
      # like `-m68040'.
      lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4'
      ;;
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
      # PIC is the default for these OSes.
      ;;
    darwin* | rhapsody*)
      # PIC is the default on this platform
      # Common symbols not allowed in MH_DYLIB files
      lt_cv_prog_cc_pic='-fno-common'
      ;;
    cygwin* | mingw* | pw32* | os2*)
      # This hack is so that the source file can tell whether  it
is being
      #  built  for inclusion in a dll (and should export symbols
for example).
      lt_cv_prog_cc_pic='-DDLL_EXPORT'
      ;;
    sysv4*MP*)
      if test -d /usr/nec; then          lt_cv_prog_cc_pic=-Kcon-
form_pic
      fi
      ;;
    *)
      lt_cv_prog_cc_pic='-fPIC'
      ;;
    esac
  else
    # PORTME Check for PIC flags for the system compiler.
    case $host_os in
    aix3* | aix4* | aix5*)
      lt_cv_prog_cc_wl='-Wl,'
      # All AIX code is PIC.
      if  test  "$host_cpu" = ia64; then         # AIX 5 now sup-
ports IA64 processor         lt_cv_prog_cc_static='-Bstatic'
      else                            lt_cv_prog_cc_static='-bnso
-bI:/lib/syscalls.exp'
      fi
      ;;


    cygwin* | mingw* | pw32* | os2*)
      #  This hack is so that the source file can tell whether it
is being
      # built for inclusion in a dll (and should  export  symbols
for example).
      lt_cv_prog_cc_pic='-DDLL_EXPORT'
      ;;

    newsos6)
      lt_cv_prog_cc_pic='-KPIC'
      lt_cv_prog_cc_static='-Bstatic'
      ;;

    osf3* | osf4* | osf5*)
      # All OSF/1 code is PIC.
      lt_cv_prog_cc_wl='-Wl,'
      lt_cv_prog_cc_static='-non_shared'
      ;;

    sco3.2v5*)
      lt_cv_prog_cc_pic='-Kpic'
      lt_cv_prog_cc_static='-dn'
      lt_cv_prog_cc_shlib='-belf'
      ;;

    solaris*)
      lt_cv_prog_cc_pic='-KPIC'
      lt_cv_prog_cc_static='-Bstatic'
      lt_cv_prog_cc_wl='-Wl,'
      ;;

    sunos4*)
      lt_cv_prog_cc_pic='-PIC'
      lt_cv_prog_cc_static='-Bstatic'
      lt_cv_prog_cc_wl='-Qoption ld '
      ;;

    sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
      lt_cv_prog_cc_pic='-KPIC'
      lt_cv_prog_cc_static='-Bstatic'
      lt_cv_prog_cc_wl='-Wl,'
      ;;

    uts4*)
      lt_cv_prog_cc_pic='-pic'
      lt_cv_prog_cc_static='-Bstatic'
      ;;

    sysv4*MP*)
      if test -d /usr/nec ;then         lt_cv_prog_cc_pic='-Kcon-
form_pic'         lt_cv_prog_cc_static='-Bstatic'
  echo  "$as_me:$LINENO:  result:  $lt_cv_prog_cc_pic"  >&5  echo
"${ECHO_T}$lt_cv_prog_cc_pic" >&6

  # Check to make sure the pic_flag actually works.
  echo  "$as_me:$LINENO:   checking   if   $compiler   PIC   flag
$lt_cv_prog_cc_pic works" >&5 echo $ECHO_N "checking if $compiler
PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6
  if test "${lt_cv_prog_cc_pic_works+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
      save_CFLAGS="$CFLAGS"
    CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC"
    cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
        case $host_os in
      hpux9* | hpux10* | hpux11*)         # On HP-UX, both CC and
GCC only warn that PIC is supported... then         # they create
non-PIC objects.  So, if there were any  warnings,  we          #
assume  that  PIC  is  not  supported.           if  test -s con-
ftest.err; then           lt_cv_prog_cc_pic_works=no         else
          lt_cv_prog_cc_pic_works=yes         fi         ;;
      *)         lt_cv_prog_cc_pic_works=yes         ;;
      esac

else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
      lt_cv_prog_cc_pic_works=no

fi rm -f conftest.$ac_objext conftest.$ac_ext
    CFLAGS="$save_CFLAGS"

fi


  if test "X$lt_cv_prog_cc_pic_works" = Xno; then

shared libraries" >&2;}
  if    echo    "$old_CC    $old_CFLAGS   "   |   egrep   -e   "[
 ]$lt_cv_prog_cc_shlib[        ]" >/dev/null; then :
  else
   { echo "$as_me:$LINENO: WARNING: add `$lt_cv_prog_cc_shlib' to
the  CC or CFLAGS env variable and reconfigure" >&5 echo "$as_me:
WARNING: add `$lt_cv_prog_cc_shlib' to the CC or CFLAGS env vari-
able and reconfigure" >&2;}
    lt_cv_prog_cc_can_build_shared=no
  fi fi

##   FIXME:   this   should   be   a   separate   macro  ##  echo
"$as_me:$LINENO:    checking    if    $compiler    static    flag
$lt_cv_prog_cc_static  works" >&5 echo $ECHO_N "checking if $com-
piler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6  if
test "${lt_cv_prog_cc_static_works+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
    lt_cv_prog_cc_static_works=no
  save_LDFLAGS="$LDFLAGS"
  LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static"
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  lt_cv_prog_cc_static_works=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  LDFLAGS="$save_LDFLAGS"

fi


# Belt *and* braces  to  stop  my  trousers  falling  down:  test
"X$lt_cv_prog_cc_static_works"  =  Xno  &&  lt_cv_prog_cc_static=
echo "$as_me:$LINENO:  result:  $lt_cv_prog_cc_static_works"  >&5
echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6
er_c_o+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

$rm  -r conftest 2>/dev/null mkdir conftest cd conftest echo "int
some_variable = 0;" > conftest.$ac_ext mkdir out #  According  to
Tom  Tromey,  Ian  Lance  Taylor reported there are C compilers #
that will create temporary files in the current directory regard-
less  of # the output directory.  Thus, making CWD read-only will
cause this test # to fail, enabling locking or at  least  warning
the   user   not   to   do   parallel   #  builds.   chmod  -w  .
save_CFLAGS="$CFLAGS"  CFLAGS="$CFLAGS  -o  out/conftest2.$ac_ob-
jext" compiler_c_o=no if { (eval echo configure:__oline__:
  #  The compiler can only warn and ignore the option if not rec-
ognized
  # So say no if there are warnings
  if test -s out/conftest.err; then
    lt_cv_compiler_c_o=no
  else
    lt_cv_compiler_c_o=yes
  fi else
  # Append any errors to the config.log.
  cat out/conftest.err 1>&5
  lt_cv_compiler_c_o=no fi CFLAGS="$save_CFLAGS" chmod u+w .  $rm
conftest*  out/*  rmdir out cd ..  rmdir conftest $rm -r conftest
2>/dev/null

fi

compiler_c_o=$lt_cv_compiler_c_o  echo  "$as_me:$LINENO:  result:
$compiler_c_o" >&5 echo "${ECHO_T}$compiler_c_o" >&6

if test x"$compiler_c_o" = x"yes"; then
  # Check to see if we can write to a .lo
  echo  "$as_me:$LINENO:  checking  if  $compiler  supports -c -o
file.lo" >&5 echo $ECHO_N "checking if $compiler supports  -c  -o
file.lo... $ECHO_C" >&6
  if test "${lt_cv_compiler_o_lo+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

  lt_cv_compiler_o_lo=no
  save_CFLAGS="$CFLAGS"
  CFLAGS="$CFLAGS -c -o conftest.lo"
  save_objext="$ac_objext"
  ac_objext=lo
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main  ()  {  int
some_variable = 0;
  ;
    # So say no if there are warnings
    if test -s conftest.err; then
      lt_cv_compiler_o_lo=no
    else
      lt_cv_compiler_o_lo=yes
    fi

else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext
  ac_objext="$save_objext"
  CFLAGS="$save_CFLAGS"

fi

  compiler_o_lo=$lt_cv_compiler_o_lo
  echo  "$as_me:$LINENO:   result:   $compiler_o_lo"   >&5   echo
"${ECHO_T}$compiler_o_lo" >&6 else
  compiler_o_lo=no fi ## ## END FIXME

## FIXME: this should be a separate macro ## # Check to see if we
can   do   hard   links   to   lock   some   files   if    needed
hard_links="nottested"  if  test  "$compiler_c_o"  =  no  && test
"$need_locks" != no; then
  # do not overwrite the value of need_locks provided by the user
  echo  "$as_me:$LINENO: checking if we can lock with hard links"
>&5 echo $ECHO_N "checking if we  can  lock  with  hard  links...
$ECHO_C" >&6
  hard_links=yes
  $rm conftest*
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  touch conftest.a
  ln conftest.a conftest.b 2>&5 || hard_links=no
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  echo    "$as_me:$LINENO:    result:   $hard_links"   >&5   echo
"${ECHO_T}$hard_links" >&6
  if test "$hard_links" = no; then
    { echo "$as_me:$LINENO: WARNING: `$CC' does not  support  `-c
-o', so `make -j' may be unsafe" >&5 echo "$as_me: WARNING: `$CC'
does not support `-c -o', so `make -j' may be unsafe" >&2;}
    need_locks=warn
  fi else
  need_locks=no fi ## ## END FIXME

## FIXME: this should be a separate macro ##  if  test  "$GCC"  =
yes; then
  #  Check  to  see if options -fno-rtti -fno-exceptions are sup-
ported by compiler
  echo "$as_me:$LINENO: checking if $compiler supports  -fno-rtti
-fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports
-fno-rtti -fno-exceptions... $ECHO_C" >&6
  echo "int some_variable = 0;" > conftest.$ac_ext
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
      #  The  compiler can only warn and ignore the option if not
recognized
    # So say no if there are warnings
    if test -s conftest.err; then
      compiler_rtti_exceptions=no
    else
      compiler_rtti_exceptions=yes
    fi

else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest.$ac_ext
  CFLAGS="$save_CFLAGS"
  echo  "$as_me:$LINENO:  result:  $compiler_rtti_exceptions" >&5
echo "${ECHO_T}$compiler_rtti_exceptions" >&6

  if test "$compiler_rtti_exceptions" = "yes"; then
    no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions'
  else
    no_builtin_flag=' -fno-builtin'
  fi fi ## ## END FIXME

## FIXME: this should be a separate macro ## # See if the  linker
supports building shared libraries.  echo "$as_me:$LINENO: check-
ing whether the linker ($LD) supports shared libraries" >&5  echo
$ECHO_N  "checking  whether  the linker ($LD) supports shared li-
braries... $ECHO_C" >&6

allow_undefined_flag= no_undefined_flag=  need_lib_prefix=unknown
need_version=unknown # when you set need_version to no, make sure
it does not cause -set_version # flags to be left  without  argu-
ments       archive_cmds=       archive_expsym_cmds=      old_ar-
chive_from_new_cmds= old_archive_from_expsyms_cmds= export_dynam-
ic_flag_spec=   whole_archive_flag_spec=   thread_safe_flag_spec=
hardcode_into_libs=no  hardcode_libdir_flag_spec=   hardcode_lib-
dir_separator=   hardcode_direct=no   hardcode_minus_L=no   hard-
code_shlibpath_var=unsupported runpath_var=  link_all_deplibs=un-
known  always_export_symbols=no export_symbols_cmds='$NM $libobjs
$convenience | $global_symbol_pipe | sed '''s/.* //''' |  sort  |
uniq  >  $export_symbols'  #  include_expsyms should be a list of
space-separated symbols to be *always* # included in  the  symbol
list  include_expsyms=  # exclude_expsyms can be an egrep regular
expression of symbols to exclude # it will be wrapped by ` (' and
  if test "$GCC" != yes; then
    with_gnu_ld=no
  fi
  ;; openbsd*)
  with_gnu_ld=no
  ;; esac

ld_shlibs=yes if test "$with_gnu_ld" = yes; then
  # If archive_cmds runs LD, not CC, wlarc should be empty
  wlarc='${wl}'

  # See if GNU ld supports shared libraries.
  case $host_os in
  aix3* | aix4* | aix5*)
    # On AIX, the GNU linker is very broken
    #  Note:Check  GNU  linker  on  AIX 5-IA64 when/if it becomes
available.
    ld_shlibs=no
    cat <<EOF 1>&2

*** Warning: the GNU linker, at least up to release 2.9.1, is re-
ported  ***  to  be unable to reliably create shared libraries on
AIX.  *** Therefore, libtool is disabling shared  libraries  sup-
port.   If you *** really care for shared libraries, you may want
to modify your PATH *** so that a non-GNU linker  is  found,  and
then restart.

EOF
    ;;

  amigaos*)
    archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#de-
fine NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#de-
fine LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#de-
fine  VERSION  $major"  >>  $output_objdir/a2ixlibrary.data~$echo
"#define  REVISION  $revision"  >> $output_objdir/a2ixlibrary.da-
ta~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir &&
a2ixlibrary -32)'
    hardcode_libdir_flag_spec='-L$libdir'
    hardcode_minus_L=yes

    #  Samuel  A.  Falvo II <kc5tja@dolphin.openprojects.net> re-
ports
    # that the semantics of  dynamic  libraries  on  AmigaOS,  at
least up
    #  to  version  4,  is  to share data among multiple programs
linked
    # with the same dynamic library.  Since  this  doesn't  match
the
    # behavior of shared libraries on other platforms, we can use
    # them.
    ld_shlibs=no
    fi
    ;;

  cygwin* | mingw* | pw32*)
    # hardcode_libdir_flag_spec is actually meaningless, as there
is
    # no search path for DLLs.
    hardcode_libdir_flag_spec='-L$libdir'
    allow_undefined_flag=unsupported
    always_export_symbols=yes

    extract_expsyms_cmds='test   -f   $output_objdir/impgen.c  ||
sed -e "/^# impgen.c starts here //,/^# impgen.c ends here  //  {
s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~
      test  -f $output_objdir/impgen.exe || (cd $output_objdir &&
if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen  impgen.c  ;
else $CC -o impgen impgen.c ; fi)~
      $output_objdir/impgen  $dir/$soroot  > $output_objdir/$son-
ame-def'

    old_archive_from_expsyms_cmds='$DLLTOOL  --as=$AS   --dllname
$soname --def $output_objdir/$soname-def --output-lib $output_ob-
jdir/$newlib'

    # cygwin and mingw dlls have different entry points and  sets
of symbols
    # to exclude.
    # FIXME: what about values for MSVC?
    dll_entry=__cygwin_dll_entry@12
    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cyg-
win_noncygwin_dll_entry@12~
    case $host_os in
    mingw*)
      # mingw values
      dll_entry=_DllMainCRTStartup@12
      dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEn-
tryPoint@12~
      ;;
    esac

    #  mingw and cygwin differ, and it's simplest to just exclude
the union
    # of the two symbol sets.
    dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cyg-
win_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12

    # recent cygwin and mingw systems supply a stub DllMain which
the user
    # can override, but on older systems we have  to  supply  one
(in ltdll.c)
    if test "x$lt_cv_need_dllmain" = "xyes"; then
      ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext "

    # the compiled dll only exports the symbol export list.
    #  Be  careful  not  to strip the DATA tag left be newer dll-
tools.
    export_symbols_cmds="$ltdll_cmds"'
      $DLLTOOL --export-all --exclude-symbols  '$dll_exclude_sym-
bols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libob-
js $convenience~
      sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//"  <
$output_objdir/$soname-def > $export_symbols'

    # If the export-symbols file already is a .def file (1st line
    # is EXPORTS), use it as is.
    # If DATA tags from a  recent  dlltool  are  present,  honour
them!
    archive_expsym_cmds='if  test  "x`sed  1q $export_symbols`" =
xEXPORTS; then         cp $export_symbols $output_objdir/$soname-
def;
      else          echo  EXPORTS  >  $output_objdir/$soname-def;
        _lt_hint=1;         cat $export_symbols | while read sym-
bol; do          set dummy ymbol;          case  in            2)
echo "    @ lt_hint ; " >> $output_objdir/$soname-def;;
4)  echo "      ; " >> $output_objdir/$soname-def; _lt_hint=`expr
lt_hint - 1`;;            *) echo "      @ lt_hint  ; " >>  $out-
put_objdir/$soname-def;;          esac;          _lt_hint=`expr 1
+ lt_hint`;         done;
      fi~
      '"$ltdll_cmds"'
      $CC             -Wl,--base-file,$output_objdir/$soname-base
'$lt_cv_cc_dll_switch'    -Wl,-e,'$dll_entry'    -o   $output_ob-
jdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~
      $DLLTOOL  --as=$AS  --dllname   $soname   --exclude-symbols
'$dll_exclude_symbols'  --def  $output_objdir/$soname-def --base-
file   $output_objdir/$soname-base    --output-exp    $output_ob-
jdir/$soname-exp~
      $CC -Wl,--base-file,$output_objdir/$soname-base $output_ob-
jdir/$soname-exp  '$lt_cv_cc_dll_switch'  -Wl,-e,'$dll_entry'  -o
$output_objdir/$soname   '$ltdll_obj'$libobjs  $deplibs  $compil-
er_flags~
      $DLLTOOL  --as=$AS  --dllname   $soname   --exclude-symbols
'$dll_exclude_symbols'  --def  $output_objdir/$soname-def --base-
file   $output_objdir/$soname-base    --output-exp    $output_ob-
jdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~
      $CC    $output_objdir/$soname-exp    '$lt_cv_cc_dll_switch'
-Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libob-
js $deplibs $compiler_flags'
    ;;

  netbsd*)
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
      archive_cmds='$LD   -Bshareable  $libobjs  $deplibs  $link-
er_flags -o $lib'
      wlarc=

*** Warning: The releases 2.8.* of the GNU linker cannot reliably
*** create  shared  libraries  on  Solaris  systems.   Therefore,
libtool  ***  is disabling shared libraries support.  We urge you
to upgrade GNU *** binutils to release 2.9.1 or  newer.   Another
option  is  to  modify *** your PATH or compiler configuration so
that the native linker is *** used, and then restart.

EOF
    elif $LD --help 2>&1 | egrep ': supported targets:.*  elf'  >
/dev/null; then
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname -o $lib'
      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compil-
er_flags    ${wl}-soname   $wl$soname   ${wl}-retain-symbols-file
$wl$export_symbols -o $lib'
    else
      ld_shlibs=no
    fi
    ;;

  sunos4*)
    archive_cmds='$LD -assert pure-text -Bshareable -o $lib  $li-
bobjs $deplibs $linker_flags'
    wlarc=
    hardcode_direct=yes
    hardcode_shlibpath_var=no
    ;;

  *)
    if  $LD  --help  2>&1  | egrep ': supported targets:.* elf' >
/dev/null; then
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname $wl$soname -o $lib'
      archive_expsym_cmds='$CC -shared $libobjs $deplibs $compil-
er_flags   ${wl}-soname   $wl$soname    ${wl}-retain-symbols-file
$wl$export_symbols -o $lib'
    else
      ld_shlibs=no
    fi
    ;;
  esac

  if test "$ld_shlibs" = yes; then
    runpath_var=LD_RUN_PATH
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
    export_dynamic_flag_spec='${wl}--export-dynamic'
    case $host_os in
    cygwin* | mingw* | pw32*)
      # dlltool doesn't understand --whole-archive et. al.
      whole_archive_flag_spec=
      ;;
    *)
    always_export_symbols=yes
    archive_expsym_cmds='$LD -o  $output_objdir/$soname  $libobjs
$deplibs    $linker_flags    -bE:$export_symbols    -T512   -H512
-bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
    # Note: this linker hardcodes the directories in  LIBPATH  if
there
    # are no directories specified by -L.
    hardcode_minus_L=yes
    if test "$GCC" = yes && test -z "$link_static_flag"; then
      # Neither direct hardcoding nor static linking is supported
with a
      # broken collect2.
      hardcode_direct=unsupported
    fi
    ;;

  aix4* | aix5*)
    if test "$host_cpu" = ia64; then
      # On IA64, the linker does run time linking by default,  so
we don't
      # have to do anything special.
      aix_use_runtimelinking=no
      exp_sym_flag='-Bexport'
      no_entry_flag=""
    else
      aix_use_runtimelinking=no

      # Test if we are trying to use run time linking or normal
      # AIX style linking. If -brtl is somewhere in LDFLAGS, we
      # need to do runtime linking.
      case  $host_os  in aix4.[23]|aix4.[23].*|aix5*)         for
ld_flag in $LDFLAGS;  do             case  $ld_flag  in
*-brtl*)             aix_use_runtimelinking=yes             break
          ;;           esac         done
      esac

      exp_sym_flag='-bexport'
      no_entry_flag='-bnoentry'
    fi

    # When large executables or shared objects are built, AIX  ld
can
    # have problems creating the table of contents.  If linking a
library
    # or program results in "error TOC overflow"  add  -mminimal-
toc to
    #  CXXFLAGS/CFLAGS  for  g++/gcc.  In the cases where that is
not
    # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.

    hardcode_direct=yes
    archive_cmds=''
      esac

      shared_flag='-shared'
    else
      # not using gcc
      if       test       "$host_cpu"      =      ia64;      then
        shared_flag='${wl}-G'
      else         if test "$aix_use_runtimelinking" = yes;  then
              shared_flag='${wl}-G'             else
shared_flag='${wl}-bM:SRE'         fi
      fi
    fi

    # It seems that -bexpall can do strange things, so it is bet-
ter to
    # generate a list of symbols to export.
    always_export_symbols=yes
    if test "$aix_use_runtimelinking" = yes; then
      #  Warning  - without using the other runtime loading flags
(-brtl),
      # -berok will link without error, but may produce a  broken
library.
      allow_undefined_flag='-berok'
      hardcode_libdir_flag_spec='${wl}-blibpath:$lib-
dir:/usr/lib:/lib'
      archive_expsym_cmds="C"' -o $output_objdir/$soname $libobjs
$deplibs  $compiler_flags  `if test "x${allow_undefined_flag}" !=
"x";  then  echo  "${wl}${allow_undefined_flag}";  else  :;   fi`
'"wl}$no_entry_flag wl}$exp_sym_flag:xport_symbols $shared_flag"
    else
      if  test  "$host_cpu"  =  ia64;  then         hardcode_lib-
dir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'         allow_unde-
fined_flag="-z       nodefs"               archive_expsym_cmds="C
$shared_flag"' -o $output_objdir/$soname ${wl}-h$soname  $libobjs
$deplibs       $compiler_flags       ${wl}${allow_undefined_flag}
'"wl}$no_entry_flag wl}$exp_sym_flag:xport_symbols"
      else            hardcode_libdir_flag_spec='${wl}-bnolibpath
${wl}-blibpath:$libdir:/usr/lib:/lib'         # Warning - without
using the other run time loading  flags,          #  -berok  will
link   without   error,   but   may  produce  a  broken  library.
        allow_undefined_flag='${wl}-berok'         #  This  is  a
bit  strange,  but  is  similar  to  how AIX traditionally builds
        # it's shared libraries.           archive_expsym_cmds="C
$shared_flag"'  -o $output_objdir/$soname $libobjs $deplibs $com-
piler_flags      ${allow_undefined_flag}      '"wl}$no_entry_flag
wl}$exp_sym_flag:xport_symbols"'  ~$AR -crlo $objdir/$libname$re-
lease.a $objdir/$soname'
      fi
    fi
    ;;

  amigaos*)
    # When not using gcc, we currently assume that we are using
    # Microsoft Visual C++.
    # hardcode_libdir_flag_spec is actually meaningless, as there
is
    # no search path for DLLs.
    hardcode_libdir_flag_spec=' '
    allow_undefined_flag=unsupported
    # Tell ltmain to make .lib files, not .a files.
    libext=lib
    # FIXME: Setting linknames here is a bad hack.
    archive_cmds='$CC  -o  $lib  $libobjs  $compiler_flags  `echo
"$deplibs" | sed -e '''s/ -lc$//'''` -link -dll~linknames='
    # The linker will automatically build a .lib file if we build
a DLL.
    old_archive_from_new_cmds='true'
    # FIXME: Should let the user specify the lib program.
    old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
    fix_srcfile_path='`cygpath -w "$srcfile"`'
    ;;

  darwin* | rhapsody*)
    case "$host_os" in
    rhapsody* | darwin1.[012])
      allow_undefined_flag='-undefined suppress'
      ;;
    *) # Darwin 1.3 on
      allow_undefined_flag='-flat_namespace -undefined suppress'
      ;;
    esac
    # FIXME: Relying on posixy $() will cause problems for
    #        cross-compilation, but unfortunately the echo  tests
do not
    #        yet detect zsh echo's removal of  escapes.  Also zsh
mangles
    #        `"' quotes if we put them in here... so don't!
    archive_cmds='$CC  -r  -keep_private_externs   -nostdlib   -o
${lib}-master.o  $libobjs  &&  $CC $(test .$module = .yes && echo
-bundle  ||  echo  -dynamiclib)  $allow_undefined_flag  -o   $lib
${lib}-master.o  $deplibs$linker_flags $(test .$module != .yes &&
echo -install_name $rpath/$soname $verstring)'
    # We need to add '_' to the symbols in $export_symbols first
    #archive_expsym_cmds="$archive_cmds"'  &&   strip   -s   $ex-
port_symbols'
    hardcode_direct=yes
    hardcode_shlibpath_var=no
    whole_archive_flag_spec='-all_load $convenience'
    ;;

  freebsd1*)
    ld_shlibs=no
    ;;


  #  Unfortunately,  older versions of FreeBSD 2 do not have this
feature.
  freebsd2*)
    archive_cmds='$LD  -Bshareable  -o  $lib  $libobjs   $deplibs
$linker_flags'
    hardcode_direct=yes
    hardcode_minus_L=yes
    hardcode_shlibpath_var=no
    ;;

  #  FreeBSD  3  and  greater  uses  gcc -shared to do shared li-
braries.
  freebsd*)
    archive_cmds='$CC -shared -o $lib $libobjs $deplibs  $compil-
er_flags'
    hardcode_libdir_flag_spec='-R$libdir'
    hardcode_direct=yes
    hardcode_shlibpath_var=no
    ;;

  hpux9* | hpux10* | hpux11*)
    case $host_os in
    hpux9*)  archive_cmds='$rm  $output_objdir/$soname~$LD  -b +b
$install_libdir  -o  $output_objdir/$soname   $libobjs   $deplibs
$linker_flags~test  $output_objdir/$soname  =  $lib  ||  mv $out-
put_objdir/$soname $lib' ;;
    *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib
$libobjs $deplibs $linker_flags' ;;
    esac
    hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    hardcode_libdir_separator=:
    hardcode_direct=yes
    hardcode_minus_L=yes # Not in the search PATH, but as the de-
fault                          # location of the library.
    export_dynamic_flag_spec='${wl}-E'
    ;;

  irix5* | irix6* | nonstopux*)
    if test "$GCC" = yes; then
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags
${wl}-soname   ${wl}$soname   `test   -n   "$verstring"  &&  echo
${wl}-set_version     ${wl}$verstring`      ${wl}-update_registry
${wl}${output_objdir}/so_locations -o $lib'
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    else
      archive_cmds='$LD  -shared  $libobjs $deplibs $linker_flags
-soname $soname `test -n "$verstring" && echo -set_version  $ver-
string` -update_registry ${output_objdir}/so_locations -o $lib'
      hardcode_libdir_flag_spec='-rpath $libdir'
    fi
    hardcode_libdir_separator=:
    ;;

  newsos6)
    archive_cmds='$LD  -G  -h  $soname  -o $lib $libobjs $deplibs
$linker_flags'
    hardcode_direct=yes
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    hardcode_libdir_separator=:
    hardcode_shlibpath_var=no
    ;;

  openbsd*)
    hardcode_direct=yes
    hardcode_shlibpath_var=no
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test
"$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
      archive_cmds='$CC   -shared   $pic_flag  -o  $lib  $libobjs
$deplibs $compiler_flags'
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
      export_dynamic_flag_spec='${wl}-E'
    else
      case "$host_os" in
      openbsd[01].*   |   openbsd2.[0-7]   |    openbsd2.[0-7].*)
        archive_cmds='$LD  -Bshareable  -o $lib $libobjs $deplibs
$linker_flags'         hardcode_libdir_flag_spec='-R$libdir'
        ;;
      *)
        archive_cmds='$CC  -shared  $pic_flag  -o  $lib  $libobjs
$deplibs $compiler_flags'
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
        ;;
      esac
    fi
    ;;

  os2*)
    hardcode_libdir_flag_spec='-L$libdir'
    hardcode_minus_L=yes
    allow_undefined_flag=unsupported
    archive_cmds='$echo  "LIBRARY  $libname INITINSTANCE" > $out-
put_objdir/$libname.def~$echo "DESCRIPTION
    old_archive_from_new_cmds='emximp   -o   $output_objdir/$lib-
name.a $output_objdir/$libname.def'
    ;;

  osf3*)
    if test "$GCC" = yes; then
      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}
      archive_cmds='$CC  -shared${allow_undefined_flag}  $libobjs
$deplibs  $compiler_flags  ${wl}-soname  ${wl}$soname  `test   -n
"$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-up-
date_registry ${wl}${output_objdir}/so_locations -o $lib'
      allow_undefined_flag=' ${wl}-expect_unresolved ${wl}
      archive_cmds='$CC  -shared${allow_undefined_flag}  $libobjs
$deplibs  $compiler_flags  ${wl}-msym  ${wl}-soname  ${wl}$soname
`test -n "$verstring" && echo ${wl}-set_version  ${wl}$verstring`
${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    else
      allow_undefined_flag=' -expect_unresolved
      archive_cmds='$LD  -shared${allow_undefined_flag}  $libobjs
$deplibs  $linker_flags  -msym  -soname  $soname  `test -n "$ver-
string" && echo -set_version $verstring` -update_registry  ${out-
put_objdir}/so_locations -o $lib'
      archive_expsym_cmds='for  i  in  `cat  $export_symbols`; do
printf "-exported_symbol " >>  $lib.exp;  echo  ""  >>  $lib.exp;
done; echo "-hidden">> $lib.exp~
      $LD  -shared${allow_undefined_flag}  -input $lib.exp $link-
er_flags $libobjs $deplibs -soname $soname `test -n  "$verstring"
&&   echo   -set_version   $verstring`   -update_registry   ${ob-
jdir}/so_locations -o $lib~$rm $lib.exp'

      #Both c and cxx compiler support -rpath directly
      hardcode_libdir_flag_spec='-rpath $libdir'
    fi
    hardcode_libdir_separator=:
    ;;

  sco3.2v5*)
    archive_cmds='$LD -G -h $soname  -o  $lib  $libobjs  $deplibs
$linker_flags'
    hardcode_shlibpath_var=no
    runpath_var=LD_RUN_PATH
    hardcode_runpath_var=yes
    export_dynamic_flag_spec='${wl}-Bexport'
    ;;

  solaris*)
    #  gcc  --version  <  3.0 without binutils cannot create self
contained
    # shared libraries reliably, requiring  libgcc.a  to  resolve
some of
    # the object symbols generated in some cases.  Libraries that
use
    # assert need libgcc.a to  resolve  __eprintf,  for  example.
Linking
    #  a  copy of libgcc.a into every shared library to guarantee
resolving
    # such symbols causes other problems:  According to  Tim  Van
Holder
    #  <tim.van.holder@pandora.be>,  C++  libraries end up with a
separate
    # (to the application) exception stack for one thing.
    no_undefined_flag=' -z defs'

tils 2.9.1 or newer.

EOF
        no_undefined_flag=         ;;
      esac
    fi
    # $CC -shared without GNU ld will not create a  library  from
C++
    # object files and a static libstdc++, better avoid it by now
    archive_cmds='$LD  -G${allow_undefined_flag}  -h  $soname  -o
$lib $libobjs $deplibs $linker_flags'
    archive_expsym_cmds='$echo  "{  global:"  > $lib.exp~cat $ex-
port_symbols | sed -e "s//1;/" >> $lib.exp~$echo "local:  *;  };"
>>  $lib.exp~                  $LD  -G${allow_undefined_flag}  -M
$lib.exp -h $soname -o $lib $libobjs  $deplibs  $linker_flags~$rm
$lib.exp'
    hardcode_libdir_flag_spec='-R$libdir'
    hardcode_shlibpath_var=no
    case $host_os in
    solaris2.[0-5] | solaris2.[0-5].*) ;;
    *) # Supported since Solaris 2.6 (maybe 2.5.1?)
      whole_archive_flag_spec='-z  allextract$convenience  -z de-
faultextract' ;;
    esac
    link_all_deplibs=yes
    ;;

  sunos4*)
    if test "x$host_vendor" = xsequent; then
      # Use $CC to link under sequent, because it throws in  some
extra .o
      # files that make .init and .fini sections work.
      archive_cmds='$CC  -G  ${wl}-h  $soname  -o  $lib  $libobjs
$deplibs $compiler_flags'
    else
      archive_cmds='$LD -assert pure-text -Bstatic -o  $lib  $li-
bobjs $deplibs $linker_flags'
    fi
    hardcode_libdir_flag_spec='-L$libdir'
    hardcode_direct=yes
    hardcode_minus_L=yes
    hardcode_shlibpath_var=no
    ;;

  sysv4)
    case $host_vendor in
      sni)
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs
$linker_flags'
        hardcode_direct=yes # is this really true???
        ;;
      siemens)

    runpath_var='LD_RUN_PATH'
    hardcode_shlibpath_var=no
    ;;

  sysv4.3*)
    archive_cmds='$LD  -G  -h  $soname  -o $lib $libobjs $deplibs
$linker_flags'
    hardcode_shlibpath_var=no
    export_dynamic_flag_spec='-Bexport'
    ;;

  sysv5*)
    no_undefined_flag=' -z text'
    # $CC -shared without GNU ld will not create a  library  from
C++
    # object files and a static libstdc++, better avoid it by now
    archive_cmds='$LD  -G${allow_undefined_flag}  -h  $soname  -o
$lib $libobjs $deplibs $linker_flags'
    archive_expsym_cmds='$echo  "{  global:"  > $lib.exp~cat $ex-
port_symbols | sed -e "s//1;/" >> $lib.exp~$echo "local:  *;  };"
>>  $lib.exp~                  $LD  -G${allow_undefined_flag}  -M
$lib.exp -h $soname -o $lib $libobjs  $deplibs  $linker_flags~$rm
$lib.exp'
    hardcode_libdir_flag_spec=
    hardcode_shlibpath_var=no
    runpath_var='LD_RUN_PATH'
    ;;

  uts4*)
    archive_cmds='$LD  -G  -h  $soname  -o $lib $libobjs $deplibs
$linker_flags'
    hardcode_libdir_flag_spec='-L$libdir'
    hardcode_shlibpath_var=no
    ;;

  dgux*)
    archive_cmds='$LD -G -h $soname  -o  $lib  $libobjs  $deplibs
$linker_flags'
    hardcode_libdir_flag_spec='-L$libdir'
    hardcode_shlibpath_var=no
    ;;

  sysv4*MP*)
    if test -d /usr/nec; then
      archive_cmds='$LD  -G  -h $soname -o $lib $libobjs $deplibs
$linker_flags'
      hardcode_shlibpath_var=no
      runpath_var=LD_RUN_PATH
      hardcode_runpath_var=yes
      ld_shlibs=yes
    fi
    ;;

bobjs $deplibs $compiler_flags'
    else
      archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib  $libobjs
$deplibs $compiler_flags'
    fi
    runpath_var='LD_RUN_PATH'
    hardcode_shlibpath_var=no
    ;;

  *)
    ld_shlibs=no
    ;;
  esac  fi  echo  "$as_me:$LINENO:  result:  $ld_shlibs" >&5 echo
"${ECHO_T}$ld_shlibs"   >&6   test   "$ld_shlibs"   =    no    &&
can_build_shared=no ## ## END FIXME

##  FIXME:  this should be a separate macro ## # Check hardcoding
attributes.  echo "$as_me:$LINENO: checking how to  hardcode  li-
brary  paths  into  programs"  >&5  echo $ECHO_N "checking how to
hardcode library paths into programs... $ECHO_C" >&6 hardcode_ac-
tion=  if  test  -n  "$hardcode_libdir_flag_spec"  ||     test -n
"$runpath_var"; then

  # We can hardcode non-existant directories.
  if test "$hardcode_direct" != no &&
     # If the  only  mechanism  to  avoid  hardcoding  is  shlib-
path_var, we
     #  have to relink, otherwise we might link with an installed
library
     # when we should be linking with a yet-to-be-installed one
     ## test "$hardcode_shlibpath_var" != no &&
     test "$hardcode_minus_L" != no; then
    # Linking always hardcodes the temporary library directory.
    hardcode_action=relink
  else
    # We can link without hardcoding, and we can hardcode  nonex-
isting dirs.
    hardcode_action=immediate
  fi else
  # We cannot hardcode anything, or else we can only hardcode ex-
isting
  # directories.
  hardcode_action=unsupported fi  echo  "$as_me:$LINENO:  result:
$hardcode_action"  >&5 echo "${ECHO_T}$hardcode_action" >&6 ## ##
END FIXME

##  FIXME:  this  should  be  a  separate  macro   ##   striplib=
old_striplib=  echo  "$as_me:$LINENO:  checking whether stripping
libraries is possible" >&5 echo $ECHO_N "checking whether  strip-
ping libraries is possible... $ECHO_C" >&6 if test -n "$STRIP" &&
$STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"

stall_cmds=  finish_cmds=  finish_eval=   shlibpath_var=   shlib-
path_overrides_runpath=unknown   version_type=none  dynamic_link-
er="$host_os  ld.so"  sys_lib_dlsearch_path_spec="/lib  /usr/lib"
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"

case $host_os in aix3*)
  version_type=linux
  library_names_spec='${libname}${release}.so$versuffix     $lib-
name.a'
  shlibpath_var=LIBPATH

  # AIX has no versioning support, so we append a  major  version
to the name.
  soname_spec='${libname}${release}.so$major'
  ;;

aix4* | aix5*)
  version_type=linux
  need_lib_prefix=no
  need_version=no
  hardcode_into_libs=yes
  if test "$host_cpu" = ia64; then
    # AIX 5 supports IA64
    library_names_spec='${libname}${release}.so$major      ${lib-
name}${release}.so$versuffix $libname.so'
    shlibpath_var=LD_LIBRARY_PATH
  else
    # With GCC up to 2.95.x, collect2 would create an import file
    # for dependence libraries.  The import file would start with
    # the line `#! .'.  This would cause the generated library to
    #  depend  on `.', always an invalid library.  This was fixed
in
    # development snapshots of GCC prior to 3.0.
    case $host_os in
      aix4 | aix4.[01] | aix4.[01].*)           if  {  echo  '#if
__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
echo ' yes '              echo '#endif'; } | ${CC} -E  -  |  grep
yes   >   /dev/null;   then             :          else
can_build_shared=no         fi         ;;
    esac
    # AIX (on Power*) has no versioning support, so currently  we
can
    #  not  hardcode  correct soname into executable. Probably we
can
    # add versioning support to collect2, so additional links can
    # be useful in future.
    if test "$aix_use_runtimelinking" = yes; then
      #  If  using  run  time  linking  (on AIX 4.2 or later) use
lib<name>.so
      # instead of lib<name>.a to let people know that these  are
not
      # typical AIX shared libraries.

amigaos*)
  library_names_spec='$libname.ixlibrary $libname.a'
  # Create ${libname}_ixlibrary.a entries in /sys/libs.
  finish_eval='for  lib  in `ls $libdir/*.ixlibrary 2>/dev/null`;
do  libname=`$echo  "X$lib"   |   $Xsed   -e   '''s%^.*//]*.ixli-
brary$%1%'''`;  test  $rm /sys/libs/${libname}_ixlibrary.a; $show
"(cd  /sys/libs  &&  $LN_S  $lib  ${libname}_ixlibrary.a)";   (cd
/sys/libs && $LN_S $lib ${libname}_ixlibrary.a) || exit 1; done'
  ;;

beos*)
  library_names_spec='${libname}.so'
  dynamic_linker="$host_os ld.so"
  shlibpath_var=LIBRARY_PATH
  ;;

bsdi4*)
  version_type=linux
  need_version=no
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  soname_spec='${libname}${release}.so$major'
  finish_cmds='PATH="ATH:/sbin" ldconfig $libdir'
  shlibpath_var=LD_LIBRARY_PATH
  sys_lib_search_path_spec="/shlib     /usr/lib      /usr/X11/lib
/usr/contrib/lib /lib /usr/local/lib"
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  export_dynamic_flag_spec=-rdynamic
  # the default ld.so.conf also contains /usr/contrib/lib and
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us
allow
  # libtool to hard-code these into programs
  ;;

cygwin* | mingw* | pw32*)
  version_type=windows
  need_version=no
  need_lib_prefix=no
  case $GCC,$host_os in
  yes,cygwin*)
    library_names_spec='$libname.dll.a'
    soname_spec='`echo ${libname} |  sed  -e  's/^lib/cyg/'``echo
${release} | sed -e 's/[.]/-/g'`${versuffix}.dll'
    postinstall_cmds='dlpath=`bash       2>&1       -c       '''.
$dir/${file}i;echo lname'''`~
      dldir=$destdir/`dirname lpath`~
      test -d ldir || mkdir -p ldir~
      $install_prog .libs/$dlname ldir/$dlname'
    postuninstall_cmds='dldll=`bash  2>&1  -c  '''.  $file;  echo
lname'''`~
      dlpath=$dir/ldll~
       $rm lpath'

's/[.]/-/g'`${versuffix}.dll $libname.lib'
    ;;
  esac
  dynamic_linker='Win32 ld.exe'
  # FIXME: first we should search . and the  directory  the  exe-
cutable is in
  shlibpath_var=PATH
  ;;

darwin* | rhapsody*)
  dynamic_linker="$host_os dyld"
  version_type=darwin
  need_lib_prefix=no
  need_version=no
  # FIXME: Relying on posixy $() will cause problems for
  #        cross-compilation, but unfortunately the echo tests do
not
  #        yet detect zsh echo's removal of  escapes.
  library_names_spec='${libname}${release}${versuffix}.$(test
.$module  =  .yes  &&  echo  so  ||  echo  dylib) ${libname}${re-
lease}${major}.$(test .$module = .yes && echo so ||  echo  dylib)
${libname}.$(test .$module = .yes && echo so || echo dylib)'
  soname_spec='${libname}${release}${major}.$(test   .$module   =
.yes && echo so || echo dylib)'
  shlibpath_overrides_runpath=yes
  shlibpath_var=DYLD_LIBRARY_PATH
  ;;

freebsd1*)
  dynamic_linker=no
  ;;

freebsd*)
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat  ||
echo aout`
  version_type=freebsd-$objformat
  case $version_type in
    freebsd-elf*)
      library_names_spec='${libname}${release}.so$versuffix
${libname}${release}.so $libname.so'
      need_version=no
      need_lib_prefix=no
      ;;
    freebsd-*)
      library_names_spec='${libname}${release}.so$versuffix $lib-
name.so$versuffix'
      need_version=yes
      ;;
  esac
  shlibpath_var=LD_LIBRARY_PATH
  case $host_os in
  freebsd2*)

name}${release}.so${major} ${libname}.so'
  soname_spec='${libname}${release}.so$major'
  shlibpath_var=LD_LIBRARY_PATH
  hardcode_into_libs=yes
  ;;

hpux9* | hpux10* | hpux11*)
  # Give a soname corresponding to  the  major  version  so  that
dld.sl refuses to
  # link against other versions.
  dynamic_linker="$host_os dld.sl"
  version_type=sunos
  need_lib_prefix=no
  need_version=no
  shlibpath_var=SHLIB_PATH
  shlibpath_overrides_runpath=no  #  +s  is  required  to  enable
SHLIB_PATH
  library_names_spec='${libname}${release}.sl$versuffix    ${lib-
name}${release}.sl$major $libname.sl'
  soname_spec='${libname}${release}.sl$major'
  #  HP-UX  runs *really* slowly unless shared libraries are mode
555.
  postinstall_cmds='chmod 555 $lib'
  ;;

irix5* | irix6* | nonstopux*)
  case $host_os in
    nonstopux*) version_type=nonstopux ;;
    *)          version_type=irix ;;
  esac
  need_lib_prefix=no
  need_version=no
  soname_spec='${libname}${release}.so$major'
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major ${libname}${release}.so $libname.so'
  case $host_os in
  irix5* | nonstopux*)
    libsuff= shlibsuff=
    ;;
  *)
    case $LD in # libtool.m4 will add one of these switches to LD
    *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;;
    *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;;
    *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;;
    *) libsuff= shlibsuff= libmagic=never-match;;
    esac
    ;;
  esac
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  shlibpath_overrides_runpath=no
  sys_lib_search_path_spec="/usr/lib${libsuff}     /lib${libsuff}
/usr/local/lib${libsuff}"
  soname_spec='${libname}${release}.so$major'
  finish_cmds='PATH="ATH:/sbin" ldconfig -n $libdir'
  shlibpath_var=LD_LIBRARY_PATH
  shlibpath_overrides_runpath=no
  # This implies no fast_install, which is unacceptable.
  # Some rework will be needed to allow for fast_install
  # before this can be enabled.
  hardcode_into_libs=yes

  # We used to test for /lib/ld.so.1 and disable shared libraries
on
  # powerpc, because MkLinux only supported shared libraries with
the
  # GNU dynamic linker.  Since this was broken with cross compil-
ers,
  # most powerpc-linux boxes support dynamic linking  these  days
and
  # people can always --disable-shared, the test was removed, and
we
  # assume the GNU/Linux dynamic linker is in use.
  dynamic_linker='GNU/Linux ld.so'
  ;;

netbsd*)
  version_type=sunos
  need_lib_prefix=no
  need_version=no
  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
    library_names_spec='${libname}${release}.so$versuffix  ${lib-
name}.so$versuffix'
    finish_cmds='PATH="ATH:/sbin" ldconfig -m $libdir'
    dynamic_linker='NetBSD (a.out) ld.so'
  else
    library_names_spec='${libname}${release}.so$versuffix  ${lib-
name}${release}.so$major ${libname}${release}.so ${libname}.so'
    soname_spec='${libname}${release}.so$major'
    dynamic_linker='NetBSD ld.elf_so'
  fi
  shlibpath_var=LD_LIBRARY_PATH
  shlibpath_overrides_runpath=yes
  hardcode_into_libs=yes
  ;;

newsos6)
  version_type=linux
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  shlibpath_var=LD_LIBRARY_PATH
  shlibpath_overrides_runpath=yes
  ;;

openbsd*)
    shlibpath_overrides_runpath=yes
  fi
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}.so$versuffix'
  finish_cmds='PATH="ATH:/sbin" ldconfig -m $libdir'
  shlibpath_var=LD_LIBRARY_PATH
  ;;

os2*)
  libname_spec='$name'
  need_lib_prefix=no
  library_names_spec='$libname.dll $libname.a'
  dynamic_linker='OS/2 ld.exe'
  shlibpath_var=LIBPATH
  ;;

osf3* | osf4* | osf5*)
  version_type=osf
  need_version=no
  soname_spec='${libname}${release}.so$major'
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  shlibpath_var=LD_LIBRARY_PATH
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib  /usr/lib/cm-
plrs/cc /usr/lib /usr/local/lib /var/shlib"
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  hardcode_into_libs=yes
  ;;

sco3.2v5*)
  version_type=osf
  soname_spec='${libname}${release}.so$major'
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  shlibpath_var=LD_LIBRARY_PATH
  ;;

solaris*)
  version_type=linux
  need_lib_prefix=no
  need_version=no
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  soname_spec='${libname}${release}.so$major'
  shlibpath_var=LD_LIBRARY_PATH
  shlibpath_overrides_runpath=yes
  hardcode_into_libs=yes
  # ldd complains unless libraries are executable
  postinstall_cmds='chmod +x $lib'
  ;;

sunos4*)
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  soname_spec='${libname}${release}.so$major'
  shlibpath_var=LD_LIBRARY_PATH
  case $host_vendor in
    sni)
      shlibpath_overrides_runpath=no
      need_lib_prefix=no
      export_dynamic_flag_spec='${wl}-Blargedynsym'
      runpath_var=LD_RUN_PATH
      ;;
    siemens)
      need_lib_prefix=no
      ;;
    motorola)
      need_lib_prefix=no
      need_version=no
      shlibpath_overrides_runpath=no
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
      ;;
  esac
  ;;

uts4*)
  version_type=linux
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  soname_spec='${libname}${release}.so$major'
  shlibpath_var=LD_LIBRARY_PATH
  ;;

dgux*)
  version_type=linux
  need_lib_prefix=no
  need_version=no
  library_names_spec='${libname}${release}.so$versuffix    ${lib-
name}${release}.so$major $libname.so'
  soname_spec='${libname}${release}.so$major'
  shlibpath_var=LD_LIBRARY_PATH
  ;;

sysv4*MP*)
  if test -d /usr/nec ;then
    version_type=linux
    library_names_spec='$libname.so.$versuffix $libname.so.$major
$libname.so'
    soname_spec='$libname.so.$major'
    shlibpath_var=LD_LIBRARY_PATH
  fi
  ;;

*)
echo  $ECHO_N  "checking  whether  to  build  shared libraries...
$ECHO_C" >&6 test "$can_build_shared" = "no" && enable_shared=no

# On AIX, shared libraries and  static  libraries  use  the  same
namespace,  and  #  are  all  built from PIC.  case "$host_os" in
aix3*)
  test "$enable_shared" = yes && enable_static=no
  if test -n "$RANLIB"; then
    archive_cmds="$archive_cmds~ANLIB ib"
    postinstall_cmds='$RANLIB $lib'
  fi
  ;;

aix4*)
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" =
no ; then
    test "$enable_shared" = yes && enable_static=no
  fi
  ;;  esac echo "$as_me:$LINENO: result: $enable_shared" >&5 echo
"${ECHO_T}$enable_shared" >&6 ## ## END FIXME

##  FIXME:  this   should   be   a   separate   macro   ##   echo
"$as_me:$LINENO:  checking whether to build static libraries" >&5
echo $ECHO_N  "checking  whether  to  build  static  libraries...
$ECHO_C" >&6 # Make sure either enable_shared or enable_static is
yes.  test  "$enable_shared"  =  yes  ||  enable_static=yes  echo
"$as_me:$LINENO:  result: $enable_static" >&5 echo "${ECHO_T}$en-
able_static" >&6 ## ## END FIXME

if test "$hardcode_action" = relink; then
  # Fast installation is not supported
  enable_fast_install=no elif test "$shlibpath_overrides_runpath"
= yes ||
     test "$enable_shared" = no; then
  # Fast installation is not necessary
  enable_fast_install=needless fi

variables_saved_for_relink="PATH  $shlibpath_var $runpath_var" if
test "$GCC" = yes; then
  variables_saved_for_relink="$variables_saved_for_relink GCC_EX-
EC_PREFIX COMPILER_PATH LIBRARY_PATH" fi

if test "x$enable_dlopen" != xyes; then
  enable_dlopen=unknown
  enable_dlopen_self=unknown
  enable_dlopen_self_static=unknown else
  lt_cv_dlopen=no
  lt_cv_dlopen_libs=

  case $host_os in
  beos*)
    lt_cv_dlopen="load_add_on"

  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" /* System header to define __stub  macros  and
hopefully few prototypes,
    which can conflict with char shl_load (); below.  */ #include
echo(1) options
like -n.  Xsed="${SED} -e s/^X//"

#  The  HP-UX  ksh  and POSIX shell print the target directory to
stdout # if CDPATH is set.  if test "XCDPATH+set}" =  Xset;  then
CDPATH=:; export CDPATH; fi

# ### BEGIN LIBTOOL CONFIG

#  Libtool  was  configured  on  host  `(hostname  ||  uname  -n)
2>/dev/null | sed 1q`:

# Shell to use when invoking shell scripts.  SHELL=$lt_SHELL

#    Whether    or    not    to    build    shared     libraries.
build_libtool_libs=$enable_shared

#  Whether or not to build static libraries.  build_old_libs=$en-
able_static


# Is the compiler the GNU C compiler?  with_gcc=$GCC

# The linker used to build libraries.  LD=$lt_LD

# Whether we need hard or soft links.  LN_S=$lt_LN_S

# A BSD-compatible nm program.  NM=$lt_NM

# A symbol stripping program STRIP=$STRIP

#  Used  to  examine  libraries when file_magic_cmd begins "file"
MAGIC_CMD=$MAGIC_CMD

# Used on cygwin: DLL creation program.  DLLTOOL="$DLLTOOL"

# Used on cygwin: object dumper.  OBJDUMP="$OBJDUMP"

# Used on cygwin: assembler.  AS="$AS"

# The name of  the  directory  that  contains  temporary  libtool
files.  objdir=$objdir

#      How     to     create     reloadable     object     files.
reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds

# How to pass a linker flag through the compiler.  wl=$lt_wl

# Object file suffix (normally "o").  objext="$ac_objext"

# Old archive suffix (normally "a").  libext="$libext"

# Executable file suffix (normally "").  exeext="$exeext"

#  Additional  compiler  flags  for  building  library   objects.
pic_flag=$lt_pic_flag pic_mode=$pic_mode

#  Does  compiler simultaneously support -c and -o options?  com-
piler_c_o=$lt_compiler_c_o

# Can we write directly to  a  .lo  ?   compiler_o_lo=$lt_compil-
er_o_lo

#    Must    we    lock    files   when   doing   compilation   ?
need_locks=$lt_need_locks

#  Do  we  need  the  lib  prefix  for  modules?    need_lib_pre-
fix=$need_lib_prefix

# Do we need a version for libraries?  need_version=$need_version

# Whether dlopen is supported.  dlopen_support=$enable_dlopen
ic_flag_spec=$lt_export_dynamic_flag_spec

#  Compiler  flag  to  generate  shared objects directly from ar-
chives.  whole_archive_flag_spec=$lt_whole_archive_flag_spec

#   Compiler    flag    to    generate    thread-safe    objects.
thread_safe_flag_spec=$lt_thread_safe_flag_spec

# Library versioning type.  version_type=$version_type

# Format of library name prefix.  libname_spec=$lt_libname_spec

#  List  of  archive names.  First name is the real one, the rest
are links.  # The last name is the one that the linker finds with
-lNAME.  library_names_spec=$lt_library_names_spec

# The coded name of the library, if different from the real name.
soname_spec=$lt_soname_spec

# Commands used to build and install an old-style archive.   RAN-
LIB=$lt_RANLIB  old_archive_cmds=$lt_old_archive_cmds old_postin-
stall_cmds=$lt_old_postinstall_cmds                 old_postunin-
stall_cmds=$lt_old_postuninstall_cmds

#  Create  an  old-style  archive from a shared archive.  old_ar-
chive_from_new_cmds=$lt_old_archive_from_new_cmds

# Create a temporary old-style  archive  to  link  instead  of  a
shared     archive.     old_archive_from_expsyms_cmds=$lt_old_ar-
chive_from_expsyms_cmds

# Commands used to build  and  install  a  shared  archive.   ar-
chive_cmds=$lt_archive_cmds  archive_expsym_cmds=$lt_archive_exp-
sym_cmds     postinstall_cmds=$lt_postinstall_cmds      postunin-
stall_cmds=$lt_postuninstall_cmds

#  Commands  to  strip  libraries.  old_striplib=$lt_old_striplib
striplib=$lt_striplib

# Method to check whether dependent libraries are shared objects.
deplibs_check_method=$lt_deplibs_check_method

#   Command  to  use  when  deplibs_check_method  ==  file_magic.
file_magic_cmd=$lt_file_magic_cmd

# Flag that allows shared libraries with undefined symbols to  be
built.  allow_undefined_flag=$lt_allow_undefined_flag

#    Flag   that   forces   no   undefined   symbols.    no_unde-
fined_flag=$lt_no_undefined_flag

# Commands used to finish a libtool library installation in a di-
#  This  is  the  shared  library  runtime  path  variable.  run-
path_var=$runpath_var

#  This  is   the   shared   library   path   variable.    shlib-
path_var=$shlibpath_var

#  Is  shlibpath  searched  before  the hard-coded library search
path?  shlibpath_overrides_runpath=$shlibpath_overrides_runpath

# How to hardcode a  shared  library  path  into  an  executable.
hardcode_action=$hardcode_action

# Whether we should hardcode library paths into libraries.  hard-
code_into_libs=$hardcode_into_libs

# Flag to hardcode ibdir into a binary during  linking.   #  This
must   work   even   if  ibdir  does  not  exist.   hardcode_lib-
dir_flag_spec=$lt_hardcode_libdir_flag_spec

# Whether we need a single -rpath flag with a separated argument.
hardcode_libdir_separator=$lt_hardcode_libdir_separator

# Set to yes if using DIR/libNAME.so during linking hardcodes DIR
into the # resulting binary.  hardcode_direct=$hardcode_direct

# Set to yes if using the -LDIR flag during linking hardcodes DIR
into the # resulting binary.  hardcode_minus_L=$hardcode_minus_L

#  Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes
DIR into # the resulting  binary.   hardcode_shlibpath_var=$hard-
code_shlibpath_var

#  Variables  whose  values  should  be  saved in libtool wrapper
scripts and # restored at relink  time.   variables_saved_for_re-
link="$variables_saved_for_relink"

#  Whether libtool must link a program against all its dependency
libraries.  link_all_deplibs=$link_all_deplibs

#    Compile-time    system    search    path    for    libraries
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec

#     Run-time     system     search     path    for    libraries
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec

# Fix the shell  variable  rcfile  for  the  compiler.   fix_src-
file_path="$fix_srcfile_path"

#  Set  to  yes  if  exported  symbols  are required.  always_ex-
port_symbols=$always_export_symbols

#  The  commands   to   list   exported   symbols.    export_sym-

  case $host_os in
  aix3*)
    cat << >> "${ofile}T"

# AIX sometimes has problems with the GCC collect2 program.   For
some  # reason, if we set the COLLECT_NAMES environment variable,
the problems # vanish in a  puff  of  smoke.   if  test  "X${COL-
LECT_NAMES+set}" != Xset; then
  COLLECT_NAMES=
  export COLLECT_NAMES fi EOF
    ;;
  esac

  case $host_os in
  cygwin* | mingw* | pw32* | os2*)
    cat <<'EOF' >> "${ofile}T"
      #  This  is a source program that is used to create dlls on
Windows
      # Don't remove nor modify the starting and closing comments
#  /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #in-
clude  <windows.h>  #  #undef  WIN32_LEAN_AND_MEAN   #   #include
exit(2);
  exit  (0);  }  _ACEOF  rm -f conftest$ac_exeext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (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 cat conftest.$ac_ext >&5 ( exit
$ac_status ) ac_cv_header_stdc=no fi rm  -f  core  core.*  *.core
conftest$ac_exeext  conftest.$ac_objext conftest.$ac_ext fi fi fi
echo  "$as_me:$LINENO:  result:  $ac_cv_header_stdc"   >&5   echo
"${ECHO_T}$ac_cv_header_stdc"  >&6  if  test $ac_cv_header_stdc =
yes; then

cat >>confdefs.h <<_ACEOF @%:@define STDC_HEADERS 1 _ACEOF

fi






ac_header_dirent=no for ac_hdr in dirent.h  sys/ndir.h  sys/dir.h
ndir.h; do
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  eval "$as_ac_Header=yes" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
eval  "$as_ac_Header=no"  fi  rm  -f   conftest.$ac_objext   con-
ftest.$ac_ext   fi   echo  "$as_me:$LINENO:  result:  `eval  echo
'${'$as_ac_Header'}'`"    >&5    echo    "${ECHO_T}`eval     echo
'${'$as_ac_Header'}'`"  >&6  if  test `eval echo '${'$as_ac_Head-
er'}'` = 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   ac_cv_search_opendir=no    cat
>conftest.$ac_ext  <<_ACEOF  #line  $LINENO  "configure" #include
"confdefs.h"

/* Override any gcc2 internal prototype to avoid  an  error.   */
#ifdef  __cplusplus  extern "C" #endif /* We use char because int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
   builtin and then its argument prototype would still apply.  */
char opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_search_opendir="-l$ac_lib" break else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO:
result:          $ac_cv_search_opendir"          >&5         echo
"${ECHO_T}$ac_cv_search_opendir"        >&6        if        test
"$ac_cv_search_opendir" != no; then
  test    "$ac_cv_search_opendir"    =    "none    required"   ||
LIBS="$ac_cv_search_opendir $LIBS"

fi

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   ac_cv_search_opendir=no    cat
>conftest.$ac_ext  <<_ACEOF  #line  $LINENO  "configure" #include
"confdefs.h"

/* Override any gcc2 internal prototype to avoid  an  error.   */
#ifdef  __cplusplus  extern "C" #endif /* We use char because int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
    cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

/* Override any gcc2 internal prototype to avoid  an  error.   */
#ifdef  __cplusplus  extern "C" #endif /* We use char because int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
opendir ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_search_opendir="-l$ac_lib" break else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
  done fi LIBS=$ac_func_search_save_LIBS fi echo "$as_me:$LINENO:
result:          $ac_cv_search_opendir"          >&5         echo
"${ECHO_T}$ac_cv_search_opendir"        >&6        if        test
"$ac_cv_search_opendir" != no; then
  test    "$ac_cv_search_opendir"    =    "none    required"   ||
LIBS="$ac_cv_search_opendir $LIBS"

fi

fi

echo "$as_me:$LINENO: checking for  sys/wait.h  that  is  POSIX.1
compatible"  >&5  echo  $ECHO_N  "checking for sys/wait.h that is
POSIX.1  compatible...  $ECHO_C"  >&6  if   test   "${ac_cv_head-
er_sys_wait_h+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" #include <sys/types.h>  #include  <sys/wait.h>
#ifndef   WEXITSTATUS   #   define   WEXITSTATUS(stat_val)  ((un-
signed)(stat_val) >> 8) #endif #ifndef WIFEXITED # define  WIFEX-
ITED(stat_val) (((stat_val) & 255) == 0) #endif

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {

  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_sys_wait_h=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_header_sys_wait_h=no  fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext  fi  echo  "$as_me:$LINENO:  result:   $ac_cv_head-
er_sys_wait_h"  >&5  echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
if test $ac_cv_header_sys_wait_h = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_SYS_WAIT_H 1 _ACEOF

fi

echo "$as_me:$LINENO: checking whether time.h and sys/time.h  may
both  be  included" >&5 echo $ECHO_N "checking whether time.h and
sys/time.h  may  both  be  included...  $ECHO_C"  >&6   if   test
"${ac_cv_header_time+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h" #include <sys/types.h>  #include  <sys/time.h>
#include <time.h>

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1; } #endif int main () { if
((struct tm *) 0) return 0;
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_header_time=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_header_time=no   fi   rm   -f   conftest.$ac_objext    con-
ftest.$ac_ext   fi  echo  "$as_me:$LINENO:  result:  $ac_cv_head-
er_time"  >&5  echo  "${ECHO_T}$ac_cv_header_time"  >&6  if  test
$ac_cv_header_time = yes; then

cat >>confdefs.h <<_ACEOF @%:@define TIME_WITH_SYS_TIME 1 _ACEOF

fi


echo  "$as_me:$LINENO:  checking  return type of signal handlers"
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_signal=void else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_signal=int   fi   rm   -f   conftest.$ac_objext   con-
ftest.$ac_ext  fi  echo "$as_me:$LINENO: result: $ac_cv_type_sig-
nal" >&5 echo "${ECHO_T}$ac_cv_type_signal" >&6

cat >>confdefs.h <<_ACEOF @%:@define RETSIGTYPE  $ac_cv_type_sig-
nal _ACEOF


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 #line $LINENO "configure" #in-
clude "confdefs.h" #include <sys/types.h>

_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

echo "$as_me:$LINENO:  checking  for  size_t"  >&5  echo  $ECHO_N
"checking     for     size_t...     $ECHO_C"    >&6    if    test
"${ac_cv_type_size_t+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h"  $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
     extern "C" #  endif

  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_size_t=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_size_t=no    fi   rm   -f   conftest.$ac_objext   con-
ftest.$ac_ext     fi      echo      "$as_me:$LINENO:      result:
$ac_cv_type_size_t" >&5 echo "${ECHO_T}$ac_cv_type_size_t" >&6 if
test $ac_cv_type_size_t = yes; then
  : else

cat >>confdefs.h <<_ACEOF @%:@define size_t unsigned _ACEOF

fi

echo "$as_me:$LINENO:  checking  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 #line $LINENO  "configure"  #in-
clude  "confdefs.h"  $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int  main  ()  {  if
((mode_t *) 0)
  return 0; if (sizeof (mode_t))
  return 0;
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_mode_t=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_mode_t=no    fi   rm   -f   conftest.$ac_objext   con-
ftest.$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

"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_off_t=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_off_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext
fi echo  "$as_me:$LINENO:  result:  $ac_cv_type_off_t"  >&5  echo
"${ECHO_T}$ac_cv_type_off_t" >&6 if test $ac_cv_type_off_t = yes;
then
  : else

cat >>confdefs.h <<_ACEOF @%:@define off_t long _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 #line $LINENO  "configure"  #in-
clude  "confdefs.h"  $ac_includes_default #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int  main  ()  {  if
((pid_t *) 0)
  return 0; if (sizeof (pid_t))
  return 0;
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_type_pid_t=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_type_pid_t=no fi rm -f conftest.$ac_objext conftest.$ac_ext
fi echo  "$as_me:$LINENO:  result:  $ac_cv_type_pid_t"  >&5  echo
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#include    <sys/types.h>    #include    <sys/time.h>    #include
conftest.$ac_ext  <<_ACEOF  #line  $LINENO  "configure" #include
"confdefs.h"

/* Override any gcc2 internal prototype to avoid  an  error.   */
#ifdef  __cplusplus  extern "C" #endif /* We use char because int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char socket (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { socket
();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_socket_socket=yes else
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { extern
int gethostbyaddr; return (gethostbyaddr);
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  have_gethost=1 else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext  conftest.$ac_ext
        if  test -z "$have_gethost" ; then                 h="you
need   additional   libs   for    gethostbyaddr";            else
                h="no   additional   libs   for   gethostbyaddr";
        fi         echo "$as_me:$LINENO:  result:  $h"  >&5  echo
"${ECHO_T}$h"  >&6          if  test  -z  "$have_gethost"  ; then
                echo "$as_me:$LINENO: checking for  gethostbyaddr
in  -lnsl_s"  >&5  echo  $ECHO_N  "checking  for gethostbyaddr in
-lnsl_s... $ECHO_C" >&6 if  test  "${ac_cv_lib_nsl_s_gethostbyad-
dr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lnsl_s   $LIBS"  cat >con-
ftest.$ac_ext  <<_ACEOF  #line   $LINENO   "configure"   #include
"confdefs.h"

/*  Override  any  gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus extern "C" #endif /* We use char  because  int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gethostbyaddr (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { geth-
ostbyaddr ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?

-lnsl...   $ECHO_C"  >&6  if  test  "${ac_cv_lib_nsl_gethostbyad-
dr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lnsl   $LIBS"  cat   >con-
ftest.$ac_ext   <<_ACEOF   #line   $LINENO  "configure"  #include
"confdefs.h"

/* Override any gcc2 internal prototype to avoid  an  error.   */
#ifdef  __cplusplus  extern "C" #endif /* We use char because int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gethostbyaddr (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  geth-
ostbyaddr ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_nsl_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_nsl_gethostbyaddr=no  fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS  fi
echo  "$as_me:$LINENO:  result: $ac_cv_lib_nsl_gethostbyaddr" >&5
echo   "${ECHO_T}$ac_cv_lib_nsl_gethostbyaddr"   >&6   if    test
$ac_cv_lib_nsl_gethostbyaddr = yes; then
  LIBS="$LIBS -lnsl"; have_gethost=1 fi

        fi

        if  test  -z  "$have_gethost";  then                 echo
"$as_me:$LINENO: checking for gethostbyaddr in -lnet_s" >&5  echo
$ECHO_N "checking for gethostbyaddr in -lnet_s... $ECHO_C" >&6 if
test "${ac_cv_lib_net_s_gethostbyaddr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS LIBS="-lnet_s   $LIBS"  cat  >con-
ftest.$ac_ext   <<_ACEOF   #line   $LINENO  "configure"  #include
"confdefs.h"

/* Override any gcc2 internal prototype to avoid  an  error.   */
#ifdef  __cplusplus  extern "C" #endif /* We use char because int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */

  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_net_s_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_net_s_gethostbyaddr=no  fi  rm  -f  conftest.$ac_objext
conftest$ac_exeext conftest.$ac_ext  LIBS=$ac_check_lib_save_LIBS
fi  echo "$as_me:$LINENO: result: $ac_cv_lib_net_s_gethostbyaddr"
>&5 echo "${ECHO_T}$ac_cv_lib_net_s_gethostbyaddr"  >&6  if  test
$ac_cv_lib_net_s_gethostbyaddr = yes; then
  LIBS="$LIBS -lnet_s"; have_gethost=1 fi

        fi            if    test    -z    "$have_gethost";   then
                echo "$as_me:$LINENO: checking for  gethostbyaddr
in  -lnet"  >&5  echo  $ECHO_N  "checking  for  gethostbyaddr  in
-lnet...  $ECHO_C"  >&6  if  test   "${ac_cv_lib_net_gethostbyad-
dr+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS   LIBS="-lnet   $LIBS"  cat  >con-
ftest.$ac_ext  <<_ACEOF  #line   $LINENO   "configure"   #include
"confdefs.h"

/*  Override  any  gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus extern "C" #endif /* We use char  because  int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char gethostbyaddr (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN() { return 1; } #endif int main () { geth-
ostbyaddr ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_net_gethostbyaddr=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_net_gethostbyaddr=no fi rm -f conftest.$ac_objext  con-
ftest$ac_exeext  conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi
echo "$as_me:$LINENO: result:  $ac_cv_lib_net_gethostbyaddr"  >&5
echo    "${ECHO_T}$ac_cv_lib_net_gethostbyaddr"   >&6   if   test
$ac_cv_lib_net_gethostbyaddr = yes; then
  LIBS="$LIBS -lnet"; have_gethost=1 fi

   builtin and then its argument prototype would still apply.  */
char inet_ntop (); char (*f) ();

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { /* 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_inet_ntop) || defined (__stub___inet_ntop)
choke me #else f = inet_ntop; #endif

  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_inet_ntop=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_func_inet_ntop=no   fi   rm   -f  conftest.$ac_objext  con-
ftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$ac_cv_func_inet_ntop"  >&5 echo "${ECHO_T}$ac_cv_func_inet_ntop"
>&6 if test $ac_cv_func_inet_ntop = yes; then
  name2=yes fi

           if  test  -z  "$name2"  ;  then                   echo
"$as_me:$LINENO:  checking  for  inet_ntop  in -lresolv" >&5 echo
$ECHO_N "checking for inet_ntop in -lresolv...  $ECHO_C"  >&6  if
test "${ac_cv_lib_resolv_inet_ntop+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  ac_check_lib_save_LIBS=$LIBS  LIBS="-lresolv   $LIBS" cat >con-
ftest.$ac_ext  <<_ACEOF  #line   $LINENO   "configure"   #include
"confdefs.h"

/*  Override  any  gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus extern "C" #endif /* We use char  because  int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char inet_ntop (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main  ()  {  in-
et_ntop ();
  ;

ac_cv_lib_resolv_inet_ntop=no  fi  rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS  fi
echo  "$as_me:$LINENO:  result:  $ac_cv_lib_resolv_inet_ntop" >&5
echo   "${ECHO_T}$ac_cv_lib_resolv_inet_ntop"   >&6    if    test
$ac_cv_lib_resolv_inet_ntop = yes; then
  LIBS="$LIBS -lresolv";name2=yes fi

          fi;         fi fi








for  ac_func  in _res cfsetispeed fcntl flock gethostbyname2 get-
dtablesize do as_ac_var=`echo "ac_cv_func_$ac_func" |  $as_tr_sh`
echo  "$as_me:$LINENO:  checking  for  $ac_func" >&5 echo $ECHO_N
"checking for $ac_func... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h"  /* System header to define __stub macros and
hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */ #include
_exit(2);
    }
    if (!child) {
      arg = getpid();
      write(-1, "", 0);
      _exit (arg);
    }
  } }

int main () {
  pid_t parent = getpid ();
  pid_t child;

  sparc_address_test ();

  child = vfork ();

  if (child == 0) {
    /*  Here  is  another test for sparc vfork register problems.
This
       test uses lots of local variables, at least as many local
       variables as main has allocated so far including compiler
       temporaries.  4 locals are enough for gcc 1.40.3 on a  So-
laris
       4.1.3  sparc,  but  we use 8 to be safe.  A buggy compiler
should
    if (p != p1 || p != p2 || p != p3 || p != p4         || p  !=
p5 || p != p6 || p != p7)
      _exit(1);

    /*  On  some  systems (e.g. IRIX 3.3), vfork doesn't separate
parent
       from child file descriptors.  If the child  closes  a  de-
scriptor
       before  it  execs  or  exits, this munges the parent's de-
scriptor
       as well.  Test for this by closing stdout  in  the  child.
*/
    _exit(close(fileno(stdout)) != 0);
  } else {
    int status;
    struct stat st;

    while (wait(&status) != child)
      ;
    exit(            /* Was there some problem with vforking?  */
         child < 0

         /* Did the child fail?   (This  shouldn't  happen.)   */
         || status

          /*  Did  the  vfork/compiler bug occur?  */          ||
parent != getpid()

         /* Did the file descriptor bug occur?   */            ||
fstat(fileno(stdout), &st) != 0          );
  }   }   _ACEOF   rm  -f  conftest$ac_exeext  if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_func_vfork_works=yes else
  echo "$as_me: program exited with status $ac_status"  >&5  echo
"$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5 ( exit
$ac_status )  ac_cv_func_vfork_works=no  fi  rm  -f  core  core.*
*.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi
fi echo  "$as_me:$LINENO:  result:  $ac_cv_func_vfork_works"  >&5
echo "${ECHO_T}$ac_cv_func_vfork_works" >&6

fi; if test "x$ac_cv_func_fork_works" = xcross; then
  ac_cv_func_vfork_works=ac_cv_func_vfork
  { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works

cat >>confdefs.h <<_ACEOF @%:@define HAVE_WORKING_FORK 1 _ACEOF

fi


for ac_func in vprintf do as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`  echo "$as_me:$LINENO: checking for $ac_func" >&5 echo
$ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude  "confdefs.h"  /* System header to define __stub macros and
hopefully few prototypes,
    which can conflict with char $ac_func (); below.  */ #include
ostname(1);
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_gethostname_def=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5

"${ac_cv_decl_innetgr_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

cat >conftest.$ac_ext <<_ACEOF #line $LINENO "configure" #include
"confdefs.h"

#ifdef   HAVE_CTYPES_H   #include   <ctypes.h>   #endif    #ifdef
HAVE_STDIO_H  #include <stdio.h> #endif #ifdef HAVE_STDLIB_H #in-
clude <stdlib.h> #endif #ifdef HAVE_UNISTD_H #include  <unistd.h>
#endif  #ifdef  HAVE_NETDB_H  #include  <netdb.h>  #endif  #ifdef
F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
printf("%d", innetgr(1));
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_innetgr_def=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_innetgr_def=yes  fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext


fi echo  "$as_me:$LINENO:  result:  $ac_cv_decl_innetgr_def"  >&5
echo  "${ECHO_T}$ac_cv_decl_innetgr_def"  >&6 if test "$ac_cv_de-
cl_innetgr_def" = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_INNETGR_DEF 1 _ACEOF

fi

echo "$as_me:$LINENO: checking for openlog declaration" >&5  echo
$ECHO_N "checking for openlog declaration... $ECHO_C" >&6 if test
"${ac_cv_decl_openlog_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#include  <stdio.h> #ifdef HAVE_CTYPES_H #include <ctypes.h> #en-
dif  #ifdef  HAVE_STDARG_H  #include  <stdarg.h>  #endif   #ifdef
HAVE_SYSLOG_H  #include <syslog.h> #endif #ifdef F77_DUMMY_MAIN #
ifdef __cplusplus
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_openlog_def=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_openlog_def=no   fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext

fi echo  "$as_me:$LINENO:  result:  $ac_cv_decl_openlog_def"  >&5
echo  "${ECHO_T}$ac_cv_decl_openlog_def"  >&6 if test "$ac_cv_de-
cl_openlog_def" = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_OPENLOG_DEF 1 _ACEOF

fi


echo "$as_me:$LINENO: checking for syslog declaration"  >&5  echo
$ECHO_N  "checking for syslog declaration... $ECHO_C" >&6 if test
"${ac_cv_decl_syslog_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#include  <stdio.h> #ifdef HAVE_STDARG_H #include <stdarg.h> #en-
dif  #ifdef  HAVE_SYSLOG_H  #include  <syslog.h>  #endif   #ifdef
F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
printf("%d",syslog);
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_syslog_def=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_syslog_def=no  fi  rm  -f   conftest.$ac_objext   con-
ftest.$ac_ext

fi echo "$as_me:$LINENO: result: $ac_cv_decl_syslog_def" >&5 echo
"${ECHO_T}$ac_cv_decl_syslog_def" >&6 if  test  "$ac_cv_decl_sys-
log_def" = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_SYSLOG_DEF 1 _ACEOF
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () { struct
in6_addr v;
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_in6_addr_def=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_in6_addr_def=no  fi  rm  -f  conftest.$ac_objext  con-
ftest.$ac_ext

fi  echo  "$as_me:$LINENO:  result: $ac_cv_decl_in6_addr_def" >&5
echo "${ECHO_T}$ac_cv_decl_in6_addr_def" >&6 if test  "$ac_cv_de-
cl_in6_addr_def" = yes; then

cat >>confdefs.h <<_ACEOF @%:@define IN6_ADDR 1 _ACEOF


cat >>confdefs.h <<_ACEOF @%:@define IPV6 1 _ACEOF

fi


echo  "$as_me:$LINENO:  checking  for struct in_addr6 declaration
(LINUX)" >&5 echo $ECHO_N "checking for struct in_addr6  declara-
tion   (LINUX)...   $ECHO_C"  >&6  if  test  "${ac_cv_decl_in_ad-
dr6_def+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat >conftest.$ac_ext <<_ACEOF #line $LINENO  "configure"  #in-
clude "confdefs.h"

#ifdef   HAVE_CTYPES_H   #include   <ctypes.h>   #endif  #include
casecmp(1)
  ;
  return  0;  }  _ACEOF rm -f conftest.$ac_objext if { (eval echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&

cat >>confdefs.h <<_ACEOF @%:@define HAVE_STRCASECMP_DEF 1 _ACEOF

fi


echo  "$as_me:$LINENO:  checking  for  flock definition" >&5 echo
$ECHO_N "checking for flock definition... $ECHO_C"  >&6  if  test
"${ac_cv_decl_flock+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat  >conftest.$ac_ext  <<_ACEOF #line $LINENO "configure" #in-
clude "confdefs.h"

#ifdef  HAVE_CTYPES_H  #include   <ctypes.h>   #endif   #if   de-
fined(HAVE_STDLIB_H)   #include   <stdlib.h>   #endif   #if   de-
fined(HAVE_SYS_FILE_H)  #include  <sys/file.h>  #endif  #if   de-
fined(HAVE_FCNTL_H) #include <fcntl.h> #endif

#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
flock(1)
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_flock=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_flock=yes   fi   rm   -f   conftest.$ac_objext    con-
ftest.$ac_ext

fi  echo  "$as_me:$LINENO:  result:  $ac_cv_decl_flock"  >&5 echo
"${ECHO_T}$ac_cv_decl_flock" >&6 if  test  "$ac_cv_decl_flock"  =
yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_FLOCK_DEF 1 _ACEOF

fi


# Find a good install program.  We prefer a C program (faster), #
so one script is as good as another.  But avoid the broken  or  #
incompatible  versions:  # SysV /etc/install, /usr/sbin/install #
  # Account for people who put trailing slashes in PATH elements.
case $as_dir/ in
  ./ | .// | /cC/*  |    /etc/*  |  /usr/sbin/*  |  /usr/etc/*  |
/sbin/* | /usr/afsws/bin/* |   /usr/ucb/* ) ;;
  *)
    # OSF1 and SCO ODT 3.0 have their own names for install.
    #  Don't  use  installbsd from OSF since it installs stuff as
root
    # by default.
    for ac_prog in ginstall scoinst install; do
      for ac_exec_ext in '' $ac_executable_extensions; do
        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null
2>&1; then
            #  AIX  install.  It has an incompatible calling con-
vention.
            :
          elif test $ac_prog = install &&
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null
2>&1; then
            #  program-specific  install  script  used  by HP pw-
plus--don't use.
            :
          else
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
            break 3
          fi
        fi
      done
    done
    ;; esac done


fi
  if test "${ac_cv_path_install+set}" = set; then
    INSTALL=$ac_cv_path_install
  else
    # As a last resort, use the  slow  shell  script.   We  don't
cache a
    #  path  for  INSTALL within a source directory, because that
will
    # break other packages using the cache if that directory is
    # removed, or if the path is relative.
    INSTALL=$ac_install_sh
  fi  fi  echo  "$as_me:$LINENO:  result:  $INSTALL"   >&5   echo
"${ECHO_T}$INSTALL" >&6

#  Use test -z because SunOS4 sh mishandles braces in ${var-val}.
# It thinks the first close brace ends the variable substitution.
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'

  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    ac_cv_prog_INSTALL_MAN="auxman"
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    break 2
  fi done done

  test    -z    "$ac_cv_prog_INSTALL_MAN"    &&    ac_cv_prog_IN-
STALL_MAN="$INSTALL -m  644"  fi  fi  INSTALL_MAN=$ac_cv_prog_IN-
STALL_MAN if test -n "$INSTALL_MAN"; then
  echo    "$as_me:$LINENO:   result:   $INSTALL_MAN"   >&5   echo
"${ECHO_T}$INSTALL_MAN" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi


echo  "$as_me:$LINENO:  checking whether ${MAKE-make} sets MAKE}"
>&5 echo $ECHO_N "checking  whether  ${MAKE-make}  sets  MAKE}...
$ECHO_C"  >&6  set  dummy  ${MAKE-make}; ac_make=`echo "$2" | sed
'y,./+-,__p_,'` if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  cat     >conftest.make     <<_ACEOF     all:              @echo
'ac_maketemp="${MAKE}"'   _ACEOF  #  GNU  make  sometimes  prints
"make[1]: Entering...", which would confuse  us.   eval  `${MAKE-
make}  -f  conftest.make  2>/dev/null  |  grep  temp=` if test -n
"$ac_maketemp"; then
  eval ac_cv_prog_make_${ac_make}_set=yes else
  eval ac_cv_prog_make_${ac_make}_set=no fi rm  -f  conftest.make
fi if eval "test
  echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6
  SET_MAKE= else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6
  SET_MAKE="MAKE=${MAKE-make}" fi


echo  "$as_me:$LINENO:  checking  for  shell"  >&5  echo  $ECHO_N
"checking  for   shell...   $ECHO_C"   >&6   SHELL=/bin/sh   echo
"$as_me:$LINENO:   result:   using   $SHELL  (FORCED)"  >&5  echo
"${ECHO_T}using $SHELL (FORCED)" >&6


        MKINSTALLDIRS=
  if test -n "$ac_aux_dir"; then
    case "$ac_aux_dir" in
      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
      *) MKINSTALLDIRS="p_builddir)/$ac_aux_dir/mkinstalldirs" ;;
    esac
  fi
  if test -z "$MKINSTALLDIRS"; then
    MKINSTALLDIRS="p_srcdir)/mkinstalldirs"
  fi




# Prepare PATH_SEPARATOR.  # The user is always right.   if  test
"${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh fi

#  Find  out  how to test for executable files. Don't use a zero-
byte file, # as systems may use methods other than mode  bits  to
determine  executability.   cat  >conf$$.file <<_ASEOF #! /bin/sh
exit 0  _ASEOF  chmod  +x  conf$$.file  if  test  -x  conf$$.file
>/dev/null 2>&1; then
  ac_executable_p="test -x" else
  ac_executable_p="test -f" fi rm -f conf$$.file

# Extract the first word of "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 else
  case "$MSGFMT" in
  [\/]* | ?:[\/]*)
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the  test
with a path.
    ;;
  *)
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
    for ac_dir in $PATH; do
      IFS="$ac_save_IFS"
      test -z "$ac_dir" && ac_dir=.
      for ac_exec_ext in '' $ac_executable_extensions; do
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
          if  $ac_dir/$ac_word  --statistics /dev/null >/dev/null
2>&1 &&
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1  >/dev/null
| grep usage >/dev/null; then exit 1; else exit 0; fi); then
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
            break 2
          fi
        fi
      done
    done
    IFS="$ac_save_IFS"
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the  test
with a path.
  ;;
  *)
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  for ac_exec_ext in '' $ac_executable_extensions; do
  if $as_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
    break 2
  fi done done

  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
  ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT

if test -n "$GMSGFMT"; then
  echo    "$as_me:$LINENO:    result:    $GMSGFMT"    >&5    echo
"${ECHO_T}$GMSGFMT" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi



# Prepare PATH_SEPARATOR.  # The user is always right.   if  test
"${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh fi

#  Find  out  how to test for executable files. Don't use a zero-
byte file, # as systems may use methods other than mode  bits  to
determine  executability.   cat  >conf$$.file <<_ASEOF #! /bin/sh
exit 0  _ASEOF  chmod  +x  conf$$.file  if  test  -x  conf$$.file
>/dev/null 2>&1; then
  ac_executable_p="test -x" else
  ac_executable_p="test -f" fi rm -f conf$$.file

#  Extract  the  first word of "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 "check-
ing for $ac_word...  $ECHO_C"  >&6  if  test  "${ac_cv_path_XGET-
TEXT+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case "$XGETTEXT" in
  [\/]* | ?:[\/]*)

>/dev/null; then exit 1; else exit 0; fi); then
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
            break 2
          fi
        fi
      done
    done
    IFS="$ac_save_IFS"
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
    ;;  esac  fi  XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGET-
TEXT" != ":"; then
  echo   "$as_me:$LINENO:    result:    $XGETTEXT"    >&5    echo
"${ECHO_T}$XGETTEXT" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi

    rm -f messages.po


# Prepare PATH_SEPARATOR.  # The user is always right.   if  test
"${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh fi

#  Find  out  how to test for executable files. Don't use a zero-
byte file, # as systems may use methods other than mode  bits  to
determine  executability.   cat  >conf$$.file <<_ASEOF #! /bin/sh
exit 0  _ASEOF  chmod  +x  conf$$.file  if  test  -x  conf$$.file
>/dev/null 2>&1; then
  ac_executable_p="test -x" else
  ac_executable_p="test -f" fi rm -f conf$$.file

#  Extract  the  first word of "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 "check-
ing for  $ac_word...  $ECHO_C"  >&6  if  test  "${ac_cv_path_MSG-
MERGE+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  case "$MSGMERGE" in
  [\/]* | ?:[\/]*)
    ac_cv_path_MSGMERGE="$MSGMERGE"  #  Let the user override the
test with a path.
    ;;
  *)
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
    for ac_dir in $PATH; do
    ;;  esac  fi  MSGMERGE="$ac_cv_path_MSGMERGE"  if test "$MSG-
MERGE" != ":"; then
  echo   "$as_me:$LINENO:    result:    $MSGMERGE"    >&5    echo
"${ECHO_T}$MSGMERGE" >&6 else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi


      if test "$GMSGFMT" != ":"; then
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep
usage >/dev/null; then exit 1; else exit 0; fi); then
      : ;
    else
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
      echo "$as_me:$LINENO: result: found $GMSGFMT program is not
GNU  msgfmt; ignore it" >&5 echo "${ECHO_T}found $GMSGFMT program
is not GNU msgfmt; ignore it" >&6
      GMSGFMT=":"
    fi
  fi

      if test "$XGETTEXT" != ":"; then
            if $XGETTEXT --omit-header --copyright-holder=  --ms-
gid-bugs-address= /dev/null >/dev/null 2>&1 &&
       (if  $XGETTEXT  --omit-header --copyright-holder= --msgid-
bugs-address= /dev/null 2>&1 >/dev/null | grep usage  >/dev/null;
then exit 1; else exit 0; fi); then
      : ;
    else
      echo "$as_me:$LINENO: result: found xgettext program is not
GNU xgettext; ignore it" >&5 echo "${ECHO_T}found  xgettext  pro-
gram is not GNU xgettext; ignore it" >&6
      XGETTEXT=":"
    fi
        rm -f messages.po
  fi

  ac_config_commands="$ac_config_commands default-1"



      if test "X$prefix" = "XNONE"; then
    acl_final_prefix="$ac_default_prefix"
  else
    acl_final_prefix="$prefix"
  fi
  if test "X$exec_prefix" = "XNONE"; then
    acl_final_exec_prefix='${prefix}'
  else
    acl_final_exec_prefix="$exec_prefix"
  fi
  acl_save_prefix="$prefix"
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then
  # Check if gcc -print-prog-name=ld gives a path.
  echo  "$as_me:$LINENO:  checking  for  ld used by GCC" >&5 echo
$ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
  case $host in
  *-*-mingw*)
    # gcc leaves a trailing carriage return which upsets mingw
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d ' 15'` ;;
  *)
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  esac
  case $ac_prog in
    # Accept absolute paths.
    [\/]* | [A-Za-z]:[\/]*)
      re_direlt='/[^/][^/]*/../'
      # Canonicalize the path of ld
      ac_prog=`echo $ac_prog| sed 's%\\%/%g'`
      while echo $ac_prog | grep "$re_direlt" >  /dev/null  2>&1;
do         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
      done
      test -z "$LD" && LD="$ac_prog"
      ;;
  "")
    # If it fails, then pretend we aren't using GCC.
    ac_prog=ld
    ;;
  *)
    # If it is relative, then search for the first ld in PATH.
    with_gnu_ld=unknown
    ;;
  esac elif test "$with_gnu_ld" = yes; then
  echo  "$as_me:$LINENO:  checking  for  GNU ld" >&5 echo $ECHO_N
"checking for GNU ld... $ECHO_C" >&6 else
  echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N
"checking   for   non-GNU   ld...   $ECHO_C"   >&6   fi  if  test
"${acl_cv_path_LD+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  if test -z "$LD"; then
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARA-
TOR-:}"
  for ac_dir in $PATH; do
    test -z "$ac_dir" && ac_dir=.
    if     test     -f     "$ac_dir/$ac_prog"    ||    test    -f
"$ac_dir/$ac_prog$ac_exeext"; then
      acl_cv_path_LD="$ac_dir/$ac_prog"
      # Check to see if the program is GNU ld.   I'd  rather  use
--version,
  echo  "$as_me:$LINENO: result: $LD" >&5 echo "${ECHO_T}$LD" >&6
else
  echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi
test  -z  "$LD" && { { echo "$as_me:$LINENO: error: no acceptable
ld found in ATH" >&5 echo "$as_me: error: no acceptable ld  found
in ATH" >&2;}
   { (exit 1); exit 1; }; } echo "$as_me:$LINENO: checking if the
linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the  linker
($LD)     is     GNU     ld...     $ECHO_C"     >&6    if    test
"${acl_cv_prog_gnu_ld+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  # I'd rather use --version here, but apparently some  GNU  ld's
only  accept -v.  case `$LD -v 2>&1 </dev/null` in *GNU* | *'with
BFD'*)
  acl_cv_prog_gnu_ld=yes ;; *)
  acl_cv_prog_gnu_ld=no ;; esac fi echo "$as_me:$LINENO:  result:
$acl_cv_prog_gnu_ld"  >&5 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
with_gnu_ld=$acl_cv_prog_gnu_ld



                                                echo
"$as_me:$LINENO: checking for shared library run path origin" >&5
echo $ECHO_N "checking for  shared  library  run  path  origin...
$ECHO_C" >&6 if test "${acl_cv_rpath+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

    CC="$CC"      GCC="$GCC"      LDFLAGS="$LDFLAGS"     LD="$LD"
with_gnu_ld="$with_gnu_ld"                ${CONFIG_SHELL-/bin/sh}
"$ac_aux_dir/config.rpath" "$host" > conftest.sh
    . ./conftest.sh
    rm -f ./conftest.sh
    acl_cv_rpath=done

fi   echo   "$as_me:$LINENO:   result:  $acl_cv_rpath"  >&5  echo
"${ECHO_T}$acl_cv_rpath" >&6
  wl="$acl_cv_wl"
  libext="$acl_cv_libext"
  shlibext="$acl_cv_shlibext"
  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
  hardcode_direct="$acl_cv_hardcode_direct"
  hardcode_minus_L="$acl_cv_hardcode_minus_L"
    # Check whether --enable-rpath or --disable-rpath was  given.
if test "${enable_rpath+set}" = set; then
  enableval="$enable_rpath"
  : else
  enable_rpath=yes fi;




  prefix="$acl_save_prefix"


# Check whether --with-libiconv-prefix or --without-libiconv-pre-
fix was given.  if test "${with_libiconv_prefix+set}" = set; then
  withval="$with_libiconv_prefix"

    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=
          eval additional_libdir=

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/lib"
      fi
    fi

fi;
      LIBICONV=
  LTLIBICONV=
  INCICONV=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='iconv '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do
        if test "$n" = "$name"; then
          already_handled=yes
          break
        fi
      done
      if test -z "$already_handled"; then
        names_already_handled="$names_already_handled $name"
                        uppername=`echo    "$name"   |   sed   -e
'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
          found_la=
          found_so=
          found_a=
          if test $use_additional = yes; then
            if  test  -n "$shlibext" && test -f "$additional_lib-
dir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
              fi
            else
              if test  -f  "$additional_libdir/lib$name.$libext";
then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                  if   test   -n   "$shlibext"   &&    test    -f
"$dir/lib$name.$shlibext"; then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
                    fi
                  else
                    if test -f "$dir/lib$name.$libext"; then
                      found_dir="$dir"
                      found_a="$dir/lib$name.$libext"
                      if test -f "$dir/lib$name.la"; then
                        found_la="$dir/lib$name.la"
                      fi
                    fi
                  fi

}$found_so"
              else
                                                                                haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$hardcode_direct" = yes;
then
                                                      LIBI-
CONV="${LIBICONV}${LIBICONV:+ }$found_so"
                else
                  if test -n "$hardcode_libdir_flag_spec" && test
"$hardcode_minus_L" = no; then
                                                            LIBI-
CONV="${LIBICONV}${LIBICONV:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                haveit=
                    for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                      if test "X$x" = "X-L$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      LIBICONV="${LIBICONV}${LIBICONV:+
}-L$found_dir"
                    fi

              else
                                                LIBICONV="${LIBI-
CONV}${LIBICONV:+ }-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */lib | */lib/)
                basedir=`echo "X$found_dir" | sed -e 's,^X,,'  -e
's,/lib/*$,,'`
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                                                if
test "X$additional_includedir" != "X/usr/include"; then
                haveit=
                if test  "X$additional_includedir"  =  "X/usr/lo-
cal/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux*) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if  test "X$x" = "X-I$additional_includedir";
then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then
                    if test -d "$additional_includedir"; then
                                            INCICONV="${INCI-
CONV}${INCICONV:+ }-I$additional_includedir"
                    fi
                  fi
                fi
              fi
            fi
                        if test -n "$found_la"; then

                      haveit=
                      if test "X$additional_libdir" =  "X/usr/lo-
cal/lib"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux*) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if  test  "X$x"  = "X-L$additional_lib-
dir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LIBI-
CONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBICONV; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if  test  "X$x"  = "X-L$additional_lib-
dir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        rpathdirs="$rpathdirs $dir"
                      fi
                                                                  haveit=
                      for x in $ltrpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        ltrpathdirs="$ltrpathdirs $dir"
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round
"`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                names_next_round="$names_next_round
"`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,.la$,,'`
                    ;;
                  *)
                                        LIBICONV="${LIBI-
CONV}${LIBICONV:+ }$dep"
                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+
}$dep"
                    ;;
                esac
              done
            fi
          else
                                                            LIBI-
CONV="${LIBICONV}${LIBICONV:+ }-l$name"
            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
          fi
        fi
      fi
    done
  done
  if test "X$rpathdirs" != "X"; then
    if test -n "$hardcode_libdir_separator"; then
                        alldirs=
      for found_dir in $rpathdirs; do
        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separa-
tor}$found_dir"
      done
            acl_save_libdir="$libdir"

  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
    done
  fi


















  echo  "$as_me:$LINENO:  checking  whether NLS is requested" >&5
echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
    # Check whether --enable-nls or --disable-nls was given.   if
test "${enable_nls+set}" = set; then
  enableval="$enable_nls"
  USE_NLS=$enableval else
  USE_NLS=no fi;
  echo    "$as_me:$LINENO:    result:    $USE_NLS"    >&5    echo
"${ECHO_T}$USE_NLS" >&6




  LIBINTL=
  LTLIBINTL=
  POSUB=

    if test "$USE_NLS" = "yes"; then
    gt_use_preinstalled_gnugettext=no






        echo "$as_me:$LINENO: checking for GNU gettext  in  libc"
>&5  echo  $ECHO_N  "checking for GNU gettext in libc... $ECHO_C"
>&6 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_func_gnugettext1_libc=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
gt_cv_func_gnugettext1_libc=no  fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result:
$gt_cv_func_gnugettext1_libc"               >&5              echo
"${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6

        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then





          am_save_CPPFLAGS="$CPPFLAGS"

  for element in $INCICONV; do
    haveit=
    for x in $CPPFLAGS; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      if test "X$x" = "X$element"; then
        haveit=yes
        break
      fi
    done
    if test -z "$haveit"; then
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
    fi
  done


  echo "$as_me:$LINENO: checking  for  iconv"  >&5  echo  $ECHO_N
"checking     for     iconv...     $ECHO_C"     >&6    if    test
"${am_cv_func_iconv+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

    am_cv_func_iconv="no, consider installing GNU libiconv"
    am_cv_lib_iconv=no

  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_func_iconv=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f 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  #line $LINENO "configure"
#include  "confdefs.h"  #include  <stdlib.h>  #include  <iconv.h>
#ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
iconv_t cd = iconv_open("","");
         iconv(cd,NULL,NULL,NULL,NULL);
         iconv_close(cd);
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  am_cv_lib_iconv=yes
        am_cv_func_iconv=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
      LIBS="$am_save_LIBS"
    fi

fi echo  "$as_me:$LINENO:  result:  $am_cv_func_iconv"  >&5  echo
"${ECHO_T}$am_cv_func_iconv" >&6
  if test "$am_cv_func_iconv" = yes; then

cat >>confdefs.h <<_ACEOF @%:@define HAVE_ICONV 1 _ACEOF

  fi
  if test "$am_cv_lib_iconv" = yes; then
    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
    echo   "$as_me:$LINENO:   result:   $LIBICONV"    >&5    echo

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

    eval additional_includedir=
    eval additional_libdir=

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"


# Check whether --with-libintl-prefix or --without-libintl-prefix
was given.  if test "${with_libintl_prefix+set}" = set; then
  withval="$with_libintl_prefix"

    if test "X$withval" = "Xno"; then
      use_additional=no
    else
      if test "X$withval" = "X"; then

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"

          eval additional_includedir=
          eval additional_libdir=

  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

      else
        additional_includedir="$withval/include"
        additional_libdir="$withval/lib"
      fi
    fi

fi;
      LIBINTL=
  LTLIBINTL=
  INCINTL=
  rpathdirs=
  ltrpathdirs=
  names_already_handled=
  names_next_round='intl '
  while test -n "$names_next_round"; do
    names_this_round="$names_next_round"
    names_next_round=
    for name in $names_this_round; do
      already_handled=
      for n in $names_already_handled; do

}$value"
            eval value=
            test  -z  "$value" || LTLIBINTL="${LTLIBINTL}${LTLIB-
INTL:+ }$value"
          else
                                    :
          fi
        else
                              found_dir=
          found_la=
          found_so=
          found_a=
          if test $use_additional = yes; then
            if test -n "$shlibext" && test  -f  "$additional_lib-
dir/lib$name.$shlibext"; then
              found_dir="$additional_libdir"
              found_so="$additional_libdir/lib$name.$shlibext"
              if test -f "$additional_libdir/lib$name.la"; then
                found_la="$additional_libdir/lib$name.la"
              fi
            else
              if  test  -f "$additional_libdir/lib$name.$libext";
then
                found_dir="$additional_libdir"
                found_a="$additional_libdir/lib$name.$libext"
                if test -f "$additional_libdir/lib$name.la"; then
                  found_la="$additional_libdir/lib$name.la"
                fi
              fi
            fi
          fi
          if test "X$found_dir" = "X"; then
            for x in $LDFLAGS $LTLIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

              case "$x" in
                -L*)
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
                  if    test    -n   "$shlibext"   &&   test   -f
"$dir/lib$name.$shlibext"; then
                    found_dir="$dir"
                    found_so="$dir/lib$name.$shlibext"
                    if test -f "$dir/lib$name.la"; then
                      found_la="$dir/lib$name.la"
                    fi

            done
          fi
          if test "X$found_dir" != "X"; then
                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+
}-L$found_dir -l$name"
            if test "X$found_so" != "X"; then
                                                        if   test
"$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
                                LIBINTL="${LIBINTL}${LIBINTL:+
}$found_so"
              else
                                                                                haveit=
                for x in $ltrpathdirs; do
                  if test "X$x" = "X$found_dir"; then
                    haveit=yes
                    break
                  fi
                done
                if test -z "$haveit"; then
                  ltrpathdirs="$ltrpathdirs $found_dir"
                fi
                                if test "$hardcode_direct" = yes;
then
                                                      LIB-
INTL="${LIBINTL}${LIBINTL:+ }$found_so"
                else
                  if test -n "$hardcode_libdir_flag_spec" && test
"$hardcode_minus_L" = no; then
                                                            LIB-
INTL="${LIBINTL}${LIBINTL:+ }$found_so"
                                                            haveit=
                    for x in $rpathdirs; do
                      if test "X$x" = "X$found_dir"; then
                        haveit=yes
                        break
                      fi
                    done
                    if test -z "$haveit"; then
                      rpathdirs="$rpathdirs $found_dir"
                    fi
                  else
                                                                                haveit=
                    for x in $LDFLAGS $LIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

BINTL="${LIBINTL}${LIBINTL:+ }-l$name"
                    fi
                  fi
                fi
              fi
            else
              if test "X$found_a" != "X"; then
                                LIBINTL="${LIBINTL}${LIBINTL:+
}$found_a"
              else
                                                LIBINTL="${LIB-
INTL}${LIBINTL:+ }-L$found_dir -l$name"
              fi
            fi
                        additional_includedir=
            case "$found_dir" in
              */lib | */lib/)
                basedir=`echo  "X$found_dir" | sed -e 's,^X,,' -e
's,/lib/*$,,'`
                additional_includedir="$basedir/include"
                ;;
            esac
            if test "X$additional_includedir" != "X"; then
                                                                                                                if
test "X$additional_includedir" != "X/usr/include"; then
                haveit=
                if  test  "X$additional_includedir"  = "X/usr/lo-
cal/include"; then
                  if test -n "$GCC"; then
                    case $host_os in
                      linux*) haveit=yes;;
                    esac
                  fi
                fi
                if test -z "$haveit"; then
                  for x in $CPPFLAGS $INCINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                    if test "X$x" =  "X-I$additional_includedir";
then
                      haveit=yes
                      break
                    fi
                  done
                  if test -z "$haveit"; then

              esac
              libdir="$save_libdir"
                            for dep in $dependency_libs; do
                case "$dep" in
                  -L*)
                    additional_libdir=`echo   "X$dep"  |  sed  -e
's/^X-L//'`
                                                                                                                                                                if
test "X$additional_libdir" != "X/usr/lib"; then
                      haveit=
                      if  test "X$additional_libdir" = "X/usr/lo-
cal/lib"; then
                        if test -n "$GCC"; then
                          case $host_os in
                            linux*) haveit=yes;;
                          esac
                        fi
                      fi
                      if test -z "$haveit"; then
                        haveit=
                        for x in $LDFLAGS $LIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"

                          if test  "X$x"  =  "X-L$additional_lib-
dir"; then
                            haveit=yes
                            break
                          fi
                        done
                        if test -z "$haveit"; then
                          if test -d "$additional_libdir"; then
                                                        LIB-
INTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
                          fi
                        fi
                        haveit=
                        for x in $LDFLAGS $LTLIBINTL; do

  acl_save_prefix="$prefix"
  prefix="$acl_final_prefix"
  acl_save_exec_prefix="$exec_prefix"
  exec_prefix="$acl_final_exec_prefix"
  eval x=
  exec_prefix="$acl_save_exec_prefix"
  prefix="$acl_save_prefix"
                    fi
                    ;;
                  -R*)
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
                    if test "$enable_rpath" != no; then
                                                                  haveit=
                      for x in $rpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        rpathdirs="$rpathdirs $dir"
                      fi
                                                                  haveit=
                      for x in $ltrpathdirs; do
                        if test "X$x" = "X$dir"; then
                          haveit=yes
                          break
                        fi
                      done
                      if test -z "$haveit"; then
                        ltrpathdirs="$ltrpathdirs $dir"
                      fi
                    fi
                    ;;
                  -l*)
                                        names_next_round="$names_next_round
"`echo "X$dep" | sed -e 's/^X-l//'`
                    ;;
                  *.la)
                                                                                names_next_round="$names_next_round
"`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,.la$,,'`
                    ;;
                  *)
                                        LIBINTL="${LIBINTL}${LIB-
INTL:+ }$dep"
                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
                    ;;
                esac
              done
            fi
          else
                                                            LIB-
INTL="${LIBINTL}${LIBINTL:+ }-l$name"
            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
          fi
        fi
      fi
    done
  done
        acl_save_libdir="$libdir"
        libdir="$found_dir"
        eval flag=
        libdir="$acl_save_libdir"
        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
      done
    fi
  fi
  if test "X$ltrpathdirs" != "X"; then
            for found_dir in $ltrpathdirs; do
      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
    done
  fi

          echo  "$as_me:$LINENO: checking for GNU gettext in lib-
intl" >&5 echo $ECHO_N "checking for GNU  gettext  in  libintl...
$ECHO_C"  >&6  if  test "${gt_cv_func_gnugettext1_libintl+set}" =
set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  gt_save_CPPFLAGS="$CPPFLAGS"
            CPPFLAGS="$CPPFLAGS $INCINTL"
            gt_save_LIBS="$LIBS"
            LIBS="$LIBS $LIBINTL"
                        cat  >conftest.$ac_ext   <<_ACEOF   #line
$LINENO  "configure"  #include  "confdefs.h" #include <libintl.h>
extern int _nl_msg_cat_cntr; extern #ifdef __cplusplus "C" #endif
const  char  *_nl_expand_alias (); #ifdef F77_DUMMY_MAIN #  ifdef
__cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return 1; } #endif int main () {  bind-
textdomain ("", ""); return (int) gettext ("") + _nl_msg_cat_cntr
+ *_nl_expand_alias (0)
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  gt_cv_func_gnugettext1_libintl=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
gt_cv_func_gnugettext1_libintl=no fi  rm  -f  conftest.$ac_objext
conftest$ac_exeext conftest.$ac_ext
                        if test "$gt_cv_func_gnugettext1_libintl"
!= yes && test -n "$LIBICONV"; then
              LIBS="$LIBS $LIBICONV"

  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  LIBINTL="$LIBINTL $LIBICONV"
                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
                gt_cv_func_gnugettext1_libintl=yes

else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
fi rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
            fi
            CPPFLAGS="$gt_save_CPPFLAGS"
            LIBS="$gt_save_LIBS" fi echo "$as_me:$LINENO: result:
$gt_cv_func_gnugettext1_libintl"             >&5             echo
"${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
        fi

                                        if                   test
"$gt_cv_func_gnugettext1_libc"  =  "yes"             ||  {   test
"$gt_cv_func_gnugettext1_libintl" = "yes"                 && test
"$PACKAGE" != gettext-runtime                 && test  "$PACKAGE"
!= gettext-tools; }; then
          gt_use_preinstalled_gnugettext=yes
        else
                    LIBINTL=
          LTLIBINTL=
          INCINTL=
        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
  if test "$USE_NLS" = "yes"; then

    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
      if test "$gt_cv_func_gnugettext1_libintl" = "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=
  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"




FLAGS=-L/usr/local/lib'  See ABOUT-NLS.LPRng in the LPRng distri-
bution for details.  " >&2;}
   { (exit 1); exit 1; }; } fi echo "$as_me:$LINENO: result: LIBS
$LIBS,  INTLLIBS  $INTLLIBS" >&5 echo "${ECHO_T}LIBS $LIBS, INTL-
LIBS $INTLLIBS" >&6


echo "$as_me:$LINENO: checking use tcp wrappers" >&5 echo $ECHO_N
"checking  use tcp wrappers... $ECHO_C" >&6 # Check whether --en-
able-tcpwrappers or --disable-tcpwrappers  was  given.   if  test
"${enable_tcpwrappers+set}" = set; then
  enableval="$enable_tcpwrappers"

if test "$enableval" = "yes" ; then
 v=yes

for   ac_header  in  tcpd.h  do  as_ac_Header=`echo  "ac_cv_head-
er_$ac_header" | $as_tr_sh` if eval "test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo  $ECHO_N  "(cached)  $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  #  Is  the  header  compilable?  echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking  $ac_header  us-
ability...  $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF #line
$LINENO "configure"  #include  "confdefs.h"  $ac_includes_default
@%:@include  <$ac_header>  _ACEOF  rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no   fi   rm   -f   conftest.$ac_objext   con-
ftest.$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  pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  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_compil-
er:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by  the
compiler,  rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by  the  pre-
processor!" >&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;};;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING:  $ac_header:  present
but cannot be compiled" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding  with  the  preprocessor's  result"  >&2;};; esac echo
"$as_me:$LINENO:  checking  for  $ac_header"  >&5  echo   $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  eval       "$as_ac_Header=$ac_header_preproc"      fi      echo
"$as_me:$LINENO: result: `eval  echo  '${'$as_ac_Header'}'`"  >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat  >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF

cat >>confdefs.h <<_ACEOF @%:@define HAVE_TCPD_H 1 _ACEOF

else
  { { echo "$as_me:$LINENO: error: tcpd.h  not  found"  >&5  echo
"$as_me: error: tcpd.h not found" >&2;}
   { (exit 1); exit 1; }; };
   v=no;


fi

done

 echo  "$as_me:$LINENO:  checking for request_init in -lwrap" >&5
echo $ECHO_N "checking for request_init in -lwrap... $ECHO_C" >&6
if test "${ac_cv_lib_wrap_request_init+set}" = set; then
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_lib_wrap_request_init=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_lib_wrap_request_init=no  fi rm -f conftest.$ac_objext con-
ftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS  fi
echo  "$as_me:$LINENO:  result: $ac_cv_lib_wrap_request_init" >&5
echo   "${ECHO_T}$ac_cv_lib_wrap_request_init"   >&6   if    test
$ac_cv_lib_wrap_request_init = yes; then
  LIBS="-lwrap $LIBS" else
  {  {  echo  "$as_me:$LINENO:  error:  request_init not found in
-wrap library" >&5 echo "$as_me: error: request_init not found in
-wrap library" >&2;}
   { (exit 1); exit 1; }; };
   v=no;


fi

else
 v=no; fi

else

 v=no;


fi;

if  test  "$v"  = "yes" ; then          cat >>confdefs.h <<_ACEOF
@%:@define TCPWRAPPERS 1 _ACEOF

fi echo "$as_me:$LINENO: result: $v" >&5 echo "${ECHO_T}$v"  >&6;
echo "$as_me:$LINENO: checking if ssl authentication is disabled"
>&5 echo $ECHO_N "checking if ssl authentication  is  disabled...
$ECHO_C"  >&6  #  Check whether --enable-ssl or --disable-ssl was
given.  if test "${enable_ssl+set}" = set; then
  enableval="$enable_ssl"

if test "$enableval" = "yes" ; then          v=enabled;   SSL_EN-
ABLE=1; else         v=disabled; SSL_ENABLE=; fi

else
  withval="$with_openssl"

                ac_openssl_lib_dir="$withval/lib        $withval"
                ac_openssl_inc_dir="$withval/include    $withval"
                  fi;

         # Check whether --with-openssl-inc or --without-openssl-
inc was given.  if test "${with_openssl_inc+set}" = set; then
  withval="$with_openssl_inc"
  ac_openssl_inc_dir=$withval            fi;            #   Check
whether  --with-openssl-lib  or  --without-openssl-lib was given.
if test "${with_openssl_lib+set}" = set; then
  withval="$with_openssl_lib"
  ac_openssl_lib_dir=$withval          fi;

        ac_found_openssl_inc_dir="no"                        echo
"$as_me:$LINENO:  checking  for  OpenSSL  include files" >&5 echo
$ECHO_N "checking  for  OpenSSL  include  files...  $ECHO_C"  >&6
        for  dir  in  $ac_openssl_inc_dir;  do                 if
test     -f     $dir/openssl/ssl.h;     then
ac_found_openssl_inc_dir=$dir                               break
                fi
        done         if test "$ac_found_openssl_inc_dir" != "no";
then                   echo  "found in $ac_found_openssl_inc_dir"
        else                       echo       "not        found."
                SSL_ENABLE=""         fi fi

if        test        "$SSL_ENABLE"       !=       "";       then
        ac_found_openssl_lib_dir="no"                        echo
"$as_me:$LINENO: checking for OpenSSL libraries" >&5 echo $ECHO_N
"checking for OpenSSL libraries... $ECHO_C" >&6          for  dir
in   $ac_openssl_lib_dir;   do                  found_ssl="false"
                if test -f $dir/libssl.a -a -f  $dir/libcrypto.a;
then                        found_ssl="true"                   fi
                if test -f  $dir/libssl.so  -a  -f  $dir/libcryp-
to.so; then                   found_ssl="true"                 fi
                if     $found_ssl      !=      "false";      then
                                                save_LIBS=$LIBS
                save_LDFLAGS=$LDFLAGS                 LIBS="-lssl
-lcrypto   $LIBS"                   LDFLAGS="$LDFLAGS   -L$dir  "
                cat  >conftest.$ac_ext  <<_ACEOF  #line   $LINENO
"configure" #include "confdefs.h"

/*  Override  any  gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus extern "C" #endif /* We use char  because  int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char SSL_load_error_strings (); #ifdef  F77_DUMMY_MAIN  #   ifdef
__cplusplus
     extern "C" #  endif
   int  F77_DUMMY_MAIN()  {  return  1;  }  #endif  int main () {
SSL_load_error_strings ();
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_linked_libssl="false"  fi  rm  -f   conftest.$ac_objext   con-
ftest$ac_exeext   conftest.$ac_ext;                   cat   >con-
ftest.$ac_ext  <<_ACEOF  #line   $LINENO   "configure"   #include
"confdefs.h"

/*  Override  any  gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus extern "C" #endif /* We use char  because  int
might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char RC4_set_key (); #ifdef F77_DUMMY_MAIN #  ifdef __cplusplus
     extern "C" #  endif
   int F77_DUMMY_MAIN() { return  1;  }  #endif  int  main  ()  {
RC4_set_key ();
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext
if { (eval echo "$as_me:$LINENO:
  (eval $ac_link) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest$ac_exeext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_linked_libcrypto="true" else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_linked_libcrypto="false"  fi  rm  -f  conftest.$ac_objext con-
ftest$ac_exeext   conftest.$ac_ext;                    if    test
"$ac_linked_libssl"            !=            "false"           -a
                       "$ac_linked_libcrypto"  !=  "false";  then
                                ac_found_openssl_lib_dir=$dir
                                break                          fi
                LIBS=$save_LIBS                 LDFLAGS=$save_LD-
FLAGS                    fi            done            if    test
"$ac_found_openssl_lib_dir"  !=  "no";  then                 echo
"found               in                $ac_found_openssl_lib_dir"
                CPPFLAGS="$CPPFLAGS -I$ac_found_openssl_inc_dir "
;             else                     echo     "not      found."
                SSL_ENABLE=""         fi fi

test  "$SSL_ENABLE" != "" && cat >>confdefs.h <<_ACEOF @%:@define
SSL_ENABLE 1 _ACEOF



echo "$as_me:$LINENO: checking  ssl  Certificate  Authority  CERT
file"  >&5  echo $ECHO_N "checking ssl Certificate Authority CERT
file... $ECHO_C" >&6

given.  if test "${with_ssl_ca_key+set}" = set; then
  withval="$with_ssl_ca_key"
  SSL_CA_KEY=$withval else
  SSL_CA_KEY=sysconfdir}/${CONFIG_SUBDIR}/ssl.ca/ca.key fi;  echo
"$as_me:$LINENO:      result:      $SSL_CA_KEY"      >&5     echo
"${ECHO_T}$SSL_CA_KEY" >&6


echo "$as_me:$LINENO: checking ssl  Certificate  Authority  certs
working directory" >&5 echo $ECHO_N "checking ssl Certificate Au-
thority certs working directory... $ECHO_C" >&6

# Check whether --with-ssl_certs_dir  or  --without-ssl_certs_dir
was given.  if test "${with_ssl_certs_dir+set}" = set; then
  withval="$with_ssl_certs_dir"
  SSL_CERTS_DIR=$withval else
  SSL_CERTS_DIR=sysconfdir}/${CONFIG_SUBDIR}/ssl.certs  fi;  echo
"$as_me:$LINENO:     result:     $SSL_CERTS_DIR"     >&5     echo
"${ECHO_T}$SSL_CERTS_DIR" >&6


echo  "$as_me:$LINENO:  checking  ssl Certificate Revocation List
(CRL) file" >&5 echo $ECHO_N "checking ssl Certificate Revocation
List (CRL) file... $ECHO_C" >&6

# Check whether --with-ssl_crl_file or --without-ssl_crl_file was
given.  if test "${with_ssl_crl_file+set}" = set; then
  withval="$with_ssl_crl_file"
  SSL_CRL_FILE=$withval else
  SSL_CRL_FILE=sysconfdir}/${CONFIG_SUBDIR}/ssl.crl/ssl.crl   fi;
echo    "$as_me:$LINENO:    result:   $SSL_CRL_FILE"   >&5   echo
"${ECHO_T}$SSL_CRL_FILE" >&6


echo "$as_me:$LINENO: checking ssl server certificate  file"  >&5
echo  $ECHO_N  "checking  ssl server certificate file... $ECHO_C"
>&6

# Check  whether  --with-ssl_server_cert  or  --without-ssl_serv-
er_cert  was given.  if test "${with_ssl_server_cert+set}" = set;
then
  withval="$with_ssl_server_cert"
  SSL_SERVER_CERT=$withval else
  SSL_SERVER_CERT=sysconfdir}/${CONFIG_SUBDIR}/ssl.server/serv-
er.crt  fi;  echo  "$as_me:$LINENO: result: $SSL_SERVER_CERT" >&5
echo "${ECHO_T}$SSL_SERVER_CERT" >&6


echo "$as_me:$LINENO: checking ssl server password file for  pri-
vate  key  file"  >&5  echo $ECHO_N "checking ssl server password
file for private key file... $ECHO_C" >&6

        if     test      -d      /usr/kerberos/include;      then
                CPPFLAGS="$CPPFLAGS      -I/usr/kerberos/include"
        fi           if   test   -d    /usr/kerberos/lib;    then
                LDFLAGS="-L/usr/kerberos/lib $LDFLAGS"         fi
                found=            for  ac_header  in  krb5.h   do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval
"test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo  $ECHO_N  "(cached)  $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  #  Is  the  header  compilable?  echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking  $ac_header  us-
ability...  $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF #line
$LINENO "configure"  #include  "confdefs.h"  $ac_includes_default
@%:@include  <$ac_header>  _ACEOF  rm -f conftest.$ac_objext if {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no   fi   rm   -f   conftest.$ac_objext   con-
ftest.$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  pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
    {  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;};;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING:  $ac_header:  present
but cannot be compiled" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding  with  the  preprocessor's  result"  >&2;};; esac echo
"$as_me:$LINENO:  checking  for  $ac_header"  >&5  echo   $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  eval       "$as_ac_Header=$ac_header_preproc"      fi      echo
"$as_me:$LINENO: result: `eval  echo  '${'$as_ac_Header'}'`"  >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat  >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1 _ACEOF
 found=yes fi

done

    if test "$found" != "yes" ; then                   {  {  echo
"$as_me:$LINENO: error: Kerberos 5 support wanted and cannot find
krb5.h include file use  configure  --disable-kerberos-checks  or
check your Kerberos 5 installation If you have installed kerberos
in /usr/local/{lib,include} then use configure  --enable-kerberos
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib " >&5 echo
"$as_me: error: Kerberos 5 support wanted and cannot find  krb5.h
include  file  use  configure  --disable-kerberos-checks or check
your Kerberos 5 installation If you have  installed  kerberos  in
/usr/local/{lib,include}  then  use  configure  --enable-kerberos
CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib " >&2;}
   { (exit 1); exit 1; }; }         fi         if test "$MIT_KER-
BEROS4"  !=  ""  ; then                 found=                 if
test  "$found"  !=  "yes"  ;  then                            for
ac_header  in krb.h do as_ac_Header=`echo "ac_cv_header_$ac_head-
er" | $as_tr_sh` if eval "test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo  $ECHO_N  "(cached)  $ECHO_C" >&6 fi echo "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  #  Is  the  header  compilable?  echo "$as_me:$LINENO: checking
$ac_header usability" >&5 echo $ECHO_N "checking  $ac_header  us-
ability...  $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF #line
$LINENO "configure"  #include  "confdefs.h"  $ac_includes_default
ac_header_compiler=no   fi   rm   -f   conftest.$ac_objext   con-
ftest.$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  pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes else
  echo "$as_me: failed program was:" >&5
  cat 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_compil-
er:$ac_header_preproc in
  yes:no )
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by  the
compiler,  rejected by the preprocessor!" >&5 echo "$as_me: WARN-
ING: $ac_header: accepted by the compiler, rejected by  the  pre-
processor!" >&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;};;
  no:yes )
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but can-
not be compiled" >&5 echo "$as_me: WARNING:  $ac_header:  present
but cannot be compiled" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: check for miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
    {  echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding  with  the  preprocessor's  result"  >&2;};; esac echo
"$as_me:$LINENO:  checking  for  $ac_header"  >&5  echo   $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else

eval "test
  echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6  fi  echo  "$as_me:$LINENO:
result:    `eval    echo    '${'$as_ac_Header'}'`"    >&5    echo
"${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else
  # Is the header  compilable?   echo  "$as_me:$LINENO:  checking
$ac_header  usability"  >&5 echo $ECHO_N "checking $ac_header us-
ability... $ECHO_C"  >&6  cat  >conftest.$ac_ext  <<_ACEOF  #line
$LINENO  "configure"  #include  "confdefs.h" $ac_includes_default
@%:@include <$ac_header> _ACEOF rm -f  conftest.$ac_objext  if  {
(eval echo "$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_header_compiler=yes else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_header_compiler=no   fi   rm   -f   conftest.$ac_objext   con-
ftest.$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 pres-
ence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF #line $LINENO
"configure" #include "confdefs.h" @%:@include <$ac_header> _ACEOF
if { (eval echo "$as_me:$LINENO:
  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
  ac_status=$?
  egrep -v '^ *+' conftest.er1 >conftest.err
  rm -f conftest.er1
  cat conftest.err >&5
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } >/dev/null; then
  if test -s conftest.err; then
    ac_cpp_err=$ac_c_preproc_warn_flag
  else
    ac_cpp_err=
  fi else
  ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then
  ac_header_preproc=yes else
  echo "$as_me: failed program was:" >&5
  cat 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
but cannot be compiled" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: check for  miss-
ing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header:
check for missing prerequisite headers?" >&2;}
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding  with
the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header:
proceeding with the  preprocessor's  result"  >&2;};;  esac  echo
"$as_me:$LINENO:   checking  for  $ac_header"  >&5  echo  $ECHO_N
"checking for $ac_header... $ECHO_C" >&6 if eval "test
  echo $ECHO_N "(cached) $ECHO_C" >&6 else
  eval      "$as_ac_Header=$ac_header_preproc"      fi       echo
"$as_me:$LINENO:  result:  `eval  echo '${'$as_ac_Header'}'`" >&5
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6

fi if test `eval echo '${'$as_ac_Header'}'` = yes; then
  cat >>confdefs.h <<_ACEOF @%:@define `echo "HAVE_$ac_header"  |
$as_tr_cpp` 1 _ACEOF
 found=yes fi

done

                fi                  if  test  "$found" != "yes" ;
then                   { { echo "$as_me:$LINENO: error: MIT  Ker-
beros 4 support wanted and cannot find krb.h or kerberosIV/krb.h"
>&5 echo "$as_me: error: MIT Kerberos 4 support wanted and cannot
find krb.h or kerberosIV/krb.h" >&2;}
   { (exit 1); exit 1; }; }                 fi         fi

        if     test     "$KERBEROS_CHECKS"    =    1    ;    then
                                cat  >conftest.$ac_ext   <<_ACEOF
#line $LINENO "configure" #include "confdefs.h"

                #include    <stdio.h>                    #include
krb_sendauth(1));
  ;
  return 0; } _ACEOF rm -f conftest.$ac_objext if  {  (eval  echo
"$as_me:$LINENO:
  (eval $ac_compile) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); } &&
         { ac_try='test -s conftest.$ac_objext'
  { (eval echo "$as_me:$LINENO:
  (eval $ac_try) 2>&5
  ac_status=$?
  echo "$as_me:$LINENO:  = $ac_status" >&5
  (exit $ac_status); }; }; then
  ac_cv_decl_krb_sendauth_def=no else
  echo "$as_me: failed program was:" >&5 cat conftest.$ac_ext >&5
ac_cv_decl_krb_sendauth_def=yes fi rm -f conftest.$ac_objext con-
ftest.$ac_ext              fi   echo   "$as_me:$LINENO:   result:
$ac_cv_decl_krb_sendauth_def"   >&5   echo   "${ECHO_T}$ac_cv_de-
cl_krb_sendauth_def"     >&6            if    test    "$ac_cv_de-
cl_krb_sendauth_def"   =   yes;   then                        cat
>>confdefs.h <<_ACEOF @%:@define HAVE_KRB_AUTH_DEF 1 _ACEOF

        fi

fi;

UTILS/makeinc UTILS/read_conf UTILS/remote_active UTILS/test_read
UTILS/update_z.pl lpd.perms man/Makefile src/Makefile src/pclban-
ner  src/psbanner  po/Makefile.in"   ac_config_commands="$ac_con-
fig_commands  default"  cat  >confcache <<_ACEOF # This file is a
shell script that caches the results of configure # tests run  on
this system so they can be shared between configure # scripts and
configure runs, see configure's option --config-cache.  #  It  is
not  useful on other systems.  If it contains results you don't #
want to keep, you may remove or edit it.  # # config.status  only
pays  attention  to the cache file if you give it # the --recheck
option to rerun configure.  # # `ac_cv_env_foo' variables (set or
unset)  will be overriden when # loading this file, other *unset*
`ac_cv_foo' will be assigned the # following values.

_ACEOF

# The following way of writing the cache mishandles  newlines  in
values,  # but we know of no workaround that is simple, portable,
and efficient.  # So, don't put newlines in cache variables' val-
ues.   #  Ultrix  sh set writes to stderr and can't be redirected
directly, # and sets the high bit in the cache file unless we as-
sign to the vars.  {
  (set) 2>&1 |
    case `(ac_space=' '; set | grep ac_space) 2>&1` in
    *ac_space= *)
      #  `set'  does  not quote correctly, so add quotes (double-
quote
      # substitution turns \\ into \, and sed turns \ into .
      sed -n         "s/'/'\\''/g;
                            s/^\([_$as_cr_alnum]*_cv_[_$as_cr_al-
num]*\)=\(.*\)/\1='\2'/p"
      ;;
    *)
      #  `set'  quotes  correctly as required by POSIX, so do not
add quotes.
      sed    -n            "s/^\([_$as_cr_alnum]*_cv_[_$as_cr_al-
num]*\)=\(.*\)/\1=\2/p"
      ;;
    esac; } |
  sed '
     t clear
     : clear
     s/^=]*=[{}].*$/test "${1+set}" = set || &/
     t end
     /^ac_cv_env/!s/^=]*=$/1=${1=2}/
     :  end' >>confcache if cmp -s $cache_file confcache; then :;
else
  if test -w $cache_file; then
    test "x$cache_file" != "x/dev/null" && echo  "updating  cache
$cache_file"
    cat confcache >$cache_file
  else

s/:*$//; s/^[^=]*=[      ]*$//; }' fi

DEFS=-DHAVE_CONFIG_H


:                                ${CONFIG_STATUS=./config.status}
ac_clean_files_save=$ac_clean_files
ac_clean_files="$ac_clean_files     $CONFIG_STATUS"     {    echo
"$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me:  cre-
ating  $CONFIG_STATUS"  >&6;}  cat  >$CONFIG_STATUS  <<_ACEOF  #!
$SHELL # Generated by $as_me.  # Run this file  to  recreate  the
current  configuration.  # Compiler output produced by configure,
useful for debugging # configure, is in config.log if it  exists.

debug=false SHELL=CONFIG_SHELL-$SHELL} _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF

##  ---------------------  ##  ##  M4sh  Initialization.   ##  ##
--------------------- ##

# Be Bourne compatible if test -n "${ZSH_VERSION+set}"  &&  (emu-
late sh) >/dev/null 2>&1; then
  emulate sh
  NULLCMD=:  elif test -n "${BASH_VERSION+set}" && (set -o posix)
>/dev/null 2>&1; then
  set -o posix fi

# NLS nuisances.  # Support unset when  possible.   if  (FOO=FOO;
unset FOO) >/dev/null 2>&1; then
  as_unset=unset else
  as_unset=false fi

(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
    { $as_unset LANG || test "${LANG+set}" != set; } ||
      {  LANG=C; export LANG; } (set +x; test -n "`(LC_ALL=C; ex-
port LC_ALL) 2>&1`") &&
    { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
      { LC_ALL=C; export LC_ALL; } (set +x; test -n "`(LC_TIME=C;
export LC_TIME) 2>&1`") &&
    { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
      {   LC_TIME=C;   export   LC_TIME;   }  (set  +x;  test  -n
"`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
    { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
      { LC_CTYPE=C; export LC_CTYPE; } (set +x; test  -n  "`(LAN-
GUAGE=C; export LANGUAGE) 2>&1`") &&
    { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
      {   LANGUAGE=C;   export  LANGUAGE;  }  (set  +x;  test  -n
"`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
    { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set;  }
||
      {  LC_COLLATE=C;  export  LC_COLLATE;  }  (set  +x; test -n
          /^X$/{ s//1/; q; }
          /^X.*/{ s//1/; q; }
          s/.*/./; q'`

# PATH needs CR, and LINENO needs CR and PATH.  # Avoid depending
upon  Character  Ranges.    as_cr_letters='abcdefghijklmnopqrstu-
vwxyz'    as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'   as_cr_Let-
ters=$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" >conftest.sh
  echo  "exit 0"   >>conftest.sh
  chmod +x conftest.sh
  if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  rm -f conftest.sh fi


  as_lineno_1=$LINENO
  as_lineno_2=$LINENO
  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
  test "x$as_lineno_1" != "x$as_lineno_2" &&
  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
  # Find who we are.  Look in the path if we contain no  path  at
all
  # relative or not.
  case $0 in
    *[\/]* ) as_myself=$0 ;;
    *)  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH
do
  IFS=$as_save_IFS
  test -z "$as_dir" && as_dir=.
  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done

       ;;
  esac
  # We did not find ourselves, most probably we were run  as  `sh
COMMAND'
  # in which case we are not to be found in the path.
  if test "x$as_myself" = x; then
    as_myself=$0
  fi
  if test ! -f "$as_myself"; then
    {  {  echo  "$as_me:$LINENO: error: cannot find myself; rerun
with an absolute path" >&5 echo "$as_me: error: cannot  find  my-
self; rerun with an absolute path" >&2;}
   { (exit 1); exit 1; }; }
              CONFIG_SHELL=$as_dir/$as_base                export
CONFIG_SHELL                exec  "$CONFIG_SHELL"  "$0" ${1+"$@"}
           fi;;          esac
       done done ;;
  esac

  # Create $as_me.lineno  as  a  copy  of  $as_myself,  but  with
$LINENO
  #  uniformly  replaced by the line number.  The first 'sed' in-
serts a
  # line-number line before each line; the second 'sed' does  the
real
  #  work.   The  second script uses 'N' to pair each line-number
line
  # with the numbered line, and appends trailing '-' during
  # substitution so that $LINENO is not a special  case  at  line
end.
  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  # second 'sed' script.  Blame Lee E. McMahon for sed's  syntax.
:-)
  sed '=' <$as_myself |
    sed '
      N
      s,$,-,
      : loop
      s,^$as_cr_digits']*[$]LINENO'$as_cr_alnum'_],1213,
      t loop
      s,-$,,
      s,^['$as_cr_digits']*0,
    ' >$as_me.lineno &&
  chmod +x $as_me.lineno ||
    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno;
rerun with a POSIX shell" >&5 echo "$as_me: error: cannot  create
$as_me.lineno; rerun with a POSIX shell" >&2;}
   { (exit 1); exit 1; }; }

  #  Don't  try  to  exec as it changes $[0], causing all sort of
problems
  # (the dirname of $[0] is not the place where we might find the
  #  original  and  so  on.   Autoconf  is especially sensible to
this).
  . ./$as_me.lineno
  # Exit status is that of the last command.
  exit }


case `echo "testing  *c*,-n*) ECHO_N= ECHO_C='
  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
  *)       ECHO_N= ECHO_C='esac

if expr a : '' >/dev/null 2>&1; then
  as_expr=expr else
  as_ln_s=ln else
  as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file

as_executable_p="test -f"

#  Sed  expression  to  map  a  string  onto  a  valid  CPP name.
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_al-
num]%_%g"

#  Sed  expression  to  map  a string onto a valid variable name.
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"


# IFS # We need space, tab and new line, in precisely that order.
as_nl=' IFS="   $as_nl"

#  CDPATH.   $as_unset CDPATH || test "${CDPATH+set}" != set || {
CDPATH=$PATH_SEPARATOR; export CDPATH; }

exec 6>&1

# Open the log real soon, to keep  and so on meaningful, and to #
report  actual input values of CONFIG_FILES etc. instead of their
# values after options handling.  Logging --version etc.  is  OK.
exec 5>>config.log {
  echo
  sed   'h;s/./-/g;s/^.../@%:@@%:@  /;s/...$/  @%:@@%:@/;p;x;p;x'
<<_ASBOX @%:@@%:@ Running $as_me. @%:@@%:@ _ASBOX } >&5  cat  >&5
<<_CSEOF

This  file was extended by $as_me, which was generated by GNU Au-
toconf 2.53.  Invocation command line was

  CONFIG_FILES    = $CONFIG_FILES
  CONFIG_HEADERS  = $CONFIG_HEADERS
  CONFIG_LINKS    = $CONFIG_LINKS
  CONFIG_COMMANDS = $CONFIG_COMMANDS
  $ $0 $@

_CSEOF echo "on `(hostname || uname -n) 2>/dev/null  |  sed  1q`"
>&5 echo >&5 _ACEOF

#  Files  that  config.status was made for.  if test -n "$ac_con-
fig_files"; then
  echo "config_files= fi

if test -n "$ac_config_headers"; then
  echo "config_headers= fi

if test -n "$ac_config_links"; then
  echo "config_links= fi

conditions
  --file=FILE[:TEMPLATE]
                   instantiate the configuration file FILE
  --header=FILE[:TEMPLATE]
                   instantiate the configuration header FILE

Configuration files: $config_files

Configuration headers: $config_headers

Configuration commands: $config_commands

Report bugs to <bug-autoconf@gnu.org>."  _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\ config.status con-
figured by $0, generated by GNU Autoconf 2.53,
  with     options    \"`echo    "$ac_configure_args"    |    sed
's/[\""`/\\&/g'`\"

Copyright 1992, 1993, 1994, 1995, 1996, 1998,  1999,  2000,  2001
Free Software Foundation, Inc.  This config.status script is free
software; the Free Software Foundation gives unlimited permission
to copy, distribute and modify it."  srcdir=$srcdir INSTALL="$IN-
STALL" _ACEOF

cat >>$CONFIG_STATUS <<_ACEOF # If no file are specified  by  the
user,  then  we  need  to provide default # value.  By we need to
know if files were specified  by  the  user.   ac_need_defaults=:
while test $# != 0 do
  case $1 in
  --*=*)
    ac_option=`expr "x$1" : 'x=]*='`
    ac_optarg=`expr "x$1" : 'x[^=]*='`
    shift
    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
    shift
    ;;
  -*);;
  *)  # This is not an option, so the user has probably given ex-
plicit
     # arguments.
     ac_need_defaults=false;;
  esac

  case $1 in
  # Handling of the options.  _ACEOF cat >>$CONFIG_STATUS <<_ACE-
OF
  -recheck  |  --recheck  | --rechec | --reche | --rech | --rec |
--re | --r)
    echo "running $SHELL $0 "  $ac_configure_args  "  --no-create
--no-recursion"
    exec  $SHELL $0 $ac_configure_args --no-create --no-recursion
    shift
    CONFIG_FILES="$CONFIG_FILES $1"
    ac_need_defaults=false;;
  --header | --heade | --head | --hea )
    shift
    CONFIG_HEADERS="$CONFIG_HEADERS $1"
    ac_need_defaults=false;;

  # This is an error.
  -*) { { echo "$as_me:$LINENO: error:  unrecognized  option:  $1
Try  `$0  --help' for more information." >&5 echo "$as_me: error:
unrecognized option: $1 Try `$0 --help'  for  more  information."
>&2;}
   { (exit 1); exit 1; }; } ;;

  *) ac_config_targets="$ac_config_targets $1" ;;

  esac
  shift done

_ACEOF

cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section.  #

# Capture the value of obsolete ALL_LINGUAS because we need it to
compute
    # POFILES, UPDATEPOFILES, DUMMYPOFILES,  GMOFILES,  CATALOGS.
But hide it
    # from automake.
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
    #  Capture the value of LINGUAS because we need it to compute
CATALOGS.
    LINGUAS="${LINGUAS-%UNSET%}"


_ACEOF



cat >>$CONFIG_STATUS <<_ACEOF for  ac_config_target  in  $ac_con-
fig_targets do
  case "$ac_config_target" in
  # Handling of arguments.
  "po/Makefile.in"  ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in"
;;
  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  "DOCS/Makefile" ) CONFIG_FILES="$CONFIG_FILES DOCS/Makefile" ;;
  "TESTSUPPORT/Makefile"  )  CONFIG_FILES="$CONFIG_FILES TESTSUP-
PORT/Makefile" ;;
  "DISTRIBUTIONS/Makefile" ) CONFIG_FILES="$CONFIG_FILES  DISTRI-
BUTIONS/Makefile" ;;
  "UTILS/LPRng.pm"  ) CONFIG_FILES="$CONFIG_FILES UTILS/LPRng.pm"
  "UTILS/lpr_in_perl"        )        CONFIG_FILES="$CONFIG_FILES
UTILS/lpr_in_perl" ;;
  "UTILS/lprm_in_perl"        )       CONFIG_FILES="$CONFIG_FILES
UTILS/lprm_in_perl" ;;
  "UTILS/make_lpd_conf"       )       CONFIG_FILES="$CONFIG_FILES
UTILS/make_lpd_conf" ;;
  "UTILS/make_printcap_use"     )     CONFIG_FILES="$CONFIG_FILES
UTILS/make_printcap_use" ;;
  "UTILS/makeinc" ) CONFIG_FILES="$CONFIG_FILES UTILS/makeinc" ;;
  "UTILS/read_conf"         )         CONFIG_FILES="$CONFIG_FILES
UTILS/read_conf" ;;
  "UTILS/remote_active" )  CONFIG_FILES="$CONFIG_FILES  UTILS/re-
mote_active" ;;
  "UTILS/test_read"         )         CONFIG_FILES="$CONFIG_FILES
UTILS/test_read" ;;
  "UTILS/update_z.pl"  )  CONFIG_FILES="$CONFIG_FILES   UTILS/up-
date_z.pl" ;;
  "lpd.perms" ) CONFIG_FILES="$CONFIG_FILES lpd.perms" ;;
  "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
  "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
  "src/pclbanner" ) CONFIG_FILES="$CONFIG_FILES src/pclbanner" ;;
  "src/psbanner" ) CONFIG_FILES="$CONFIG_FILES src/psbanner" ;;
  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES  po/Makefile.in"
;;
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  *)  { { echo "$as_me:$LINENO: error: invalid argument: $ac_con-
fig_target" >&5 echo "$as_me: error: invalid  argument:  $ac_con-
fig_target" >&2;}
   { (exit 1); exit 1; }; };;
  esac done

#  If  the user did not use the arguments to specify the items to
instantiate, # then the envvar interface is used.  Set only those
that  are not.  # We use the long form for the default assignment
because of an  extremely  #  bizarre  bug  on  SunOS  4.1.3.   if
$ac_need_defaults; then
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  test  "${CONFIG_HEADERS+set}"  =  set  ||  CONFIG_HEADERS=$con-
fig_headers
  test "${CONFIG_COMMANDS+set}" =  set  ||  CONFIG_COMMANDS=$con-
fig_commands fi

#  Create  a temporary directory, and hook for its removal unless
debugging.  $debug || {
  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
  trap '{ (exit 1); exit 1; }' 1 2 13 15 }

# Create a  (secure)  tmp  directory  for  tmp  files.   :  ${TM-
PDIR=/tmp} {
  tmp=`(umask   077   &&   mktemp   -d   -q   "$TMPDIR/csXXXXXX")

# This happens for instance when ./config.status config.h if test
-n "ONFIG_FILES"; then
  #  Protect  against  being  on the right side of a sed subst in
config.status.
  sed 's/,@/@@/; s/@,/@@/; s/,;t t@;t t/; /@;t ts/[\\&,]/\\&/g;
   s/@@/,@/;  s/@@/@,/;  s/@;t  t,;t  t/'  >mp/subs.sed   <<\CEOF
s,@SHELL@,$SHELL,;t   t  s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t  t
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t  t   s,@PACKAGE_TARNAME@,$PACK-
AGE_TARNAME,;t    t   s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t   t
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t     t     s,@PACKAGE_BUGRE-
PORT@,$PACKAGE_BUGREPORT,;t  t  s,@exec_prefix@,$exec_prefix,;t t
s,@prefix@,$prefix,;t     t      s,@program_transform_name@,$pro-
gram_transform_name,;t       t       s,@bindir@,$bindir,;t      t
s,@sbindir@,$sbindir,;t   t    s,@libexecdir@,$libexecdir,;t    t
s,@datadir@,$datadir,;t    t    s,@sysconfdir@,$sysconfdir,;t   t
s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$local-
statedir,;t   t   s,@libdir@,$libdir,;t   t   s,@includedir@,$in-
cludedir,;t  t   s,@oldincludedir@,$oldincludedir,;t   t   s,@in-
fodir@,$infodir,;t        t        s,@mandir@,$mandir,;t        t
s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t
s,@target_alias@,$target_alias,;t     t    s,@DEFS@,$DEFS,;t    t
s,@ECHO_C@,$ECHO_C,;t       t       s,@ECHO_N@,$ECHO_N,;t       t
s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@build@,$build,;t t
s,@build_cpu@,$build_cpu,;t t s,@build_vendor@,$build_vendor,;t t
s,@build_os@,$build_os,;t       t       s,@host@,$host,;t       t
s,@host_cpu@,$host_cpu,;t  t  s,@host_vendor@,$host_vendor,;t   t
s,@host_os@,$host_os,;t   t   s,@target@,$target,;t   t   s,@tar-
get_cpu@,$target_cpu,;t t  s,@target_vendor@,$target_vendor,;t  t
s,@target_os@,$target_os,;t  t  s,@PACKAGE@,$PACKAGE,;t t s,@VER-
SION@,$VERSION,;t   t   s,@LOCALEDIR@,$LOCALEDIR,;t   t    s,@IN-
STALL@,$INSTALL,;t     t     s,@INSTALL_MAN@,$INSTALL_MAN,;t    t
s,@CPP@,$CPP,;t         t         s,@CFLAGS@,$CFLAGS,;t         t
s,@CPPFLAGS@,$CPPFLAGS,;t   t  s,@LDFLAGS@,$LDFLAGS,;t  t  s,@LD-
CC@,$LDCC,;t    t    s,@AWK@,$AWK,;t    t    s,@SED@,$SED,;t    t
s,@PERL@,$PERL,;t  t  s,@CHOWN@,$CHOWN,;t t s,@CHGRP@,$CHGRP,;t t
s,@PRUTIL@,$PRUTIL,;t      t      s,@OPENSSL@,$OPENSSL,;t       t
s,@PGP_PATH@,$PGP_PATH,;t t s,@UNIXSOCKETPATH@,$UNIXSOCKETPATH,;t
t  s,@CONFIG_SUBDIR@,$CONFIG_SUBDIR,;t  t  s,@PERMS@,$PERMS,;t  t
s,@PRIV_PORTS@,$PRIV_PORTS,;t    t   s,@REQUIRE_CONFIGFILES@,$RE-
QUIRE_CONFIGFILES,;t t  s,@KERBEROS@,$KERBEROS,;t  t  s,@MIT_KER-
BEROS4@,$MIT_KERBEROS4,;t     t     s,@LPD_DIR@,$LPD_DIR,;t     t
s,@LPD_CONF_PATH@,$LPD_CONF_PATH,;t                             t
s,@LPD_PERMS_PATH@,$LPD_PERMS_PATH,;t t s,@PRINTCAP_PATH@,$PRINT-
CAP_PATH,;t   t   s,@LPD_PRINTCAP_PATH@,$LPD_PRINTCAP_PATH,;t   t
s,@INIT@,$INIT,;t   t   s,@LOCKFILE@,$LOCKFILE,;t   t   s,@SD_DE-
FAULT@,$SD_DEFAULT,;t t s,@LD_LIBRARY_PATH@,$LD_LIBRARY_PATH,;t t
s,@FILTER_PATH@,$FILTER_PATH,;t    t    s,@USERID@,$USERID,;t   t
s,@GROUPID@,$GROUPID,;t    t    s,@DONE_JOBS@,$DONE_JOBS,;t     t
s,@DONE_JOBS_MAX_AGE@,$DONE_JOBS_MAX_AGE,;t  t s,@USER_OBJS@,$US-
ER_OBJS,;t t s,@CLEAR@,$CLEAR,;t  t  s,@PSHOWALL@,$PSHOWALL,;t  t
s,@FILTER_DIR@,$FILTER_DIR,;t t s,@STRIP_OPTION@,$STRIP_OPTION,;t
t   s,@OSNAME@,$OSNAME,;t   t    s,@OSVERSION@,$OSVERSION,;t    t
s,@SSL_CERTS_DIR@,$SSL_CERTS_DIR,;t                             t
s,@SSL_CRL_FILE@,$SSL_CRL_FILE,;t         t          s,@SSL_SERV-
ER_CERT@,$SSL_SERVER_CERT,;t         t        s,@SSL_SERVER_PASS-
WORD_FILE@,$SSL_SERVER_PASSWORD_FILE,;t t CEOF

_ACEOF

  cat >>$CONFIG_STATUS <<_ACEOF
  # Split the substitutions into bite-sized pieces for seds with
  # small command number limits, like on Digital OSF/1 and HP-UX.
  ac_max_sed_lines=48
  ac_sed_frag=1 # Number of current file.
  ac_beg=1 # First line for current file.
  ac_end=$ac_max_sed_lines  #  Line  after  last line for current
file.
  ac_more_lines=:
  ac_sed_cmds=
  while $ac_more_lines; do
    if test $ac_beg -gt 1; then
      sed      "1,${ac_beg}d;      ${ac_end}q"      $tmp/subs.sed
>$tmp/subs.frag
    else
      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
    fi
    if test ! -s $tmp/subs.frag; then
      ac_more_lines=false
    else
      #  The  purpose of the label and of the branching condition
is to
      # speed up the sed processing (if there are no `@' at  all,
there
      # is no need to browse any of the substitutions).
      # These are the two extra sed commands mentioned above.
      (echo ':t
  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b'     &&     cat    $tmp/subs.frag)
>$tmp/subs-$ac_sed_frag.sed
      if test -z "$ac_sed_cmds"; then
        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
      else
        ac_sed_cmds="$ac_sed_cmds        |         sed         -f
$tmp/subs-$ac_sed_frag.sed"
      fi
      ac_sed_frag=`expr $ac_sed_frag + 1`
      ac_beg=$ac_end
      ac_end=`expr $ac_end + $ac_max_sed_lines`
    fi
  done
  if test -z "$ac_sed_cmds"; then
    ac_sed_cmds=cat
  fi fi # test -n "$CONFIG_FILES"

_ACEOF  cat  >>$CONFIG_STATUS  <<_ACEOF  for  ac_file  in : $CON-
ries.
  ac_dir=`(dirname   "$ac_file")    2>/dev/null    ||    $as_expr
X"$ac_file"  :  'X[^/]//*[^/][^/]*/*$'             X"$ac_file"  :
'X[^/]'           X"$ac_file" : 'X$'           X"$ac_file" : 'X'
.     : '' 2>/dev/null || echo X"$ac_file" |
    sed '/^X[^/]*[^/][^/]**$/{ s//1/; q; }
          /^X[^/].*/{ s//1/; q; }
          /^X$/{ s//1/; q; }
          /^X.*/{ s//1/; q; }
          s/.*/./; q'`
  { case "$ac_dir" in
  [\/]* | ?:[\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;; esac as_dummy="$ac_dir"
for as_mkdir_dir in  `IFS='/\';  set  X  $as_dummy;  shift;  echo
"$@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" ||
        mkdir "$as_incr_dir" ||         { { echo "$as_me:$LINENO:
error: cannot create echo "$as_me: error: cannot create
   { (exit 1); exit 1; }; }
    ;;
  esac done; }

  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir= fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\/]* | ?:[\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly
perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo  can  be  #
absolute.   ac_abs_builddir=`cd  "$ac_dir"  && cd $ac_builddir &&
  fi
  #  Let's  still  pretend  it  is `configure' which instantiates
(i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    configure_input=
  else
    configure_input="$ac_file.  "
  fi
  configure_input=$configure_input"Generated      from      `echo
$ac_file_in |
                                     sed  's,.*/,,'`  by  config-
ure."

  # First look for the input files in the build  tree,  otherwise
in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test  -f "$f" || { { echo "$as_me:$LINENO: error: cannot
find input file: $f" >&5 echo "$as_me: error: cannot  find  input
file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           {  {  echo  "$as_me:$LINENO:  error: cannot find input
file: $f" >&5 echo "$as_me: error: cannot find  input  file:  $f"
>&2;}
   { (exit 1); exit 1; }; }
         fi;;
      esac
    done`  ||  {  (exit 1); exit 1; } _ACEOF cat >>$CONFIG_STATUS
<<_ACEOF
  sed "$ac_vpsub $extrasub _ACEOF cat  >>$CONFIG_STATUS  <<_ACEOF
:t    /@[a-zA-Z_][a-zA-Z_0-9]*@/!b   s,@configure_input@,$config-
ure_input,;t    t    s,@srcdir@,$ac_srcdir,;t    t     s,@abs_sr-
cdir@,$ac_abs_srcdir,;t   t   s,@top_srcdir@,$ac_top_srcdir,;t  t
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t       t        s,@build-
dir@,$ac_builddir,;t   t  s,@abs_builddir@,$ac_abs_builddir,;t  t

# These sed commands are passed to sed as "A NAME B NAME C  VALUE
D",  where # NAME is the cpp macro being defined and VALUE is the
value it is being given.  # # ac_d sets  the  value  in  "#define
NAME  VALUE"  lines.   ac_dA='s,^      ]*#     ]*define[       ][
     ]*' ac_dB='[        ].*$,1#2' ac_dC=' ' ac_dD=',;t'  #  ac_u
turns  "#undef  NAME"  without trailing blanks into "#define NAME
VALUE".        ac_uA='s,^      ]*#     ]*undef ][             ]*'
ac_uB='$,1#2define3' ac_uC=' ' ac_uD=',;t'

for  ac_file  in  :  $CONFIG_HEADERS; do test "x$ac_file" = x: &&
continue
  #  Support   "outfile[:infile[:infile...]]",   defaulting   in-
file="outfile.in".
  case $ac_file in
  - | *:- | *:-:* ) # input from stdin
        cat >$tmp/stdin
        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
  * )   ac_file_in=$ac_file.in ;;
  esac

  test  x"$ac_file"  !=  x-  &&  { echo "$as_me:$LINENO: creating
$ac_file" >&5 echo "$as_me: creating $ac_file" >&6;}

  # First look for the input files in the build  tree,  otherwise
in the
  # src tree.
  ac_file_inputs=`IFS=:
    for f in $ac_file_in; do
      case $f in
      -) echo $tmp/stdin ;;
      [\/$]*)
         # Absolute (can't be DOS-style, as IFS=:)
         test  -f "$f" || { { echo "$as_me:$LINENO: error: cannot
find input file: $f" >&5 echo "$as_me: error: cannot  find  input
file: $f" >&2;}
   { (exit 1); exit 1; }; }
         echo $f;;
      *) # Relative
         if test -f "$f"; then
           # Build tree
           echo $f
         elif test -f "$srcdir/$f"; then
           # Source tree
           echo $srcdir/$f
         else
           # /dev/null tree
           {  {  echo  "$as_me:$LINENO:  error: cannot find input
file: $f" >&5 echo "$as_me: error: cannot find  input  file:  $f"
tect  against  being  on  the right side of a sed subst in # con-
fig.status.  Protect against being in an unquoted here document #
in config.status.  rm -f conftest.defines conftest.undefs # Using
a here document instead of a string reduces  the  quoting  night-
mare.   #  Putting  comments in sed scripts is not portable.  # #
`end' is used to avoid that the second main  sed  command  (meant
for  #  0-ary  CPP macros) applies to n-ary macro definitions.  #
See the Autoconf documentation for `clear'.  cat >confdef2sed.sed
<<_ACEOF  s/[\&,]/\&/g  s,[\$`],\&,g t clear : clear s,^[    ]*#[
   ]*define[         ][         ]*          (][^        (]*^)]*)[
      ]*$,${ac_dA}1${ac_dB}12${ac_dC}3${ac_dD},gp   t   end  s,^[
   ]*#[         ]*define[        ][       ]*        ][^       ]*[
    ]*$,${ac_dA}1${ac_dB}1${ac_dC}2${ac_dD},gp  : end _ACEOF # If
some macros were called several  times  there  might  be  several
times  #  the  same #defines, which is useless.  Nevertheless, we
may not want to # sort them, since we want the  *last*  AC-DEFINE
to be honored.  uniq confdefs.h | sed -n -f confdef2sed.sed >con-
ftest.defines sed 's/ac_d/ac_u/g' conftest.defines  >conftest.un-
defs rm -f confdef2sed.sed

# This sed command replaces #undef with comments.  This is neces-
sary, for # example, in the case of _POSIX_SOURCE, which is  pre-
defined  and  required # on some systems where configure will not
decide to define it.  cat >>conftest.undefs <<_ACEOF s,^[    ]*#[
   ]*undef[          ][       ]*[a-zA-Z_][a-zA-Z_0-9]*,/*  &  */,
_ACEOF

# Break up conftest.defines because some shells have a  limit  on
the  size # of here documents, and old seds have small limits too
(100 cmds).  echo '  # Handle all the #define templates  only  if
necessary.'   >>$CONFIG_STATUS  echo  '   if  egrep  "^[     ]*#[
   ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo '  #
If  there  are  no  defines,  we may have an empty if/fi' >>$CON-
FIG_STATUS echo '  :' >>$CONFIG_STATUS rm -f conftest.tail  while
grep . conftest.defines >/dev/null do
  # Write a limited-size here document to $tmp/defines.sed.
  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
  # Speed up: don't consider the non `#define' lines.
  echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
  # Work around the forget-to-reset-the-flag bug.
  echo 't clr' >>$CONFIG_STATUS
  echo ': clr' >>$CONFIG_STATUS
  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
  echo 'CEOF
  sed -f $tmp/defines.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
  rm -f conftest.defines
  mv  conftest.tail  conftest.defines done rm -f conftest.defines
echo '  fi # egrep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS

  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
  rm -f $tmp/in
  mv $tmp/out $tmp/in
  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
  rm -f conftest.undefs
  mv conftest.tail conftest.undefs done rm -f conftest.undefs

cat >>$CONFIG_STATUS <<_ACEOF
  # Let's still pretend  it  is  `configure'  which  instantiates
(i.e., don't
  # use $as_me), people would be surprised to read:
  #    /* config.h.  Generated by config.status.  */
  if test x"$ac_file" = x-; then
    echo "/* Generated by configure.  */" >$tmp/config.h
  else
    echo  "/*  $ac_file.  Generated by configure.  */" >$tmp/con-
fig.h
  fi
  cat $tmp/in >>$tmp/config.h
  rm -f $tmp/in
  if test x"$ac_file" != x-; then
    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
      { echo "$as_me:$LINENO: $ac_file  is  unchanged"  >&5  echo
"$as_me: $ac_file is unchanged" >&6;}
    else
      ac_dir=`(dirname   "$ac_file")   2>/dev/null   ||  $as_expr
X"$ac_file"  :  'X[^/]//*[^/][^/]*/*$'             X"$ac_file"  :
'X[^/]'           X"$ac_file" : 'X$'           X"$ac_file" : 'X'
.     : '' 2>/dev/null || echo X"$ac_file" |
    sed '/^X[^/]*[^/][^/]**$/{ s//1/; q; }
          /^X[^/].*/{ s//1/; q; }
          /^X$/{ s//1/; q; }
          /^X.*/{ s//1/; q; }
          s/.*/./; q'`
      { case "$ac_dir" in
  [\/]* | ?:[\/]* ) as_incr_dir=;;
  *)                      as_incr_dir=.;; esac as_dummy="$ac_dir"
for  as_mkdir_dir  in  `IFS='/\';  set  X  $as_dummy; shift; echo
"$@"`; do
  case $as_mkdir_dir in
    # Skip DOS drivespec
    ?:) as_incr_dir=$as_mkdir_dir ;;
    *)
      as_incr_dir=$as_incr_dir/$as_mkdir_dir
      test -d "$as_incr_dir" ||
        mkdir "$as_incr_dir" ||         { { echo "$as_me:$LINENO:
error: cannot create echo "$as_me: error: cannot create
   { (exit 1); exit 1; }; }
    ;;
  esac done; }

      rm -f $ac_file

.     : '' 2>/dev/null || echo X"$ac_dest" |
    sed '/^X[^/]*[^/][^/]**$/{ s//1/; q; }
          /^X[^/].*/{ s//1/; q; }
          /^X$/{ s//1/; q; }
          /^X.*/{ s//1/; q; }
          s/.*/./; q'`
  ac_builddir=.

if test "$ac_dir" != .; then
  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^.[\/],,'`
  # A "../" for each directory in $ac_dir_suffix.
  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\/]*,../,g'`
else
  ac_dir_suffix= ac_top_builddir= fi

case $srcdir in
  .)  # No --srcdir option.  We are building in place.
    ac_srcdir=.
    if test -z "$ac_top_builddir"; then
       ac_top_srcdir=.
    else
       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    fi ;;
  [\/]* | ?:[\/]* )  # Absolute path.
    ac_srcdir=$srcdir$ac_dir_suffix;
    ac_top_srcdir=$srcdir ;;
  *) # Relative path.
    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Don't blindly
perform  a  `cd  "$ac_dir"/$ac_foo && pwd` since $ac_foo can be #
absolute.  ac_abs_builddir=`cd "$ac_dir" &&  cd  $ac_builddir  &&
pwd`  ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir &&
pwd`  ac_abs_srcdir=`cd  "$ac_dir"  &&  cd  $ac_srcdir  &&   pwd`
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`


  {  echo  "$as_me:$LINENO: executing $ac_dest commands" >&5 echo
"$as_me: executing $ac_dest commands" >&6;}
  case $ac_dest in
    default-1 )
    for ac_file in $CONFIG_FILES; do
      # Support "outfile[:infile[:infile...]]"
      case "$ac_file" in
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
      esac
      # PO directories have a Makefile.in  generated  from  Make-
file.in.in.
      case "$ac_file" in */Makefile.in)
        # Adjust a relative srcdir.
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^./%%'`"
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`

sed -e "/ \\/1/" > "$ac_dir/POTFILES"
          POMAKEFILEDEPS="POTFILES.in"
          # ALL_LINGUAS,  POFILES,  UPDATEPOFILES,  DUMMYPOFILES,
GMOFILES depend
          # on $ac_dir but don't depend on user-specified config-
uration
          # parameters.
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
            # The LINGUAS file contains the set of available lan-
guages.
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
              test  -n "$as_me" && echo "$as_me: setting ALL_LIN-
GUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in
configure.in is obsolete"
            fi
            ALL_LINGUAS_=`sed     -e    "/^#/d"    "$ac_given_sr-
cdir/$ac_dir/LINGUAS"`
            # Hide the ALL_LINGUAS assigment from automake.
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
          else
            # The set of available languages was given in config-
ure.in.
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
          fi
          # Compute POFILES
          #   as        $(foreach   lang,  $(ALL_LINGUAS),  $(sr-
cdir)/$(lang).po)
          # Compute UPDATEPOFILES
          # as      $(foreach lang,  $(ALL_LINGUAS),  $(lang).po-
update)
          # Compute DUMMYPOFILES
          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
          # Compute GMOFILES
          #   as        $(foreach   lang,  $(ALL_LINGUAS),  $(sr-
cdir)/$(lang).gmo)
          case "$ac_given_srcdir" in
            .) srcdirpre= ;;
            *) srcdirpre='$(srcdir)/' ;;
          esac
          POFILES=
          UPDATEPOFILES=
          DUMMYPOFILES=
          GMOFILES=
          for lang in $ALL_LINGUAS; do
            POFILES="$POFILES $srcdirpre$lang.po"
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
          done
          # CATALOGS depends on both $ac_dir and the user's  LIN-
GUAS
case,
                #      presentlang can be used as a fallback  for
messages
                #       which  are not translated in the desired-
lang catalog).
                case "$desiredlang" in
                  "$presentlang"*) useit=yes;;
                esac
              done
              if test $useit = yes; then
                INST_LINGUAS="$INST_LINGUAS $presentlang"
              fi
            done
          fi
          CATALOGS=
          if test -n "$INST_LINGUAS"; then
            for lang in $INST_LINGUAS; do
              CATALOGS="$CATALOGS $lang.gmo"
            done
          fi
          test   -n   "$as_me"   &&   echo   "$as_me:    creating
$ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
          sed  -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Make-
vars/r           $ac_given_srcdir/$ac_dir/Makevars"            -e
"s|@POFILES@|$POFILES|g"  -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g"
-e             "s|@DUMMYPOFILES@|$DUMMYPOFILES|g"              -e
"s|@GMOFILES@|$GMOFILES|g"   -e   "s|@CATALOGS@|$CATALOGS|g"   -e
"s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g"  "$ac_dir/Makefile.in"   >
"$ac_dir/Makefile"
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
            if test -f "$f"; then
              case "$f" in
                *.orig | *.bak | *~) ;;
                *) cat "$f" >> "$ac_dir/Makefile" ;;
              esac
            fi
          done
        fi
        ;;
      esac
    done ;;
    default   )  for  i  in   UTILS/LPRng.pm  UTILS/accounting.pl
UTILS/decode_args_with_perl UTILS/decode_args_with_sh UTILS/fixid
UTILS/fixupdate        UTILS/lpq_in_perl        UTILS/lpr_in_perl
UTILS/lprm_in_perl  UTILS/make_lpd_conf   UTILS/make_printcap_use
UTILS/makeinc UTILS/read_conf UTILS/remote_active UTILS/test_read
UTILS/update_z.pl ; do chmod +x $i ; done


 ;;
  esac done _ACEOF

again.  if test "$no_create" != yes; then
  ac_cs_success=:
  exec 5>/dev/null
  $SHELL $CONFIG_STATUS || ac_cs_success=false
  exec 5>>config.log
  #  Use  ||,  not  &&, to avoid exiting from the if with $? = 1,
which
  # would make configure fail if this is the last instruction.
  $ac_cs_success || { (exit 1); exit 1; } fi












































Man(1) output converted with man2html