source: configure @ d89b57f

barnowl_perlaimdebianrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change on this file since d89b57f was 15bd5ef, checked in by Nelson Elhage <nelhage@mit.edu>, 18 years ago
Actually doing the XSUBPP fix.
  • Property mode set to 100755
File size: 177.6 KB
RevLine 
[7d4fbcd]1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
[4ad3480]3# Generated by GNU Autoconf 2.60.
[7d4fbcd]4#
[4ad3480]5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
[7d4fbcd]7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
[8298425]9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be Bourne compatible
14if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15  emulate sh
16  NULLCMD=:
17  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18  # is contrary to our usage.  Disable this feature.
19  alias -g '${1+"$@"}'='"$@"'
[4ad3480]20  setopt NO_GLOB_SUBST
21else
22  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
[8298425]23fi
[4ad3480]24BIN_SH=xpg4; export BIN_SH # for Tru64
[8298425]25DUALCASE=1; export DUALCASE # for MKS sh
26
[4ad3480]27
28# PATH needs CR
29# Avoid depending upon Character Ranges.
30as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
32as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33as_cr_digits='0123456789'
34as_cr_alnum=$as_cr_Letters$as_cr_digits
35
36# The user is always right.
37if test "${PATH_SEPARATOR+set}" != set; then
38  echo "#! /bin/sh" >conf$$.sh
39  echo  "exit 0"   >>conf$$.sh
40  chmod +x conf$$.sh
41  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42    PATH_SEPARATOR=';'
43  else
44    PATH_SEPARATOR=:
45  fi
46  rm -f conf$$.sh
47fi
48
[8298425]49# Support unset when possible.
50if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51  as_unset=unset
52else
53  as_unset=false
54fi
55
56
[4ad3480]57# IFS
58# We need space, tab and new line, in precisely that order.  Quoting is
59# there to prevent editors from complaining about space-tab.
60# (If _AS_PATH_WALK were called with IFS unset, it would disable word
61# splitting by setting IFS to empty value.)
62as_nl='
63'
64IFS=" ""        $as_nl"
65
66# Find who we are.  Look in the path if we contain no directory separator.
67case $0 in
68  *[\\/]* ) as_myself=$0 ;;
69  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70for as_dir in $PATH
71do
72  IFS=$as_save_IFS
73  test -z "$as_dir" && as_dir=.
74  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
75done
76IFS=$as_save_IFS
77
78     ;;
79esac
80# We did not find ourselves, most probably we were run as `sh COMMAND'
81# in which case we are not to be found in the path.
82if test "x$as_myself" = x; then
83  as_myself=$0
84fi
85if test ! -f "$as_myself"; then
86  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
87  { (exit 1); exit 1; }
88fi
89
[8298425]90# Work around bugs in pre-3.0 UWIN ksh.
[4ad3480]91for as_var in ENV MAIL MAILPATH
92do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93done
[8298425]94PS1='$ '
95PS2='> '
96PS4='+ '
97
98# NLS nuisances.
99for as_var in \
100  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
101  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
102  LC_TELEPHONE LC_TIME
103do
104  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
105    eval $as_var=C; export $as_var
106  else
[4ad3480]107    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
[8298425]108  fi
109done
110
111# Required to use basename.
[4ad3480]112if expr a : '\(a\)' >/dev/null 2>&1 &&
113   test "X`expr 00001 : '.*\(...\)'`" = X001; then
[8298425]114  as_expr=expr
115else
116  as_expr=false
117fi
118
[4ad3480]119if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
[8298425]120  as_basename=basename
121else
122  as_basename=false
123fi
124
125
126# Name of the executable.
[4ad3480]127as_me=`$as_basename -- "$0" ||
[8298425]128$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129         X"$0" : 'X\(//\)$' \| \
[4ad3480]130         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]131echo X/"$0" |
[4ad3480]132    sed '/^.*\/\([^/][^/]*\)\/*$/{
133            s//\1/
134            q
135          }
136          /^X\/\(\/\/\)$/{
137            s//\1/
138            q
139          }
140          /^X\/\(\/\).*/{
141            s//\1/
142            q
143          }
144          s/.*/./; q'`
[8298425]145
[4ad3480]146# CDPATH.
147$as_unset CDPATH
[8298425]148
149
[4ad3480]150if test "x$CONFIG_SHELL" = x; then
151  if (eval ":") 2>/dev/null; then
152  as_have_required=yes
153else
154  as_have_required=no
[8298425]155fi
156
[4ad3480]157  if test $as_have_required = yes &&     (eval ":
158(as_func_return () {
159  (exit \$1)
160}
161as_func_success () {
162  as_func_return 0
163}
164as_func_failure () {
165  as_func_return 1
166}
167as_func_ret_success () {
168  return 0
169}
170as_func_ret_failure () {
171  return 1
172}
[8298425]173
[4ad3480]174exitcode=0
175if as_func_success; then
176  :
177else
178  exitcode=1
179  echo as_func_success failed.
180fi
[8298425]181
[4ad3480]182if as_func_failure; then
183  exitcode=1
184  echo as_func_failure succeeded.
185fi
186
187if as_func_ret_success; then
188  :
189else
190  exitcode=1
191  echo as_func_ret_success failed.
192fi
193
194if as_func_ret_failure; then
195  exitcode=1
196  echo as_func_ret_failure succeeded.
197fi
198
199if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
200  :
201else
202  exitcode=1
203  echo positional parameters were not saved.
204fi
205
206test \$exitcode = 0) || { (exit 1); exit 1; }
207
208(
209  as_lineno_1=\$LINENO
210  as_lineno_2=\$LINENO
211  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213") 2> /dev/null; then
214  :
215else
216  as_candidate_shells=
[8298425]217    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
[4ad3480]218for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
[8298425]219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
[4ad3480]222  case $as_dir in
[8298425]223         /*)
[4ad3480]224           for as_base in sh bash ksh sh5; do
225             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
226           done;;
227       esac
228done
229IFS=$as_save_IFS
230
231
232      for as_shell in $as_candidate_shells $SHELL; do
233         # Try only shells that exist, to save several forks.
234         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235                { ("$as_shell") 2> /dev/null <<\_ASEOF
236# Be Bourne compatible
237if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
238  emulate sh
239  NULLCMD=:
240  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241  # is contrary to our usage.  Disable this feature.
242  alias -g '${1+"$@"}'='"$@"'
243  setopt NO_GLOB_SUBST
244else
245  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
246fi
247BIN_SH=xpg4; export BIN_SH # for Tru64
248DUALCASE=1; export DUALCASE # for MKS sh
249
250:
251_ASEOF
252}; then
253  CONFIG_SHELL=$as_shell
254               as_have_required=yes
255               if { "$as_shell" 2> /dev/null <<\_ASEOF
256# Be Bourne compatible
257if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
258  emulate sh
259  NULLCMD=:
260  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261  # is contrary to our usage.  Disable this feature.
262  alias -g '${1+"$@"}'='"$@"'
263  setopt NO_GLOB_SUBST
264else
265  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
266fi
267BIN_SH=xpg4; export BIN_SH # for Tru64
268DUALCASE=1; export DUALCASE # for MKS sh
269
270:
271(as_func_return () {
272  (exit $1)
273}
274as_func_success () {
275  as_func_return 0
276}
277as_func_failure () {
278  as_func_return 1
279}
280as_func_ret_success () {
281  return 0
282}
283as_func_ret_failure () {
284  return 1
285}
286
287exitcode=0
288if as_func_success; then
289  :
290else
291  exitcode=1
292  echo as_func_success failed.
293fi
294
295if as_func_failure; then
296  exitcode=1
297  echo as_func_failure succeeded.
298fi
299
300if as_func_ret_success; then
301  :
302else
303  exitcode=1
304  echo as_func_ret_success failed.
305fi
306
307if as_func_ret_failure; then
308  exitcode=1
309  echo as_func_ret_failure succeeded.
310fi
311
312if ( set x; as_func_ret_success y && test x = "$1" ); then
313  :
314else
315  exitcode=1
316  echo positional parameters were not saved.
317fi
318
319test $exitcode = 0) || { (exit 1); exit 1; }
320
321(
[8298425]322  as_lineno_1=$LINENO
323  as_lineno_2=$LINENO
324  test "x$as_lineno_1" != "x$as_lineno_2" &&
[4ad3480]325  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
326
327_ASEOF
328}; then
329  break
330fi
331
332fi
333
334      done
335
336      if test "x$CONFIG_SHELL" != x; then
337  for as_var in BASH_ENV ENV
338        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
339        done
340        export CONFIG_SHELL
341        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
342fi
343
344
345    if test $as_have_required = no; then
346  echo This script requires a shell more modern than all the
347      echo shells that I found on your system.  Please install a
348      echo modern shell, or manually run the script under such a
349      echo shell if you do have one.
350      { (exit 1); exit 1; }
351fi
352
353
354fi
355
356fi
357
358
359
360(eval "as_func_return () {
361  (exit \$1)
362}
363as_func_success () {
364  as_func_return 0
365}
366as_func_failure () {
367  as_func_return 1
368}
369as_func_ret_success () {
370  return 0
371}
372as_func_ret_failure () {
373  return 1
374}
375
376exitcode=0
377if as_func_success; then
378  :
379else
380  exitcode=1
381  echo as_func_success failed.
382fi
383
384if as_func_failure; then
385  exitcode=1
386  echo as_func_failure succeeded.
387fi
388
389if as_func_ret_success; then
390  :
391else
392  exitcode=1
393  echo as_func_ret_success failed.
394fi
395
396if as_func_ret_failure; then
397  exitcode=1
398  echo as_func_ret_failure succeeded.
399fi
400
401if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
402  :
403else
404  exitcode=1
405  echo positional parameters were not saved.
406fi
407
408test \$exitcode = 0") || {
409  echo No shell found that supports shell functions.
410  echo Please tell autoconf@gnu.org about your system,
411  echo including any error possibly output before this
412  echo message
413}
414
415
416
417  as_lineno_1=$LINENO
418  as_lineno_2=$LINENO
419  test "x$as_lineno_1" != "x$as_lineno_2" &&
420  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
[8298425]421
422  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
423  # uniformly replaced by the line number.  The first 'sed' inserts a
[4ad3480]424  # line-number line after each line using $LINENO; the second 'sed'
425  # does the real work.  The second script uses 'N' to pair each
426  # line-number line with the line containing $LINENO, and appends
427  # trailing '-' during substitution so that $LINENO is not a special
428  # case at line end.
[8298425]429  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
[4ad3480]430  # scripts with optimization help from Paolo Bonzini.  Blame Lee
431  # E. McMahon (1931-1989) for sed's syntax.  :-)
432  sed -n '
433    p
434    /[$]LINENO/=
435  ' <$as_myself |
[8298425]436    sed '
[4ad3480]437      s/[$]LINENO.*/&-/
438      t lineno
439      b
440      :lineno
[8298425]441      N
[4ad3480]442      :loop
443      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
[8298425]444      t loop
[4ad3480]445      s/-\n.*//
[8298425]446    ' >$as_me.lineno &&
[4ad3480]447  chmod +x "$as_me.lineno" ||
[8298425]448    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
449   { (exit 1); exit 1; }; }
450
451  # Don't try to exec as it changes $[0], causing all sort of problems
452  # (the dirname of $[0] is not the place where we might find the
[4ad3480]453  # original and so on.  Autoconf is especially sensitive to this).
454  . "./$as_me.lineno"
[8298425]455  # Exit status is that of the last command.
456  exit
457}
458
459
[4ad3480]460if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461  as_dirname=dirname
462else
463  as_dirname=false
464fi
465
466ECHO_C= ECHO_N= ECHO_T=
467case `echo -n x` in
468-n*)
469  case `echo 'x\c'` in
470  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
471  *)   ECHO_C='\c';;
472  esac;;
473*)
474  ECHO_N='-n';;
[8298425]475esac
476
[4ad3480]477if expr a : '\(a\)' >/dev/null 2>&1 &&
478   test "X`expr 00001 : '.*\(...\)'`" = X001; then
[8298425]479  as_expr=expr
480else
481  as_expr=false
482fi
483
484rm -f conf$$ conf$$.exe conf$$.file
[4ad3480]485if test -d conf$$.dir; then
486  rm -f conf$$.dir/conf$$.file
487else
488  rm -f conf$$.dir
489  mkdir conf$$.dir
490fi
[8298425]491echo >conf$$.file
492if ln -s conf$$.file conf$$ 2>/dev/null; then
[4ad3480]493  as_ln_s='ln -s'
494  # ... but there are two gotchas:
495  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497  # In both cases, we have to default to `cp -p'.
498  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
[8298425]499    as_ln_s='cp -p'
500elif ln conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s=ln
502else
503  as_ln_s='cp -p'
504fi
[4ad3480]505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506rmdir conf$$.dir 2>/dev/null
[8298425]507
508if mkdir -p . 2>/dev/null; then
509  as_mkdir_p=:
510else
511  test -d ./-p && rmdir ./-p
512  as_mkdir_p=false
513fi
514
[4ad3480]515# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
516# systems may use methods other than mode bits to determine executability.
517cat >conf$$.file <<_ASEOF
518#! /bin/sh
519exit 0
520_ASEOF
521chmod +x conf$$.file
522if test -x conf$$.file >/dev/null 2>&1; then
523  as_executable_p="test -x"
524else
525  as_executable_p=:
526fi
527rm -f conf$$.file
[8298425]528
529# Sed expression to map a string onto a valid CPP name.
530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
[7d4fbcd]531
[8298425]532# Sed expression to map a string onto a valid variable name.
533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
536
[4ad3480]537exec 7<&0 </dev/null 6>&1
[8298425]538
539# Name of the host.
540# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544#
545# Initializations.
546#
[7d4fbcd]547ac_default_prefix=/usr/local
[4ad3480]548ac_clean_files=
[8298425]549ac_config_libobj_dir=.
[4ad3480]550LIBOBJS=
[8298425]551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
555SHELL=${CONFIG_SHELL-/bin/sh}
556
557# Identity of this package.
558PACKAGE_NAME=
559PACKAGE_TARNAME=
560PACKAGE_VERSION=
561PACKAGE_STRING=
562PACKAGE_BUGREPORT=
563
564ac_unique_file="owl.c"
565# Factoring default headers for most tests.
566ac_includes_default="\
567#include <stdio.h>
568#if HAVE_SYS_TYPES_H
569# include <sys/types.h>
570#endif
571#if HAVE_SYS_STAT_H
572# include <sys/stat.h>
573#endif
574#if STDC_HEADERS
575# include <stdlib.h>
576# include <stddef.h>
577#else
578# if HAVE_STDLIB_H
579#  include <stdlib.h>
580# endif
581#endif
582#if HAVE_STRING_H
583# if !STDC_HEADERS && HAVE_MEMORY_H
584#  include <memory.h>
585# endif
586# include <string.h>
587#endif
588#if HAVE_STRINGS_H
589# include <strings.h>
590#endif
591#if HAVE_INTTYPES_H
592# include <inttypes.h>
[4ad3480]593#endif
594#if HAVE_STDINT_H
595# include <stdint.h>
[8298425]596#endif
597#if HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
[4ad3480]601ac_subst_vars='SHELL
602PATH_SEPARATOR
603PACKAGE_NAME
604PACKAGE_TARNAME
605PACKAGE_VERSION
606PACKAGE_STRING
607PACKAGE_BUGREPORT
608exec_prefix
609prefix
610program_transform_name
611bindir
612sbindir
613libexecdir
614datarootdir
615datadir
616sysconfdir
617sharedstatedir
618localstatedir
619includedir
620oldincludedir
621docdir
622infodir
623htmldir
624dvidir
625pdfdir
626psdir
627libdir
628localedir
629mandir
630DEFS
631ECHO_C
632ECHO_N
633ECHO_T
634LIBS
635build_alias
636host_alias
637target_alias
638CC
639CFLAGS
640LDFLAGS
641CPPFLAGS
642ac_ct_CC
643EXEEXT
644OBJEXT
645CPP
646GREP
647EGREP
[15bd5ef]648XSUBPPDIR
[4ad3480]649XSUBPPFLAGS
650INSTALL_PROGRAM
651INSTALL_SCRIPT
652INSTALL_DATA
653subdirs
654LIBOBJS
655LTLIBOBJS'
[8298425]656ac_subst_files=''
[4ad3480]657      ac_precious_vars='build_alias
658host_alias
659target_alias
660CC
661CFLAGS
662LDFLAGS
663CPPFLAGS
664CPP'
665ac_subdirs_all='libfaim'
[7d4fbcd]666
667# Initialize some variables set by options.
[8298425]668ac_init_help=
669ac_init_version=false
[7d4fbcd]670# The variables have the same names as the options, with
671# dashes changed to underlines.
[8298425]672cache_file=/dev/null
[7d4fbcd]673exec_prefix=NONE
674no_create=
675no_recursion=
676prefix=NONE
677program_prefix=NONE
678program_suffix=NONE
679program_transform_name=s,x,x,
680silent=
681site=
682srcdir=
683verbose=
684x_includes=NONE
685x_libraries=NONE
[8298425]686
687# Installation directory options.
688# These are left unexpanded so users can "make install exec_prefix=/foo"
689# and all the variables that are supposed to be based on exec_prefix
690# by default will actually change.
691# Use braces instead of parens because sh, perl, etc. also accept them.
[4ad3480]692# (The list follows the same order as the GNU Coding Standards.)
[7d4fbcd]693bindir='${exec_prefix}/bin'
694sbindir='${exec_prefix}/sbin'
695libexecdir='${exec_prefix}/libexec'
[4ad3480]696datarootdir='${prefix}/share'
697datadir='${datarootdir}'
[7d4fbcd]698sysconfdir='${prefix}/etc'
699sharedstatedir='${prefix}/com'
700localstatedir='${prefix}/var'
701includedir='${prefix}/include'
702oldincludedir='/usr/include'
[4ad3480]703docdir='${datarootdir}/doc/${PACKAGE}'
704infodir='${datarootdir}/info'
705htmldir='${docdir}'
706dvidir='${docdir}'
707pdfdir='${docdir}'
708psdir='${docdir}'
709libdir='${exec_prefix}/lib'
710localedir='${datarootdir}/locale'
711mandir='${datarootdir}/man'
[7d4fbcd]712
713ac_prev=
[4ad3480]714ac_dashdash=
[7d4fbcd]715for ac_option
716do
717  # If the previous option needs an argument, assign it.
718  if test -n "$ac_prev"; then
[4ad3480]719    eval $ac_prev=\$ac_option
[7d4fbcd]720    ac_prev=
721    continue
722  fi
723
[4ad3480]724  case $ac_option in
725  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726  *)    ac_optarg=yes ;;
727  esac
[7d4fbcd]728
729  # Accept the important Cygnus configure options, so we can diagnose typos.
730
[4ad3480]731  case $ac_dashdash$ac_option in
732  --)
733    ac_dashdash=yes ;;
[7d4fbcd]734
735  -bindir | --bindir | --bindi | --bind | --bin | --bi)
736    ac_prev=bindir ;;
737  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
[8298425]738    bindir=$ac_optarg ;;
[7d4fbcd]739
740  -build | --build | --buil | --bui | --bu)
[8298425]741    ac_prev=build_alias ;;
[7d4fbcd]742  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
[8298425]743    build_alias=$ac_optarg ;;
[7d4fbcd]744
745  -cache-file | --cache-file | --cache-fil | --cache-fi \
746  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747    ac_prev=cache_file ;;
748  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
[8298425]750    cache_file=$ac_optarg ;;
751
752  --config-cache | -C)
753    cache_file=config.cache ;;
[7d4fbcd]754
[4ad3480]755  -datadir | --datadir | --datadi | --datad)
[7d4fbcd]756    ac_prev=datadir ;;
[4ad3480]757  -datadir=* | --datadir=* | --datadi=* | --datad=*)
[8298425]758    datadir=$ac_optarg ;;
[7d4fbcd]759
[4ad3480]760  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761  | --dataroo | --dataro | --datar)
762    ac_prev=datarootdir ;;
763  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765    datarootdir=$ac_optarg ;;
766
[7d4fbcd]767  -disable-* | --disable-*)
[8298425]768    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
[7d4fbcd]769    # Reject names that are not valid shell variable names.
[8298425]770    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
771      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
772   { (exit 1); exit 1; }; }
773    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
[4ad3480]774    eval enable_$ac_feature=no ;;
775
776  -docdir | --docdir | --docdi | --doc | --do)
777    ac_prev=docdir ;;
778  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
779    docdir=$ac_optarg ;;
780
781  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
782    ac_prev=dvidir ;;
783  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
784    dvidir=$ac_optarg ;;
[7d4fbcd]785
786  -enable-* | --enable-*)
[8298425]787    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
[7d4fbcd]788    # Reject names that are not valid shell variable names.
[8298425]789    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
790      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
791   { (exit 1); exit 1; }; }
792    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
[4ad3480]793    eval enable_$ac_feature=\$ac_optarg ;;
[7d4fbcd]794
795  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
796  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
797  | --exec | --exe | --ex)
798    ac_prev=exec_prefix ;;
799  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
800  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
801  | --exec=* | --exe=* | --ex=*)
[8298425]802    exec_prefix=$ac_optarg ;;
[7d4fbcd]803
804  -gas | --gas | --ga | --g)
805    # Obsolete; use --with-gas.
806    with_gas=yes ;;
807
[8298425]808  -help | --help | --hel | --he | -h)
809    ac_init_help=long ;;
810  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
811    ac_init_help=recursive ;;
812  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
813    ac_init_help=short ;;
[7d4fbcd]814
815  -host | --host | --hos | --ho)
[8298425]816    ac_prev=host_alias ;;
[7d4fbcd]817  -host=* | --host=* | --hos=* | --ho=*)
[8298425]818    host_alias=$ac_optarg ;;
[7d4fbcd]819
[4ad3480]820  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
821    ac_prev=htmldir ;;
822  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
823  | --ht=*)
824    htmldir=$ac_optarg ;;
825
[7d4fbcd]826  -includedir | --includedir | --includedi | --included | --include \
827  | --includ | --inclu | --incl | --inc)
828    ac_prev=includedir ;;
829  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
830  | --includ=* | --inclu=* | --incl=* | --inc=*)
[8298425]831    includedir=$ac_optarg ;;
[7d4fbcd]832
833  -infodir | --infodir | --infodi | --infod | --info | --inf)
834    ac_prev=infodir ;;
835  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
[8298425]836    infodir=$ac_optarg ;;
[7d4fbcd]837
838  -libdir | --libdir | --libdi | --libd)
839    ac_prev=libdir ;;
840  -libdir=* | --libdir=* | --libdi=* | --libd=*)
[8298425]841    libdir=$ac_optarg ;;
[7d4fbcd]842
843  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
844  | --libexe | --libex | --libe)
845    ac_prev=libexecdir ;;
846  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
847  | --libexe=* | --libex=* | --libe=*)
[8298425]848    libexecdir=$ac_optarg ;;
[7d4fbcd]849
[4ad3480]850  -localedir | --localedir | --localedi | --localed | --locale)
851    ac_prev=localedir ;;
852  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
853    localedir=$ac_optarg ;;
854
[7d4fbcd]855  -localstatedir | --localstatedir | --localstatedi | --localstated \
[4ad3480]856  | --localstate | --localstat | --localsta | --localst | --locals)
[7d4fbcd]857    ac_prev=localstatedir ;;
858  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
[4ad3480]859  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
[8298425]860    localstatedir=$ac_optarg ;;
[7d4fbcd]861
862  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
863    ac_prev=mandir ;;
864  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
[8298425]865    mandir=$ac_optarg ;;
[7d4fbcd]866
867  -nfp | --nfp | --nf)
868    # Obsolete; use --without-fp.
869    with_fp=no ;;
870
871  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
[8298425]872  | --no-cr | --no-c | -n)
[7d4fbcd]873    no_create=yes ;;
874
875  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
876  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
877    no_recursion=yes ;;
878
879  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
880  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
881  | --oldin | --oldi | --old | --ol | --o)
882    ac_prev=oldincludedir ;;
883  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
884  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
885  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
[8298425]886    oldincludedir=$ac_optarg ;;
[7d4fbcd]887
888  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
889    ac_prev=prefix ;;
890  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
[8298425]891    prefix=$ac_optarg ;;
[7d4fbcd]892
893  -program-prefix | --program-prefix | --program-prefi | --program-pref \
894  | --program-pre | --program-pr | --program-p)
895    ac_prev=program_prefix ;;
896  -program-prefix=* | --program-prefix=* | --program-prefi=* \
897  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
[8298425]898    program_prefix=$ac_optarg ;;
[7d4fbcd]899
900  -program-suffix | --program-suffix | --program-suffi | --program-suff \
901  | --program-suf | --program-su | --program-s)
902    ac_prev=program_suffix ;;
903  -program-suffix=* | --program-suffix=* | --program-suffi=* \
904  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
[8298425]905    program_suffix=$ac_optarg ;;
[7d4fbcd]906
907  -program-transform-name | --program-transform-name \
908  | --program-transform-nam | --program-transform-na \
909  | --program-transform-n | --program-transform- \
910  | --program-transform | --program-transfor \
911  | --program-transfo | --program-transf \
912  | --program-trans | --program-tran \
913  | --progr-tra | --program-tr | --program-t)
914    ac_prev=program_transform_name ;;
915  -program-transform-name=* | --program-transform-name=* \
916  | --program-transform-nam=* | --program-transform-na=* \
917  | --program-transform-n=* | --program-transform-=* \
918  | --program-transform=* | --program-transfor=* \
919  | --program-transfo=* | --program-transf=* \
920  | --program-trans=* | --program-tran=* \
921  | --progr-tra=* | --program-tr=* | --program-t=*)
[8298425]922    program_transform_name=$ac_optarg ;;
[7d4fbcd]923
[4ad3480]924  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
925    ac_prev=pdfdir ;;
926  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
927    pdfdir=$ac_optarg ;;
928
929  -psdir | --psdir | --psdi | --psd | --ps)
930    ac_prev=psdir ;;
931  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
932    psdir=$ac_optarg ;;
933
[7d4fbcd]934  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
935  | -silent | --silent | --silen | --sile | --sil)
936    silent=yes ;;
937
938  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
939    ac_prev=sbindir ;;
940  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
941  | --sbi=* | --sb=*)
[8298425]942    sbindir=$ac_optarg ;;
[7d4fbcd]943
944  -sharedstatedir | --sharedstatedir | --sharedstatedi \
945  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
946  | --sharedst | --shareds | --shared | --share | --shar \
947  | --sha | --sh)
948    ac_prev=sharedstatedir ;;
949  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
950  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
951  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
952  | --sha=* | --sh=*)
[8298425]953    sharedstatedir=$ac_optarg ;;
[7d4fbcd]954
955  -site | --site | --sit)
956    ac_prev=site ;;
957  -site=* | --site=* | --sit=*)
[8298425]958    site=$ac_optarg ;;
[7d4fbcd]959
960  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
961    ac_prev=srcdir ;;
962  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
[8298425]963    srcdir=$ac_optarg ;;
[7d4fbcd]964
965  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
966  | --syscon | --sysco | --sysc | --sys | --sy)
967    ac_prev=sysconfdir ;;
968  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
969  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
[8298425]970    sysconfdir=$ac_optarg ;;
[7d4fbcd]971
972  -target | --target | --targe | --targ | --tar | --ta | --t)
[8298425]973    ac_prev=target_alias ;;
[7d4fbcd]974  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
[8298425]975    target_alias=$ac_optarg ;;
[7d4fbcd]976
977  -v | -verbose | --verbose | --verbos | --verbo | --verb)
978    verbose=yes ;;
979
[8298425]980  -version | --version | --versio | --versi | --vers | -V)
981    ac_init_version=: ;;
[7d4fbcd]982
983  -with-* | --with-*)
[8298425]984    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
[7d4fbcd]985    # Reject names that are not valid shell variable names.
[8298425]986    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
987      { echo "$as_me: error: invalid package name: $ac_package" >&2
988   { (exit 1); exit 1; }; }
[7d4fbcd]989    ac_package=`echo $ac_package| sed 's/-/_/g'`
[4ad3480]990    eval with_$ac_package=\$ac_optarg ;;
[7d4fbcd]991
992  -without-* | --without-*)
[8298425]993    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
[7d4fbcd]994    # Reject names that are not valid shell variable names.
[8298425]995    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
996      { echo "$as_me: error: invalid package name: $ac_package" >&2
997   { (exit 1); exit 1; }; }
998    ac_package=`echo $ac_package | sed 's/-/_/g'`
[4ad3480]999    eval with_$ac_package=no ;;
[7d4fbcd]1000
1001  --x)
1002    # Obsolete; use --with-x.
1003    with_x=yes ;;
1004
1005  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1006  | --x-incl | --x-inc | --x-in | --x-i)
1007    ac_prev=x_includes ;;
1008  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1009  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
[8298425]1010    x_includes=$ac_optarg ;;
[7d4fbcd]1011
1012  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1013  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1014    ac_prev=x_libraries ;;
1015  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1016  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
[8298425]1017    x_libraries=$ac_optarg ;;
[7d4fbcd]1018
[8298425]1019  -*) { echo "$as_me: error: unrecognized option: $ac_option
1020Try \`$0 --help' for more information." >&2
1021   { (exit 1); exit 1; }; }
[7d4fbcd]1022    ;;
1023
[8298425]1024  *=*)
1025    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1026    # Reject names that are not valid shell variable names.
1027    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1028      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1029   { (exit 1); exit 1; }; }
[4ad3480]1030    eval $ac_envvar=\$ac_optarg
[8298425]1031    export $ac_envvar ;;
1032
[7d4fbcd]1033  *)
[8298425]1034    # FIXME: should be removed in autoconf 3.0.
1035    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1036    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1037      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1038    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
[7d4fbcd]1039    ;;
1040
1041  esac
1042done
1043
1044if test -n "$ac_prev"; then
[8298425]1045  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1046  { echo "$as_me: error: missing argument to $ac_option" >&2
1047   { (exit 1); exit 1; }; }
[7d4fbcd]1048fi
1049
[4ad3480]1050# Be sure to have absolute directory names.
1051for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1052                datadir sysconfdir sharedstatedir localstatedir includedir \
1053                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1054                libdir localedir mandir
[8298425]1055do
[4ad3480]1056  eval ac_val=\$$ac_var
[8298425]1057  case $ac_val in
[4ad3480]1058    [\\/$]* | ?:[\\/]* )  continue;;
1059    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
[7d4fbcd]1060  esac
[4ad3480]1061  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1062   { (exit 1); exit 1; }; }
[7d4fbcd]1063done
1064
[8298425]1065# There might be people who depend on the old broken behavior: `$host'
1066# used to hold the argument of --host etc.
1067# FIXME: To remove some day.
1068build=$build_alias
1069host=$host_alias
1070target=$target_alias
1071
1072# FIXME: To remove some day.
1073if test "x$host_alias" != x; then
1074  if test "x$build_alias" = x; then
1075    cross_compiling=maybe
1076    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1077    If a cross compiler is detected then cross compile mode will be used." >&2
1078  elif test "x$build_alias" != "x$host_alias"; then
1079    cross_compiling=yes
1080  fi
1081fi
[7d4fbcd]1082
[8298425]1083ac_tool_prefix=
1084test -n "$host_alias" && ac_tool_prefix=$host_alias-
1085
1086test "$silent" = yes && exec 6>/dev/null
[7d4fbcd]1087
1088
[4ad3480]1089ac_pwd=`pwd` && test -n "$ac_pwd" &&
1090ac_ls_di=`ls -di .` &&
1091ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1092  { echo "$as_me: error: Working directory cannot be determined" >&2
1093   { (exit 1); exit 1; }; }
1094test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1095  { echo "$as_me: error: pwd does not report name of working directory" >&2
1096   { (exit 1); exit 1; }; }
1097
1098
[7d4fbcd]1099# Find the source files, if location was not specified.
1100if test -z "$srcdir"; then
1101  ac_srcdir_defaulted=yes
[4ad3480]1102  # Try the directory containing this script, then the parent directory.
1103  ac_confdir=`$as_dirname -- "$0" ||
[8298425]1104$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1105         X"$0" : 'X\(//\)[^/]' \| \
1106         X"$0" : 'X\(//\)$' \| \
[4ad3480]1107         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]1108echo X"$0" |
[4ad3480]1109    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1110            s//\1/
1111            q
1112          }
1113          /^X\(\/\/\)[^/].*/{
1114            s//\1/
1115            q
1116          }
1117          /^X\(\/\/\)$/{
1118            s//\1/
1119            q
1120          }
1121          /^X\(\/\).*/{
1122            s//\1/
1123            q
1124          }
1125          s/.*/./; q'`
[7d4fbcd]1126  srcdir=$ac_confdir
[4ad3480]1127  if test ! -r "$srcdir/$ac_unique_file"; then
[7d4fbcd]1128    srcdir=..
1129  fi
1130else
1131  ac_srcdir_defaulted=no
1132fi
[4ad3480]1133if test ! -r "$srcdir/$ac_unique_file"; then
1134  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1135  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
[8298425]1136   { (exit 1); exit 1; }; }
[7d4fbcd]1137fi
[4ad3480]1138ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1139ac_abs_confdir=`(
1140        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
[8298425]1141   { (exit 1); exit 1; }; }
[4ad3480]1142        pwd)`
1143# When building in place, set srcdir=.
1144if test "$ac_abs_confdir" = "$ac_pwd"; then
1145  srcdir=.
1146fi
1147# Remove unnecessary trailing slashes from srcdir.
1148# Double slashes in file names in object file debugging info
1149# mess up M-x gdb in Emacs.
1150case $srcdir in
1151*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1152esac
1153for ac_var in $ac_precious_vars; do
1154  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1155  eval ac_env_${ac_var}_value=\$${ac_var}
1156  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1157  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1158done
[8298425]1159
1160#
1161# Report the --help message.
1162#
1163if test "$ac_init_help" = "long"; then
1164  # Omit some internal or obsolete options to make the list less imposing.
1165  # This message is too long to be a string in the A/UX 3.1 sh.
1166  cat <<_ACEOF
1167\`configure' configures this package to adapt to many kinds of systems.
1168
1169Usage: $0 [OPTION]... [VAR=VALUE]...
1170
1171To assign environment variables (e.g., CC, CFLAGS...), specify them as
1172VAR=VALUE.  See below for descriptions of some of the useful variables.
1173
1174Defaults for the options are specified in brackets.
1175
1176Configuration:
1177  -h, --help              display this help and exit
1178      --help=short        display options specific to this package
1179      --help=recursive    display the short help of all the included packages
1180  -V, --version           display version information and exit
1181  -q, --quiet, --silent   do not print \`checking...' messages
1182      --cache-file=FILE   cache test results in FILE [disabled]
1183  -C, --config-cache      alias for \`--cache-file=config.cache'
1184  -n, --no-create         do not create output files
1185      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1186
1187Installation directories:
1188  --prefix=PREFIX         install architecture-independent files in PREFIX
1189                          [$ac_default_prefix]
1190  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1191                          [PREFIX]
1192
1193By default, \`make install' will install all the files in
1194\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1195an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1196for instance \`--prefix=\$HOME'.
1197
1198For better control, use the options below.
1199
1200Fine tuning of the installation directories:
1201  --bindir=DIR           user executables [EPREFIX/bin]
1202  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1203  --libexecdir=DIR       program executables [EPREFIX/libexec]
1204  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1205  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1206  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1207  --libdir=DIR           object code libraries [EPREFIX/lib]
1208  --includedir=DIR       C header files [PREFIX/include]
1209  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
[4ad3480]1210  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1211  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1212  --infodir=DIR          info documentation [DATAROOTDIR/info]
1213  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1214  --mandir=DIR           man documentation [DATAROOTDIR/man]
1215  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1216  --htmldir=DIR          html documentation [DOCDIR]
1217  --dvidir=DIR           dvi documentation [DOCDIR]
1218  --pdfdir=DIR           pdf documentation [DOCDIR]
1219  --psdir=DIR            ps documentation [DOCDIR]
[8298425]1220_ACEOF
1221
1222  cat <<\_ACEOF
1223_ACEOF
1224fi
1225
1226if test -n "$ac_init_help"; then
1227
1228  cat <<\_ACEOF
1229
1230Some influential environment variables:
1231  CC          C compiler command
1232  CFLAGS      C compiler flags
1233  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1234              nonstandard directory <lib dir>
[4ad3480]1235  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1236              you have headers in a nonstandard directory <include dir>
[8298425]1237  CPP         C preprocessor
1238
1239Use these variables to override the choices made by `configure' or to help
1240it to find libraries and programs with nonstandard names/locations.
1241
1242_ACEOF
[4ad3480]1243ac_status=$?
[8298425]1244fi
1245
1246if test "$ac_init_help" = "recursive"; then
1247  # If there are subdirs, report their specific --help.
1248  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
[4ad3480]1249    test -d "$ac_dir" || continue
[8298425]1250    ac_builddir=.
1251
[4ad3480]1252case "$ac_dir" in
1253.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254*)
[8298425]1255  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
[4ad3480]1256  # A ".." for each directory in $ac_dir_suffix.
1257  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1258  case $ac_top_builddir_sub in
1259  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1260  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1261  esac ;;
1262esac
1263ac_abs_top_builddir=$ac_pwd
1264ac_abs_builddir=$ac_pwd$ac_dir_suffix
1265# for backward compatibility:
1266ac_top_builddir=$ac_top_build_prefix
[8298425]1267
1268case $srcdir in
[4ad3480]1269  .)  # We are building in place.
[8298425]1270    ac_srcdir=.
[4ad3480]1271    ac_top_srcdir=$ac_top_builddir_sub
1272    ac_abs_top_srcdir=$ac_pwd ;;
1273  [\\/]* | ?:[\\/]* )  # Absolute name.
[8298425]1274    ac_srcdir=$srcdir$ac_dir_suffix;
[4ad3480]1275    ac_top_srcdir=$srcdir
1276    ac_abs_top_srcdir=$srcdir ;;
1277  *) # Relative name.
1278    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1279    ac_top_srcdir=$ac_top_build_prefix$srcdir
1280    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
[8298425]1281esac
[4ad3480]1282ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1283
1284    cd "$ac_dir" || { ac_status=$?; continue; }
1285    # Check for guested configure.
1286    if test -f "$ac_srcdir/configure.gnu"; then
1287      echo &&
1288      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1289    elif test -f "$ac_srcdir/configure"; then
1290      echo &&
1291      $SHELL "$ac_srcdir/configure" --help=recursive
[8298425]1292    else
1293      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
[4ad3480]1294    fi || ac_status=$?
1295    cd "$ac_pwd" || { ac_status=$?; break; }
[8298425]1296  done
1297fi
1298
[4ad3480]1299test -n "$ac_init_help" && exit $ac_status
[8298425]1300if $ac_init_version; then
1301  cat <<\_ACEOF
[4ad3480]1302configure
1303generated by GNU Autoconf 2.60
[8298425]1304
[4ad3480]1305Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13062002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
[8298425]1307This configure script is free software; the Free Software Foundation
1308gives unlimited permission to copy, distribute and modify it.
1309_ACEOF
[4ad3480]1310  exit
[8298425]1311fi
[4ad3480]1312cat >config.log <<_ACEOF
[8298425]1313This file contains any messages produced by compilers while
1314running configure, to aid debugging if configure makes a mistake.
1315
1316It was created by $as_me, which was
[4ad3480]1317generated by GNU Autoconf 2.60.  Invocation command line was
[8298425]1318
1319  $ $0 $@
1320
1321_ACEOF
[4ad3480]1322exec 5>>config.log
[8298425]1323{
1324cat <<_ASUNAME
1325## --------- ##
1326## Platform. ##
1327## --------- ##
1328
1329hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1330uname -m = `(uname -m) 2>/dev/null || echo unknown`
1331uname -r = `(uname -r) 2>/dev/null || echo unknown`
1332uname -s = `(uname -s) 2>/dev/null || echo unknown`
1333uname -v = `(uname -v) 2>/dev/null || echo unknown`
1334
1335/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1336/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1337
1338/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1339/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1340/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
[4ad3480]1341/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
[8298425]1342/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1343/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1344/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1345
1346_ASUNAME
1347
1348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1349for as_dir in $PATH
1350do
1351  IFS=$as_save_IFS
1352  test -z "$as_dir" && as_dir=.
1353  echo "PATH: $as_dir"
1354done
[4ad3480]1355IFS=$as_save_IFS
[8298425]1356
1357} >&5
1358
1359cat >&5 <<_ACEOF
1360
1361
1362## ----------- ##
1363## Core tests. ##
1364## ----------- ##
1365
1366_ACEOF
1367
1368
1369# Keep a trace of the command line.
1370# Strip out --no-create and --no-recursion so they do not pile up.
1371# Strip out --silent because we don't want to record it for future runs.
1372# Also quote any args containing shell meta-characters.
1373# Make two passes to allow for proper duplicate-argument suppression.
1374ac_configure_args=
1375ac_configure_args0=
1376ac_configure_args1=
1377ac_must_keep_next=false
1378for ac_pass in 1 2
1379do
1380  for ac_arg
1381  do
1382    case $ac_arg in
1383    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1384    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1385    | -silent | --silent | --silen | --sile | --sil)
1386      continue ;;
[4ad3480]1387    *\'*)
[8298425]1388      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1389    esac
1390    case $ac_pass in
1391    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1392    2)
1393      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1394      if test $ac_must_keep_next = true; then
1395        ac_must_keep_next=false # Got value, back to normal.
1396      else
1397        case $ac_arg in
1398          *=* | --config-cache | -C | -disable-* | --disable-* \
1399          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1400          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1401          | -with-* | --with-* | -without-* | --without-* | --x)
1402            case "$ac_configure_args0 " in
1403              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1404            esac
1405            ;;
1406          -* ) ac_must_keep_next=true ;;
1407        esac
1408      fi
[4ad3480]1409      ac_configure_args="$ac_configure_args '$ac_arg'"
[8298425]1410      ;;
1411    esac
1412  done
1413done
1414$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1415$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1416
1417# When interrupted or exit'd, cleanup temporary files, and complete
1418# config.log.  We remove comments because anyway the quotes in there
1419# would cause problems or look ugly.
[4ad3480]1420# WARNING: Use '\'' to represent an apostrophe within the trap.
1421# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
[8298425]1422trap 'exit_status=$?
1423  # Save into config.log some information that might help in debugging.
1424  {
1425    echo
1426
1427    cat <<\_ASBOX
1428## ---------------- ##
1429## Cache variables. ##
1430## ---------------- ##
1431_ASBOX
1432    echo
1433    # The following way of writing the cache mishandles newlines in values,
[4ad3480]1434(
1435  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1436    eval ac_val=\$$ac_var
1437    case $ac_val in #(
1438    *${as_nl}*)
1439      case $ac_var in #(
1440      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1441echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1442      esac
1443      case $ac_var in #(
1444      _ | IFS | as_nl) ;; #(
1445      *) $as_unset $ac_var ;;
1446      esac ;;
1447    esac
1448  done
[8298425]1449  (set) 2>&1 |
[4ad3480]1450    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1451    *${as_nl}ac_space=\ *)
[8298425]1452      sed -n \
[4ad3480]1453        "s/'\''/'\''\\\\'\'''\''/g;
1454          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1455      ;; #(
[8298425]1456    *)
[4ad3480]1457      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
[8298425]1458      ;;
[4ad3480]1459    esac |
1460    sort
1461)
[8298425]1462    echo
1463
1464    cat <<\_ASBOX
1465## ----------------- ##
1466## Output variables. ##
1467## ----------------- ##
1468_ASBOX
1469    echo
1470    for ac_var in $ac_subst_vars
1471    do
[4ad3480]1472      eval ac_val=\$$ac_var
1473      case $ac_val in
1474      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1475      esac
1476      echo "$ac_var='\''$ac_val'\''"
[8298425]1477    done | sort
1478    echo
1479
1480    if test -n "$ac_subst_files"; then
1481      cat <<\_ASBOX
[4ad3480]1482## ------------------- ##
1483## File substitutions. ##
1484## ------------------- ##
[8298425]1485_ASBOX
1486      echo
1487      for ac_var in $ac_subst_files
1488      do
[4ad3480]1489        eval ac_val=\$$ac_var
1490        case $ac_val in
1491        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1492        esac
1493        echo "$ac_var='\''$ac_val'\''"
[8298425]1494      done | sort
1495      echo
1496    fi
1497
1498    if test -s confdefs.h; then
1499      cat <<\_ASBOX
1500## ----------- ##
1501## confdefs.h. ##
1502## ----------- ##
1503_ASBOX
1504      echo
[4ad3480]1505      cat confdefs.h
[8298425]1506      echo
1507    fi
1508    test "$ac_signal" != 0 &&
1509      echo "$as_me: caught signal $ac_signal"
1510    echo "$as_me: exit $exit_status"
1511  } >&5
[4ad3480]1512  rm -f core *.core core.conftest.* &&
1513    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
[8298425]1514    exit $exit_status
[4ad3480]1515' 0
[8298425]1516for ac_signal in 1 2 13 15; do
1517  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1518done
1519ac_signal=0
1520
1521# confdefs.h avoids OS command line length limits that DEFS can exceed.
[4ad3480]1522rm -f -r conftest* confdefs.h
[8298425]1523
1524# Predefined preprocessor variables.
1525
1526cat >>confdefs.h <<_ACEOF
1527#define PACKAGE_NAME "$PACKAGE_NAME"
1528_ACEOF
1529
1530
1531cat >>confdefs.h <<_ACEOF
1532#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1533_ACEOF
1534
1535
1536cat >>confdefs.h <<_ACEOF
1537#define PACKAGE_VERSION "$PACKAGE_VERSION"
1538_ACEOF
1539
1540
1541cat >>confdefs.h <<_ACEOF
1542#define PACKAGE_STRING "$PACKAGE_STRING"
1543_ACEOF
[7d4fbcd]1544
[8298425]1545
1546cat >>confdefs.h <<_ACEOF
1547#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1548_ACEOF
1549
1550
1551# Let the site file select an alternate cache file if it wants to.
[7d4fbcd]1552# Prefer explicitly selected file to automatically selected ones.
[4ad3480]1553if test -n "$CONFIG_SITE"; then
1554  set x "$CONFIG_SITE"
1555elif test "x$prefix" != xNONE; then
1556  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1557else
1558  set x "$ac_default_prefix/share/config.site" \
1559        "$ac_default_prefix/etc/config.site"
[7d4fbcd]1560fi
[4ad3480]1561shift
1562for ac_site_file
1563do
[7d4fbcd]1564  if test -r "$ac_site_file"; then
[8298425]1565    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1566echo "$as_me: loading site script $ac_site_file" >&6;}
1567    sed 's/^/| /' "$ac_site_file" >&5
[7d4fbcd]1568    . "$ac_site_file"
1569  fi
1570done
1571
1572if test -r "$cache_file"; then
[8298425]1573  # Some versions of bash will fail to source /dev/null (special
1574  # files actually), so we avoid doing that.
1575  if test -f "$cache_file"; then
1576    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1577echo "$as_me: loading cache $cache_file" >&6;}
1578    case $cache_file in
[4ad3480]1579      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1580      *)                      . "./$cache_file";;
[8298425]1581    esac
1582  fi
[7d4fbcd]1583else
[8298425]1584  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1585echo "$as_me: creating cache $cache_file" >&6;}
1586  >$cache_file
[7d4fbcd]1587fi
1588
[8298425]1589# Check that the precious variables saved in the cache have kept the same
1590# value.
1591ac_cache_corrupted=false
[4ad3480]1592for ac_var in $ac_precious_vars; do
[8298425]1593  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1594  eval ac_new_set=\$ac_env_${ac_var}_set
[4ad3480]1595  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1596  eval ac_new_val=\$ac_env_${ac_var}_value
[8298425]1597  case $ac_old_set,$ac_new_set in
1598    set,)
1599      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1600echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1601      ac_cache_corrupted=: ;;
1602    ,set)
1603      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1604echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1605      ac_cache_corrupted=: ;;
1606    ,);;
1607    *)
1608      if test "x$ac_old_val" != "x$ac_new_val"; then
1609        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1610echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1611        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1612echo "$as_me:   former value:  $ac_old_val" >&2;}
1613        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1614echo "$as_me:   current value: $ac_new_val" >&2;}
1615        ac_cache_corrupted=:
1616      fi;;
1617  esac
1618  # Pass precious variables to config.status.
1619  if test "$ac_new_set" = set; then
1620    case $ac_new_val in
[4ad3480]1621    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
[8298425]1622    *) ac_arg=$ac_var=$ac_new_val ;;
1623    esac
1624    case " $ac_configure_args " in
1625      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1626      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1627    esac
[7d4fbcd]1628  fi
[8298425]1629done
1630if $ac_cache_corrupted; then
1631  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1632echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1633  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1634echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1635   { (exit 1); exit 1; }; }
[7d4fbcd]1636fi
1637
1638
1639
1640
1641
[8298425]1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
[4ad3480]1654ac_ext=c
1655ac_cpp='$CPP $CPPFLAGS'
1656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658ac_compiler_gnu=$ac_cv_c_compiler_gnu
[8298425]1659
1660
1661
[4ad3480]1662ac_config_headers="$ac_config_headers config.h"
[8298425]1663
1664
1665ac_ext=c
1666ac_cpp='$CPP $CPPFLAGS'
1667ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1668ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1669ac_compiler_gnu=$ac_cv_c_compiler_gnu
1670if test -n "$ac_tool_prefix"; then
1671  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1672set dummy ${ac_tool_prefix}gcc; ac_word=$2
[4ad3480]1673{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1674echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1675if test "${ac_cv_prog_CC+set}" = set; then
1676  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]1677else
1678  if test -n "$CC"; then
1679  ac_cv_prog_CC="$CC" # Let the user override the test.
1680else
[8298425]1681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682for as_dir in $PATH
1683do
1684  IFS=$as_save_IFS
1685  test -z "$as_dir" && as_dir=.
1686  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1687  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1688    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1689    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1690    break 2
1691  fi
1692done
1693done
[4ad3480]1694IFS=$as_save_IFS
[8298425]1695
[7d4fbcd]1696fi
1697fi
[8298425]1698CC=$ac_cv_prog_CC
[7d4fbcd]1699if test -n "$CC"; then
[4ad3480]1700  { echo "$as_me:$LINENO: result: $CC" >&5
1701echo "${ECHO_T}$CC" >&6; }
[8298425]1702else
[4ad3480]1703  { echo "$as_me:$LINENO: result: no" >&5
1704echo "${ECHO_T}no" >&6; }
[8298425]1705fi
1706
[4ad3480]1707
[8298425]1708fi
1709if test -z "$ac_cv_prog_CC"; then
1710  ac_ct_CC=$CC
1711  # Extract the first word of "gcc", so it can be a program name with args.
1712set dummy gcc; ac_word=$2
[4ad3480]1713{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1714echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1715if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1716  echo $ECHO_N "(cached) $ECHO_C" >&6
1717else
1718  if test -n "$ac_ct_CC"; then
1719  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1720else
1721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1722for as_dir in $PATH
1723do
1724  IFS=$as_save_IFS
1725  test -z "$as_dir" && as_dir=.
1726  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1727  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1728    ac_cv_prog_ac_ct_CC="gcc"
1729    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1730    break 2
1731  fi
1732done
1733done
[4ad3480]1734IFS=$as_save_IFS
[8298425]1735
1736fi
1737fi
1738ac_ct_CC=$ac_cv_prog_ac_ct_CC
1739if test -n "$ac_ct_CC"; then
[4ad3480]1740  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1741echo "${ECHO_T}$ac_ct_CC" >&6; }
[8298425]1742else
[4ad3480]1743  { echo "$as_me:$LINENO: result: no" >&5
1744echo "${ECHO_T}no" >&6; }
[8298425]1745fi
1746
[4ad3480]1747  if test "x$ac_ct_CC" = x; then
1748    CC=""
1749  else
1750    case $cross_compiling:$ac_tool_warned in
1751yes:)
1752{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1753whose name does not start with the host triplet.  If you think this
1754configuration is useful to you, please write to autoconf@gnu.org." >&5
1755echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1756whose name does not start with the host triplet.  If you think this
1757configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1758ac_tool_warned=yes ;;
1759esac
1760    CC=$ac_ct_CC
1761  fi
[7d4fbcd]1762else
[8298425]1763  CC="$ac_cv_prog_CC"
[7d4fbcd]1764fi
1765
1766if test -z "$CC"; then
[4ad3480]1767          if test -n "$ac_tool_prefix"; then
1768    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
[8298425]1769set dummy ${ac_tool_prefix}cc; ac_word=$2
[4ad3480]1770{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1772if test "${ac_cv_prog_CC+set}" = set; then
1773  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]1774else
1775  if test -n "$CC"; then
1776  ac_cv_prog_CC="$CC" # Let the user override the test.
1777else
[8298425]1778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1779for as_dir in $PATH
1780do
1781  IFS=$as_save_IFS
1782  test -z "$as_dir" && as_dir=.
1783  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1784  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1785    ac_cv_prog_CC="${ac_tool_prefix}cc"
1786    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1787    break 2
1788  fi
1789done
1790done
[4ad3480]1791IFS=$as_save_IFS
[8298425]1792
1793fi
1794fi
1795CC=$ac_cv_prog_CC
1796if test -n "$CC"; then
[4ad3480]1797  { echo "$as_me:$LINENO: result: $CC" >&5
1798echo "${ECHO_T}$CC" >&6; }
[8298425]1799else
[4ad3480]1800  { echo "$as_me:$LINENO: result: no" >&5
1801echo "${ECHO_T}no" >&6; }
[8298425]1802fi
1803
1804
[4ad3480]1805  fi
[8298425]1806fi
1807if test -z "$CC"; then
1808  # Extract the first word of "cc", so it can be a program name with args.
1809set dummy cc; ac_word=$2
[4ad3480]1810{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1812if test "${ac_cv_prog_CC+set}" = set; then
1813  echo $ECHO_N "(cached) $ECHO_C" >&6
1814else
1815  if test -n "$CC"; then
1816  ac_cv_prog_CC="$CC" # Let the user override the test.
1817else
1818  ac_prog_rejected=no
1819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1820for as_dir in $PATH
1821do
1822  IFS=$as_save_IFS
1823  test -z "$as_dir" && as_dir=.
1824  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1825  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1826    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1827       ac_prog_rejected=yes
1828       continue
1829     fi
1830    ac_cv_prog_CC="cc"
1831    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1832    break 2
1833  fi
1834done
1835done
[4ad3480]1836IFS=$as_save_IFS
[8298425]1837
[7d4fbcd]1838if test $ac_prog_rejected = yes; then
1839  # We found a bogon in the path, so make sure we never use it.
1840  set dummy $ac_cv_prog_CC
1841  shift
[8298425]1842  if test $# != 0; then
[7d4fbcd]1843    # We chose a different compiler from the bogus one.
1844    # However, it has the same basename, so the bogon will be chosen
1845    # first if we set CC to just the basename; use the full file name.
1846    shift
[8298425]1847    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
[7d4fbcd]1848  fi
1849fi
1850fi
1851fi
[8298425]1852CC=$ac_cv_prog_CC
[7d4fbcd]1853if test -n "$CC"; then
[4ad3480]1854  { echo "$as_me:$LINENO: result: $CC" >&5
1855echo "${ECHO_T}$CC" >&6; }
[7d4fbcd]1856else
[4ad3480]1857  { echo "$as_me:$LINENO: result: no" >&5
1858echo "${ECHO_T}no" >&6; }
[7d4fbcd]1859fi
1860
[4ad3480]1861
[8298425]1862fi
1863if test -z "$CC"; then
1864  if test -n "$ac_tool_prefix"; then
[4ad3480]1865  for ac_prog in cl.exe
[8298425]1866  do
1867    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1868set dummy $ac_tool_prefix$ac_prog; ac_word=$2
[4ad3480]1869{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1871if test "${ac_cv_prog_CC+set}" = set; then
1872  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]1873else
1874  if test -n "$CC"; then
1875  ac_cv_prog_CC="$CC" # Let the user override the test.
1876else
[8298425]1877as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1878for as_dir in $PATH
1879do
1880  IFS=$as_save_IFS
1881  test -z "$as_dir" && as_dir=.
1882  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1883  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1884    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1885    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886    break 2
1887  fi
1888done
1889done
[4ad3480]1890IFS=$as_save_IFS
[8298425]1891
[7d4fbcd]1892fi
1893fi
[8298425]1894CC=$ac_cv_prog_CC
[7d4fbcd]1895if test -n "$CC"; then
[4ad3480]1896  { echo "$as_me:$LINENO: result: $CC" >&5
1897echo "${ECHO_T}$CC" >&6; }
[7d4fbcd]1898else
[4ad3480]1899  { echo "$as_me:$LINENO: result: no" >&5
1900echo "${ECHO_T}no" >&6; }
[7d4fbcd]1901fi
[8298425]1902
[4ad3480]1903
[8298425]1904    test -n "$CC" && break
1905  done
1906fi
1907if test -z "$CC"; then
1908  ac_ct_CC=$CC
[4ad3480]1909  for ac_prog in cl.exe
[8298425]1910do
1911  # Extract the first word of "$ac_prog", so it can be a program name with args.
1912set dummy $ac_prog; ac_word=$2
[4ad3480]1913{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1914echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1915if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1916  echo $ECHO_N "(cached) $ECHO_C" >&6
1917else
1918  if test -n "$ac_ct_CC"; then
1919  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1920else
1921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922for as_dir in $PATH
1923do
1924  IFS=$as_save_IFS
1925  test -z "$as_dir" && as_dir=.
1926  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1927  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1928    ac_cv_prog_ac_ct_CC="$ac_prog"
1929    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1930    break 2
[7d4fbcd]1931  fi
[8298425]1932done
1933done
[4ad3480]1934IFS=$as_save_IFS
[8298425]1935
1936fi
1937fi
1938ac_ct_CC=$ac_cv_prog_ac_ct_CC
1939if test -n "$ac_ct_CC"; then
[4ad3480]1940  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1941echo "${ECHO_T}$ac_ct_CC" >&6; }
[8298425]1942else
[4ad3480]1943  { echo "$as_me:$LINENO: result: no" >&5
1944echo "${ECHO_T}no" >&6; }
[7d4fbcd]1945fi
1946
[4ad3480]1947
[8298425]1948  test -n "$ac_ct_CC" && break
1949done
[7d4fbcd]1950
[4ad3480]1951  if test "x$ac_ct_CC" = x; then
1952    CC=""
1953  else
1954    case $cross_compiling:$ac_tool_warned in
1955yes:)
1956{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1957whose name does not start with the host triplet.  If you think this
1958configuration is useful to you, please write to autoconf@gnu.org." >&5
1959echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1960whose name does not start with the host triplet.  If you think this
1961configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1962ac_tool_warned=yes ;;
1963esac
1964    CC=$ac_ct_CC
1965  fi
[8298425]1966fi
1967
1968fi
1969
1970
1971test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1972See \`config.log' for more details." >&5
1973echo "$as_me: error: no acceptable C compiler found in \$PATH
1974See \`config.log' for more details." >&2;}
1975   { (exit 1); exit 1; }; }
1976
1977# Provide some information about the compiler.
[4ad3480]1978echo "$as_me:$LINENO: checking for C compiler version" >&5
[8298425]1979ac_compiler=`set X $ac_compile; echo $2`
[4ad3480]1980{ (ac_try="$ac_compiler --version >&5"
1981case "(($ac_try" in
1982  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983  *) ac_try_echo=$ac_try;;
1984esac
1985eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1986  (eval "$ac_compiler --version >&5") 2>&5
[8298425]1987  ac_status=$?
1988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989  (exit $ac_status); }
[4ad3480]1990{ (ac_try="$ac_compiler -v >&5"
1991case "(($ac_try" in
1992  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1993  *) ac_try_echo=$ac_try;;
1994esac
1995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1996  (eval "$ac_compiler -v >&5") 2>&5
[8298425]1997  ac_status=$?
1998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999  (exit $ac_status); }
[4ad3480]2000{ (ac_try="$ac_compiler -V >&5"
2001case "(($ac_try" in
2002  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2003  *) ac_try_echo=$ac_try;;
2004esac
2005eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2006  (eval "$ac_compiler -V >&5") 2>&5
[8298425]2007  ac_status=$?
2008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009  (exit $ac_status); }
2010
2011cat >conftest.$ac_ext <<_ACEOF
2012/* confdefs.h.  */
2013_ACEOF
2014cat confdefs.h >>conftest.$ac_ext
2015cat >>conftest.$ac_ext <<_ACEOF
2016/* end confdefs.h.  */
2017
2018int
2019main ()
2020{
2021
2022  ;
2023  return 0;
2024}
2025_ACEOF
2026ac_clean_files_save=$ac_clean_files
2027ac_clean_files="$ac_clean_files a.out a.exe b.out"
2028# Try to create an executable without -o first, disregard a.out.
2029# It will help us diagnose broken compilers, and finding out an intuition
2030# of exeext.
[4ad3480]2031{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2032echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
[8298425]2033ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
[4ad3480]2034#
2035# List of possible output files, starting from the most likely.
2036# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2037# only as a last resort.  b.out is created by i960 compilers.
2038ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2039#
2040# The IRIX 6 linker writes into existing files which may not be
2041# executable, retaining their permissions.  Remove them first so a
2042# subsequent execution test works.
2043ac_rmfiles=
2044for ac_file in $ac_files
2045do
2046  case $ac_file in
2047    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2048    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2049  esac
2050done
2051rm -f $ac_rmfiles
2052
2053if { (ac_try="$ac_link_default"
2054case "(($ac_try" in
2055  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2056  *) ac_try_echo=$ac_try;;
2057esac
2058eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2059  (eval "$ac_link_default") 2>&5
[8298425]2060  ac_status=$?
2061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062  (exit $ac_status); }; then
[4ad3480]2063  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2064# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2065# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2066# so that the user can short-circuit this test for compilers unknown to
2067# Autoconf.
2068for ac_file in $ac_files
[8298425]2069do
2070  test -f "$ac_file" || continue
2071  case $ac_file in
[4ad3480]2072    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
[8298425]2073        ;;
2074    [ab].out )
2075        # We found the default executable, but exeext='' is most
2076        # certainly right.
2077        break;;
2078    *.* )
[4ad3480]2079        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2080        then :; else
2081           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2082        fi
2083        # We set ac_cv_exeext here because the later test for it is not
2084        # safe: cross compilers may not add the suffix if given an `-o'
2085        # argument, so we may need to know it at that point already.
2086        # Even if this section looks crufty: it has the advantage of
2087        # actually working.
[8298425]2088        break;;
2089    * )
2090        break;;
2091  esac
2092done
[4ad3480]2093test "$ac_cv_exeext" = no && ac_cv_exeext=
2094
[8298425]2095else
2096  echo "$as_me: failed program was:" >&5
2097sed 's/^/| /' conftest.$ac_ext >&5
2098
2099{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2100See \`config.log' for more details." >&5
2101echo "$as_me: error: C compiler cannot create executables
2102See \`config.log' for more details." >&2;}
2103   { (exit 77); exit 77; }; }
2104fi
2105
2106ac_exeext=$ac_cv_exeext
[4ad3480]2107{ echo "$as_me:$LINENO: result: $ac_file" >&5
2108echo "${ECHO_T}$ac_file" >&6; }
[8298425]2109
[4ad3480]2110# Check that the compiler produces executables we can run.  If not, either
[8298425]2111# the compiler is broken, or we cross compile.
[4ad3480]2112{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2113echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
[8298425]2114# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2115# If not cross compiling, check that we can run a simple program.
2116if test "$cross_compiling" != yes; then
2117  if { ac_try='./$ac_file'
[4ad3480]2118  { (case "(($ac_try" in
2119  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2120  *) ac_try_echo=$ac_try;;
2121esac
2122eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2123  (eval "$ac_try") 2>&5
[8298425]2124  ac_status=$?
2125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126  (exit $ac_status); }; }; then
2127    cross_compiling=no
[7d4fbcd]2128  else
[8298425]2129    if test "$cross_compiling" = maybe; then
2130        cross_compiling=yes
2131    else
2132        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2133If you meant to cross compile, use \`--host'.
2134See \`config.log' for more details." >&5
2135echo "$as_me: error: cannot run C compiled programs.
2136If you meant to cross compile, use \`--host'.
2137See \`config.log' for more details." >&2;}
2138   { (exit 1); exit 1; }; }
2139    fi
[7d4fbcd]2140  fi
2141fi
[4ad3480]2142{ echo "$as_me:$LINENO: result: yes" >&5
2143echo "${ECHO_T}yes" >&6; }
[8298425]2144
2145rm -f a.out a.exe conftest$ac_cv_exeext b.out
2146ac_clean_files=$ac_clean_files_save
[4ad3480]2147# Check that the compiler produces executables we can run.  If not, either
[8298425]2148# the compiler is broken, or we cross compile.
[4ad3480]2149{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2150echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2151{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2152echo "${ECHO_T}$cross_compiling" >&6; }
2153
2154{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2155echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2156if { (ac_try="$ac_link"
2157case "(($ac_try" in
2158  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2159  *) ac_try_echo=$ac_try;;
2160esac
2161eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2162  (eval "$ac_link") 2>&5
[8298425]2163  ac_status=$?
2164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165  (exit $ac_status); }; then
2166  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2167# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2168# work properly (i.e., refer to `conftest.exe'), while it won't with
2169# `rm'.
2170for ac_file in conftest.exe conftest conftest.*; do
2171  test -f "$ac_file" || continue
2172  case $ac_file in
[4ad3480]2173    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
[8298425]2174    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2175          break;;
2176    * ) break;;
2177  esac
2178done
[7d4fbcd]2179else
[8298425]2180  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2181See \`config.log' for more details." >&5
2182echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2183See \`config.log' for more details." >&2;}
2184   { (exit 1); exit 1; }; }
[7d4fbcd]2185fi
[8298425]2186
2187rm -f conftest$ac_cv_exeext
[4ad3480]2188{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2189echo "${ECHO_T}$ac_cv_exeext" >&6; }
[8298425]2190
2191rm -f conftest.$ac_ext
2192EXEEXT=$ac_cv_exeext
2193ac_exeext=$EXEEXT
[4ad3480]2194{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2195echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
[8298425]2196if test "${ac_cv_objext+set}" = set; then
2197  echo $ECHO_N "(cached) $ECHO_C" >&6
2198else
2199  cat >conftest.$ac_ext <<_ACEOF
2200/* confdefs.h.  */
2201_ACEOF
2202cat confdefs.h >>conftest.$ac_ext
2203cat >>conftest.$ac_ext <<_ACEOF
2204/* end confdefs.h.  */
2205
2206int
2207main ()
2208{
2209
2210  ;
2211  return 0;
2212}
2213_ACEOF
2214rm -f conftest.o conftest.obj
[4ad3480]2215if { (ac_try="$ac_compile"
2216case "(($ac_try" in
2217  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2218  *) ac_try_echo=$ac_try;;
2219esac
2220eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2221  (eval "$ac_compile") 2>&5
[8298425]2222  ac_status=$?
2223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224  (exit $ac_status); }; then
[4ad3480]2225  for ac_file in conftest.o conftest.obj conftest.*; do
2226  test -f "$ac_file" || continue;
[8298425]2227  case $ac_file in
[4ad3480]2228    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
[8298425]2229    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2230       break;;
2231  esac
2232done
2233else
2234  echo "$as_me: failed program was:" >&5
2235sed 's/^/| /' conftest.$ac_ext >&5
2236
2237{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2238See \`config.log' for more details." >&5
2239echo "$as_me: error: cannot compute suffix of object files: cannot compile
2240See \`config.log' for more details." >&2;}
2241   { (exit 1); exit 1; }; }
[7d4fbcd]2242fi
2243
[8298425]2244rm -f conftest.$ac_cv_objext conftest.$ac_ext
2245fi
[4ad3480]2246{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2247echo "${ECHO_T}$ac_cv_objext" >&6; }
[8298425]2248OBJEXT=$ac_cv_objext
2249ac_objext=$OBJEXT
[4ad3480]2250{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2251echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
[8298425]2252if test "${ac_cv_c_compiler_gnu+set}" = set; then
2253  echo $ECHO_N "(cached) $ECHO_C" >&6
2254else
2255  cat >conftest.$ac_ext <<_ACEOF
2256/* confdefs.h.  */
2257_ACEOF
2258cat confdefs.h >>conftest.$ac_ext
2259cat >>conftest.$ac_ext <<_ACEOF
2260/* end confdefs.h.  */
2261
2262int
2263main ()
2264{
2265#ifndef __GNUC__
2266       choke me
2267#endif
[7d4fbcd]2268
[8298425]2269  ;
2270  return 0;
2271}
2272_ACEOF
2273rm -f conftest.$ac_objext
[4ad3480]2274if { (ac_try="$ac_compile"
2275case "(($ac_try" in
2276  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2277  *) ac_try_echo=$ac_try;;
2278esac
2279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2280  (eval "$ac_compile") 2>conftest.er1
[8298425]2281  ac_status=$?
2282  grep -v '^ *+' conftest.er1 >conftest.err
2283  rm -f conftest.er1
2284  cat conftest.err >&5
2285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286  (exit $ac_status); } &&
[4ad3480]2287         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2288  { (case "(($ac_try" in
2289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2290  *) ac_try_echo=$ac_try;;
2291esac
2292eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2293  (eval "$ac_try") 2>&5
[8298425]2294  ac_status=$?
2295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296  (exit $ac_status); }; } &&
2297         { ac_try='test -s conftest.$ac_objext'
[4ad3480]2298  { (case "(($ac_try" in
2299  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2300  *) ac_try_echo=$ac_try;;
2301esac
2302eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2303  (eval "$ac_try") 2>&5
[8298425]2304  ac_status=$?
2305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306  (exit $ac_status); }; }; then
2307  ac_compiler_gnu=yes
[7d4fbcd]2308else
[8298425]2309  echo "$as_me: failed program was:" >&5
2310sed 's/^/| /' conftest.$ac_ext >&5
2311
[4ad3480]2312        ac_compiler_gnu=no
[7d4fbcd]2313fi
[4ad3480]2314
2315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
[8298425]2316ac_cv_c_compiler_gnu=$ac_compiler_gnu
[7d4fbcd]2317
[8298425]2318fi
[4ad3480]2319{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2320echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
[8298425]2321GCC=`test $ac_compiler_gnu = yes && echo yes`
2322ac_test_CFLAGS=${CFLAGS+set}
2323ac_save_CFLAGS=$CFLAGS
[4ad3480]2324{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2325echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
[8298425]2326if test "${ac_cv_prog_cc_g+set}" = set; then
2327  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2328else
[4ad3480]2329  ac_save_c_werror_flag=$ac_c_werror_flag
2330   ac_c_werror_flag=yes
2331   ac_cv_prog_cc_g=no
2332   CFLAGS="-g"
2333   cat >conftest.$ac_ext <<_ACEOF
2334/* confdefs.h.  */
2335_ACEOF
2336cat confdefs.h >>conftest.$ac_ext
2337cat >>conftest.$ac_ext <<_ACEOF
2338/* end confdefs.h.  */
2339
2340int
2341main ()
2342{
2343
2344  ;
2345  return 0;
2346}
2347_ACEOF
2348rm -f conftest.$ac_objext
2349if { (ac_try="$ac_compile"
2350case "(($ac_try" in
2351  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2352  *) ac_try_echo=$ac_try;;
2353esac
2354eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2355  (eval "$ac_compile") 2>conftest.er1
2356  ac_status=$?
2357  grep -v '^ *+' conftest.er1 >conftest.err
2358  rm -f conftest.er1
2359  cat conftest.err >&5
2360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361  (exit $ac_status); } &&
2362         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2363  { (case "(($ac_try" in
2364  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2365  *) ac_try_echo=$ac_try;;
2366esac
2367eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2368  (eval "$ac_try") 2>&5
2369  ac_status=$?
2370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371  (exit $ac_status); }; } &&
2372         { ac_try='test -s conftest.$ac_objext'
2373  { (case "(($ac_try" in
2374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375  *) ac_try_echo=$ac_try;;
2376esac
2377eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2378  (eval "$ac_try") 2>&5
2379  ac_status=$?
2380  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381  (exit $ac_status); }; }; then
2382  ac_cv_prog_cc_g=yes
2383else
2384  echo "$as_me: failed program was:" >&5
2385sed 's/^/| /' conftest.$ac_ext >&5
2386
2387        CFLAGS=""
2388      cat >conftest.$ac_ext <<_ACEOF
2389/* confdefs.h.  */
2390_ACEOF
2391cat confdefs.h >>conftest.$ac_ext
2392cat >>conftest.$ac_ext <<_ACEOF
2393/* end confdefs.h.  */
2394
2395int
2396main ()
2397{
2398
2399  ;
2400  return 0;
2401}
2402_ACEOF
2403rm -f conftest.$ac_objext
2404if { (ac_try="$ac_compile"
2405case "(($ac_try" in
2406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407  *) ac_try_echo=$ac_try;;
2408esac
2409eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2410  (eval "$ac_compile") 2>conftest.er1
2411  ac_status=$?
2412  grep -v '^ *+' conftest.er1 >conftest.err
2413  rm -f conftest.er1
2414  cat conftest.err >&5
2415  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2416  (exit $ac_status); } &&
2417         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2418  { (case "(($ac_try" in
2419  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2420  *) ac_try_echo=$ac_try;;
2421esac
2422eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2423  (eval "$ac_try") 2>&5
2424  ac_status=$?
2425  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426  (exit $ac_status); }; } &&
2427         { ac_try='test -s conftest.$ac_objext'
2428  { (case "(($ac_try" in
2429  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430  *) ac_try_echo=$ac_try;;
2431esac
2432eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433  (eval "$ac_try") 2>&5
2434  ac_status=$?
2435  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436  (exit $ac_status); }; }; then
2437  :
2438else
2439  echo "$as_me: failed program was:" >&5
2440sed 's/^/| /' conftest.$ac_ext >&5
2441
2442        ac_c_werror_flag=$ac_save_c_werror_flag
2443         CFLAGS="-g"
2444         cat >conftest.$ac_ext <<_ACEOF
[8298425]2445/* confdefs.h.  */
2446_ACEOF
2447cat confdefs.h >>conftest.$ac_ext
2448cat >>conftest.$ac_ext <<_ACEOF
2449/* end confdefs.h.  */
2450
2451int
2452main ()
2453{
2454
2455  ;
2456  return 0;
2457}
2458_ACEOF
2459rm -f conftest.$ac_objext
[4ad3480]2460if { (ac_try="$ac_compile"
2461case "(($ac_try" in
2462  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463  *) ac_try_echo=$ac_try;;
2464esac
2465eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2466  (eval "$ac_compile") 2>conftest.er1
[8298425]2467  ac_status=$?
2468  grep -v '^ *+' conftest.er1 >conftest.err
2469  rm -f conftest.er1
2470  cat conftest.err >&5
2471  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472  (exit $ac_status); } &&
[4ad3480]2473         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2474  { (case "(($ac_try" in
2475  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2476  *) ac_try_echo=$ac_try;;
2477esac
2478eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2479  (eval "$ac_try") 2>&5
[8298425]2480  ac_status=$?
2481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482  (exit $ac_status); }; } &&
2483         { ac_try='test -s conftest.$ac_objext'
[4ad3480]2484  { (case "(($ac_try" in
2485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2486  *) ac_try_echo=$ac_try;;
2487esac
2488eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2489  (eval "$ac_try") 2>&5
[8298425]2490  ac_status=$?
2491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492  (exit $ac_status); }; }; then
[7d4fbcd]2493  ac_cv_prog_cc_g=yes
2494else
[8298425]2495  echo "$as_me: failed program was:" >&5
2496sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2497
[4ad3480]2498
[7d4fbcd]2499fi
[4ad3480]2500
2501rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2502fi
2503
2504rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2505fi
2506
2507rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508   ac_c_werror_flag=$ac_save_c_werror_flag
[8298425]2509fi
[4ad3480]2510{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2511echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
[7d4fbcd]2512if test "$ac_test_CFLAGS" = set; then
[8298425]2513  CFLAGS=$ac_save_CFLAGS
[7d4fbcd]2514elif test $ac_cv_prog_cc_g = yes; then
2515  if test "$GCC" = yes; then
2516    CFLAGS="-g -O2"
2517  else
2518    CFLAGS="-g"
2519  fi
2520else
2521  if test "$GCC" = yes; then
2522    CFLAGS="-O2"
2523  else
2524    CFLAGS=
2525  fi
2526fi
[4ad3480]2527{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2528echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2529if test "${ac_cv_prog_cc_c89+set}" = set; then
[8298425]2530  echo $ECHO_N "(cached) $ECHO_C" >&6
2531else
[4ad3480]2532  ac_cv_prog_cc_c89=no
[8298425]2533ac_save_CC=$CC
2534cat >conftest.$ac_ext <<_ACEOF
2535/* confdefs.h.  */
2536_ACEOF
2537cat confdefs.h >>conftest.$ac_ext
2538cat >>conftest.$ac_ext <<_ACEOF
2539/* end confdefs.h.  */
2540#include <stdarg.h>
2541#include <stdio.h>
2542#include <sys/types.h>
2543#include <sys/stat.h>
2544/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2545struct buf { int x; };
2546FILE * (*rcsopen) (struct buf *, struct stat *, int);
2547static char *e (p, i)
2548     char **p;
2549     int i;
2550{
2551  return p[i];
2552}
2553static char *f (char * (*g) (char **, int), char **p, ...)
2554{
2555  char *s;
2556  va_list v;
2557  va_start (v,p);
2558  s = g (p, va_arg (v,int));
2559  va_end (v);
2560  return s;
2561}
2562
2563/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2564   function prototypes and stuff, but not '\xHH' hex character constants.
2565   These don't provoke an error unfortunately, instead are silently treated
[4ad3480]2566   as 'x'.  The following induces an error, until -std is added to get
[8298425]2567   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2568   array size at least.  It's necessary to write '\x00'==0 to get something
[4ad3480]2569   that's true only with -std.  */
[8298425]2570int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2571
[4ad3480]2572/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2573   inside strings and character constants.  */
2574#define FOO(x) 'x'
2575int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2576
[8298425]2577int test (int i, double x);
2578struct s1 {int (*f) (int a);};
2579struct s2 {int (*f) (double a);};
2580int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2581int argc;
2582char **argv;
2583int
2584main ()
2585{
2586return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2587  ;
2588  return 0;
2589}
2590_ACEOF
[4ad3480]2591for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2592        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
[8298425]2593do
2594  CC="$ac_save_CC $ac_arg"
2595  rm -f conftest.$ac_objext
[4ad3480]2596if { (ac_try="$ac_compile"
2597case "(($ac_try" in
2598  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599  *) ac_try_echo=$ac_try;;
2600esac
2601eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602  (eval "$ac_compile") 2>conftest.er1
[8298425]2603  ac_status=$?
2604  grep -v '^ *+' conftest.er1 >conftest.err
2605  rm -f conftest.er1
2606  cat conftest.err >&5
2607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608  (exit $ac_status); } &&
[4ad3480]2609         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2610  { (case "(($ac_try" in
2611  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2612  *) ac_try_echo=$ac_try;;
2613esac
2614eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2615  (eval "$ac_try") 2>&5
[8298425]2616  ac_status=$?
2617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618  (exit $ac_status); }; } &&
2619         { ac_try='test -s conftest.$ac_objext'
[4ad3480]2620  { (case "(($ac_try" in
2621  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2622  *) ac_try_echo=$ac_try;;
2623esac
2624eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2625  (eval "$ac_try") 2>&5
[8298425]2626  ac_status=$?
2627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628  (exit $ac_status); }; }; then
[4ad3480]2629  ac_cv_prog_cc_c89=$ac_arg
[8298425]2630else
2631  echo "$as_me: failed program was:" >&5
2632sed 's/^/| /' conftest.$ac_ext >&5
2633
[4ad3480]2634
[8298425]2635fi
[4ad3480]2636
2637rm -f core conftest.err conftest.$ac_objext
2638  test "x$ac_cv_prog_cc_c89" != "xno" && break
[8298425]2639done
[4ad3480]2640rm -f conftest.$ac_ext
[8298425]2641CC=$ac_save_CC
2642
2643fi
[4ad3480]2644# AC_CACHE_VAL
2645case "x$ac_cv_prog_cc_c89" in
2646  x)
2647    { echo "$as_me:$LINENO: result: none needed" >&5
2648echo "${ECHO_T}none needed" >&6; } ;;
2649  xno)
2650    { echo "$as_me:$LINENO: result: unsupported" >&5
2651echo "${ECHO_T}unsupported" >&6; } ;;
[8298425]2652  *)
[4ad3480]2653    CC="$CC $ac_cv_prog_cc_c89"
2654    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2655echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
[8298425]2656esac
2657
[4ad3480]2658
2659ac_ext=c
2660ac_cpp='$CPP $CPPFLAGS'
2661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2663ac_compiler_gnu=$ac_cv_c_compiler_gnu
2664
2665
2666if test "$GCC" = yes; then
2667     CFLAGS="$CFLAGS -Wall -g";
2668fi
2669
2670
2671{ echo "$as_me:$LINENO: checking for /usr/athena/include" >&5
2672echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; }
2673if test -d /usr/athena/include; then
2674        CFLAGS=${CFLAGS}\ -I/usr/athena/include
2675        CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include
2676        { echo "$as_me:$LINENO: result: yes" >&5
2677echo "${ECHO_T}yes" >&6; }
2678else
2679        { echo "$as_me:$LINENO: result: no" >&5
2680echo "${ECHO_T}no" >&6; }
2681fi
2682{ echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5
2683echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; }
2684if test -d /usr/athena/lib; then
2685        LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS}
2686        { echo "$as_me:$LINENO: result: yes" >&5
2687echo "${ECHO_T}yes" >&6; }
2688else
2689        { echo "$as_me:$LINENO: result: no" >&5
2690echo "${ECHO_T}no" >&6; }
2691fi
2692
2693{ echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5
2694echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; }
2695if test -d /usr/include/kerberosIV; then
2696        CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV
2697        CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV
2698        { echo "$as_me:$LINENO: result: yes" >&5
2699echo "${ECHO_T}yes" >&6; }
2700else
2701        { echo "$as_me:$LINENO: result: no" >&5
2702echo "${ECHO_T}no" >&6; }
2703fi
2704
2705
2706{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
2707echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
2708if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
2709  echo $ECHO_N "(cached) $ECHO_C" >&6
2710else
2711  ac_check_lib_save_LIBS=$LIBS
2712LIBS="-lncurses  $LIBS"
[8298425]2713cat >conftest.$ac_ext <<_ACEOF
[4ad3480]2714/* confdefs.h.  */
[8298425]2715_ACEOF
2716cat confdefs.h >>conftest.$ac_ext
2717cat >>conftest.$ac_ext <<_ACEOF
2718/* end confdefs.h.  */
2719
[4ad3480]2720/* Override any GCC internal prototype to avoid an error.
2721   Use char because int might match the return type of a GCC
2722   builtin and then its argument prototype would still apply.  */
[8298425]2723#ifdef __cplusplus
2724extern "C"
2725#endif
2726char initscr ();
2727int
2728main ()
2729{
[4ad3480]2730return initscr ();
[8298425]2731  ;
2732  return 0;
2733}
2734_ACEOF
2735rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]2736if { (ac_try="$ac_link"
2737case "(($ac_try" in
2738  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2739  *) ac_try_echo=$ac_try;;
2740esac
2741eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2742  (eval "$ac_link") 2>conftest.er1
[8298425]2743  ac_status=$?
2744  grep -v '^ *+' conftest.er1 >conftest.err
2745  rm -f conftest.er1
2746  cat conftest.err >&5
2747  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748  (exit $ac_status); } &&
[4ad3480]2749         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2750  { (case "(($ac_try" in
2751  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752  *) ac_try_echo=$ac_try;;
2753esac
2754eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755  (eval "$ac_try") 2>&5
[8298425]2756  ac_status=$?
2757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758  (exit $ac_status); }; } &&
2759         { ac_try='test -s conftest$ac_exeext'
[4ad3480]2760  { (case "(($ac_try" in
2761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2762  *) ac_try_echo=$ac_try;;
2763esac
2764eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2765  (eval "$ac_try") 2>&5
[8298425]2766  ac_status=$?
2767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768  (exit $ac_status); }; }; then
2769  ac_cv_lib_ncurses_initscr=yes
2770else
2771  echo "$as_me: failed program was:" >&5
2772sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2773
[4ad3480]2774        ac_cv_lib_ncurses_initscr=no
[7d4fbcd]2775fi
[4ad3480]2776
2777rm -f core conftest.err conftest.$ac_objext \
[8298425]2778      conftest$ac_exeext conftest.$ac_ext
2779LIBS=$ac_check_lib_save_LIBS
2780fi
[4ad3480]2781{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
2782echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
[8298425]2783if test $ac_cv_lib_ncurses_initscr = yes; then
2784  cat >>confdefs.h <<_ACEOF
2785#define HAVE_LIBNCURSES 1
2786_ACEOF
[7d4fbcd]2787
2788  LIBS="-lncurses $LIBS"
2789
2790else
[8298425]2791
[4ad3480]2792{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
2793echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
[8298425]2794if test "${ac_cv_lib_curses_initscr+set}" = set; then
2795  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2796else
[8298425]2797  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]2798LIBS="-lcurses  $LIBS"
[8298425]2799
2800cat >conftest.$ac_ext <<_ACEOF
2801/* confdefs.h.  */
2802_ACEOF
2803cat confdefs.h >>conftest.$ac_ext
2804cat >>conftest.$ac_ext <<_ACEOF
2805/* end confdefs.h.  */
2806
[4ad3480]2807/* Override any GCC internal prototype to avoid an error.
2808   Use char because int might match the return type of a GCC
2809   builtin and then its argument prototype would still apply.  */
[8298425]2810#ifdef __cplusplus
2811extern "C"
2812#endif
2813char initscr ();
2814int
2815main ()
2816{
[4ad3480]2817return initscr ();
[8298425]2818  ;
2819  return 0;
2820}
2821_ACEOF
2822rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]2823if { (ac_try="$ac_link"
2824case "(($ac_try" in
2825  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2826  *) ac_try_echo=$ac_try;;
2827esac
2828eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2829  (eval "$ac_link") 2>conftest.er1
[8298425]2830  ac_status=$?
2831  grep -v '^ *+' conftest.er1 >conftest.err
2832  rm -f conftest.er1
2833  cat conftest.err >&5
2834  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835  (exit $ac_status); } &&
[4ad3480]2836         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2837  { (case "(($ac_try" in
2838  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2839  *) ac_try_echo=$ac_try;;
2840esac
2841eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842  (eval "$ac_try") 2>&5
[8298425]2843  ac_status=$?
2844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845  (exit $ac_status); }; } &&
2846         { ac_try='test -s conftest$ac_exeext'
[4ad3480]2847  { (case "(($ac_try" in
2848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849  *) ac_try_echo=$ac_try;;
2850esac
2851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2852  (eval "$ac_try") 2>&5
[8298425]2853  ac_status=$?
2854  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855  (exit $ac_status); }; }; then
2856  ac_cv_lib_curses_initscr=yes
2857else
2858  echo "$as_me: failed program was:" >&5
2859sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2860
[4ad3480]2861        ac_cv_lib_curses_initscr=no
[7d4fbcd]2862fi
[4ad3480]2863
2864rm -f core conftest.err conftest.$ac_objext \
[8298425]2865      conftest$ac_exeext conftest.$ac_ext
2866LIBS=$ac_check_lib_save_LIBS
2867fi
[4ad3480]2868{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
2869echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
[8298425]2870if test $ac_cv_lib_curses_initscr = yes; then
2871  cat >>confdefs.h <<_ACEOF
2872#define HAVE_LIBCURSES 1
2873_ACEOF
[7d4fbcd]2874
2875  LIBS="-lcurses $LIBS"
2876
2877else
[8298425]2878  { { echo "$as_me:$LINENO: error: No curses library found." >&5
2879echo "$as_me: error: No curses library found." >&2;}
2880   { (exit 1); exit 1; }; }
[7d4fbcd]2881fi
2882
2883fi
2884
[8298425]2885
[4ad3480]2886{ echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
2887echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
[8298425]2888if test "${ac_cv_lib_com_err_com_err+set}" = set; then
2889  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2890else
[8298425]2891  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]2892LIBS="-lcom_err  $LIBS"
[8298425]2893cat >conftest.$ac_ext <<_ACEOF
2894/* confdefs.h.  */
2895_ACEOF
2896cat confdefs.h >>conftest.$ac_ext
2897cat >>conftest.$ac_ext <<_ACEOF
2898/* end confdefs.h.  */
2899
[4ad3480]2900/* Override any GCC internal prototype to avoid an error.
2901   Use char because int might match the return type of a GCC
2902   builtin and then its argument prototype would still apply.  */
[8298425]2903#ifdef __cplusplus
2904extern "C"
2905#endif
2906char com_err ();
2907int
2908main ()
2909{
[4ad3480]2910return com_err ();
[8298425]2911  ;
2912  return 0;
2913}
2914_ACEOF
2915rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]2916if { (ac_try="$ac_link"
2917case "(($ac_try" in
2918  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919  *) ac_try_echo=$ac_try;;
2920esac
2921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922  (eval "$ac_link") 2>conftest.er1
[8298425]2923  ac_status=$?
2924  grep -v '^ *+' conftest.er1 >conftest.err
2925  rm -f conftest.er1
2926  cat conftest.err >&5
2927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928  (exit $ac_status); } &&
[4ad3480]2929         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2930  { (case "(($ac_try" in
2931  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2932  *) ac_try_echo=$ac_try;;
2933esac
2934eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2935  (eval "$ac_try") 2>&5
[8298425]2936  ac_status=$?
2937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938  (exit $ac_status); }; } &&
2939         { ac_try='test -s conftest$ac_exeext'
[4ad3480]2940  { (case "(($ac_try" in
2941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2942  *) ac_try_echo=$ac_try;;
2943esac
2944eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945  (eval "$ac_try") 2>&5
[8298425]2946  ac_status=$?
2947  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948  (exit $ac_status); }; }; then
2949  ac_cv_lib_com_err_com_err=yes
2950else
2951  echo "$as_me: failed program was:" >&5
2952sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2953
[4ad3480]2954        ac_cv_lib_com_err_com_err=no
[8298425]2955fi
[4ad3480]2956
2957rm -f core conftest.err conftest.$ac_objext \
[8298425]2958      conftest$ac_exeext conftest.$ac_ext
2959LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]2960fi
[4ad3480]2961{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
2962echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
[8298425]2963if test $ac_cv_lib_com_err_com_err = yes; then
2964  cat >>confdefs.h <<_ACEOF
2965#define HAVE_LIBCOM_ERR 1
2966_ACEOF
[7d4fbcd]2967
2968  LIBS="-lcom_err $LIBS"
2969
2970fi
2971
[8298425]2972
[4ad3480]2973{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2974echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
[8298425]2975if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2976  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2977else
[8298425]2978  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]2979LIBS="-lnsl  $LIBS"
[8298425]2980cat >conftest.$ac_ext <<_ACEOF
2981/* confdefs.h.  */
2982_ACEOF
2983cat confdefs.h >>conftest.$ac_ext
2984cat >>conftest.$ac_ext <<_ACEOF
2985/* end confdefs.h.  */
2986
[4ad3480]2987/* Override any GCC internal prototype to avoid an error.
2988   Use char because int might match the return type of a GCC
2989   builtin and then its argument prototype would still apply.  */
[8298425]2990#ifdef __cplusplus
2991extern "C"
2992#endif
2993char gethostbyname ();
2994int
2995main ()
2996{
[4ad3480]2997return gethostbyname ();
[8298425]2998  ;
2999  return 0;
3000}
3001_ACEOF
3002rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3003if { (ac_try="$ac_link"
3004case "(($ac_try" in
3005  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3006  *) ac_try_echo=$ac_try;;
3007esac
3008eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009  (eval "$ac_link") 2>conftest.er1
[8298425]3010  ac_status=$?
3011  grep -v '^ *+' conftest.er1 >conftest.err
3012  rm -f conftest.er1
3013  cat conftest.err >&5
3014  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015  (exit $ac_status); } &&
[4ad3480]3016         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3017  { (case "(($ac_try" in
3018  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019  *) ac_try_echo=$ac_try;;
3020esac
3021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3022  (eval "$ac_try") 2>&5
[8298425]3023  ac_status=$?
3024  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025  (exit $ac_status); }; } &&
3026         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3027  { (case "(($ac_try" in
3028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029  *) ac_try_echo=$ac_try;;
3030esac
3031eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032  (eval "$ac_try") 2>&5
[8298425]3033  ac_status=$?
3034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035  (exit $ac_status); }; }; then
3036  ac_cv_lib_nsl_gethostbyname=yes
3037else
3038  echo "$as_me: failed program was:" >&5
3039sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3040
[4ad3480]3041        ac_cv_lib_nsl_gethostbyname=no
[7d4fbcd]3042fi
[4ad3480]3043
3044rm -f core conftest.err conftest.$ac_objext \
[8298425]3045      conftest$ac_exeext conftest.$ac_ext
3046LIBS=$ac_check_lib_save_LIBS
3047fi
[4ad3480]3048{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3049echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
[8298425]3050if test $ac_cv_lib_nsl_gethostbyname = yes; then
3051  cat >>confdefs.h <<_ACEOF
3052#define HAVE_LIBNSL 1
3053_ACEOF
[7d4fbcd]3054
3055  LIBS="-lnsl $LIBS"
3056
3057fi
3058
[8298425]3059
[4ad3480]3060{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3061echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
[8298425]3062if test "${ac_cv_lib_socket_socket+set}" = set; then
3063  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3064else
[8298425]3065  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3066LIBS="-lsocket  $LIBS"
[8298425]3067cat >conftest.$ac_ext <<_ACEOF
3068/* confdefs.h.  */
3069_ACEOF
3070cat confdefs.h >>conftest.$ac_ext
3071cat >>conftest.$ac_ext <<_ACEOF
3072/* end confdefs.h.  */
3073
[4ad3480]3074/* Override any GCC internal prototype to avoid an error.
3075   Use char because int might match the return type of a GCC
3076   builtin and then its argument prototype would still apply.  */
[8298425]3077#ifdef __cplusplus
3078extern "C"
3079#endif
3080char socket ();
3081int
3082main ()
3083{
[4ad3480]3084return socket ();
[8298425]3085  ;
3086  return 0;
3087}
3088_ACEOF
3089rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3090if { (ac_try="$ac_link"
3091case "(($ac_try" in
3092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093  *) ac_try_echo=$ac_try;;
3094esac
3095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3096  (eval "$ac_link") 2>conftest.er1
[8298425]3097  ac_status=$?
3098  grep -v '^ *+' conftest.er1 >conftest.err
3099  rm -f conftest.er1
3100  cat conftest.err >&5
3101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102  (exit $ac_status); } &&
[4ad3480]3103         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3104  { (case "(($ac_try" in
3105  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3106  *) ac_try_echo=$ac_try;;
3107esac
3108eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3109  (eval "$ac_try") 2>&5
[8298425]3110  ac_status=$?
3111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112  (exit $ac_status); }; } &&
3113         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3114  { (case "(($ac_try" in
3115  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116  *) ac_try_echo=$ac_try;;
3117esac
3118eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119  (eval "$ac_try") 2>&5
[8298425]3120  ac_status=$?
3121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122  (exit $ac_status); }; }; then
3123  ac_cv_lib_socket_socket=yes
3124else
3125  echo "$as_me: failed program was:" >&5
3126sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3127
[4ad3480]3128        ac_cv_lib_socket_socket=no
[8298425]3129fi
[4ad3480]3130
3131rm -f core conftest.err conftest.$ac_objext \
[8298425]3132      conftest$ac_exeext conftest.$ac_ext
3133LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3134fi
[4ad3480]3135{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3136echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
[8298425]3137if test $ac_cv_lib_socket_socket = yes; then
3138  cat >>confdefs.h <<_ACEOF
3139#define HAVE_LIBSOCKET 1
3140_ACEOF
[7d4fbcd]3141
3142  LIBS="-lsocket $LIBS"
3143
3144fi
3145
[8298425]3146
[4ad3480]3147{ echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5
3148echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; }
[8298425]3149if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then
3150  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3151else
[8298425]3152  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3153LIBS="-lk5crypto  $LIBS"
[8298425]3154cat >conftest.$ac_ext <<_ACEOF
3155/* confdefs.h.  */
3156_ACEOF
3157cat confdefs.h >>conftest.$ac_ext
3158cat >>conftest.$ac_ext <<_ACEOF
3159/* end confdefs.h.  */
3160
[4ad3480]3161/* Override any GCC internal prototype to avoid an error.
3162   Use char because int might match the return type of a GCC
3163   builtin and then its argument prototype would still apply.  */
[8298425]3164#ifdef __cplusplus
3165extern "C"
3166#endif
3167char krb5_derive_key ();
3168int
3169main ()
3170{
[4ad3480]3171return krb5_derive_key ();
[8298425]3172  ;
3173  return 0;
3174}
3175_ACEOF
3176rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3177if { (ac_try="$ac_link"
3178case "(($ac_try" in
3179  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180  *) ac_try_echo=$ac_try;;
3181esac
3182eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3183  (eval "$ac_link") 2>conftest.er1
[8298425]3184  ac_status=$?
3185  grep -v '^ *+' conftest.er1 >conftest.err
3186  rm -f conftest.er1
3187  cat conftest.err >&5
3188  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189  (exit $ac_status); } &&
[4ad3480]3190         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3191  { (case "(($ac_try" in
3192  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193  *) ac_try_echo=$ac_try;;
3194esac
3195eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3196  (eval "$ac_try") 2>&5
[8298425]3197  ac_status=$?
3198  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199  (exit $ac_status); }; } &&
3200         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3201  { (case "(($ac_try" in
3202  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203  *) ac_try_echo=$ac_try;;
3204esac
3205eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206  (eval "$ac_try") 2>&5
[8298425]3207  ac_status=$?
3208  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209  (exit $ac_status); }; }; then
3210  ac_cv_lib_k5crypto_krb5_derive_key=yes
3211else
3212  echo "$as_me: failed program was:" >&5
3213sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3214
[4ad3480]3215        ac_cv_lib_k5crypto_krb5_derive_key=no
[8298425]3216fi
[4ad3480]3217
3218rm -f core conftest.err conftest.$ac_objext \
[8298425]3219      conftest$ac_exeext conftest.$ac_ext
3220LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3221fi
[4ad3480]3222{ echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5
3223echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; }
[8298425]3224if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then
3225  cat >>confdefs.h <<_ACEOF
3226#define HAVE_LIBK5CRYPTO 1
3227_ACEOF
[7d4fbcd]3228
3229  LIBS="-lk5crypto $LIBS"
3230
3231fi
3232
[8298425]3233
[4ad3480]3234{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
3235echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
[8298425]3236if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
3237  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3238else
[8298425]3239  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3240LIBS="-ldes425  $LIBS"
[8298425]3241cat >conftest.$ac_ext <<_ACEOF
3242/* confdefs.h.  */
3243_ACEOF
3244cat confdefs.h >>conftest.$ac_ext
3245cat >>conftest.$ac_ext <<_ACEOF
3246/* end confdefs.h.  */
3247
[4ad3480]3248/* Override any GCC internal prototype to avoid an error.
3249   Use char because int might match the return type of a GCC
3250   builtin and then its argument prototype would still apply.  */
[8298425]3251#ifdef __cplusplus
3252extern "C"
3253#endif
3254char des_cbc_encrypt ();
3255int
3256main ()
3257{
[4ad3480]3258return des_cbc_encrypt ();
[8298425]3259  ;
3260  return 0;
3261}
3262_ACEOF
3263rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3264if { (ac_try="$ac_link"
3265case "(($ac_try" in
3266  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267  *) ac_try_echo=$ac_try;;
3268esac
3269eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3270  (eval "$ac_link") 2>conftest.er1
[8298425]3271  ac_status=$?
3272  grep -v '^ *+' conftest.er1 >conftest.err
3273  rm -f conftest.er1
3274  cat conftest.err >&5
3275  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276  (exit $ac_status); } &&
[4ad3480]3277         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3278  { (case "(($ac_try" in
3279  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3280  *) ac_try_echo=$ac_try;;
3281esac
3282eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283  (eval "$ac_try") 2>&5
[8298425]3284  ac_status=$?
3285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286  (exit $ac_status); }; } &&
3287         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3288  { (case "(($ac_try" in
3289  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290  *) ac_try_echo=$ac_try;;
3291esac
3292eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293  (eval "$ac_try") 2>&5
[8298425]3294  ac_status=$?
3295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296  (exit $ac_status); }; }; then
3297  ac_cv_lib_des425_des_cbc_encrypt=yes
3298else
3299  echo "$as_me: failed program was:" >&5
3300sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3301
[4ad3480]3302        ac_cv_lib_des425_des_cbc_encrypt=no
[8298425]3303fi
[4ad3480]3304
3305rm -f core conftest.err conftest.$ac_objext \
[8298425]3306      conftest$ac_exeext conftest.$ac_ext
3307LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3308fi
[4ad3480]3309{ echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
3310echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
[8298425]3311if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
3312  cat >>confdefs.h <<_ACEOF
3313#define HAVE_LIBDES425 1
3314_ACEOF
[7d4fbcd]3315
3316  LIBS="-ldes425 $LIBS"
3317
3318fi
3319
[8298425]3320
[4ad3480]3321{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3322echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
[8298425]3323if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3324  echo $ECHO_N "(cached) $ECHO_C" >&6
[d09e5a1]3325else
[8298425]3326  ac_check_lib_save_LIBS=$LIBS
[d09e5a1]3327LIBS="-lresolv  $LIBS"
[8298425]3328cat >conftest.$ac_ext <<_ACEOF
3329/* confdefs.h.  */
3330_ACEOF
3331cat confdefs.h >>conftest.$ac_ext
3332cat >>conftest.$ac_ext <<_ACEOF
3333/* end confdefs.h.  */
3334
[4ad3480]3335/* Override any GCC internal prototype to avoid an error.
3336   Use char because int might match the return type of a GCC
3337   builtin and then its argument prototype would still apply.  */
[8298425]3338#ifdef __cplusplus
3339extern "C"
3340#endif
3341char res_search ();
3342int
3343main ()
3344{
[4ad3480]3345return res_search ();
[8298425]3346  ;
3347  return 0;
3348}
3349_ACEOF
3350rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3351if { (ac_try="$ac_link"
3352case "(($ac_try" in
3353  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3354  *) ac_try_echo=$ac_try;;
3355esac
3356eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3357  (eval "$ac_link") 2>conftest.er1
[8298425]3358  ac_status=$?
3359  grep -v '^ *+' conftest.er1 >conftest.err
3360  rm -f conftest.er1
3361  cat conftest.err >&5
3362  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363  (exit $ac_status); } &&
[4ad3480]3364         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3365  { (case "(($ac_try" in
3366  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3367  *) ac_try_echo=$ac_try;;
3368esac
3369eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3370  (eval "$ac_try") 2>&5
[8298425]3371  ac_status=$?
3372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373  (exit $ac_status); }; } &&
3374         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3375  { (case "(($ac_try" in
3376  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3377  *) ac_try_echo=$ac_try;;
3378esac
3379eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3380  (eval "$ac_try") 2>&5
[8298425]3381  ac_status=$?
3382  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383  (exit $ac_status); }; }; then
3384  ac_cv_lib_resolv_res_search=yes
3385else
3386  echo "$as_me: failed program was:" >&5
3387sed 's/^/| /' conftest.$ac_ext >&5
[d09e5a1]3388
[4ad3480]3389        ac_cv_lib_resolv_res_search=no
[8298425]3390fi
[4ad3480]3391
3392rm -f core conftest.err conftest.$ac_objext \
[8298425]3393      conftest$ac_exeext conftest.$ac_ext
3394LIBS=$ac_check_lib_save_LIBS
[d09e5a1]3395fi
[4ad3480]3396{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3397echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
[8298425]3398if test $ac_cv_lib_resolv_res_search = yes; then
3399  cat >>confdefs.h <<_ACEOF
3400#define HAVE_LIBRESOLV 1
3401_ACEOF
[d09e5a1]3402
3403  LIBS="-lresolv $LIBS"
3404
3405fi
3406
[8298425]3407
[4ad3480]3408{ echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5
3409echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; }
[8298425]3410if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then
3411  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3412else
[8298425]3413  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3414LIBS="-lkrb5  $LIBS"
[8298425]3415cat >conftest.$ac_ext <<_ACEOF
3416/* confdefs.h.  */
3417_ACEOF
3418cat confdefs.h >>conftest.$ac_ext
3419cat >>conftest.$ac_ext <<_ACEOF
3420/* end confdefs.h.  */
3421
[4ad3480]3422/* Override any GCC internal prototype to avoid an error.
3423   Use char because int might match the return type of a GCC
3424   builtin and then its argument prototype would still apply.  */
[8298425]3425#ifdef __cplusplus
3426extern "C"
3427#endif
3428char krb5_get_credentials ();
3429int
3430main ()
3431{
[4ad3480]3432return krb5_get_credentials ();
[8298425]3433  ;
3434  return 0;
3435}
3436_ACEOF
3437rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3438if { (ac_try="$ac_link"
3439case "(($ac_try" in
3440  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3441  *) ac_try_echo=$ac_try;;
3442esac
3443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3444  (eval "$ac_link") 2>conftest.er1
[8298425]3445  ac_status=$?
3446  grep -v '^ *+' conftest.er1 >conftest.err
3447  rm -f conftest.er1
3448  cat conftest.err >&5
3449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450  (exit $ac_status); } &&
[4ad3480]3451         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3452  { (case "(($ac_try" in
3453  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3454  *) ac_try_echo=$ac_try;;
3455esac
3456eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3457  (eval "$ac_try") 2>&5
[8298425]3458  ac_status=$?
3459  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3460  (exit $ac_status); }; } &&
3461         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3462  { (case "(($ac_try" in
3463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3464  *) ac_try_echo=$ac_try;;
3465esac
3466eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3467  (eval "$ac_try") 2>&5
[8298425]3468  ac_status=$?
3469  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470  (exit $ac_status); }; }; then
3471  ac_cv_lib_krb5_krb5_get_credentials=yes
3472else
3473  echo "$as_me: failed program was:" >&5
3474sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3475
[4ad3480]3476        ac_cv_lib_krb5_krb5_get_credentials=no
[8298425]3477fi
[4ad3480]3478
3479rm -f core conftest.err conftest.$ac_objext \
[8298425]3480      conftest$ac_exeext conftest.$ac_ext
3481LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3482fi
[4ad3480]3483{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5
3484echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; }
[8298425]3485if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then
3486  cat >>confdefs.h <<_ACEOF
3487#define HAVE_LIBKRB5 1
3488_ACEOF
[7d4fbcd]3489
3490  LIBS="-lkrb5 $LIBS"
3491
3492fi
3493
[8298425]3494
[4ad3480]3495{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5
3496echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; }
[8298425]3497if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then
3498  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3499else
[8298425]3500  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3501LIBS="-lkrb4  $LIBS"
[8298425]3502cat >conftest.$ac_ext <<_ACEOF
3503/* confdefs.h.  */
3504_ACEOF
3505cat confdefs.h >>conftest.$ac_ext
3506cat >>conftest.$ac_ext <<_ACEOF
3507/* end confdefs.h.  */
3508
[4ad3480]3509/* Override any GCC internal prototype to avoid an error.
3510   Use char because int might match the return type of a GCC
3511   builtin and then its argument prototype would still apply.  */
[8298425]3512#ifdef __cplusplus
3513extern "C"
3514#endif
3515char krb_sendauth ();
3516int
3517main ()
3518{
[4ad3480]3519return krb_sendauth ();
[8298425]3520  ;
3521  return 0;
3522}
3523_ACEOF
3524rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3525if { (ac_try="$ac_link"
3526case "(($ac_try" in
3527  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528  *) ac_try_echo=$ac_try;;
3529esac
3530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531  (eval "$ac_link") 2>conftest.er1
[8298425]3532  ac_status=$?
3533  grep -v '^ *+' conftest.er1 >conftest.err
3534  rm -f conftest.er1
3535  cat conftest.err >&5
3536  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537  (exit $ac_status); } &&
[4ad3480]3538         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3539  { (case "(($ac_try" in
3540  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3541  *) ac_try_echo=$ac_try;;
3542esac
3543eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3544  (eval "$ac_try") 2>&5
[8298425]3545  ac_status=$?
3546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547  (exit $ac_status); }; } &&
3548         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3549  { (case "(($ac_try" in
3550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551  *) ac_try_echo=$ac_try;;
3552esac
3553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554  (eval "$ac_try") 2>&5
[8298425]3555  ac_status=$?
3556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557  (exit $ac_status); }; }; then
3558  ac_cv_lib_krb4_krb_sendauth=yes
3559else
3560  echo "$as_me: failed program was:" >&5
3561sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3562
[4ad3480]3563        ac_cv_lib_krb4_krb_sendauth=no
[8298425]3564fi
[4ad3480]3565
3566rm -f core conftest.err conftest.$ac_objext \
[8298425]3567      conftest$ac_exeext conftest.$ac_ext
3568LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3569fi
[4ad3480]3570{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5
3571echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; }
[8298425]3572if test $ac_cv_lib_krb4_krb_sendauth = yes; then
3573  cat >>confdefs.h <<_ACEOF
3574#define HAVE_LIBKRB4 1
3575_ACEOF
[7d4fbcd]3576
3577  LIBS="-lkrb4 $LIBS"
3578
3579else
[8298425]3580
[4ad3480]3581{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5
3582echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; }
[8298425]3583if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then
3584  echo $ECHO_N "(cached) $ECHO_C" >&6
[69894d2]3585else
[8298425]3586  ac_check_lib_save_LIBS=$LIBS
[69894d2]3587LIBS="-lkrb  $LIBS"
[8298425]3588cat >conftest.$ac_ext <<_ACEOF
3589/* confdefs.h.  */
3590_ACEOF
3591cat confdefs.h >>conftest.$ac_ext
3592cat >>conftest.$ac_ext <<_ACEOF
3593/* end confdefs.h.  */
3594
[4ad3480]3595/* Override any GCC internal prototype to avoid an error.
3596   Use char because int might match the return type of a GCC
3597   builtin and then its argument prototype would still apply.  */
[8298425]3598#ifdef __cplusplus
3599extern "C"
3600#endif
3601char krb_sendauth ();
3602int
3603main ()
3604{
[4ad3480]3605return krb_sendauth ();
[8298425]3606  ;
3607  return 0;
3608}
3609_ACEOF
3610rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3611if { (ac_try="$ac_link"
3612case "(($ac_try" in
3613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3614  *) ac_try_echo=$ac_try;;
3615esac
3616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3617  (eval "$ac_link") 2>conftest.er1
[8298425]3618  ac_status=$?
3619  grep -v '^ *+' conftest.er1 >conftest.err
3620  rm -f conftest.er1
3621  cat conftest.err >&5
3622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623  (exit $ac_status); } &&
[4ad3480]3624         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3625  { (case "(($ac_try" in
3626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627  *) ac_try_echo=$ac_try;;
3628esac
3629eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630  (eval "$ac_try") 2>&5
[8298425]3631  ac_status=$?
3632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633  (exit $ac_status); }; } &&
3634         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3635  { (case "(($ac_try" in
3636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637  *) ac_try_echo=$ac_try;;
3638esac
3639eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3640  (eval "$ac_try") 2>&5
[8298425]3641  ac_status=$?
3642  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643  (exit $ac_status); }; }; then
3644  ac_cv_lib_krb_krb_sendauth=yes
3645else
3646  echo "$as_me: failed program was:" >&5
3647sed 's/^/| /' conftest.$ac_ext >&5
[69894d2]3648
[4ad3480]3649        ac_cv_lib_krb_krb_sendauth=no
[8298425]3650fi
[4ad3480]3651
3652rm -f core conftest.err conftest.$ac_objext \
[8298425]3653      conftest$ac_exeext conftest.$ac_ext
3654LIBS=$ac_check_lib_save_LIBS
[69894d2]3655fi
[4ad3480]3656{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5
3657echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; }
[8298425]3658if test $ac_cv_lib_krb_krb_sendauth = yes; then
3659  cat >>confdefs.h <<_ACEOF
3660#define HAVE_LIBKRB 1
3661_ACEOF
[69894d2]3662
3663  LIBS="-lkrb $LIBS"
3664
3665fi
3666
[d09e5a1]3667fi
3668
[8298425]3669
[4ad3480]3670{ echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5
3671echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; }
[8298425]3672if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then
3673  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3674else
[8298425]3675  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3676LIBS="-lzephyr  $LIBS"
[8298425]3677cat >conftest.$ac_ext <<_ACEOF
3678/* confdefs.h.  */
3679_ACEOF
3680cat confdefs.h >>conftest.$ac_ext
3681cat >>conftest.$ac_ext <<_ACEOF
3682/* end confdefs.h.  */
3683
[4ad3480]3684/* Override any GCC internal prototype to avoid an error.
3685   Use char because int might match the return type of a GCC
3686   builtin and then its argument prototype would still apply.  */
[8298425]3687#ifdef __cplusplus
3688extern "C"
3689#endif
3690char ZGetSender ();
3691int
3692main ()
3693{
[4ad3480]3694return ZGetSender ();
[8298425]3695  ;
3696  return 0;
3697}
3698_ACEOF
3699rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3700if { (ac_try="$ac_link"
3701case "(($ac_try" in
3702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3703  *) ac_try_echo=$ac_try;;
3704esac
3705eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3706  (eval "$ac_link") 2>conftest.er1
[8298425]3707  ac_status=$?
3708  grep -v '^ *+' conftest.er1 >conftest.err
3709  rm -f conftest.er1
3710  cat conftest.err >&5
3711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712  (exit $ac_status); } &&
[4ad3480]3713         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3714  { (case "(($ac_try" in
3715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3716  *) ac_try_echo=$ac_try;;
3717esac
3718eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3719  (eval "$ac_try") 2>&5
[8298425]3720  ac_status=$?
3721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722  (exit $ac_status); }; } &&
3723         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3724  { (case "(($ac_try" in
3725  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726  *) ac_try_echo=$ac_try;;
3727esac
3728eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3729  (eval "$ac_try") 2>&5
[8298425]3730  ac_status=$?
3731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732  (exit $ac_status); }; }; then
3733  ac_cv_lib_zephyr_ZGetSender=yes
3734else
3735  echo "$as_me: failed program was:" >&5
3736sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3737
[4ad3480]3738        ac_cv_lib_zephyr_ZGetSender=no
[8298425]3739fi
[4ad3480]3740
3741rm -f core conftest.err conftest.$ac_objext \
[8298425]3742      conftest$ac_exeext conftest.$ac_ext
3743LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3744fi
[4ad3480]3745{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5
3746echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; }
[8298425]3747if test $ac_cv_lib_zephyr_ZGetSender = yes; then
3748  cat >>confdefs.h <<_ACEOF
3749#define HAVE_LIBZEPHYR 1
3750_ACEOF
[7d4fbcd]3751
3752  LIBS="-lzephyr $LIBS"
3753
3754fi
3755
[4ad3480]3756{ echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5
3757echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; }
[8298425]3758if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then
3759  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3760else
[8298425]3761  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3762LIBS="-lzephyr  $LIBS"
[8298425]3763cat >conftest.$ac_ext <<_ACEOF
3764/* confdefs.h.  */
3765_ACEOF
3766cat confdefs.h >>conftest.$ac_ext
3767cat >>conftest.$ac_ext <<_ACEOF
3768/* end confdefs.h.  */
3769
[4ad3480]3770/* Override any GCC internal prototype to avoid an error.
3771   Use char because int might match the return type of a GCC
3772   builtin and then its argument prototype would still apply.  */
[8298425]3773#ifdef __cplusplus
3774extern "C"
3775#endif
3776char ZInitLocationInfo ();
3777int
3778main ()
3779{
[4ad3480]3780return ZInitLocationInfo ();
[8298425]3781  ;
3782  return 0;
3783}
3784_ACEOF
3785rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3786if { (ac_try="$ac_link"
3787case "(($ac_try" in
3788  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3789  *) ac_try_echo=$ac_try;;
3790esac
3791eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3792  (eval "$ac_link") 2>conftest.er1
[8298425]3793  ac_status=$?
3794  grep -v '^ *+' conftest.er1 >conftest.err
3795  rm -f conftest.er1
3796  cat conftest.err >&5
3797  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798  (exit $ac_status); } &&
[4ad3480]3799         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3800  { (case "(($ac_try" in
3801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3802  *) ac_try_echo=$ac_try;;
3803esac
3804eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3805  (eval "$ac_try") 2>&5
[8298425]3806  ac_status=$?
3807  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808  (exit $ac_status); }; } &&
3809         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3810  { (case "(($ac_try" in
3811  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3812  *) ac_try_echo=$ac_try;;
3813esac
3814eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3815  (eval "$ac_try") 2>&5
[8298425]3816  ac_status=$?
3817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818  (exit $ac_status); }; }; then
3819  ac_cv_lib_zephyr_ZInitLocationInfo=yes
3820else
3821  echo "$as_me: failed program was:" >&5
3822sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3823
[4ad3480]3824        ac_cv_lib_zephyr_ZInitLocationInfo=no
[7d4fbcd]3825fi
[4ad3480]3826
3827rm -f core conftest.err conftest.$ac_objext \
[8298425]3828      conftest$ac_exeext conftest.$ac_ext
3829LIBS=$ac_check_lib_save_LIBS
3830fi
[4ad3480]3831{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5
3832echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; }
[8298425]3833if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then
3834
3835cat >>confdefs.h <<\_ACEOF
3836#define HAVE_LIBZEPHYR_ZINITLOCATIONINFO
3837_ACEOF
[7d4fbcd]3838
3839fi
3840
3841
[8298425]3842
3843
3844
3845
[c269e22]3846for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt
[e51b410]3847do
[8298425]3848as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
[4ad3480]3849{ echo "$as_me:$LINENO: checking for $ac_func" >&5
3850echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3851if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
[8298425]3852  echo $ECHO_N "(cached) $ECHO_C" >&6
3853else
3854  cat >conftest.$ac_ext <<_ACEOF
3855/* confdefs.h.  */
3856_ACEOF
3857cat confdefs.h >>conftest.$ac_ext
3858cat >>conftest.$ac_ext <<_ACEOF
3859/* end confdefs.h.  */
3860/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3861   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3862#define $ac_func innocuous_$ac_func
3863
[e51b410]3864/* System header to define __stub macros and hopefully few prototypes,
[8298425]3865    which can conflict with char $ac_func (); below.
3866    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3867    <limits.h> exists even on freestanding compilers.  */
[e51b410]3868
[8298425]3869#ifdef __STDC__
3870# include <limits.h>
3871#else
3872# include <assert.h>
3873#endif
[e51b410]3874
[8298425]3875#undef $ac_func
3876
[4ad3480]3877/* Override any GCC internal prototype to avoid an error.
3878   Use char because int might match the return type of a GCC
3879   builtin and then its argument prototype would still apply.  */
[8298425]3880#ifdef __cplusplus
3881extern "C"
3882#endif
3883char $ac_func ();
[e51b410]3884/* The GNU C library defines this for functions which it implements
3885    to always fail with ENOSYS.  Some functions are actually named
3886    something starting with __ and the normal name is an alias.  */
[4ad3480]3887#if defined __stub_$ac_func || defined __stub___$ac_func
[e51b410]3888choke me
3889#endif
3890
[8298425]3891int
3892main ()
3893{
[4ad3480]3894return $ac_func ();
[8298425]3895  ;
3896  return 0;
3897}
3898_ACEOF
3899rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3900if { (ac_try="$ac_link"
3901case "(($ac_try" in
3902  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3903  *) ac_try_echo=$ac_try;;
3904esac
3905eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3906  (eval "$ac_link") 2>conftest.er1
[8298425]3907  ac_status=$?
3908  grep -v '^ *+' conftest.er1 >conftest.err
3909  rm -f conftest.er1
3910  cat conftest.err >&5
3911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912  (exit $ac_status); } &&
[4ad3480]3913         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3914  { (case "(($ac_try" in
3915  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3916  *) ac_try_echo=$ac_try;;
3917esac
3918eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3919  (eval "$ac_try") 2>&5
[8298425]3920  ac_status=$?
3921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922  (exit $ac_status); }; } &&
3923         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3924  { (case "(($ac_try" in
3925  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926  *) ac_try_echo=$ac_try;;
3927esac
3928eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3929  (eval "$ac_try") 2>&5
[8298425]3930  ac_status=$?
3931  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932  (exit $ac_status); }; }; then
3933  eval "$as_ac_var=yes"
[e51b410]3934else
[8298425]3935  echo "$as_me: failed program was:" >&5
3936sed 's/^/| /' conftest.$ac_ext >&5
3937
[4ad3480]3938        eval "$as_ac_var=no"
[e51b410]3939fi
[4ad3480]3940
3941rm -f core conftest.err conftest.$ac_objext \
[8298425]3942      conftest$ac_exeext conftest.$ac_ext
[e51b410]3943fi
[4ad3480]3944ac_res=`eval echo '${'$as_ac_var'}'`
3945               { echo "$as_me:$LINENO: result: $ac_res" >&5
3946echo "${ECHO_T}$ac_res" >&6; }
[8298425]3947if test `eval echo '${'$as_ac_var'}'` = yes; then
3948  cat >>confdefs.h <<_ACEOF
3949#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3950_ACEOF
[e51b410]3951
3952fi
3953done
3954
3955
[4ad3480]3956{ echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5
3957echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; }
[8298425]3958cat >conftest.$ac_ext <<_ACEOF
3959/* confdefs.h.  */
3960_ACEOF
3961cat confdefs.h >>conftest.$ac_ext
3962cat >>conftest.$ac_ext <<_ACEOF
3963/* end confdefs.h.  */
[69894d2]3964#include <des.h>
3965int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux);
[8298425]3966int
3967main ()
3968{
[69894d2]3969int foo = des_ecb_encrypt(0,0,0,0);
[8298425]3970  ;
3971  return 0;
3972}
3973_ACEOF
3974rm -f conftest.$ac_objext
[4ad3480]3975if { (ac_try="$ac_compile"
3976case "(($ac_try" in
3977  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3978  *) ac_try_echo=$ac_try;;
3979esac
3980eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3981  (eval "$ac_compile") 2>conftest.er1
[8298425]3982  ac_status=$?
3983  grep -v '^ *+' conftest.er1 >conftest.err
3984  rm -f conftest.er1
3985  cat conftest.err >&5
3986  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3987  (exit $ac_status); } &&
[4ad3480]3988         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3989  { (case "(($ac_try" in
3990  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3991  *) ac_try_echo=$ac_try;;
3992esac
3993eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3994  (eval "$ac_try") 2>&5
[8298425]3995  ac_status=$?
3996  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3997  (exit $ac_status); }; } &&
3998         { ac_try='test -s conftest.$ac_objext'
[4ad3480]3999  { (case "(($ac_try" in
4000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001  *) ac_try_echo=$ac_try;;
4002esac
4003eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004  (eval "$ac_try") 2>&5
[8298425]4005  ac_status=$?
4006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007  (exit $ac_status); }; }; then
[69894d2]4008  ac_cv_des_ecb_encrypt_proto=no
4009else
[8298425]4010  echo "$as_me: failed program was:" >&5
4011sed 's/^/| /' conftest.$ac_ext >&5
4012
[4ad3480]4013        ac_cv_des_ecb_encrypt_proto=yes
[69894d2]4014fi
[4ad3480]4015
4016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4017{ echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5
4018echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; }
[69894d2]4019if test "$ac_cv_des_ecb_encrypt_proto" = yes; then
[8298425]4020
4021cat >>confdefs.h <<\_ACEOF
4022#define HAVE_DES_ECB_ENCRYPT_PROTO
4023_ACEOF
[69894d2]4024
4025fi
4026
[8298425]4027ac_ext=c
4028ac_cpp='$CPP $CPPFLAGS'
4029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4031ac_compiler_gnu=$ac_cv_c_compiler_gnu
[4ad3480]4032{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4033echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
[7d4fbcd]4034# On Suns, sometimes $CPP names a directory.
4035if test -n "$CPP" && test -d "$CPP"; then
4036  CPP=