source: configure @ 4ad3480

barnowl_perlaimdebianrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change on this file since 4ad3480 was 4ad3480, checked in by Nelson Elhage <nelhage@mit.edu>, 18 years ago
Adding the configure check we talked about on d-o-h to look for ${XSUBPPDIR}/typemap and use it if it exists.
  • 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
648XSUBPPFLAGS
649INSTALL_PROGRAM
650INSTALL_SCRIPT
651INSTALL_DATA
652subdirs
653LIBOBJS
654LTLIBOBJS'
[8298425]655ac_subst_files=''
[4ad3480]656      ac_precious_vars='build_alias
657host_alias
658target_alias
659CC
660CFLAGS
661LDFLAGS
662CPPFLAGS
663CPP'
664ac_subdirs_all='libfaim'
[7d4fbcd]665
666# Initialize some variables set by options.
[8298425]667ac_init_help=
668ac_init_version=false
[7d4fbcd]669# The variables have the same names as the options, with
670# dashes changed to underlines.
[8298425]671cache_file=/dev/null
[7d4fbcd]672exec_prefix=NONE
673no_create=
674no_recursion=
675prefix=NONE
676program_prefix=NONE
677program_suffix=NONE
678program_transform_name=s,x,x,
679silent=
680site=
681srcdir=
682verbose=
683x_includes=NONE
684x_libraries=NONE
[8298425]685
686# Installation directory options.
687# These are left unexpanded so users can "make install exec_prefix=/foo"
688# and all the variables that are supposed to be based on exec_prefix
689# by default will actually change.
690# Use braces instead of parens because sh, perl, etc. also accept them.
[4ad3480]691# (The list follows the same order as the GNU Coding Standards.)
[7d4fbcd]692bindir='${exec_prefix}/bin'
693sbindir='${exec_prefix}/sbin'
694libexecdir='${exec_prefix}/libexec'
[4ad3480]695datarootdir='${prefix}/share'
696datadir='${datarootdir}'
[7d4fbcd]697sysconfdir='${prefix}/etc'
698sharedstatedir='${prefix}/com'
699localstatedir='${prefix}/var'
700includedir='${prefix}/include'
701oldincludedir='/usr/include'
[4ad3480]702docdir='${datarootdir}/doc/${PACKAGE}'
703infodir='${datarootdir}/info'
704htmldir='${docdir}'
705dvidir='${docdir}'
706pdfdir='${docdir}'
707psdir='${docdir}'
708libdir='${exec_prefix}/lib'
709localedir='${datarootdir}/locale'
710mandir='${datarootdir}/man'
[7d4fbcd]711
712ac_prev=
[4ad3480]713ac_dashdash=
[7d4fbcd]714for ac_option
715do
716  # If the previous option needs an argument, assign it.
717  if test -n "$ac_prev"; then
[4ad3480]718    eval $ac_prev=\$ac_option
[7d4fbcd]719    ac_prev=
720    continue
721  fi
722
[4ad3480]723  case $ac_option in
724  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
725  *)    ac_optarg=yes ;;
726  esac
[7d4fbcd]727
728  # Accept the important Cygnus configure options, so we can diagnose typos.
729
[4ad3480]730  case $ac_dashdash$ac_option in
731  --)
732    ac_dashdash=yes ;;
[7d4fbcd]733
734  -bindir | --bindir | --bindi | --bind | --bin | --bi)
735    ac_prev=bindir ;;
736  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
[8298425]737    bindir=$ac_optarg ;;
[7d4fbcd]738
739  -build | --build | --buil | --bui | --bu)
[8298425]740    ac_prev=build_alias ;;
[7d4fbcd]741  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
[8298425]742    build_alias=$ac_optarg ;;
[7d4fbcd]743
744  -cache-file | --cache-file | --cache-fil | --cache-fi \
745  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
746    ac_prev=cache_file ;;
747  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
748  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
[8298425]749    cache_file=$ac_optarg ;;
750
751  --config-cache | -C)
752    cache_file=config.cache ;;
[7d4fbcd]753
[4ad3480]754  -datadir | --datadir | --datadi | --datad)
[7d4fbcd]755    ac_prev=datadir ;;
[4ad3480]756  -datadir=* | --datadir=* | --datadi=* | --datad=*)
[8298425]757    datadir=$ac_optarg ;;
[7d4fbcd]758
[4ad3480]759  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
760  | --dataroo | --dataro | --datar)
761    ac_prev=datarootdir ;;
762  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
763  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
764    datarootdir=$ac_optarg ;;
765
[7d4fbcd]766  -disable-* | --disable-*)
[8298425]767    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
[7d4fbcd]768    # Reject names that are not valid shell variable names.
[8298425]769    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
770      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
771   { (exit 1); exit 1; }; }
772    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
[4ad3480]773    eval enable_$ac_feature=no ;;
774
775  -docdir | --docdir | --docdi | --doc | --do)
776    ac_prev=docdir ;;
777  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
778    docdir=$ac_optarg ;;
779
780  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
781    ac_prev=dvidir ;;
782  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
783    dvidir=$ac_optarg ;;
[7d4fbcd]784
785  -enable-* | --enable-*)
[8298425]786    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
[7d4fbcd]787    # Reject names that are not valid shell variable names.
[8298425]788    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
789      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
790   { (exit 1); exit 1; }; }
791    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
[4ad3480]792    eval enable_$ac_feature=\$ac_optarg ;;
[7d4fbcd]793
794  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
795  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
796  | --exec | --exe | --ex)
797    ac_prev=exec_prefix ;;
798  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
799  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
800  | --exec=* | --exe=* | --ex=*)
[8298425]801    exec_prefix=$ac_optarg ;;
[7d4fbcd]802
803  -gas | --gas | --ga | --g)
804    # Obsolete; use --with-gas.
805    with_gas=yes ;;
806
[8298425]807  -help | --help | --hel | --he | -h)
808    ac_init_help=long ;;
809  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
810    ac_init_help=recursive ;;
811  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
812    ac_init_help=short ;;
[7d4fbcd]813
814  -host | --host | --hos | --ho)
[8298425]815    ac_prev=host_alias ;;
[7d4fbcd]816  -host=* | --host=* | --hos=* | --ho=*)
[8298425]817    host_alias=$ac_optarg ;;
[7d4fbcd]818
[4ad3480]819  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
820    ac_prev=htmldir ;;
821  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
822  | --ht=*)
823    htmldir=$ac_optarg ;;
824
[7d4fbcd]825  -includedir | --includedir | --includedi | --included | --include \
826  | --includ | --inclu | --incl | --inc)
827    ac_prev=includedir ;;
828  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
829  | --includ=* | --inclu=* | --incl=* | --inc=*)
[8298425]830    includedir=$ac_optarg ;;
[7d4fbcd]831
832  -infodir | --infodir | --infodi | --infod | --info | --inf)
833    ac_prev=infodir ;;
834  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
[8298425]835    infodir=$ac_optarg ;;
[7d4fbcd]836
837  -libdir | --libdir | --libdi | --libd)
838    ac_prev=libdir ;;
839  -libdir=* | --libdir=* | --libdi=* | --libd=*)
[8298425]840    libdir=$ac_optarg ;;
[7d4fbcd]841
842  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
843  | --libexe | --libex | --libe)
844    ac_prev=libexecdir ;;
845  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
846  | --libexe=* | --libex=* | --libe=*)
[8298425]847    libexecdir=$ac_optarg ;;
[7d4fbcd]848
[4ad3480]849  -localedir | --localedir | --localedi | --localed | --locale)
850    ac_prev=localedir ;;
851  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
852    localedir=$ac_optarg ;;
853
[7d4fbcd]854  -localstatedir | --localstatedir | --localstatedi | --localstated \
[4ad3480]855  | --localstate | --localstat | --localsta | --localst | --locals)
[7d4fbcd]856    ac_prev=localstatedir ;;
857  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
[4ad3480]858  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
[8298425]859    localstatedir=$ac_optarg ;;
[7d4fbcd]860
861  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
862    ac_prev=mandir ;;
863  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
[8298425]864    mandir=$ac_optarg ;;
[7d4fbcd]865
866  -nfp | --nfp | --nf)
867    # Obsolete; use --without-fp.
868    with_fp=no ;;
869
870  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
[8298425]871  | --no-cr | --no-c | -n)
[7d4fbcd]872    no_create=yes ;;
873
874  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
875  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
876    no_recursion=yes ;;
877
878  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
879  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
880  | --oldin | --oldi | --old | --ol | --o)
881    ac_prev=oldincludedir ;;
882  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
883  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
884  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
[8298425]885    oldincludedir=$ac_optarg ;;
[7d4fbcd]886
887  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
888    ac_prev=prefix ;;
889  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
[8298425]890    prefix=$ac_optarg ;;
[7d4fbcd]891
892  -program-prefix | --program-prefix | --program-prefi | --program-pref \
893  | --program-pre | --program-pr | --program-p)
894    ac_prev=program_prefix ;;
895  -program-prefix=* | --program-prefix=* | --program-prefi=* \
896  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
[8298425]897    program_prefix=$ac_optarg ;;
[7d4fbcd]898
899  -program-suffix | --program-suffix | --program-suffi | --program-suff \
900  | --program-suf | --program-su | --program-s)
901    ac_prev=program_suffix ;;
902  -program-suffix=* | --program-suffix=* | --program-suffi=* \
903  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
[8298425]904    program_suffix=$ac_optarg ;;
[7d4fbcd]905
906  -program-transform-name | --program-transform-name \
907  | --program-transform-nam | --program-transform-na \
908  | --program-transform-n | --program-transform- \
909  | --program-transform | --program-transfor \
910  | --program-transfo | --program-transf \
911  | --program-trans | --program-tran \
912  | --progr-tra | --program-tr | --program-t)
913    ac_prev=program_transform_name ;;
914  -program-transform-name=* | --program-transform-name=* \
915  | --program-transform-nam=* | --program-transform-na=* \
916  | --program-transform-n=* | --program-transform-=* \
917  | --program-transform=* | --program-transfor=* \
918  | --program-transfo=* | --program-transf=* \
919  | --program-trans=* | --program-tran=* \
920  | --progr-tra=* | --program-tr=* | --program-t=*)
[8298425]921    program_transform_name=$ac_optarg ;;
[7d4fbcd]922
[4ad3480]923  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
924    ac_prev=pdfdir ;;
925  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
926    pdfdir=$ac_optarg ;;
927
928  -psdir | --psdir | --psdi | --psd | --ps)
929    ac_prev=psdir ;;
930  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
931    psdir=$ac_optarg ;;
932
[7d4fbcd]933  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
934  | -silent | --silent | --silen | --sile | --sil)
935    silent=yes ;;
936
937  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
938    ac_prev=sbindir ;;
939  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
940  | --sbi=* | --sb=*)
[8298425]941    sbindir=$ac_optarg ;;
[7d4fbcd]942
943  -sharedstatedir | --sharedstatedir | --sharedstatedi \
944  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
945  | --sharedst | --shareds | --shared | --share | --shar \
946  | --sha | --sh)
947    ac_prev=sharedstatedir ;;
948  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
949  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
950  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
951  | --sha=* | --sh=*)
[8298425]952    sharedstatedir=$ac_optarg ;;
[7d4fbcd]953
954  -site | --site | --sit)
955    ac_prev=site ;;
956  -site=* | --site=* | --sit=*)
[8298425]957    site=$ac_optarg ;;
[7d4fbcd]958
959  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
960    ac_prev=srcdir ;;
961  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
[8298425]962    srcdir=$ac_optarg ;;
[7d4fbcd]963
964  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
965  | --syscon | --sysco | --sysc | --sys | --sy)
966    ac_prev=sysconfdir ;;
967  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
968  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
[8298425]969    sysconfdir=$ac_optarg ;;
[7d4fbcd]970
971  -target | --target | --targe | --targ | --tar | --ta | --t)
[8298425]972    ac_prev=target_alias ;;
[7d4fbcd]973  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
[8298425]974    target_alias=$ac_optarg ;;
[7d4fbcd]975
976  -v | -verbose | --verbose | --verbos | --verbo | --verb)
977    verbose=yes ;;
978
[8298425]979  -version | --version | --versio | --versi | --vers | -V)
980    ac_init_version=: ;;
[7d4fbcd]981
982  -with-* | --with-*)
[8298425]983    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
[7d4fbcd]984    # Reject names that are not valid shell variable names.
[8298425]985    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
986      { echo "$as_me: error: invalid package name: $ac_package" >&2
987   { (exit 1); exit 1; }; }
[7d4fbcd]988    ac_package=`echo $ac_package| sed 's/-/_/g'`
[4ad3480]989    eval with_$ac_package=\$ac_optarg ;;
[7d4fbcd]990
991  -without-* | --without-*)
[8298425]992    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
[7d4fbcd]993    # Reject names that are not valid shell variable names.
[8298425]994    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
995      { echo "$as_me: error: invalid package name: $ac_package" >&2
996   { (exit 1); exit 1; }; }
997    ac_package=`echo $ac_package | sed 's/-/_/g'`
[4ad3480]998    eval with_$ac_package=no ;;
[7d4fbcd]999
1000  --x)
1001    # Obsolete; use --with-x.
1002    with_x=yes ;;
1003
1004  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1005  | --x-incl | --x-inc | --x-in | --x-i)
1006    ac_prev=x_includes ;;
1007  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1008  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
[8298425]1009    x_includes=$ac_optarg ;;
[7d4fbcd]1010
1011  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1012  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1013    ac_prev=x_libraries ;;
1014  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1015  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
[8298425]1016    x_libraries=$ac_optarg ;;
[7d4fbcd]1017
[8298425]1018  -*) { echo "$as_me: error: unrecognized option: $ac_option
1019Try \`$0 --help' for more information." >&2
1020   { (exit 1); exit 1; }; }
[7d4fbcd]1021    ;;
1022
[8298425]1023  *=*)
1024    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1025    # Reject names that are not valid shell variable names.
1026    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1027      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1028   { (exit 1); exit 1; }; }
[4ad3480]1029    eval $ac_envvar=\$ac_optarg
[8298425]1030    export $ac_envvar ;;
1031
[7d4fbcd]1032  *)
[8298425]1033    # FIXME: should be removed in autoconf 3.0.
1034    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1035    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1036      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1037    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
[7d4fbcd]1038    ;;
1039
1040  esac
1041done
1042
1043if test -n "$ac_prev"; then
[8298425]1044  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1045  { echo "$as_me: error: missing argument to $ac_option" >&2
1046   { (exit 1); exit 1; }; }
[7d4fbcd]1047fi
1048
[4ad3480]1049# Be sure to have absolute directory names.
1050for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1051                datadir sysconfdir sharedstatedir localstatedir includedir \
1052                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1053                libdir localedir mandir
[8298425]1054do
[4ad3480]1055  eval ac_val=\$$ac_var
[8298425]1056  case $ac_val in
[4ad3480]1057    [\\/$]* | ?:[\\/]* )  continue;;
1058    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
[7d4fbcd]1059  esac
[4ad3480]1060  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1061   { (exit 1); exit 1; }; }
[7d4fbcd]1062done
1063
[8298425]1064# There might be people who depend on the old broken behavior: `$host'
1065# used to hold the argument of --host etc.
1066# FIXME: To remove some day.
1067build=$build_alias
1068host=$host_alias
1069target=$target_alias
1070
1071# FIXME: To remove some day.
1072if test "x$host_alias" != x; then
1073  if test "x$build_alias" = x; then
1074    cross_compiling=maybe
1075    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1076    If a cross compiler is detected then cross compile mode will be used." >&2
1077  elif test "x$build_alias" != "x$host_alias"; then
1078    cross_compiling=yes
1079  fi
1080fi
[7d4fbcd]1081
[8298425]1082ac_tool_prefix=
1083test -n "$host_alias" && ac_tool_prefix=$host_alias-
1084
1085test "$silent" = yes && exec 6>/dev/null
[7d4fbcd]1086
1087
[4ad3480]1088ac_pwd=`pwd` && test -n "$ac_pwd" &&
1089ac_ls_di=`ls -di .` &&
1090ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1091  { echo "$as_me: error: Working directory cannot be determined" >&2
1092   { (exit 1); exit 1; }; }
1093test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1094  { echo "$as_me: error: pwd does not report name of working directory" >&2
1095   { (exit 1); exit 1; }; }
1096
1097
[7d4fbcd]1098# Find the source files, if location was not specified.
1099if test -z "$srcdir"; then
1100  ac_srcdir_defaulted=yes
[4ad3480]1101  # Try the directory containing this script, then the parent directory.
1102  ac_confdir=`$as_dirname -- "$0" ||
[8298425]1103$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1104         X"$0" : 'X\(//\)[^/]' \| \
1105         X"$0" : 'X\(//\)$' \| \
[4ad3480]1106         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]1107echo X"$0" |
[4ad3480]1108    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1109            s//\1/
1110            q
1111          }
1112          /^X\(\/\/\)[^/].*/{
1113            s//\1/
1114            q
1115          }
1116          /^X\(\/\/\)$/{
1117            s//\1/
1118            q
1119          }
1120          /^X\(\/\).*/{
1121            s//\1/
1122            q
1123          }
1124          s/.*/./; q'`
[7d4fbcd]1125  srcdir=$ac_confdir
[4ad3480]1126  if test ! -r "$srcdir/$ac_unique_file"; then
[7d4fbcd]1127    srcdir=..
1128  fi
1129else
1130  ac_srcdir_defaulted=no
1131fi
[4ad3480]1132if test ! -r "$srcdir/$ac_unique_file"; then
1133  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1134  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
[8298425]1135   { (exit 1); exit 1; }; }
[7d4fbcd]1136fi
[4ad3480]1137ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1138ac_abs_confdir=`(
1139        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
[8298425]1140   { (exit 1); exit 1; }; }
[4ad3480]1141        pwd)`
1142# When building in place, set srcdir=.
1143if test "$ac_abs_confdir" = "$ac_pwd"; then
1144  srcdir=.
1145fi
1146# Remove unnecessary trailing slashes from srcdir.
1147# Double slashes in file names in object file debugging info
1148# mess up M-x gdb in Emacs.
1149case $srcdir in
1150*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1151esac
1152for ac_var in $ac_precious_vars; do
1153  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1154  eval ac_env_${ac_var}_value=\$${ac_var}
1155  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1156  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1157done
[8298425]1158
1159#
1160# Report the --help message.
1161#
1162if test "$ac_init_help" = "long"; then
1163  # Omit some internal or obsolete options to make the list less imposing.
1164  # This message is too long to be a string in the A/UX 3.1 sh.
1165  cat <<_ACEOF
1166\`configure' configures this package to adapt to many kinds of systems.
1167
1168Usage: $0 [OPTION]... [VAR=VALUE]...
1169
1170To assign environment variables (e.g., CC, CFLAGS...), specify them as
1171VAR=VALUE.  See below for descriptions of some of the useful variables.
1172
1173Defaults for the options are specified in brackets.
1174
1175Configuration:
1176  -h, --help              display this help and exit
1177      --help=short        display options specific to this package
1178      --help=recursive    display the short help of all the included packages
1179  -V, --version           display version information and exit
1180  -q, --quiet, --silent   do not print \`checking...' messages
1181      --cache-file=FILE   cache test results in FILE [disabled]
1182  -C, --config-cache      alias for \`--cache-file=config.cache'
1183  -n, --no-create         do not create output files
1184      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1185
1186Installation directories:
1187  --prefix=PREFIX         install architecture-independent files in PREFIX
1188                          [$ac_default_prefix]
1189  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1190                          [PREFIX]
1191
1192By default, \`make install' will install all the files in
1193\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1194an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1195for instance \`--prefix=\$HOME'.
1196
1197For better control, use the options below.
1198
1199Fine tuning of the installation directories:
1200  --bindir=DIR           user executables [EPREFIX/bin]
1201  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1202  --libexecdir=DIR       program executables [EPREFIX/libexec]
1203  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1204  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1205  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1206  --libdir=DIR           object code libraries [EPREFIX/lib]
1207  --includedir=DIR       C header files [PREFIX/include]
1208  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
[4ad3480]1209  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1210  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1211  --infodir=DIR          info documentation [DATAROOTDIR/info]
1212  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1213  --mandir=DIR           man documentation [DATAROOTDIR/man]
1214  --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
1215  --htmldir=DIR          html documentation [DOCDIR]
1216  --dvidir=DIR           dvi documentation [DOCDIR]
1217  --pdfdir=DIR           pdf documentation [DOCDIR]
1218  --psdir=DIR            ps documentation [DOCDIR]
[8298425]1219_ACEOF
1220
1221  cat <<\_ACEOF
1222_ACEOF
1223fi
1224
1225if test -n "$ac_init_help"; then
1226
1227  cat <<\_ACEOF
1228
1229Some influential environment variables:
1230  CC          C compiler command
1231  CFLAGS      C compiler flags
1232  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1233              nonstandard directory <lib dir>
[4ad3480]1234  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1235              you have headers in a nonstandard directory <include dir>
[8298425]1236  CPP         C preprocessor
1237
1238Use these variables to override the choices made by `configure' or to help
1239it to find libraries and programs with nonstandard names/locations.
1240
1241_ACEOF
[4ad3480]1242ac_status=$?
[8298425]1243fi
1244
1245if test "$ac_init_help" = "recursive"; then
1246  # If there are subdirs, report their specific --help.
1247  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
[4ad3480]1248    test -d "$ac_dir" || continue
[8298425]1249    ac_builddir=.
1250
[4ad3480]1251case "$ac_dir" in
1252.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1253*)
[8298425]1254  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
[4ad3480]1255  # A ".." for each directory in $ac_dir_suffix.
1256  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1257  case $ac_top_builddir_sub in
1258  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1259  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1260  esac ;;
1261esac
1262ac_abs_top_builddir=$ac_pwd
1263ac_abs_builddir=$ac_pwd$ac_dir_suffix
1264# for backward compatibility:
1265ac_top_builddir=$ac_top_build_prefix
[8298425]1266
1267case $srcdir in
[4ad3480]1268  .)  # We are building in place.
[8298425]1269    ac_srcdir=.
[4ad3480]1270    ac_top_srcdir=$ac_top_builddir_sub
1271    ac_abs_top_srcdir=$ac_pwd ;;
1272  [\\/]* | ?:[\\/]* )  # Absolute name.
[8298425]1273    ac_srcdir=$srcdir$ac_dir_suffix;
[4ad3480]1274    ac_top_srcdir=$srcdir
1275    ac_abs_top_srcdir=$srcdir ;;
1276  *) # Relative name.
1277    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1278    ac_top_srcdir=$ac_top_build_prefix$srcdir
1279    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
[8298425]1280esac
[4ad3480]1281ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1282
1283    cd "$ac_dir" || { ac_status=$?; continue; }
1284    # Check for guested configure.
1285    if test -f "$ac_srcdir/configure.gnu"; then
1286      echo &&
1287      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1288    elif test -f "$ac_srcdir/configure"; then
1289      echo &&
1290      $SHELL "$ac_srcdir/configure" --help=recursive
[8298425]1291    else
1292      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
[4ad3480]1293    fi || ac_status=$?
1294    cd "$ac_pwd" || { ac_status=$?; break; }
[8298425]1295  done
1296fi
1297
[4ad3480]1298test -n "$ac_init_help" && exit $ac_status
[8298425]1299if $ac_init_version; then
1300  cat <<\_ACEOF
[4ad3480]1301configure
1302generated by GNU Autoconf 2.60
[8298425]1303
[4ad3480]1304Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13052002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
[8298425]1306This configure script is free software; the Free Software Foundation
1307gives unlimited permission to copy, distribute and modify it.
1308_ACEOF
[4ad3480]1309  exit
[8298425]1310fi
[4ad3480]1311cat >config.log <<_ACEOF
[8298425]1312This file contains any messages produced by compilers while
1313running configure, to aid debugging if configure makes a mistake.
1314
1315It was created by $as_me, which was
[4ad3480]1316generated by GNU Autoconf 2.60.  Invocation command line was
[8298425]1317
1318  $ $0 $@
1319
1320_ACEOF
[4ad3480]1321exec 5>>config.log
[8298425]1322{
1323cat <<_ASUNAME
1324## --------- ##
1325## Platform. ##
1326## --------- ##
1327
1328hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1329uname -m = `(uname -m) 2>/dev/null || echo unknown`
1330uname -r = `(uname -r) 2>/dev/null || echo unknown`
1331uname -s = `(uname -s) 2>/dev/null || echo unknown`
1332uname -v = `(uname -v) 2>/dev/null || echo unknown`
1333
1334/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1335/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1336
1337/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1338/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1339/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
[4ad3480]1340/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
[8298425]1341/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1342/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1343/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1344
1345_ASUNAME
1346
1347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1348for as_dir in $PATH
1349do
1350  IFS=$as_save_IFS
1351  test -z "$as_dir" && as_dir=.
1352  echo "PATH: $as_dir"
1353done
[4ad3480]1354IFS=$as_save_IFS
[8298425]1355
1356} >&5
1357
1358cat >&5 <<_ACEOF
1359
1360
1361## ----------- ##
1362## Core tests. ##
1363## ----------- ##
1364
1365_ACEOF
1366
1367
1368# Keep a trace of the command line.
1369# Strip out --no-create and --no-recursion so they do not pile up.
1370# Strip out --silent because we don't want to record it for future runs.
1371# Also quote any args containing shell meta-characters.
1372# Make two passes to allow for proper duplicate-argument suppression.
1373ac_configure_args=
1374ac_configure_args0=
1375ac_configure_args1=
1376ac_must_keep_next=false
1377for ac_pass in 1 2
1378do
1379  for ac_arg
1380  do
1381    case $ac_arg in
1382    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1383    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1384    | -silent | --silent | --silen | --sile | --sil)
1385      continue ;;
[4ad3480]1386    *\'*)
[8298425]1387      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1388    esac
1389    case $ac_pass in
1390    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1391    2)
1392      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1393      if test $ac_must_keep_next = true; then
1394        ac_must_keep_next=false # Got value, back to normal.
1395      else
1396        case $ac_arg in
1397          *=* | --config-cache | -C | -disable-* | --disable-* \
1398          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1399          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1400          | -with-* | --with-* | -without-* | --without-* | --x)
1401            case "$ac_configure_args0 " in
1402              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1403            esac
1404            ;;
1405          -* ) ac_must_keep_next=true ;;
1406        esac
1407      fi
[4ad3480]1408      ac_configure_args="$ac_configure_args '$ac_arg'"
[8298425]1409      ;;
1410    esac
1411  done
1412done
1413$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1414$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1415
1416# When interrupted or exit'd, cleanup temporary files, and complete
1417# config.log.  We remove comments because anyway the quotes in there
1418# would cause problems or look ugly.
[4ad3480]1419# WARNING: Use '\'' to represent an apostrophe within the trap.
1420# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
[8298425]1421trap 'exit_status=$?
1422  # Save into config.log some information that might help in debugging.
1423  {
1424    echo
1425
1426    cat <<\_ASBOX
1427## ---------------- ##
1428## Cache variables. ##
1429## ---------------- ##
1430_ASBOX
1431    echo
1432    # The following way of writing the cache mishandles newlines in values,
[4ad3480]1433(
1434  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1435    eval ac_val=\$$ac_var
1436    case $ac_val in #(
1437    *${as_nl}*)
1438      case $ac_var in #(
1439      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1440echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1441      esac
1442      case $ac_var in #(
1443      _ | IFS | as_nl) ;; #(
1444      *) $as_unset $ac_var ;;
1445      esac ;;
1446    esac
1447  done
[8298425]1448  (set) 2>&1 |
[4ad3480]1449    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1450    *${as_nl}ac_space=\ *)
[8298425]1451      sed -n \
[4ad3480]1452        "s/'\''/'\''\\\\'\'''\''/g;
1453          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1454      ;; #(
[8298425]1455    *)
[4ad3480]1456      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
[8298425]1457      ;;
[4ad3480]1458    esac |
1459    sort
1460)
[8298425]1461    echo
1462
1463    cat <<\_ASBOX
1464## ----------------- ##
1465## Output variables. ##
1466## ----------------- ##
1467_ASBOX
1468    echo
1469    for ac_var in $ac_subst_vars
1470    do
[4ad3480]1471      eval ac_val=\$$ac_var
1472      case $ac_val in
1473      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1474      esac
1475      echo "$ac_var='\''$ac_val'\''"
[8298425]1476    done | sort
1477    echo
1478
1479    if test -n "$ac_subst_files"; then
1480      cat <<\_ASBOX
[4ad3480]1481## ------------------- ##
1482## File substitutions. ##
1483## ------------------- ##
[8298425]1484_ASBOX
1485      echo
1486      for ac_var in $ac_subst_files
1487      do
[4ad3480]1488        eval ac_val=\$$ac_var
1489        case $ac_val in
1490        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1491        esac
1492        echo "$ac_var='\''$ac_val'\''"
[8298425]1493      done | sort
1494      echo
1495    fi
1496
1497    if test -s confdefs.h; then
1498      cat <<\_ASBOX
1499## ----------- ##
1500## confdefs.h. ##
1501## ----------- ##
1502_ASBOX
1503      echo
[4ad3480]1504      cat confdefs.h
[8298425]1505      echo
1506    fi
1507    test "$ac_signal" != 0 &&
1508      echo "$as_me: caught signal $ac_signal"
1509    echo "$as_me: exit $exit_status"
1510  } >&5
[4ad3480]1511  rm -f core *.core core.conftest.* &&
1512    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
[8298425]1513    exit $exit_status
[4ad3480]1514' 0
[8298425]1515for ac_signal in 1 2 13 15; do
1516  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1517done
1518ac_signal=0
1519
1520# confdefs.h avoids OS command line length limits that DEFS can exceed.
[4ad3480]1521rm -f -r conftest* confdefs.h
[8298425]1522
1523# Predefined preprocessor variables.
1524
1525cat >>confdefs.h <<_ACEOF
1526#define PACKAGE_NAME "$PACKAGE_NAME"
1527_ACEOF
1528
1529
1530cat >>confdefs.h <<_ACEOF
1531#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1532_ACEOF
1533
1534
1535cat >>confdefs.h <<_ACEOF
1536#define PACKAGE_VERSION "$PACKAGE_VERSION"
1537_ACEOF
1538
1539
1540cat >>confdefs.h <<_ACEOF
1541#define PACKAGE_STRING "$PACKAGE_STRING"
1542_ACEOF
[7d4fbcd]1543
[8298425]1544
1545cat >>confdefs.h <<_ACEOF
1546#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1547_ACEOF
1548
1549
1550# Let the site file select an alternate cache file if it wants to.
[7d4fbcd]1551# Prefer explicitly selected file to automatically selected ones.
[4ad3480]1552if test -n "$CONFIG_SITE"; then
1553  set x "$CONFIG_SITE"
1554elif test "x$prefix" != xNONE; then
1555  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1556else
1557  set x "$ac_default_prefix/share/config.site" \
1558        "$ac_default_prefix/etc/config.site"
[7d4fbcd]1559fi
[4ad3480]1560shift
1561for ac_site_file
1562do
[7d4fbcd]1563  if test -r "$ac_site_file"; then
[8298425]1564    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1565echo "$as_me: loading site script $ac_site_file" >&6;}
1566    sed 's/^/| /' "$ac_site_file" >&5
[7d4fbcd]1567    . "$ac_site_file"
1568  fi
1569done
1570
1571if test -r "$cache_file"; then
[8298425]1572  # Some versions of bash will fail to source /dev/null (special
1573  # files actually), so we avoid doing that.
1574  if test -f "$cache_file"; then
1575    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1576echo "$as_me: loading cache $cache_file" >&6;}
1577    case $cache_file in
[4ad3480]1578      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1579      *)                      . "./$cache_file";;
[8298425]1580    esac
1581  fi
[7d4fbcd]1582else
[8298425]1583  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1584echo "$as_me: creating cache $cache_file" >&6;}
1585  >$cache_file
[7d4fbcd]1586fi
1587
[8298425]1588# Check that the precious variables saved in the cache have kept the same
1589# value.
1590ac_cache_corrupted=false
[4ad3480]1591for ac_var in $ac_precious_vars; do
[8298425]1592  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1593  eval ac_new_set=\$ac_env_${ac_var}_set
[4ad3480]1594  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1595  eval ac_new_val=\$ac_env_${ac_var}_value
[8298425]1596  case $ac_old_set,$ac_new_set in
1597    set,)
1598      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1599echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1600      ac_cache_corrupted=: ;;
1601    ,set)
1602      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1603echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1604      ac_cache_corrupted=: ;;
1605    ,);;
1606    *)
1607      if test "x$ac_old_val" != "x$ac_new_val"; then
1608        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1609echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1610        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1611echo "$as_me:   former value:  $ac_old_val" >&2;}
1612        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1613echo "$as_me:   current value: $ac_new_val" >&2;}
1614        ac_cache_corrupted=:
1615      fi;;
1616  esac
1617  # Pass precious variables to config.status.
1618  if test "$ac_new_set" = set; then
1619    case $ac_new_val in
[4ad3480]1620    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
[8298425]1621    *) ac_arg=$ac_var=$ac_new_val ;;
1622    esac
1623    case " $ac_configure_args " in
1624      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1625      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1626    esac
[7d4fbcd]1627  fi
[8298425]1628done
1629if $ac_cache_corrupted; then
1630  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1631echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1632  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1633echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1634   { (exit 1); exit 1; }; }
[7d4fbcd]1635fi
1636
1637
1638
1639
1640
[8298425]1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
[4ad3480]1653ac_ext=c
1654ac_cpp='$CPP $CPPFLAGS'
1655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1657ac_compiler_gnu=$ac_cv_c_compiler_gnu
[8298425]1658
1659
1660
[4ad3480]1661ac_config_headers="$ac_config_headers config.h"
[8298425]1662
1663
1664ac_ext=c
1665ac_cpp='$CPP $CPPFLAGS'
1666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1668ac_compiler_gnu=$ac_cv_c_compiler_gnu
1669if test -n "$ac_tool_prefix"; then
1670  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1671set dummy ${ac_tool_prefix}gcc; ac_word=$2
[4ad3480]1672{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1674if test "${ac_cv_prog_CC+set}" = set; then
1675  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]1676else
1677  if test -n "$CC"; then
1678  ac_cv_prog_CC="$CC" # Let the user override the test.
1679else
[8298425]1680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681for as_dir in $PATH
1682do
1683  IFS=$as_save_IFS
1684  test -z "$as_dir" && as_dir=.
1685  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1686  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1687    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1688    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1689    break 2
1690  fi
1691done
1692done
[4ad3480]1693IFS=$as_save_IFS
[8298425]1694
[7d4fbcd]1695fi
1696fi
[8298425]1697CC=$ac_cv_prog_CC
[7d4fbcd]1698if test -n "$CC"; then
[4ad3480]1699  { echo "$as_me:$LINENO: result: $CC" >&5
1700echo "${ECHO_T}$CC" >&6; }
[8298425]1701else
[4ad3480]1702  { echo "$as_me:$LINENO: result: no" >&5
1703echo "${ECHO_T}no" >&6; }
[8298425]1704fi
1705
[4ad3480]1706
[8298425]1707fi
1708if test -z "$ac_cv_prog_CC"; then
1709  ac_ct_CC=$CC
1710  # Extract the first word of "gcc", so it can be a program name with args.
1711set dummy gcc; ac_word=$2
[4ad3480]1712{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1713echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1714if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1715  echo $ECHO_N "(cached) $ECHO_C" >&6
1716else
1717  if test -n "$ac_ct_CC"; then
1718  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1719else
1720as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1721for as_dir in $PATH
1722do
1723  IFS=$as_save_IFS
1724  test -z "$as_dir" && as_dir=.
1725  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1726  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1727    ac_cv_prog_ac_ct_CC="gcc"
1728    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729    break 2
1730  fi
1731done
1732done
[4ad3480]1733IFS=$as_save_IFS
[8298425]1734
1735fi
1736fi
1737ac_ct_CC=$ac_cv_prog_ac_ct_CC
1738if test -n "$ac_ct_CC"; then
[4ad3480]1739  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1740echo "${ECHO_T}$ac_ct_CC" >&6; }
[8298425]1741else
[4ad3480]1742  { echo "$as_me:$LINENO: result: no" >&5
1743echo "${ECHO_T}no" >&6; }
[8298425]1744fi
1745
[4ad3480]1746  if test "x$ac_ct_CC" = x; then
1747    CC=""
1748  else
1749    case $cross_compiling:$ac_tool_warned in
1750yes:)
1751{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1752whose name does not start with the host triplet.  If you think this
1753configuration is useful to you, please write to autoconf@gnu.org." >&5
1754echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1755whose name does not start with the host triplet.  If you think this
1756configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1757ac_tool_warned=yes ;;
1758esac
1759    CC=$ac_ct_CC
1760  fi
[7d4fbcd]1761else
[8298425]1762  CC="$ac_cv_prog_CC"
[7d4fbcd]1763fi
1764
1765if test -z "$CC"; then
[4ad3480]1766          if test -n "$ac_tool_prefix"; then
1767    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
[8298425]1768set dummy ${ac_tool_prefix}cc; ac_word=$2
[4ad3480]1769{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1770echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1771if test "${ac_cv_prog_CC+set}" = set; then
1772  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]1773else
1774  if test -n "$CC"; then
1775  ac_cv_prog_CC="$CC" # Let the user override the test.
1776else
[8298425]1777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1778for as_dir in $PATH
1779do
1780  IFS=$as_save_IFS
1781  test -z "$as_dir" && as_dir=.
1782  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1783  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1784    ac_cv_prog_CC="${ac_tool_prefix}cc"
1785    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1786    break 2
1787  fi
1788done
1789done
[4ad3480]1790IFS=$as_save_IFS
[8298425]1791
1792fi
1793fi
1794CC=$ac_cv_prog_CC
1795if test -n "$CC"; then
[4ad3480]1796  { echo "$as_me:$LINENO: result: $CC" >&5
1797echo "${ECHO_T}$CC" >&6; }
[8298425]1798else
[4ad3480]1799  { echo "$as_me:$LINENO: result: no" >&5
1800echo "${ECHO_T}no" >&6; }
[8298425]1801fi
1802
1803
[4ad3480]1804  fi
[8298425]1805fi
1806if test -z "$CC"; then
1807  # Extract the first word of "cc", so it can be a program name with args.
1808set dummy cc; ac_word=$2
[4ad3480]1809{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1810echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1811if test "${ac_cv_prog_CC+set}" = set; then
1812  echo $ECHO_N "(cached) $ECHO_C" >&6
1813else
1814  if test -n "$CC"; then
1815  ac_cv_prog_CC="$CC" # Let the user override the test.
1816else
1817  ac_prog_rejected=no
1818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819for as_dir in $PATH
1820do
1821  IFS=$as_save_IFS
1822  test -z "$as_dir" && as_dir=.
1823  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1824  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1825    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1826       ac_prog_rejected=yes
1827       continue
1828     fi
1829    ac_cv_prog_CC="cc"
1830    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1831    break 2
1832  fi
1833done
1834done
[4ad3480]1835IFS=$as_save_IFS
[8298425]1836
[7d4fbcd]1837if test $ac_prog_rejected = yes; then
1838  # We found a bogon in the path, so make sure we never use it.
1839  set dummy $ac_cv_prog_CC
1840  shift
[8298425]1841  if test $# != 0; then
[7d4fbcd]1842    # We chose a different compiler from the bogus one.
1843    # However, it has the same basename, so the bogon will be chosen
1844    # first if we set CC to just the basename; use the full file name.
1845    shift
[8298425]1846    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
[7d4fbcd]1847  fi
1848fi
1849fi
1850fi
[8298425]1851CC=$ac_cv_prog_CC
[7d4fbcd]1852if test -n "$CC"; then
[4ad3480]1853  { echo "$as_me:$LINENO: result: $CC" >&5
1854echo "${ECHO_T}$CC" >&6; }
[7d4fbcd]1855else
[4ad3480]1856  { echo "$as_me:$LINENO: result: no" >&5
1857echo "${ECHO_T}no" >&6; }
[7d4fbcd]1858fi
1859
[4ad3480]1860
[8298425]1861fi
1862if test -z "$CC"; then
1863  if test -n "$ac_tool_prefix"; then
[4ad3480]1864  for ac_prog in cl.exe
[8298425]1865  do
1866    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1867set dummy $ac_tool_prefix$ac_prog; ac_word=$2
[4ad3480]1868{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1869echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1870if test "${ac_cv_prog_CC+set}" = set; then
1871  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]1872else
1873  if test -n "$CC"; then
1874  ac_cv_prog_CC="$CC" # Let the user override the test.
1875else
[8298425]1876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1877for as_dir in $PATH
1878do
1879  IFS=$as_save_IFS
1880  test -z "$as_dir" && as_dir=.
1881  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1883    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1884    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1885    break 2
1886  fi
1887done
1888done
[4ad3480]1889IFS=$as_save_IFS
[8298425]1890
[7d4fbcd]1891fi
1892fi
[8298425]1893CC=$ac_cv_prog_CC
[7d4fbcd]1894if test -n "$CC"; then
[4ad3480]1895  { echo "$as_me:$LINENO: result: $CC" >&5
1896echo "${ECHO_T}$CC" >&6; }
[7d4fbcd]1897else
[4ad3480]1898  { echo "$as_me:$LINENO: result: no" >&5
1899echo "${ECHO_T}no" >&6; }
[7d4fbcd]1900fi
[8298425]1901
[4ad3480]1902
[8298425]1903    test -n "$CC" && break
1904  done
1905fi
1906if test -z "$CC"; then
1907  ac_ct_CC=$CC
[4ad3480]1908  for ac_prog in cl.exe
[8298425]1909do
1910  # Extract the first word of "$ac_prog", so it can be a program name with args.
1911set dummy $ac_prog; ac_word=$2
[4ad3480]1912{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1913echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
[8298425]1914if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1915  echo $ECHO_N "(cached) $ECHO_C" >&6
1916else
1917  if test -n "$ac_ct_CC"; then
1918  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1919else
1920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1921for as_dir in $PATH
1922do
1923  IFS=$as_save_IFS
1924  test -z "$as_dir" && as_dir=.
1925  for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]1926  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
[8298425]1927    ac_cv_prog_ac_ct_CC="$ac_prog"
1928    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929    break 2
[7d4fbcd]1930  fi
[8298425]1931done
1932done
[4ad3480]1933IFS=$as_save_IFS
[8298425]1934
1935fi
1936fi
1937ac_ct_CC=$ac_cv_prog_ac_ct_CC
1938if test -n "$ac_ct_CC"; then
[4ad3480]1939  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1940echo "${ECHO_T}$ac_ct_CC" >&6; }
[8298425]1941else
[4ad3480]1942  { echo "$as_me:$LINENO: result: no" >&5
1943echo "${ECHO_T}no" >&6; }
[7d4fbcd]1944fi
1945
[4ad3480]1946
[8298425]1947  test -n "$ac_ct_CC" && break
1948done
[7d4fbcd]1949
[4ad3480]1950  if test "x$ac_ct_CC" = x; then
1951    CC=""
1952  else
1953    case $cross_compiling:$ac_tool_warned in
1954yes:)
1955{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1956whose name does not start with the host triplet.  If you think this
1957configuration is useful to you, please write to autoconf@gnu.org." >&5
1958echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1959whose name does not start with the host triplet.  If you think this
1960configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1961ac_tool_warned=yes ;;
1962esac
1963    CC=$ac_ct_CC
1964  fi
[8298425]1965fi
1966
1967fi
1968
1969
1970test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1971See \`config.log' for more details." >&5
1972echo "$as_me: error: no acceptable C compiler found in \$PATH
1973See \`config.log' for more details." >&2;}
1974   { (exit 1); exit 1; }; }
1975
1976# Provide some information about the compiler.
[4ad3480]1977echo "$as_me:$LINENO: checking for C compiler version" >&5
[8298425]1978ac_compiler=`set X $ac_compile; echo $2`
[4ad3480]1979{ (ac_try="$ac_compiler --version >&5"
1980case "(($ac_try" in
1981  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982  *) ac_try_echo=$ac_try;;
1983esac
1984eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1985  (eval "$ac_compiler --version >&5") 2>&5
[8298425]1986  ac_status=$?
1987  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988  (exit $ac_status); }
[4ad3480]1989{ (ac_try="$ac_compiler -v >&5"
1990case "(($ac_try" in
1991  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992  *) ac_try_echo=$ac_try;;
1993esac
1994eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1995  (eval "$ac_compiler -v >&5") 2>&5
[8298425]1996  ac_status=$?
1997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998  (exit $ac_status); }
[4ad3480]1999{ (ac_try="$ac_compiler -V >&5"
2000case "(($ac_try" in
2001  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002  *) ac_try_echo=$ac_try;;
2003esac
2004eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2005  (eval "$ac_compiler -V >&5") 2>&5
[8298425]2006  ac_status=$?
2007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008  (exit $ac_status); }
2009
2010cat >conftest.$ac_ext <<_ACEOF
2011/* confdefs.h.  */
2012_ACEOF
2013cat confdefs.h >>conftest.$ac_ext
2014cat >>conftest.$ac_ext <<_ACEOF
2015/* end confdefs.h.  */
2016
2017int
2018main ()
2019{
2020
2021  ;
2022  return 0;
2023}
2024_ACEOF
2025ac_clean_files_save=$ac_clean_files
2026ac_clean_files="$ac_clean_files a.out a.exe b.out"
2027# Try to create an executable without -o first, disregard a.out.
2028# It will help us diagnose broken compilers, and finding out an intuition
2029# of exeext.
[4ad3480]2030{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2031echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
[8298425]2032ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
[4ad3480]2033#
2034# List of possible output files, starting from the most likely.
2035# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2036# only as a last resort.  b.out is created by i960 compilers.
2037ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2038#
2039# The IRIX 6 linker writes into existing files which may not be
2040# executable, retaining their permissions.  Remove them first so a
2041# subsequent execution test works.
2042ac_rmfiles=
2043for ac_file in $ac_files
2044do
2045  case $ac_file in
2046    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2047    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2048  esac
2049done
2050rm -f $ac_rmfiles
2051
2052if { (ac_try="$ac_link_default"
2053case "(($ac_try" in
2054  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2055  *) ac_try_echo=$ac_try;;
2056esac
2057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2058  (eval "$ac_link_default") 2>&5
[8298425]2059  ac_status=$?
2060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061  (exit $ac_status); }; then
[4ad3480]2062  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2063# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2064# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2065# so that the user can short-circuit this test for compilers unknown to
2066# Autoconf.
2067for ac_file in $ac_files
[8298425]2068do
2069  test -f "$ac_file" || continue
2070  case $ac_file in
[4ad3480]2071    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
[8298425]2072        ;;
2073    [ab].out )
2074        # We found the default executable, but exeext='' is most
2075        # certainly right.
2076        break;;
2077    *.* )
[4ad3480]2078        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2079        then :; else
2080           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2081        fi
2082        # We set ac_cv_exeext here because the later test for it is not
2083        # safe: cross compilers may not add the suffix if given an `-o'
2084        # argument, so we may need to know it at that point already.
2085        # Even if this section looks crufty: it has the advantage of
2086        # actually working.
[8298425]2087        break;;
2088    * )
2089        break;;
2090  esac
2091done
[4ad3480]2092test "$ac_cv_exeext" = no && ac_cv_exeext=
2093
[8298425]2094else
2095  echo "$as_me: failed program was:" >&5
2096sed 's/^/| /' conftest.$ac_ext >&5
2097
2098{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2099See \`config.log' for more details." >&5
2100echo "$as_me: error: C compiler cannot create executables
2101See \`config.log' for more details." >&2;}
2102   { (exit 77); exit 77; }; }
2103fi
2104
2105ac_exeext=$ac_cv_exeext
[4ad3480]2106{ echo "$as_me:$LINENO: result: $ac_file" >&5
2107echo "${ECHO_T}$ac_file" >&6; }
[8298425]2108
[4ad3480]2109# Check that the compiler produces executables we can run.  If not, either
[8298425]2110# the compiler is broken, or we cross compile.
[4ad3480]2111{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2112echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
[8298425]2113# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2114# If not cross compiling, check that we can run a simple program.
2115if test "$cross_compiling" != yes; then
2116  if { ac_try='./$ac_file'
[4ad3480]2117  { (case "(($ac_try" in
2118  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2119  *) ac_try_echo=$ac_try;;
2120esac
2121eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2122  (eval "$ac_try") 2>&5
[8298425]2123  ac_status=$?
2124  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2125  (exit $ac_status); }; }; then
2126    cross_compiling=no
[7d4fbcd]2127  else
[8298425]2128    if test "$cross_compiling" = maybe; then
2129        cross_compiling=yes
2130    else
2131        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2132If you meant to cross compile, use \`--host'.
2133See \`config.log' for more details." >&5
2134echo "$as_me: error: cannot run C compiled programs.
2135If you meant to cross compile, use \`--host'.
2136See \`config.log' for more details." >&2;}
2137   { (exit 1); exit 1; }; }
2138    fi
[7d4fbcd]2139  fi
2140fi
[4ad3480]2141{ echo "$as_me:$LINENO: result: yes" >&5
2142echo "${ECHO_T}yes" >&6; }
[8298425]2143
2144rm -f a.out a.exe conftest$ac_cv_exeext b.out
2145ac_clean_files=$ac_clean_files_save
[4ad3480]2146# Check that the compiler produces executables we can run.  If not, either
[8298425]2147# the compiler is broken, or we cross compile.
[4ad3480]2148{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2149echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2150{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2151echo "${ECHO_T}$cross_compiling" >&6; }
2152
2153{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2154echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2155if { (ac_try="$ac_link"
2156case "(($ac_try" in
2157  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2158  *) ac_try_echo=$ac_try;;
2159esac
2160eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2161  (eval "$ac_link") 2>&5
[8298425]2162  ac_status=$?
2163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164  (exit $ac_status); }; then
2165  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2166# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2167# work properly (i.e., refer to `conftest.exe'), while it won't with
2168# `rm'.
2169for ac_file in conftest.exe conftest conftest.*; do
2170  test -f "$ac_file" || continue
2171  case $ac_file in
[4ad3480]2172    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
[8298425]2173    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2174          break;;
2175    * ) break;;
2176  esac
2177done
[7d4fbcd]2178else
[8298425]2179  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2180See \`config.log' for more details." >&5
2181echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2182See \`config.log' for more details." >&2;}
2183   { (exit 1); exit 1; }; }
[7d4fbcd]2184fi
[8298425]2185
2186rm -f conftest$ac_cv_exeext
[4ad3480]2187{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2188echo "${ECHO_T}$ac_cv_exeext" >&6; }
[8298425]2189
2190rm -f conftest.$ac_ext
2191EXEEXT=$ac_cv_exeext
2192ac_exeext=$EXEEXT
[4ad3480]2193{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2194echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
[8298425]2195if test "${ac_cv_objext+set}" = set; then
2196  echo $ECHO_N "(cached) $ECHO_C" >&6
2197else
2198  cat >conftest.$ac_ext <<_ACEOF
2199/* confdefs.h.  */
2200_ACEOF
2201cat confdefs.h >>conftest.$ac_ext
2202cat >>conftest.$ac_ext <<_ACEOF
2203/* end confdefs.h.  */
2204
2205int
2206main ()
2207{
2208
2209  ;
2210  return 0;
2211}
2212_ACEOF
2213rm -f conftest.o conftest.obj
[4ad3480]2214if { (ac_try="$ac_compile"
2215case "(($ac_try" in
2216  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2217  *) ac_try_echo=$ac_try;;
2218esac
2219eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2220  (eval "$ac_compile") 2>&5
[8298425]2221  ac_status=$?
2222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223  (exit $ac_status); }; then
[4ad3480]2224  for ac_file in conftest.o conftest.obj conftest.*; do
2225  test -f "$ac_file" || continue;
[8298425]2226  case $ac_file in
[4ad3480]2227    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
[8298425]2228    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2229       break;;
2230  esac
2231done
2232else
2233  echo "$as_me: failed program was:" >&5
2234sed 's/^/| /' conftest.$ac_ext >&5
2235
2236{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2237See \`config.log' for more details." >&5
2238echo "$as_me: error: cannot compute suffix of object files: cannot compile
2239See \`config.log' for more details." >&2;}
2240   { (exit 1); exit 1; }; }
[7d4fbcd]2241fi
2242
[8298425]2243rm -f conftest.$ac_cv_objext conftest.$ac_ext
2244fi
[4ad3480]2245{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2246echo "${ECHO_T}$ac_cv_objext" >&6; }
[8298425]2247OBJEXT=$ac_cv_objext
2248ac_objext=$OBJEXT
[4ad3480]2249{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2250echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
[8298425]2251if test "${ac_cv_c_compiler_gnu+set}" = set; then
2252  echo $ECHO_N "(cached) $ECHO_C" >&6
2253else
2254  cat >conftest.$ac_ext <<_ACEOF
2255/* confdefs.h.  */
2256_ACEOF
2257cat confdefs.h >>conftest.$ac_ext
2258cat >>conftest.$ac_ext <<_ACEOF
2259/* end confdefs.h.  */
2260
2261int
2262main ()
2263{
2264#ifndef __GNUC__
2265       choke me
2266#endif
[7d4fbcd]2267
[8298425]2268  ;
2269  return 0;
2270}
2271_ACEOF
2272rm -f conftest.$ac_objext
[4ad3480]2273if { (ac_try="$ac_compile"
2274case "(($ac_try" in
2275  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2276  *) ac_try_echo=$ac_try;;
2277esac
2278eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2279  (eval "$ac_compile") 2>conftest.er1
[8298425]2280  ac_status=$?
2281  grep -v '^ *+' conftest.er1 >conftest.err
2282  rm -f conftest.er1
2283  cat conftest.err >&5
2284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285  (exit $ac_status); } &&
[4ad3480]2286         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2287  { (case "(($ac_try" in
2288  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2289  *) ac_try_echo=$ac_try;;
2290esac
2291eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2292  (eval "$ac_try") 2>&5
[8298425]2293  ac_status=$?
2294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2295  (exit $ac_status); }; } &&
2296         { ac_try='test -s conftest.$ac_objext'
[4ad3480]2297  { (case "(($ac_try" in
2298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2299  *) ac_try_echo=$ac_try;;
2300esac
2301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2302  (eval "$ac_try") 2>&5
[8298425]2303  ac_status=$?
2304  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305  (exit $ac_status); }; }; then
2306  ac_compiler_gnu=yes
[7d4fbcd]2307else
[8298425]2308  echo "$as_me: failed program was:" >&5
2309sed 's/^/| /' conftest.$ac_ext >&5
2310
[4ad3480]2311        ac_compiler_gnu=no
[7d4fbcd]2312fi
[4ad3480]2313
2314rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
[8298425]2315ac_cv_c_compiler_gnu=$ac_compiler_gnu
[7d4fbcd]2316
[8298425]2317fi
[4ad3480]2318{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2319echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
[8298425]2320GCC=`test $ac_compiler_gnu = yes && echo yes`
2321ac_test_CFLAGS=${CFLAGS+set}
2322ac_save_CFLAGS=$CFLAGS
[4ad3480]2323{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2324echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
[8298425]2325if test "${ac_cv_prog_cc_g+set}" = set; then
2326  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2327else
[4ad3480]2328  ac_save_c_werror_flag=$ac_c_werror_flag
2329   ac_c_werror_flag=yes
2330   ac_cv_prog_cc_g=no
2331   CFLAGS="-g"
2332   cat >conftest.$ac_ext <<_ACEOF
2333/* confdefs.h.  */
2334_ACEOF
2335cat confdefs.h >>conftest.$ac_ext
2336cat >>conftest.$ac_ext <<_ACEOF
2337/* end confdefs.h.  */
2338
2339int
2340main ()
2341{
2342
2343  ;
2344  return 0;
2345}
2346_ACEOF
2347rm -f conftest.$ac_objext
2348if { (ac_try="$ac_compile"
2349case "(($ac_try" in
2350  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351  *) ac_try_echo=$ac_try;;
2352esac
2353eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354  (eval "$ac_compile") 2>conftest.er1
2355  ac_status=$?
2356  grep -v '^ *+' conftest.er1 >conftest.err
2357  rm -f conftest.er1
2358  cat conftest.err >&5
2359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360  (exit $ac_status); } &&
2361         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2362  { (case "(($ac_try" in
2363  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364  *) ac_try_echo=$ac_try;;
2365esac
2366eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2367  (eval "$ac_try") 2>&5
2368  ac_status=$?
2369  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370  (exit $ac_status); }; } &&
2371         { ac_try='test -s conftest.$ac_objext'
2372  { (case "(($ac_try" in
2373  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374  *) ac_try_echo=$ac_try;;
2375esac
2376eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2377  (eval "$ac_try") 2>&5
2378  ac_status=$?
2379  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380  (exit $ac_status); }; }; then
2381  ac_cv_prog_cc_g=yes
2382else
2383  echo "$as_me: failed program was:" >&5
2384sed 's/^/| /' conftest.$ac_ext >&5
2385
2386        CFLAGS=""
2387      cat >conftest.$ac_ext <<_ACEOF
2388/* confdefs.h.  */
2389_ACEOF
2390cat confdefs.h >>conftest.$ac_ext
2391cat >>conftest.$ac_ext <<_ACEOF
2392/* end confdefs.h.  */
2393
2394int
2395main ()
2396{
2397
2398  ;
2399  return 0;
2400}
2401_ACEOF
2402rm -f conftest.$ac_objext
2403if { (ac_try="$ac_compile"
2404case "(($ac_try" in
2405  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406  *) ac_try_echo=$ac_try;;
2407esac
2408eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2409  (eval "$ac_compile") 2>conftest.er1
2410  ac_status=$?
2411  grep -v '^ *+' conftest.er1 >conftest.err
2412  rm -f conftest.er1
2413  cat conftest.err >&5
2414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415  (exit $ac_status); } &&
2416         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2417  { (case "(($ac_try" in
2418  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2419  *) ac_try_echo=$ac_try;;
2420esac
2421eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2422  (eval "$ac_try") 2>&5
2423  ac_status=$?
2424  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425  (exit $ac_status); }; } &&
2426         { ac_try='test -s conftest.$ac_objext'
2427  { (case "(($ac_try" in
2428  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429  *) ac_try_echo=$ac_try;;
2430esac
2431eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432  (eval "$ac_try") 2>&5
2433  ac_status=$?
2434  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435  (exit $ac_status); }; }; then
2436  :
2437else
2438  echo "$as_me: failed program was:" >&5
2439sed 's/^/| /' conftest.$ac_ext >&5
2440
2441        ac_c_werror_flag=$ac_save_c_werror_flag
2442         CFLAGS="-g"
2443         cat >conftest.$ac_ext <<_ACEOF
[8298425]2444/* confdefs.h.  */
2445_ACEOF
2446cat confdefs.h >>conftest.$ac_ext
2447cat >>conftest.$ac_ext <<_ACEOF
2448/* end confdefs.h.  */
2449
2450int
2451main ()
2452{
2453
2454  ;
2455  return 0;
2456}
2457_ACEOF
2458rm -f conftest.$ac_objext
[4ad3480]2459if { (ac_try="$ac_compile"
2460case "(($ac_try" in
2461  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2462  *) ac_try_echo=$ac_try;;
2463esac
2464eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2465  (eval "$ac_compile") 2>conftest.er1
[8298425]2466  ac_status=$?
2467  grep -v '^ *+' conftest.er1 >conftest.err
2468  rm -f conftest.er1
2469  cat conftest.err >&5
2470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471  (exit $ac_status); } &&
[4ad3480]2472         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2473  { (case "(($ac_try" in
2474  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2475  *) ac_try_echo=$ac_try;;
2476esac
2477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2478  (eval "$ac_try") 2>&5
[8298425]2479  ac_status=$?
2480  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481  (exit $ac_status); }; } &&
2482         { ac_try='test -s conftest.$ac_objext'
[4ad3480]2483  { (case "(($ac_try" in
2484  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485  *) ac_try_echo=$ac_try;;
2486esac
2487eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488  (eval "$ac_try") 2>&5
[8298425]2489  ac_status=$?
2490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491  (exit $ac_status); }; }; then
[7d4fbcd]2492  ac_cv_prog_cc_g=yes
2493else
[8298425]2494  echo "$as_me: failed program was:" >&5
2495sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2496
[4ad3480]2497
[7d4fbcd]2498fi
[4ad3480]2499
2500rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2501fi
2502
2503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2504fi
2505
2506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2507   ac_c_werror_flag=$ac_save_c_werror_flag
[8298425]2508fi
[4ad3480]2509{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2510echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
[7d4fbcd]2511if test "$ac_test_CFLAGS" = set; then
[8298425]2512  CFLAGS=$ac_save_CFLAGS
[7d4fbcd]2513elif test $ac_cv_prog_cc_g = yes; then
2514  if test "$GCC" = yes; then
2515    CFLAGS="-g -O2"
2516  else
2517    CFLAGS="-g"
2518  fi
2519else
2520  if test "$GCC" = yes; then
2521    CFLAGS="-O2"
2522  else
2523    CFLAGS=
2524  fi
2525fi
[4ad3480]2526{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2527echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2528if test "${ac_cv_prog_cc_c89+set}" = set; then
[8298425]2529  echo $ECHO_N "(cached) $ECHO_C" >&6
2530else
[4ad3480]2531  ac_cv_prog_cc_c89=no
[8298425]2532ac_save_CC=$CC
2533cat >conftest.$ac_ext <<_ACEOF
2534/* confdefs.h.  */
2535_ACEOF
2536cat confdefs.h >>conftest.$ac_ext
2537cat >>conftest.$ac_ext <<_ACEOF
2538/* end confdefs.h.  */
2539#include <stdarg.h>
2540#include <stdio.h>
2541#include <sys/types.h>
2542#include <sys/stat.h>
2543/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2544struct buf { int x; };
2545FILE * (*rcsopen) (struct buf *, struct stat *, int);
2546static char *e (p, i)
2547     char **p;
2548     int i;
2549{
2550  return p[i];
2551}
2552static char *f (char * (*g) (char **, int), char **p, ...)
2553{
2554  char *s;
2555  va_list v;
2556  va_start (v,p);
2557  s = g (p, va_arg (v,int));
2558  va_end (v);
2559  return s;
2560}
2561
2562/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2563   function prototypes and stuff, but not '\xHH' hex character constants.
2564   These don't provoke an error unfortunately, instead are silently treated
[4ad3480]2565   as 'x'.  The following induces an error, until -std is added to get
[8298425]2566   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2567   array size at least.  It's necessary to write '\x00'==0 to get something
[4ad3480]2568   that's true only with -std.  */
[8298425]2569int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2570
[4ad3480]2571/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2572   inside strings and character constants.  */
2573#define FOO(x) 'x'
2574int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2575
[8298425]2576int test (int i, double x);
2577struct s1 {int (*f) (int a);};
2578struct s2 {int (*f) (double a);};
2579int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2580int argc;
2581char **argv;
2582int
2583main ()
2584{
2585return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2586  ;
2587  return 0;
2588}
2589_ACEOF
[4ad3480]2590for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2591        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
[8298425]2592do
2593  CC="$ac_save_CC $ac_arg"
2594  rm -f conftest.$ac_objext
[4ad3480]2595if { (ac_try="$ac_compile"
2596case "(($ac_try" in
2597  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598  *) ac_try_echo=$ac_try;;
2599esac
2600eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601  (eval "$ac_compile") 2>conftest.er1
[8298425]2602  ac_status=$?
2603  grep -v '^ *+' conftest.er1 >conftest.err
2604  rm -f conftest.er1
2605  cat conftest.err >&5
2606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607  (exit $ac_status); } &&
[4ad3480]2608         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2609  { (case "(($ac_try" in
2610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611  *) ac_try_echo=$ac_try;;
2612esac
2613eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614  (eval "$ac_try") 2>&5
[8298425]2615  ac_status=$?
2616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617  (exit $ac_status); }; } &&
2618         { ac_try='test -s conftest.$ac_objext'
[4ad3480]2619  { (case "(($ac_try" in
2620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621  *) ac_try_echo=$ac_try;;
2622esac
2623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624  (eval "$ac_try") 2>&5
[8298425]2625  ac_status=$?
2626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627  (exit $ac_status); }; }; then
[4ad3480]2628  ac_cv_prog_cc_c89=$ac_arg
[8298425]2629else
2630  echo "$as_me: failed program was:" >&5
2631sed 's/^/| /' conftest.$ac_ext >&5
2632
[4ad3480]2633
[8298425]2634fi
[4ad3480]2635
2636rm -f core conftest.err conftest.$ac_objext
2637  test "x$ac_cv_prog_cc_c89" != "xno" && break
[8298425]2638done
[4ad3480]2639rm -f conftest.$ac_ext
[8298425]2640CC=$ac_save_CC
2641
2642fi
[4ad3480]2643# AC_CACHE_VAL
2644case "x$ac_cv_prog_cc_c89" in
2645  x)
2646    { echo "$as_me:$LINENO: result: none needed" >&5
2647echo "${ECHO_T}none needed" >&6; } ;;
2648  xno)
2649    { echo "$as_me:$LINENO: result: unsupported" >&5
2650echo "${ECHO_T}unsupported" >&6; } ;;
[8298425]2651  *)
[4ad3480]2652    CC="$CC $ac_cv_prog_cc_c89"
2653    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2654echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
[8298425]2655esac
2656
[4ad3480]2657
2658ac_ext=c
2659ac_cpp='$CPP $CPPFLAGS'
2660ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2661ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2662ac_compiler_gnu=$ac_cv_c_compiler_gnu
2663
2664
2665if test "$GCC" = yes; then
2666     CFLAGS="$CFLAGS -Wall -g";
2667fi
2668
2669
2670{ echo "$as_me:$LINENO: checking for /usr/athena/include" >&5
2671echo $ECHO_N "checking for /usr/athena/include... $ECHO_C" >&6; }
2672if test -d /usr/athena/include; then
2673        CFLAGS=${CFLAGS}\ -I/usr/athena/include
2674        CPPFLAGS=${CPPFLAGS}\ -I/usr/athena/include
2675        { echo "$as_me:$LINENO: result: yes" >&5
2676echo "${ECHO_T}yes" >&6; }
2677else
2678        { echo "$as_me:$LINENO: result: no" >&5
2679echo "${ECHO_T}no" >&6; }
2680fi
2681{ echo "$as_me:$LINENO: checking for /usr/athena/lib" >&5
2682echo $ECHO_N "checking for /usr/athena/lib... $ECHO_C" >&6; }
2683if test -d /usr/athena/lib; then
2684        LDFLAGS=-L/usr/athena/lib\ ${LDFLAGS}
2685        { echo "$as_me:$LINENO: result: yes" >&5
2686echo "${ECHO_T}yes" >&6; }
2687else
2688        { echo "$as_me:$LINENO: result: no" >&5
2689echo "${ECHO_T}no" >&6; }
2690fi
2691
2692{ echo "$as_me:$LINENO: checking for /usr/include/kerberosIV" >&5
2693echo $ECHO_N "checking for /usr/include/kerberosIV... $ECHO_C" >&6; }
2694if test -d /usr/include/kerberosIV; then
2695        CFLAGS=${CFLAGS}\ -I/usr/include/kerberosIV
2696        CPPFLAGS=${CPPFLAGS}\ -I/usr/include/kerberosIV
2697        { echo "$as_me:$LINENO: result: yes" >&5
2698echo "${ECHO_T}yes" >&6; }
2699else
2700        { echo "$as_me:$LINENO: result: no" >&5
2701echo "${ECHO_T}no" >&6; }
2702fi
2703
2704
2705{ echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
2706echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6; }
2707if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
2708  echo $ECHO_N "(cached) $ECHO_C" >&6
2709else
2710  ac_check_lib_save_LIBS=$LIBS
2711LIBS="-lncurses  $LIBS"
[8298425]2712cat >conftest.$ac_ext <<_ACEOF
[4ad3480]2713/* confdefs.h.  */
[8298425]2714_ACEOF
2715cat confdefs.h >>conftest.$ac_ext
2716cat >>conftest.$ac_ext <<_ACEOF
2717/* end confdefs.h.  */
2718
[4ad3480]2719/* Override any GCC internal prototype to avoid an error.
2720   Use char because int might match the return type of a GCC
2721   builtin and then its argument prototype would still apply.  */
[8298425]2722#ifdef __cplusplus
2723extern "C"
2724#endif
2725char initscr ();
2726int
2727main ()
2728{
[4ad3480]2729return initscr ();
[8298425]2730  ;
2731  return 0;
2732}
2733_ACEOF
2734rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]2735if { (ac_try="$ac_link"
2736case "(($ac_try" in
2737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738  *) ac_try_echo=$ac_try;;
2739esac
2740eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741  (eval "$ac_link") 2>conftest.er1
[8298425]2742  ac_status=$?
2743  grep -v '^ *+' conftest.er1 >conftest.err
2744  rm -f conftest.er1
2745  cat conftest.err >&5
2746  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747  (exit $ac_status); } &&
[4ad3480]2748         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2749  { (case "(($ac_try" in
2750  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751  *) ac_try_echo=$ac_try;;
2752esac
2753eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754  (eval "$ac_try") 2>&5
[8298425]2755  ac_status=$?
2756  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757  (exit $ac_status); }; } &&
2758         { ac_try='test -s conftest$ac_exeext'
[4ad3480]2759  { (case "(($ac_try" in
2760  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761  *) ac_try_echo=$ac_try;;
2762esac
2763eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2764  (eval "$ac_try") 2>&5
[8298425]2765  ac_status=$?
2766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767  (exit $ac_status); }; }; then
2768  ac_cv_lib_ncurses_initscr=yes
2769else
2770  echo "$as_me: failed program was:" >&5
2771sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2772
[4ad3480]2773        ac_cv_lib_ncurses_initscr=no
[7d4fbcd]2774fi
[4ad3480]2775
2776rm -f core conftest.err conftest.$ac_objext \
[8298425]2777      conftest$ac_exeext conftest.$ac_ext
2778LIBS=$ac_check_lib_save_LIBS
2779fi
[4ad3480]2780{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
2781echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
[8298425]2782if test $ac_cv_lib_ncurses_initscr = yes; then
2783  cat >>confdefs.h <<_ACEOF
2784#define HAVE_LIBNCURSES 1
2785_ACEOF
[7d4fbcd]2786
2787  LIBS="-lncurses $LIBS"
2788
2789else
[8298425]2790
[4ad3480]2791{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
2792echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
[8298425]2793if test "${ac_cv_lib_curses_initscr+set}" = set; then
2794  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2795else
[8298425]2796  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]2797LIBS="-lcurses  $LIBS"
[8298425]2798
2799cat >conftest.$ac_ext <<_ACEOF
2800/* confdefs.h.  */
2801_ACEOF
2802cat confdefs.h >>conftest.$ac_ext
2803cat >>conftest.$ac_ext <<_ACEOF
2804/* end confdefs.h.  */
2805
[4ad3480]2806/* Override any GCC internal prototype to avoid an error.
2807   Use char because int might match the return type of a GCC
2808   builtin and then its argument prototype would still apply.  */
[8298425]2809#ifdef __cplusplus
2810extern "C"
2811#endif
2812char initscr ();
2813int
2814main ()
2815{
[4ad3480]2816return initscr ();
[8298425]2817  ;
2818  return 0;
2819}
2820_ACEOF
2821rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]2822if { (ac_try="$ac_link"
2823case "(($ac_try" in
2824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825  *) ac_try_echo=$ac_try;;
2826esac
2827eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828  (eval "$ac_link") 2>conftest.er1
[8298425]2829  ac_status=$?
2830  grep -v '^ *+' conftest.er1 >conftest.err
2831  rm -f conftest.er1
2832  cat conftest.err >&5
2833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834  (exit $ac_status); } &&
[4ad3480]2835         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2836  { (case "(($ac_try" in
2837  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838  *) ac_try_echo=$ac_try;;
2839esac
2840eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841  (eval "$ac_try") 2>&5
[8298425]2842  ac_status=$?
2843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844  (exit $ac_status); }; } &&
2845         { ac_try='test -s conftest$ac_exeext'
[4ad3480]2846  { (case "(($ac_try" in
2847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848  *) ac_try_echo=$ac_try;;
2849esac
2850eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851  (eval "$ac_try") 2>&5
[8298425]2852  ac_status=$?
2853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854  (exit $ac_status); }; }; then
2855  ac_cv_lib_curses_initscr=yes
2856else
2857  echo "$as_me: failed program was:" >&5
2858sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2859
[4ad3480]2860        ac_cv_lib_curses_initscr=no
[7d4fbcd]2861fi
[4ad3480]2862
2863rm -f core conftest.err conftest.$ac_objext \
[8298425]2864      conftest$ac_exeext conftest.$ac_ext
2865LIBS=$ac_check_lib_save_LIBS
2866fi
[4ad3480]2867{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
2868echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
[8298425]2869if test $ac_cv_lib_curses_initscr = yes; then
2870  cat >>confdefs.h <<_ACEOF
2871#define HAVE_LIBCURSES 1
2872_ACEOF
[7d4fbcd]2873
2874  LIBS="-lcurses $LIBS"
2875
2876else
[8298425]2877  { { echo "$as_me:$LINENO: error: No curses library found." >&5
2878echo "$as_me: error: No curses library found." >&2;}
2879   { (exit 1); exit 1; }; }
[7d4fbcd]2880fi
2881
2882fi
2883
[8298425]2884
[4ad3480]2885{ echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
2886echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
[8298425]2887if test "${ac_cv_lib_com_err_com_err+set}" = set; then
2888  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2889else
[8298425]2890  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]2891LIBS="-lcom_err  $LIBS"
[8298425]2892cat >conftest.$ac_ext <<_ACEOF
2893/* confdefs.h.  */
2894_ACEOF
2895cat confdefs.h >>conftest.$ac_ext
2896cat >>conftest.$ac_ext <<_ACEOF
2897/* end confdefs.h.  */
2898
[4ad3480]2899/* Override any GCC internal prototype to avoid an error.
2900   Use char because int might match the return type of a GCC
2901   builtin and then its argument prototype would still apply.  */
[8298425]2902#ifdef __cplusplus
2903extern "C"
2904#endif
2905char com_err ();
2906int
2907main ()
2908{
[4ad3480]2909return com_err ();
[8298425]2910  ;
2911  return 0;
2912}
2913_ACEOF
2914rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]2915if { (ac_try="$ac_link"
2916case "(($ac_try" in
2917  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918  *) ac_try_echo=$ac_try;;
2919esac
2920eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921  (eval "$ac_link") 2>conftest.er1
[8298425]2922  ac_status=$?
2923  grep -v '^ *+' conftest.er1 >conftest.err
2924  rm -f conftest.er1
2925  cat conftest.err >&5
2926  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927  (exit $ac_status); } &&
[4ad3480]2928         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2929  { (case "(($ac_try" in
2930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2931  *) ac_try_echo=$ac_try;;
2932esac
2933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2934  (eval "$ac_try") 2>&5
[8298425]2935  ac_status=$?
2936  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937  (exit $ac_status); }; } &&
2938         { ac_try='test -s conftest$ac_exeext'
[4ad3480]2939  { (case "(($ac_try" in
2940  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2941  *) ac_try_echo=$ac_try;;
2942esac
2943eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2944  (eval "$ac_try") 2>&5
[8298425]2945  ac_status=$?
2946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947  (exit $ac_status); }; }; then
2948  ac_cv_lib_com_err_com_err=yes
2949else
2950  echo "$as_me: failed program was:" >&5
2951sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]2952
[4ad3480]2953        ac_cv_lib_com_err_com_err=no
[8298425]2954fi
[4ad3480]2955
2956rm -f core conftest.err conftest.$ac_objext \
[8298425]2957      conftest$ac_exeext conftest.$ac_ext
2958LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]2959fi
[4ad3480]2960{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
2961echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
[8298425]2962if test $ac_cv_lib_com_err_com_err = yes; then
2963  cat >>confdefs.h <<_ACEOF
2964#define HAVE_LIBCOM_ERR 1
2965_ACEOF
[7d4fbcd]2966
2967  LIBS="-lcom_err $LIBS"
2968
2969fi
2970
[8298425]2971
[4ad3480]2972{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2973echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
[8298425]2974if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2975  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]2976else
[8298425]2977  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]2978LIBS="-lnsl  $LIBS"
[8298425]2979cat >conftest.$ac_ext <<_ACEOF
2980/* confdefs.h.  */
2981_ACEOF
2982cat confdefs.h >>conftest.$ac_ext
2983cat >>conftest.$ac_ext <<_ACEOF
2984/* end confdefs.h.  */
2985
[4ad3480]2986/* Override any GCC internal prototype to avoid an error.
2987   Use char because int might match the return type of a GCC
2988   builtin and then its argument prototype would still apply.  */
[8298425]2989#ifdef __cplusplus
2990extern "C"
2991#endif
2992char gethostbyname ();
2993int
2994main ()
2995{
[4ad3480]2996return gethostbyname ();
[8298425]2997  ;
2998  return 0;
2999}
3000_ACEOF
3001rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3002if { (ac_try="$ac_link"
3003case "(($ac_try" in
3004  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005  *) ac_try_echo=$ac_try;;
3006esac
3007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008  (eval "$ac_link") 2>conftest.er1
[8298425]3009  ac_status=$?
3010  grep -v '^ *+' conftest.er1 >conftest.err
3011  rm -f conftest.er1
3012  cat conftest.err >&5
3013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014  (exit $ac_status); } &&
[4ad3480]3015         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3016  { (case "(($ac_try" in
3017  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018  *) ac_try_echo=$ac_try;;
3019esac
3020eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3021  (eval "$ac_try") 2>&5
[8298425]3022  ac_status=$?
3023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024  (exit $ac_status); }; } &&
3025         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3026  { (case "(($ac_try" in
3027  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3028  *) ac_try_echo=$ac_try;;
3029esac
3030eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3031  (eval "$ac_try") 2>&5
[8298425]3032  ac_status=$?
3033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034  (exit $ac_status); }; }; then
3035  ac_cv_lib_nsl_gethostbyname=yes
3036else
3037  echo "$as_me: failed program was:" >&5
3038sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3039
[4ad3480]3040        ac_cv_lib_nsl_gethostbyname=no
[7d4fbcd]3041fi
[4ad3480]3042
3043rm -f core conftest.err conftest.$ac_objext \
[8298425]3044      conftest$ac_exeext conftest.$ac_ext
3045LIBS=$ac_check_lib_save_LIBS
3046fi
[4ad3480]3047{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3048echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
[8298425]3049if test $ac_cv_lib_nsl_gethostbyname = yes; then
3050  cat >>confdefs.h <<_ACEOF
3051#define HAVE_LIBNSL 1
3052_ACEOF
[7d4fbcd]3053
3054  LIBS="-lnsl $LIBS"
3055
3056fi
3057
[8298425]3058
[4ad3480]3059{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3060echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
[8298425]3061if test "${ac_cv_lib_socket_socket+set}" = set; then
3062  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3063else
[8298425]3064  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3065LIBS="-lsocket  $LIBS"
[8298425]3066cat >conftest.$ac_ext <<_ACEOF
3067/* confdefs.h.  */
3068_ACEOF
3069cat confdefs.h >>conftest.$ac_ext
3070cat >>conftest.$ac_ext <<_ACEOF
3071/* end confdefs.h.  */
3072
[4ad3480]3073/* Override any GCC internal prototype to avoid an error.
3074   Use char because int might match the return type of a GCC
3075   builtin and then its argument prototype would still apply.  */
[8298425]3076#ifdef __cplusplus
3077extern "C"
3078#endif
3079char socket ();
3080int
3081main ()
3082{
[4ad3480]3083return socket ();
[8298425]3084  ;
3085  return 0;
3086}
3087_ACEOF
3088rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3089if { (ac_try="$ac_link"
3090case "(($ac_try" in
3091  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092  *) ac_try_echo=$ac_try;;
3093esac
3094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3095  (eval "$ac_link") 2>conftest.er1
[8298425]3096  ac_status=$?
3097  grep -v '^ *+' conftest.er1 >conftest.err
3098  rm -f conftest.er1
3099  cat conftest.err >&5
3100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101  (exit $ac_status); } &&
[4ad3480]3102         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3103  { (case "(($ac_try" in
3104  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105  *) ac_try_echo=$ac_try;;
3106esac
3107eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108  (eval "$ac_try") 2>&5
[8298425]3109  ac_status=$?
3110  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111  (exit $ac_status); }; } &&
3112         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3113  { (case "(($ac_try" in
3114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115  *) ac_try_echo=$ac_try;;
3116esac
3117eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118  (eval "$ac_try") 2>&5
[8298425]3119  ac_status=$?
3120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121  (exit $ac_status); }; }; then
3122  ac_cv_lib_socket_socket=yes
3123else
3124  echo "$as_me: failed program was:" >&5
3125sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3126
[4ad3480]3127        ac_cv_lib_socket_socket=no
[8298425]3128fi
[4ad3480]3129
3130rm -f core conftest.err conftest.$ac_objext \
[8298425]3131      conftest$ac_exeext conftest.$ac_ext
3132LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3133fi
[4ad3480]3134{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3135echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
[8298425]3136if test $ac_cv_lib_socket_socket = yes; then
3137  cat >>confdefs.h <<_ACEOF
3138#define HAVE_LIBSOCKET 1
3139_ACEOF
[7d4fbcd]3140
3141  LIBS="-lsocket $LIBS"
3142
3143fi
3144
[8298425]3145
[4ad3480]3146{ echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5
3147echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; }
[8298425]3148if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then
3149  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3150else
[8298425]3151  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3152LIBS="-lk5crypto  $LIBS"
[8298425]3153cat >conftest.$ac_ext <<_ACEOF
3154/* confdefs.h.  */
3155_ACEOF
3156cat confdefs.h >>conftest.$ac_ext
3157cat >>conftest.$ac_ext <<_ACEOF
3158/* end confdefs.h.  */
3159
[4ad3480]3160/* Override any GCC internal prototype to avoid an error.
3161   Use char because int might match the return type of a GCC
3162   builtin and then its argument prototype would still apply.  */
[8298425]3163#ifdef __cplusplus
3164extern "C"
3165#endif
3166char krb5_derive_key ();
3167int
3168main ()
3169{
[4ad3480]3170return krb5_derive_key ();
[8298425]3171  ;
3172  return 0;
3173}
3174_ACEOF
3175rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3176if { (ac_try="$ac_link"
3177case "(($ac_try" in
3178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3179  *) ac_try_echo=$ac_try;;
3180esac
3181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3182  (eval "$ac_link") 2>conftest.er1
[8298425]3183  ac_status=$?
3184  grep -v '^ *+' conftest.er1 >conftest.err
3185  rm -f conftest.er1
3186  cat conftest.err >&5
3187  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188  (exit $ac_status); } &&
[4ad3480]3189         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3190  { (case "(($ac_try" in
3191  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192  *) ac_try_echo=$ac_try;;
3193esac
3194eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195  (eval "$ac_try") 2>&5
[8298425]3196  ac_status=$?
3197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3198  (exit $ac_status); }; } &&
3199         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3200  { (case "(($ac_try" in
3201  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3202  *) ac_try_echo=$ac_try;;
3203esac
3204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3205  (eval "$ac_try") 2>&5
[8298425]3206  ac_status=$?
3207  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208  (exit $ac_status); }; }; then
3209  ac_cv_lib_k5crypto_krb5_derive_key=yes
3210else
3211  echo "$as_me: failed program was:" >&5
3212sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3213
[4ad3480]3214        ac_cv_lib_k5crypto_krb5_derive_key=no
[8298425]3215fi
[4ad3480]3216
3217rm -f core conftest.err conftest.$ac_objext \
[8298425]3218      conftest$ac_exeext conftest.$ac_ext
3219LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3220fi
[4ad3480]3221{ echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5
3222echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; }
[8298425]3223if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then
3224  cat >>confdefs.h <<_ACEOF
3225#define HAVE_LIBK5CRYPTO 1
3226_ACEOF
[7d4fbcd]3227
3228  LIBS="-lk5crypto $LIBS"
3229
3230fi
3231
[8298425]3232
[4ad3480]3233{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
3234echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
[8298425]3235if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
3236  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3237else
[8298425]3238  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3239LIBS="-ldes425  $LIBS"
[8298425]3240cat >conftest.$ac_ext <<_ACEOF
3241/* confdefs.h.  */
3242_ACEOF
3243cat confdefs.h >>conftest.$ac_ext
3244cat >>conftest.$ac_ext <<_ACEOF
3245/* end confdefs.h.  */
3246
[4ad3480]3247/* Override any GCC internal prototype to avoid an error.
3248   Use char because int might match the return type of a GCC
3249   builtin and then its argument prototype would still apply.  */
[8298425]3250#ifdef __cplusplus
3251extern "C"
3252#endif
3253char des_cbc_encrypt ();
3254int
3255main ()
3256{
[4ad3480]3257return des_cbc_encrypt ();
[8298425]3258  ;
3259  return 0;
3260}
3261_ACEOF
3262rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3263if { (ac_try="$ac_link"
3264case "(($ac_try" in
3265  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3266  *) ac_try_echo=$ac_try;;
3267esac
3268eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3269  (eval "$ac_link") 2>conftest.er1
[8298425]3270  ac_status=$?
3271  grep -v '^ *+' conftest.er1 >conftest.err
3272  rm -f conftest.er1
3273  cat conftest.err >&5
3274  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275  (exit $ac_status); } &&
[4ad3480]3276         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3277  { (case "(($ac_try" in
3278  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3279  *) ac_try_echo=$ac_try;;
3280esac
3281eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3282  (eval "$ac_try") 2>&5
[8298425]3283  ac_status=$?
3284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285  (exit $ac_status); }; } &&
3286         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3287  { (case "(($ac_try" in
3288  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3289  *) ac_try_echo=$ac_try;;
3290esac
3291eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3292  (eval "$ac_try") 2>&5
[8298425]3293  ac_status=$?
3294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295  (exit $ac_status); }; }; then
3296  ac_cv_lib_des425_des_cbc_encrypt=yes
3297else
3298  echo "$as_me: failed program was:" >&5
3299sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3300
[4ad3480]3301        ac_cv_lib_des425_des_cbc_encrypt=no
[8298425]3302fi
[4ad3480]3303
3304rm -f core conftest.err conftest.$ac_objext \
[8298425]3305      conftest$ac_exeext conftest.$ac_ext
3306LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3307fi
[4ad3480]3308{ echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
3309echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
[8298425]3310if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
3311  cat >>confdefs.h <<_ACEOF
3312#define HAVE_LIBDES425 1
3313_ACEOF
[7d4fbcd]3314
3315  LIBS="-ldes425 $LIBS"
3316
3317fi
3318
[8298425]3319
[4ad3480]3320{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3321echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
[8298425]3322if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3323  echo $ECHO_N "(cached) $ECHO_C" >&6
[d09e5a1]3324else
[8298425]3325  ac_check_lib_save_LIBS=$LIBS
[d09e5a1]3326LIBS="-lresolv  $LIBS"
[8298425]3327cat >conftest.$ac_ext <<_ACEOF
3328/* confdefs.h.  */
3329_ACEOF
3330cat confdefs.h >>conftest.$ac_ext
3331cat >>conftest.$ac_ext <<_ACEOF
3332/* end confdefs.h.  */
3333
[4ad3480]3334/* Override any GCC internal prototype to avoid an error.
3335   Use char because int might match the return type of a GCC
3336   builtin and then its argument prototype would still apply.  */
[8298425]3337#ifdef __cplusplus
3338extern "C"
3339#endif
3340char res_search ();
3341int
3342main ()
3343{
[4ad3480]3344return res_search ();
[8298425]3345  ;
3346  return 0;
3347}
3348_ACEOF
3349rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3350if { (ac_try="$ac_link"
3351case "(($ac_try" in
3352  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353  *) ac_try_echo=$ac_try;;
3354esac
3355eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3356  (eval "$ac_link") 2>conftest.er1
[8298425]3357  ac_status=$?
3358  grep -v '^ *+' conftest.er1 >conftest.err
3359  rm -f conftest.er1
3360  cat conftest.err >&5
3361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362  (exit $ac_status); } &&
[4ad3480]3363         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3364  { (case "(($ac_try" in
3365  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3366  *) ac_try_echo=$ac_try;;
3367esac
3368eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3369  (eval "$ac_try") 2>&5
[8298425]3370  ac_status=$?
3371  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372  (exit $ac_status); }; } &&
3373         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3374  { (case "(($ac_try" in
3375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3376  *) ac_try_echo=$ac_try;;
3377esac
3378eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3379  (eval "$ac_try") 2>&5
[8298425]3380  ac_status=$?
3381  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3382  (exit $ac_status); }; }; then
3383  ac_cv_lib_resolv_res_search=yes
3384else
3385  echo "$as_me: failed program was:" >&5
3386sed 's/^/| /' conftest.$ac_ext >&5
[d09e5a1]3387
[4ad3480]3388        ac_cv_lib_resolv_res_search=no
[8298425]3389fi
[4ad3480]3390
3391rm -f core conftest.err conftest.$ac_objext \
[8298425]3392      conftest$ac_exeext conftest.$ac_ext
3393LIBS=$ac_check_lib_save_LIBS
[d09e5a1]3394fi
[4ad3480]3395{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3396echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
[8298425]3397if test $ac_cv_lib_resolv_res_search = yes; then
3398  cat >>confdefs.h <<_ACEOF
3399#define HAVE_LIBRESOLV 1
3400_ACEOF
[d09e5a1]3401
3402  LIBS="-lresolv $LIBS"
3403
3404fi
3405
[8298425]3406
[4ad3480]3407{ echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5
3408echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; }
[8298425]3409if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then
3410  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3411else
[8298425]3412  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3413LIBS="-lkrb5  $LIBS"
[8298425]3414cat >conftest.$ac_ext <<_ACEOF
3415/* confdefs.h.  */
3416_ACEOF
3417cat confdefs.h >>conftest.$ac_ext
3418cat >>conftest.$ac_ext <<_ACEOF
3419/* end confdefs.h.  */
3420
[4ad3480]3421/* Override any GCC internal prototype to avoid an error.
3422   Use char because int might match the return type of a GCC
3423   builtin and then its argument prototype would still apply.  */
[8298425]3424#ifdef __cplusplus
3425extern "C"
3426#endif
3427char krb5_get_credentials ();
3428int
3429main ()
3430{
[4ad3480]3431return krb5_get_credentials ();
[8298425]3432  ;
3433  return 0;
3434}
3435_ACEOF
3436rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3437if { (ac_try="$ac_link"
3438case "(($ac_try" in
3439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3440  *) ac_try_echo=$ac_try;;
3441esac
3442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3443  (eval "$ac_link") 2>conftest.er1
[8298425]3444  ac_status=$?
3445  grep -v '^ *+' conftest.er1 >conftest.err
3446  rm -f conftest.er1
3447  cat conftest.err >&5
3448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449  (exit $ac_status); } &&
[4ad3480]3450         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3451  { (case "(($ac_try" in
3452  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3453  *) ac_try_echo=$ac_try;;
3454esac
3455eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3456  (eval "$ac_try") 2>&5
[8298425]3457  ac_status=$?
3458  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459  (exit $ac_status); }; } &&
3460         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3461  { (case "(($ac_try" in
3462  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463  *) ac_try_echo=$ac_try;;
3464esac
3465eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466  (eval "$ac_try") 2>&5
[8298425]3467  ac_status=$?
3468  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469  (exit $ac_status); }; }; then
3470  ac_cv_lib_krb5_krb5_get_credentials=yes
3471else
3472  echo "$as_me: failed program was:" >&5
3473sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3474
[4ad3480]3475        ac_cv_lib_krb5_krb5_get_credentials=no
[8298425]3476fi
[4ad3480]3477
3478rm -f core conftest.err conftest.$ac_objext \
[8298425]3479      conftest$ac_exeext conftest.$ac_ext
3480LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3481fi
[4ad3480]3482{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5
3483echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; }
[8298425]3484if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then
3485  cat >>confdefs.h <<_ACEOF
3486#define HAVE_LIBKRB5 1
3487_ACEOF
[7d4fbcd]3488
3489  LIBS="-lkrb5 $LIBS"
3490
3491fi
3492
[8298425]3493
[4ad3480]3494{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5
3495echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; }
[8298425]3496if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then
3497  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3498else
[8298425]3499  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3500LIBS="-lkrb4  $LIBS"
[8298425]3501cat >conftest.$ac_ext <<_ACEOF
3502/* confdefs.h.  */
3503_ACEOF
3504cat confdefs.h >>conftest.$ac_ext
3505cat >>conftest.$ac_ext <<_ACEOF
3506/* end confdefs.h.  */
3507
[4ad3480]3508/* Override any GCC internal prototype to avoid an error.
3509   Use char because int might match the return type of a GCC
3510   builtin and then its argument prototype would still apply.  */
[8298425]3511#ifdef __cplusplus
3512extern "C"
3513#endif
3514char krb_sendauth ();
3515int
3516main ()
3517{
[4ad3480]3518return krb_sendauth ();
[8298425]3519  ;
3520  return 0;
3521}
3522_ACEOF
3523rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3524if { (ac_try="$ac_link"
3525case "(($ac_try" in
3526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527  *) ac_try_echo=$ac_try;;
3528esac
3529eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530  (eval "$ac_link") 2>conftest.er1
[8298425]3531  ac_status=$?
3532  grep -v '^ *+' conftest.er1 >conftest.err
3533  rm -f conftest.er1
3534  cat conftest.err >&5
3535  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536  (exit $ac_status); } &&
[4ad3480]3537         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3538  { (case "(($ac_try" in
3539  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540  *) ac_try_echo=$ac_try;;
3541esac
3542eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3543  (eval "$ac_try") 2>&5
[8298425]3544  ac_status=$?
3545  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546  (exit $ac_status); }; } &&
3547         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3548  { (case "(($ac_try" in
3549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550  *) ac_try_echo=$ac_try;;
3551esac
3552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553  (eval "$ac_try") 2>&5
[8298425]3554  ac_status=$?
3555  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556  (exit $ac_status); }; }; then
3557  ac_cv_lib_krb4_krb_sendauth=yes
3558else
3559  echo "$as_me: failed program was:" >&5
3560sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3561
[4ad3480]3562        ac_cv_lib_krb4_krb_sendauth=no
[8298425]3563fi
[4ad3480]3564
3565rm -f core conftest.err conftest.$ac_objext \
[8298425]3566      conftest$ac_exeext conftest.$ac_ext
3567LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3568fi
[4ad3480]3569{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5
3570echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; }
[8298425]3571if test $ac_cv_lib_krb4_krb_sendauth = yes; then
3572  cat >>confdefs.h <<_ACEOF
3573#define HAVE_LIBKRB4 1
3574_ACEOF
[7d4fbcd]3575
3576  LIBS="-lkrb4 $LIBS"
3577
3578else
[8298425]3579
[4ad3480]3580{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5
3581echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; }
[8298425]3582if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then
3583  echo $ECHO_N "(cached) $ECHO_C" >&6
[69894d2]3584else
[8298425]3585  ac_check_lib_save_LIBS=$LIBS
[69894d2]3586LIBS="-lkrb  $LIBS"
[8298425]3587cat >conftest.$ac_ext <<_ACEOF
3588/* confdefs.h.  */
3589_ACEOF
3590cat confdefs.h >>conftest.$ac_ext
3591cat >>conftest.$ac_ext <<_ACEOF
3592/* end confdefs.h.  */
3593
[4ad3480]3594/* Override any GCC internal prototype to avoid an error.
3595   Use char because int might match the return type of a GCC
3596   builtin and then its argument prototype would still apply.  */
[8298425]3597#ifdef __cplusplus
3598extern "C"
3599#endif
3600char krb_sendauth ();
3601int
3602main ()
3603{
[4ad3480]3604return krb_sendauth ();
[8298425]3605  ;
3606  return 0;
3607}
3608_ACEOF
3609rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3610if { (ac_try="$ac_link"
3611case "(($ac_try" in
3612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3613  *) ac_try_echo=$ac_try;;
3614esac
3615eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3616  (eval "$ac_link") 2>conftest.er1
[8298425]3617  ac_status=$?
3618  grep -v '^ *+' conftest.er1 >conftest.err
3619  rm -f conftest.er1
3620  cat conftest.err >&5
3621  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3622  (exit $ac_status); } &&
[4ad3480]3623         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3624  { (case "(($ac_try" in
3625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626  *) ac_try_echo=$ac_try;;
3627esac
3628eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3629  (eval "$ac_try") 2>&5
[8298425]3630  ac_status=$?
3631  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632  (exit $ac_status); }; } &&
3633         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3634  { (case "(($ac_try" in
3635  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636  *) ac_try_echo=$ac_try;;
3637esac
3638eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639  (eval "$ac_try") 2>&5
[8298425]3640  ac_status=$?
3641  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642  (exit $ac_status); }; }; then
3643  ac_cv_lib_krb_krb_sendauth=yes
3644else
3645  echo "$as_me: failed program was:" >&5
3646sed 's/^/| /' conftest.$ac_ext >&5
[69894d2]3647
[4ad3480]3648        ac_cv_lib_krb_krb_sendauth=no
[8298425]3649fi
[4ad3480]3650
3651rm -f core conftest.err conftest.$ac_objext \
[8298425]3652      conftest$ac_exeext conftest.$ac_ext
3653LIBS=$ac_check_lib_save_LIBS
[69894d2]3654fi
[4ad3480]3655{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5
3656echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; }
[8298425]3657if test $ac_cv_lib_krb_krb_sendauth = yes; then
3658  cat >>confdefs.h <<_ACEOF
3659#define HAVE_LIBKRB 1
3660_ACEOF
[69894d2]3661
3662  LIBS="-lkrb $LIBS"
3663
3664fi
3665
[d09e5a1]3666fi
3667
[8298425]3668
[4ad3480]3669{ echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5
3670echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; }
[8298425]3671if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then
3672  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3673else
[8298425]3674  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3675LIBS="-lzephyr  $LIBS"
[8298425]3676cat >conftest.$ac_ext <<_ACEOF
3677/* confdefs.h.  */
3678_ACEOF
3679cat confdefs.h >>conftest.$ac_ext
3680cat >>conftest.$ac_ext <<_ACEOF
3681/* end confdefs.h.  */
3682
[4ad3480]3683/* Override any GCC internal prototype to avoid an error.
3684   Use char because int might match the return type of a GCC
3685   builtin and then its argument prototype would still apply.  */
[8298425]3686#ifdef __cplusplus
3687extern "C"
3688#endif
3689char ZGetSender ();
3690int
3691main ()
3692{
[4ad3480]3693return ZGetSender ();
[8298425]3694  ;
3695  return 0;
3696}
3697_ACEOF
3698rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3699if { (ac_try="$ac_link"
3700case "(($ac_try" in
3701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702  *) ac_try_echo=$ac_try;;
3703esac
3704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705  (eval "$ac_link") 2>conftest.er1
[8298425]3706  ac_status=$?
3707  grep -v '^ *+' conftest.er1 >conftest.err
3708  rm -f conftest.er1
3709  cat conftest.err >&5
3710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711  (exit $ac_status); } &&
[4ad3480]3712         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3713  { (case "(($ac_try" in
3714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715  *) ac_try_echo=$ac_try;;
3716esac
3717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718  (eval "$ac_try") 2>&5
[8298425]3719  ac_status=$?
3720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721  (exit $ac_status); }; } &&
3722         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3723  { (case "(($ac_try" in
3724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725  *) ac_try_echo=$ac_try;;
3726esac
3727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728  (eval "$ac_try") 2>&5
[8298425]3729  ac_status=$?
3730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731  (exit $ac_status); }; }; then
3732  ac_cv_lib_zephyr_ZGetSender=yes
3733else
3734  echo "$as_me: failed program was:" >&5
3735sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3736
[4ad3480]3737        ac_cv_lib_zephyr_ZGetSender=no
[8298425]3738fi
[4ad3480]3739
3740rm -f core conftest.err conftest.$ac_objext \
[8298425]3741      conftest$ac_exeext conftest.$ac_ext
3742LIBS=$ac_check_lib_save_LIBS
[7d4fbcd]3743fi
[4ad3480]3744{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5
3745echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; }
[8298425]3746if test $ac_cv_lib_zephyr_ZGetSender = yes; then
3747  cat >>confdefs.h <<_ACEOF
3748#define HAVE_LIBZEPHYR 1
3749_ACEOF
[7d4fbcd]3750
3751  LIBS="-lzephyr $LIBS"
3752
3753fi
3754
[4ad3480]3755{ echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5
3756echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; }
[8298425]3757if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then
3758  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]3759else
[8298425]3760  ac_check_lib_save_LIBS=$LIBS
[7d4fbcd]3761LIBS="-lzephyr  $LIBS"
[8298425]3762cat >conftest.$ac_ext <<_ACEOF
3763/* confdefs.h.  */
3764_ACEOF
3765cat confdefs.h >>conftest.$ac_ext
3766cat >>conftest.$ac_ext <<_ACEOF
3767/* end confdefs.h.  */
3768
[4ad3480]3769/* Override any GCC internal prototype to avoid an error.
3770   Use char because int might match the return type of a GCC
3771   builtin and then its argument prototype would still apply.  */
[8298425]3772#ifdef __cplusplus
3773extern "C"
3774#endif
3775char ZInitLocationInfo ();
3776int
3777main ()
3778{
[4ad3480]3779return ZInitLocationInfo ();
[8298425]3780  ;
3781  return 0;
3782}
3783_ACEOF
3784rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3785if { (ac_try="$ac_link"
3786case "(($ac_try" in
3787  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788  *) ac_try_echo=$ac_try;;
3789esac
3790eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791  (eval "$ac_link") 2>conftest.er1
[8298425]3792  ac_status=$?
3793  grep -v '^ *+' conftest.er1 >conftest.err
3794  rm -f conftest.er1
3795  cat conftest.err >&5
3796  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797  (exit $ac_status); } &&
[4ad3480]3798         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3799  { (case "(($ac_try" in
3800  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3801  *) ac_try_echo=$ac_try;;
3802esac
3803eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3804  (eval "$ac_try") 2>&5
[8298425]3805  ac_status=$?
3806  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807  (exit $ac_status); }; } &&
3808         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3809  { (case "(($ac_try" in
3810  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3811  *) ac_try_echo=$ac_try;;
3812esac
3813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3814  (eval "$ac_try") 2>&5
[8298425]3815  ac_status=$?
3816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817  (exit $ac_status); }; }; then
3818  ac_cv_lib_zephyr_ZInitLocationInfo=yes
3819else
3820  echo "$as_me: failed program was:" >&5
3821sed 's/^/| /' conftest.$ac_ext >&5
[7d4fbcd]3822
[4ad3480]3823        ac_cv_lib_zephyr_ZInitLocationInfo=no
[7d4fbcd]3824fi
[4ad3480]3825
3826rm -f core conftest.err conftest.$ac_objext \
[8298425]3827      conftest$ac_exeext conftest.$ac_ext
3828LIBS=$ac_check_lib_save_LIBS
3829fi
[4ad3480]3830{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5
3831echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; }
[8298425]3832if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then
3833
3834cat >>confdefs.h <<\_ACEOF
3835#define HAVE_LIBZEPHYR_ZINITLOCATIONINFO
3836_ACEOF
[7d4fbcd]3837
3838fi
3839
3840
[8298425]3841
3842
3843
3844
[c269e22]3845for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt
[e51b410]3846do
[8298425]3847as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
[4ad3480]3848{ echo "$as_me:$LINENO: checking for $ac_func" >&5
3849echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3850if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
[8298425]3851  echo $ECHO_N "(cached) $ECHO_C" >&6
3852else
3853  cat >conftest.$ac_ext <<_ACEOF
3854/* confdefs.h.  */
3855_ACEOF
3856cat confdefs.h >>conftest.$ac_ext
3857cat >>conftest.$ac_ext <<_ACEOF
3858/* end confdefs.h.  */
3859/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3860   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3861#define $ac_func innocuous_$ac_func
3862
[e51b410]3863/* System header to define __stub macros and hopefully few prototypes,
[8298425]3864    which can conflict with char $ac_func (); below.
3865    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3866    <limits.h> exists even on freestanding compilers.  */
[e51b410]3867
[8298425]3868#ifdef __STDC__
3869# include <limits.h>
3870#else
3871# include <assert.h>
3872#endif
[e51b410]3873
[8298425]3874#undef $ac_func
3875
[4ad3480]3876/* Override any GCC internal prototype to avoid an error.
3877   Use char because int might match the return type of a GCC
3878   builtin and then its argument prototype would still apply.  */
[8298425]3879#ifdef __cplusplus
3880extern "C"
3881#endif
3882char $ac_func ();
[e51b410]3883/* The GNU C library defines this for functions which it implements
3884    to always fail with ENOSYS.  Some functions are actually named
3885    something starting with __ and the normal name is an alias.  */
[4ad3480]3886#if defined __stub_$ac_func || defined __stub___$ac_func
[e51b410]3887choke me
3888#endif
3889
[8298425]3890int
3891main ()
3892{
[4ad3480]3893return $ac_func ();
[8298425]3894  ;
3895  return 0;
3896}
3897_ACEOF
3898rm -f conftest.$ac_objext conftest$ac_exeext
[4ad3480]3899if { (ac_try="$ac_link"
3900case "(($ac_try" in
3901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902  *) ac_try_echo=$ac_try;;
3903esac
3904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3905  (eval "$ac_link") 2>conftest.er1
[8298425]3906  ac_status=$?
3907  grep -v '^ *+' conftest.er1 >conftest.err
3908  rm -f conftest.er1
3909  cat conftest.err >&5
3910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911  (exit $ac_status); } &&
[4ad3480]3912         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3913  { (case "(($ac_try" in
3914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3915  *) ac_try_echo=$ac_try;;
3916esac
3917eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3918  (eval "$ac_try") 2>&5
[8298425]3919  ac_status=$?
3920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921  (exit $ac_status); }; } &&
3922         { ac_try='test -s conftest$ac_exeext'
[4ad3480]3923  { (case "(($ac_try" in
3924  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3925  *) ac_try_echo=$ac_try;;
3926esac
3927eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3928  (eval "$ac_try") 2>&5
[8298425]3929  ac_status=$?
3930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931  (exit $ac_status); }; }; then
3932  eval "$as_ac_var=yes"
[e51b410]3933else
[8298425]3934  echo "$as_me: failed program was:" >&5
3935sed 's/^/| /' conftest.$ac_ext >&5
3936
[4ad3480]3937        eval "$as_ac_var=no"
[e51b410]3938fi
[4ad3480]3939
3940rm -f core conftest.err conftest.$ac_objext \
[8298425]3941      conftest$ac_exeext conftest.$ac_ext
[e51b410]3942fi
[4ad3480]3943ac_res=`eval echo '${'$as_ac_var'}'`
3944               { echo "$as_me:$LINENO: result: $ac_res" >&5
3945echo "${ECHO_T}$ac_res" >&6; }
[8298425]3946if test `eval echo '${'$as_ac_var'}'` = yes; then
3947  cat >>confdefs.h <<_ACEOF
3948#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3949_ACEOF
[e51b410]3950
3951fi
3952done
3953
3954
[4ad3480]3955{ echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5
3956echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; }
[8298425]3957cat >conftest.$ac_ext <<_ACEOF
3958/* confdefs.h.  */
3959_ACEOF
3960cat confdefs.h >>conftest.$ac_ext
3961cat >>conftest.$ac_ext <<_ACEOF
3962/* end confdefs.h.  */
[69894d2]3963#include <des.h>
3964int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux);
[8298425]3965int
3966main ()
3967{
[69894d2]3968int foo = des_ecb_encrypt(0,0,0,0);
[8298425]3969  ;
3970  return 0;
3971}
3972_ACEOF
3973rm -f conftest.$ac_objext
[4ad3480]3974if { (ac_try="$ac_compile"
3975case "(($ac_try" in
3976  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977  *) ac_try_echo=$ac_try;;
3978esac
3979eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3980  (eval "$ac_compile") 2>conftest.er1
[8298425]3981  ac_status=$?
3982  grep -v '^ *+' conftest.er1 >conftest.err
3983  rm -f conftest.er1
3984  cat conftest.err >&5
3985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986  (exit $ac_status); } &&
[4ad3480]3987         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3988  { (case "(($ac_try" in
3989  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3990  *) ac_try_echo=$ac_try;;
3991esac
3992eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3993  (eval "$ac_try") 2>&5
[8298425]3994  ac_status=$?
3995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996  (exit $ac_status); }; } &&
3997         { ac_try='test -s conftest.$ac_objext'
[4ad3480]3998  { (case "(($ac_try" in
3999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4000  *) ac_try_echo=$ac_try;;
4001esac
4002eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4003  (eval "$ac_try") 2>&5
[8298425]4004  ac_status=$?
4005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006  (exit $ac_status); }; }; then
[69894d2]4007  ac_cv_des_ecb_encrypt_proto=no
4008else
[8298425]4009  echo "$as_me: failed program was:" >&5
4010sed 's/^/| /' conftest.$ac_ext >&5
4011
[4ad3480]4012        ac_cv_des_ecb_encrypt_proto=yes
[69894d2]4013fi
[4ad3480]4014
4015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4016{ echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5
4017echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; }
[69894d2]4018if test "$ac_cv_des_ecb_encrypt_proto" = yes; then
[8298425]4019
4020cat >>confdefs.h <<\_ACEOF
4021#define HAVE_DES_ECB_ENCRYPT_PROTO
4022_ACEOF
[69894d2]4023
4024fi
4025
[8298425]4026ac_ext=c
4027ac_cpp='$CPP $CPPFLAGS'
4028ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4029ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4030ac_compiler_gnu=$ac_cv_c_compiler_gnu
[4ad3480]4031{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4032echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
[7d4fbcd]4033# On Suns, sometimes $CPP names a directory.
4034if test -n "$CPP" && test -d "$CPP"; then
4035  CPP=
4036fi
4037if test -z "$CPP"; then
[8298425]4038  if test "${ac_cv_prog_CPP+set}" = set; then
4039  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]4040else
[8298425]4041      # Double quotes because CPP needs to be expanded
4042    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4043    do
4044      ac_preproc_ok=false
4045for ac_c_preproc_warn_flag in '' yes
4046do
4047  # Use a header file that comes with gcc, so configuring glibc
4048  # with a fresh cross-compiler works.
4049  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4050  # <limits.h> exists even on freestanding compilers.
[7d4fbcd]4051  # On the NeXT, cc -E runs the code through the compiler's parser,
[8298425]4052  # not just through cpp. "Syntax error" is here to catch this case.
4053  cat >conftest.$ac_ext <<_ACEOF
4054/* confdefs.h.  */
4055_ACEOF
4056cat confdefs.h >>conftest.$ac_ext
4057cat >>conftest.$ac_ext <<_ACEOF
4058/* end confdefs.h.  */
4059#ifdef __STDC__
4060# include <limits.h>
4061#else
4062# include <assert.h>
4063#endif
4064                     Syntax error
4065_ACEOF
[4ad3480]4066if { (ac_try="$ac_cpp conftest.$ac_ext"
4067case "(($ac_try" in
4068  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4069  *) ac_try_echo=$ac_try;;
4070esac
4071eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4072  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
[8298425]4073  ac_status=$?
4074  grep -v '^ *+' conftest.er1 >conftest.err
4075  rm -f conftest.er1
4076  cat conftest.err >&5
4077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078  (exit $ac_status); } >/dev/null; then
4079  if test -s conftest.err; then
4080    ac_cpp_err=$ac_c_preproc_warn_flag
4081    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4082  else
4083    ac_cpp_err=
4084  fi
[7d4fbcd]4085else
[8298425]4086  ac_cpp_err=yes
4087fi
4088if test -z "$ac_cpp_err"; then
[7d4fbcd]4089  :
4090else
[8298425]4091  echo "$as_me: failed program was:" >&5
4092sed 's/^/| /' conftest.$ac_ext >&5
4093
4094  # Broken: fails on valid input.
4095continue
4096fi
[4ad3480]4097
[8298425]4098rm -f conftest.err conftest.$ac_ext
4099
[4ad3480]4100  # OK, works on sane cases.  Now check whether nonexistent headers
[8298425]4101  # can be detected and how.
4102  cat >conftest.$ac_ext <<_ACEOF
4103/* confdefs.h.  */
4104_ACEOF
4105cat confdefs.h >>conftest.$ac_ext
4106cat >>conftest.$ac_ext <<_ACEOF
4107/* end confdefs.h.  */
4108#include <ac_nonexistent.h>
4109_ACEOF
[4ad3480]4110if { (ac_try="$ac_cpp conftest.$ac_ext"
4111case "(($ac_try" in
4112  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113  *) ac_try_echo=$ac_try;;
4114esac
4115eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4116  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
[8298425]4117  ac_status=$?
4118  grep -v '^ *+' conftest.er1 >conftest.err
4119  rm -f conftest.er1
4120  cat conftest.err >&5
4121  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122  (exit $ac_status); } >/dev/null; then
4123  if test -s conftest.err; then
4124    ac_cpp_err=$ac_c_preproc_warn_flag
4125    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4126  else
4127    ac_cpp_err=
4128  fi
4129else
4130  ac_cpp_err=yes
4131fi
4132if test -z "$ac_cpp_err"; then
4133  # Broken: success on invalid input.
4134continue
4135else
4136  echo "$as_me: failed program was:" >&5
4137sed 's/^/| /' conftest.$ac_ext >&5
4138
4139  # Passes both tests.
4140ac_preproc_ok=:
4141break
4142fi
[4ad3480]4143
[8298425]4144rm -f conftest.err conftest.$ac_ext
4145
4146done
4147# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4148rm -f conftest.err conftest.$ac_ext
4149if $ac_preproc_ok; then
4150  break
4151fi
4152
4153    done
4154    ac_cv_prog_CPP=$CPP
4155
4156fi
4157  CPP=$ac_cv_prog_CPP
4158else
4159  ac_cv_prog_CPP=$CPP
4160fi
[4ad3480]4161{ echo "$as_me:$LINENO: result: $CPP" >&5
4162echo "${ECHO_T}$CPP" >&6; }
[8298425]4163ac_preproc_ok=false
4164for ac_c_preproc_warn_flag in '' yes
4165do
4166  # Use a header file that comes with gcc, so configuring glibc
4167  # with a fresh cross-compiler works.
4168  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4169  # <limits.h> exists even on freestanding compilers.
4170  # On the NeXT, cc -E runs the code through the compiler's parser,
4171  # not just through cpp. "Syntax error" is here to catch this case.
4172  cat >conftest.$ac_ext <<_ACEOF
4173/* confdefs.h.  */
4174_ACEOF
4175cat confdefs.h >>conftest.$ac_ext
4176cat >>conftest.$ac_ext <<_ACEOF
4177/* end confdefs.h.  */
4178#ifdef __STDC__
4179# include <limits.h>
4180#else
4181# include <assert.h>
4182#endif
4183                     Syntax error
4184_ACEOF
[4ad3480]4185if { (ac_try="$ac_cpp conftest.$ac_ext"
4186case "(($ac_try" in
4187  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4188  *) ac_try_echo=$ac_try;;
4189esac
4190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4191  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
[8298425]4192  ac_status=$?
4193  grep -v '^ *+' conftest.er1 >conftest.err
4194  rm -f conftest.er1
4195  cat conftest.err >&5
4196  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197  (exit $ac_status); } >/dev/null; then
4198  if test -s conftest.err; then
4199    ac_cpp_err=$ac_c_preproc_warn_flag
4200    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4201  else
4202    ac_cpp_err=
4203  fi
4204else
4205  ac_cpp_err=yes
4206fi
4207if test -z "$ac_cpp_err"; then
[7d4fbcd]4208  :
4209else
[8298425]4210  echo "$as_me: failed program was:" >&5
4211sed 's/^/| /' conftest.$ac_ext >&5
4212
4213  # Broken: fails on valid input.
4214continue
[7d4fbcd]4215fi
[4ad3480]4216
[8298425]4217rm -f conftest.err conftest.$ac_ext
4218
[4ad3480]4219  # OK, works on sane cases.  Now check whether nonexistent headers
[8298425]4220  # can be detected and how.
4221  cat >conftest.$ac_ext <<_ACEOF
4222/* confdefs.h.  */
4223_ACEOF
4224cat confdefs.h >>conftest.$ac_ext
4225cat >>conftest.$ac_ext <<_ACEOF
4226/* end confdefs.h.  */
4227#include <ac_nonexistent.h>
4228_ACEOF
[4ad3480]4229if { (ac_try="$ac_cpp conftest.$ac_ext"
4230case "(($ac_try" in
4231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232  *) ac_try_echo=$ac_try;;
4233esac
4234eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4235  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
[8298425]4236  ac_status=$?
4237  grep -v '^ *+' conftest.er1 >conftest.err
4238  rm -f conftest.er1
4239  cat conftest.err >&5
4240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241  (exit $ac_status); } >/dev/null; then
4242  if test -s conftest.err; then
4243    ac_cpp_err=$ac_c_preproc_warn_flag
4244    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4245  else
4246    ac_cpp_err=
4247  fi
4248else
4249  ac_cpp_err=yes
[7d4fbcd]4250fi
[8298425]4251if test -z "$ac_cpp_err"; then
4252  # Broken: success on invalid input.
4253continue
4254else
4255  echo "$as_me: failed program was:" >&5
4256sed 's/^/| /' conftest.$ac_ext >&5
4257
4258  # Passes both tests.
4259ac_preproc_ok=:
4260break
[7d4fbcd]4261fi
[4ad3480]4262
[8298425]4263rm -f conftest.err conftest.$ac_ext
4264
4265done
4266# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4267rm -f conftest.err conftest.$ac_ext
4268if $ac_preproc_ok; then
4269  :
4270else
4271  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4272See \`config.log' for more details." >&5
4273echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4274See \`config.log' for more details." >&2;}
4275   { (exit 1); exit 1; }; }
[7d4fbcd]4276fi
[8298425]4277
4278ac_ext=c
4279ac_cpp='$CPP $CPPFLAGS'
4280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4282ac_compiler_gnu=$ac_cv_c_compiler_gnu
4283
4284
[4ad3480]4285{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4286echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4287if test "${ac_cv_path_GREP+set}" = set; then
[8298425]4288  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]4289else
[4ad3480]4290  # Extract the first word of "grep ggrep" to use in msg output
4291if test -z "$GREP"; then
4292set dummy grep ggrep; ac_prog_name=$2
4293if test "${ac_cv_path_GREP+set}" = set; then
4294  echo $ECHO_N "(cached) $ECHO_C" >&6
4295else
4296  ac_path_GREP_found=false
4297# Loop through the user's path and test for each of PROGNAME-LIST
4298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4299for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4300do
4301  IFS=$as_save_IFS
4302  test -z "$as_dir" && as_dir=.
4303  for ac_prog in grep ggrep; do
4304  for ac_exec_ext in '' $ac_executable_extensions; do
4305    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4306    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4307    # Check for GNU ac_path_GREP and select it if it is found.
4308  # Check for GNU $ac_path_GREP
4309case `"$ac_path_GREP" --version 2>&1` in
4310*GNU*)
4311  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4312*)
4313  ac_count=0
4314  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4315  while :
4316  do
4317    cat "conftest.in" "conftest.in" >"conftest.tmp"
4318    mv "conftest.tmp" "conftest.in"
4319    cp "conftest.in" "conftest.nl"
4320    echo 'GREP' >> "conftest.nl"
4321    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4322    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4323    ac_count=`expr $ac_count + 1`
4324    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4325      # Best one so far, save it but keep looking for a better one
4326      ac_cv_path_GREP="$ac_path_GREP"
4327      ac_path_GREP_max=$ac_count
[8298425]4328    fi
[4ad3480]4329    # 10*(2^10) chars as input seems more than enough
4330    test $ac_count -gt 10 && break
4331  done
4332  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4333esac
4334
4335
4336    $ac_path_GREP_found && break 3
4337  done
4338done
4339
4340done
4341IFS=$as_save_IFS
4342
4343
4344fi
4345
4346GREP="$ac_cv_path_GREP"
4347if test -z "$GREP"; then
4348  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4349echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4350   { (exit 1); exit 1; }; }
4351fi
4352
4353else
4354  ac_cv_path_GREP=$GREP
[7d4fbcd]4355fi
4356
[8298425]4357
[4ad3480]4358fi
4359{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4360echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4361 GREP="$ac_cv_path_GREP"
4362
4363
4364{ echo "$as_me:$LINENO: checking for egrep" >&5
4365echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4366if test "${ac_cv_path_EGREP+set}" = set; then
4367  echo $ECHO_N "(cached) $ECHO_C" >&6
4368else
4369  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4370   then ac_cv_path_EGREP="$GREP -E"
4371   else
4372     # Extract the first word of "egrep" to use in msg output
4373if test -z "$EGREP"; then
4374set dummy egrep; ac_prog_name=$2
4375if test "${ac_cv_path_EGREP+set}" = set; then
4376  echo $ECHO_N "(cached) $ECHO_C" >&6
4377else
4378  ac_path_EGREP_found=false
4379# Loop through the user's path and test for each of PROGNAME-LIST
4380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4382do
4383  IFS=$as_save_IFS
4384  test -z "$as_dir" && as_dir=.
4385  for ac_prog in egrep; do
4386  for ac_exec_ext in '' $ac_executable_extensions; do
4387    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4388    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4389    # Check for GNU ac_path_EGREP and select it if it is found.
4390  # Check for GNU $ac_path_EGREP
4391case `"$ac_path_EGREP" --version 2>&1` in
4392*GNU*)
4393  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4394*)
4395  ac_count=0
4396  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4397  while :
4398  do
4399    cat "conftest.in" "conftest.in" >"conftest.tmp"
4400    mv "conftest.tmp" "conftest.in"
4401    cp "conftest.in" "conftest.nl"
4402    echo 'EGREP' >> "conftest.nl"
4403    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4404    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4405    ac_count=`expr $ac_count + 1`
4406    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4407      # Best one so far, save it but keep looking for a better one
4408      ac_cv_path_EGREP="$ac_path_EGREP"
4409      ac_path_EGREP_max=$ac_count
4410    fi
4411    # 10*(2^10) chars as input seems more than enough
4412    test $ac_count -gt 10 && break
4413  done
4414  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4415esac
4416
4417
4418    $ac_path_EGREP_found && break 3
4419  done
4420done
4421
4422done
4423IFS=$as_save_IFS
4424
4425
4426fi
4427
4428EGREP="$ac_cv_path_EGREP"
4429if test -z "$EGREP"; then
4430  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4431echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4432   { (exit 1); exit 1; }; }
4433fi
4434
4435else
4436  ac_cv_path_EGREP=$EGREP
4437fi
4438
4439
4440   fi
4441fi
4442{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4443echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4444 EGREP="$ac_cv_path_EGREP"
4445
4446
4447{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4448echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
[8298425]4449if test "${ac_cv_header_stdc+set}" = set; then
4450  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]4451else
[8298425]4452  cat >conftest.$ac_ext <<_ACEOF
4453/* confdefs.h.  */
4454_ACEOF
4455cat confdefs.h >>conftest.$ac_ext
4456cat >>conftest.$ac_ext <<_ACEOF
4457/* end confdefs.h.  */
[7d4fbcd]4458#include <stdlib.h>
4459#include <stdarg.h>
4460#include <string.h>
4461#include <float.h>
[8298425]4462
4463int
4464main ()
4465{
4466
4467  ;
4468  return 0;
4469}
4470_ACEOF
4471rm -f conftest.$ac_objext
[4ad3480]4472if { (ac_try="$ac_compile"
4473case "(($ac_try" in
4474  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4475  *) ac_try_echo=$ac_try;;
4476esac
4477eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4478  (eval "$ac_compile") 2>conftest.er1
[8298425]4479  ac_status=$?
4480  grep -v '^ *+' conftest.er1 >conftest.err
4481  rm -f conftest.er1
4482  cat conftest.err >&5
4483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484  (exit $ac_status); } &&
[4ad3480]4485         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4486  { (case "(($ac_try" in
4487  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4488  *) ac_try_echo=$ac_try;;
4489esac
4490eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4491  (eval "$ac_try") 2>&5
[8298425]4492  ac_status=$?
4493  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494  (exit $ac_status); }; } &&
4495         { ac_try='test -s conftest.$ac_objext'
[4ad3480]4496  { (case "(($ac_try" in
4497  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4498  *) ac_try_echo=$ac_try;;
4499esac
4500eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4501  (eval "$ac_try") 2>&5
[8298425]4502  ac_status=$?
4503  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4504  (exit $ac_status); }; }; then
[7d4fbcd]4505  ac_cv_header_stdc=yes
4506else
[8298425]4507  echo "$as_me: failed program was:" >&5
4508sed 's/^/| /' conftest.$ac_ext >&5
4509
[4ad3480]4510        ac_cv_header_stdc=no
[7d4fbcd]4511fi
[4ad3480]4512
4513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
[7d4fbcd]4514
4515if test $ac_cv_header_stdc = yes; then
4516  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
[8298425]4517  cat >conftest.$ac_ext <<_ACEOF
4518/* confdefs.h.  */
4519_ACEOF
4520cat confdefs.h >>conftest.$ac_ext
4521cat >>conftest.$ac_ext <<_ACEOF
4522/* end confdefs.h.  */
[7d4fbcd]4523#include <string.h>
[8298425]4524
4525_ACEOF
[7d4fbcd]4526if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
[8298425]4527  $EGREP "memchr" >/dev/null 2>&1; then
[7d4fbcd]4528  :
4529else
4530  ac_cv_header_stdc=no
4531fi
4532rm -f conftest*
4533
4534fi
4535
4536if test $ac_cv_header_stdc = yes; then
4537  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
[8298425]4538  cat >conftest.$ac_ext <<_ACEOF
4539/* confdefs.h.  */
4540_ACEOF
4541cat confdefs.h >>conftest.$ac_ext
4542cat >>conftest.$ac_ext <<_ACEOF
4543/* end confdefs.h.  */
[7d4fbcd]4544#include <stdlib.h>
[8298425]4545
4546_ACEOF
[7d4fbcd]4547if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
[8298425]4548  $EGREP "free" >/dev/null 2>&1; then
[7d4fbcd]4549  :
4550else
4551  ac_cv_header_stdc=no
4552fi
4553rm -f conftest*
4554
4555fi
4556
4557if test $ac_cv_header_stdc = yes; then
4558  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
[8298425]4559  if test "$cross_compiling" = yes; then
[7d4fbcd]4560  :
4561else
[8298425]4562  cat >conftest.$ac_ext <<_ACEOF
4563/* confdefs.h.  */
4564_ACEOF
4565cat confdefs.h >>conftest.$ac_ext
4566cat >>conftest.$ac_ext <<_ACEOF
4567/* end confdefs.h.  */
[7d4fbcd]4568#include <ctype.h>
[4ad3480]4569#include <stdlib.h>
[8298425]4570#if ((' ' & 0x0FF) == 0x020)
4571# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4572# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4573#else
4574# define ISLOWER(c) \
4575                   (('a' <= (c) && (c) <= 'i') \
4576                     || ('j' <= (c) && (c) <= 'r') \
4577                     || ('s' <= (c) && (c) <= 'z'))
4578# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4579#endif
[7d4fbcd]4580
[8298425]4581#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4582int
4583main ()
4584{
4585  int i;
4586  for (i = 0; i < 256; i++)
4587    if (XOR (islower (i), ISLOWER (i))
4588        || toupper (i) != TOUPPER (i))
[4ad3480]4589      return 2;
4590  return 0;
[8298425]4591}
4592_ACEOF
4593rm -f conftest$ac_exeext
[4ad3480]4594if { (ac_try="$ac_link"
4595case "(($ac_try" in
4596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597  *) ac_try_echo=$ac_try;;
4598esac
4599eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4600  (eval "$ac_link") 2>&5
[8298425]4601  ac_status=$?
4602  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
[4ad3480]4604  { (case "(($ac_try" in
4605  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606  *) ac_try_echo=$ac_try;;
4607esac
4608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4609  (eval "$ac_try") 2>&5
[8298425]4610  ac_status=$?
4611  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612  (exit $ac_status); }; }; then
[7d4fbcd]4613  :
4614else
[8298425]4615  echo "$as_me: program exited with status $ac_status" >&5
4616echo "$as_me: failed program was:" >&5
4617sed 's/^/| /' conftest.$ac_ext >&5
4618
4619( exit $ac_status )
4620ac_cv_header_stdc=no
[7d4fbcd]4621fi
[4ad3480]4622rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
[7d4fbcd]4623fi
[4ad3480]4624
4625
[7d4fbcd]4626fi
4627fi
[4ad3480]4628{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4629echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
[7d4fbcd]4630if test $ac_cv_header_stdc = yes; then
[8298425]4631
4632cat >>confdefs.h <<\_ACEOF
[7d4fbcd]4633#define STDC_HEADERS 1
[8298425]4634_ACEOF
[7d4fbcd]4635
4636fi
4637
[4ad3480]4638{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4639echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
[8298425]4640if test "${ac_cv_header_sys_wait_h+set}" = set; then
4641  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]4642else
[8298425]4643  cat >conftest.$ac_ext <<_ACEOF
4644/* confdefs.h.  */
4645_ACEOF
4646cat confdefs.h >>conftest.$ac_ext
4647cat >>conftest.$ac_ext <<_ACEOF
4648/* end confdefs.h.  */
[7d4fbcd]4649#include <sys/types.h>
4650#include <sys/wait.h>
4651#ifndef WEXITSTATUS
[4ad3480]4652# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
[7d4fbcd]4653#endif
4654#ifndef WIFEXITED
[8298425]4655# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
[7d4fbcd]4656#endif
[8298425]4657
4658int
4659main ()
4660{
4661  int s;
4662  wait (&s);
4663  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4664  ;
4665  return 0;
4666}
4667_ACEOF
4668rm -f conftest.$ac_objext
[4ad3480]4669if { (ac_try="$ac_compile"
4670case "(($ac_try" in
4671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4672  *) ac_try_echo=$ac_try;;
4673esac
4674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4675  (eval "$ac_compile") 2>conftest.er1
[8298425]4676  ac_status=$?
4677  grep -v '^ *+' conftest.er1 >conftest.err
4678  rm -f conftest.er1
4679  cat conftest.err >&5
4680  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681  (exit $ac_status); } &&
[4ad3480]4682         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4683  { (case "(($ac_try" in
4684  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4685  *) ac_try_echo=$ac_try;;
4686esac
4687eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4688  (eval "$ac_try") 2>&5
[8298425]4689  ac_status=$?
4690  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691  (exit $ac_status); }; } &&
4692         { ac_try='test -s conftest.$ac_objext'
[4ad3480]4693  { (case "(($ac_try" in
4694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695  *) ac_try_echo=$ac_try;;
4696esac
4697eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698  (eval "$ac_try") 2>&5
[8298425]4699  ac_status=$?
4700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701  (exit $ac_status); }; }; then
[7d4fbcd]4702  ac_cv_header_sys_wait_h=yes
4703else
[8298425]4704  echo "$as_me: failed program was:" >&5
4705sed 's/^/| /' conftest.$ac_ext >&5
4706
[4ad3480]4707        ac_cv_header_sys_wait_h=no
[7d4fbcd]4708fi
[4ad3480]4709
4710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
[7d4fbcd]4711fi
[4ad3480]4712{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4713echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
[7d4fbcd]4714if test $ac_cv_header_sys_wait_h = yes; then
[8298425]4715
4716cat >>confdefs.h <<\_ACEOF
[7d4fbcd]4717#define HAVE_SYS_WAIT_H 1
[8298425]4718_ACEOF
[7d4fbcd]4719
4720fi
4721
[8298425]4722# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4733                  inttypes.h stdint.h unistd.h
[7d4fbcd]4734do
[8298425]4735as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
[4ad3480]4736{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4737echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4738if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
[8298425]4739  echo $ECHO_N "(cached) $ECHO_C" >&6
4740else
4741  cat >conftest.$ac_ext <<_ACEOF
4742/* confdefs.h.  */
4743_ACEOF
4744cat confdefs.h >>conftest.$ac_ext
4745cat >>conftest.$ac_ext <<_ACEOF
4746/* end confdefs.h.  */
4747$ac_includes_default
4748
4749#include <$ac_header>
4750_ACEOF
4751rm -f conftest.$ac_objext
[4ad3480]4752if { (ac_try="$ac_compile"
4753case "(($ac_try" in
4754  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4755  *) ac_try_echo=$ac_try;;
4756esac
4757eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4758  (eval "$ac_compile") 2>conftest.er1
[8298425]4759  ac_status=$?
4760  grep -v '^ *+' conftest.er1 >conftest.err
4761  rm -f conftest.er1
4762  cat conftest.err >&5
4763  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764  (exit $ac_status); } &&
[4ad3480]4765         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4766  { (case "(($ac_try" in
4767  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4768  *) ac_try_echo=$ac_try;;
4769esac
4770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4771  (eval "$ac_try") 2>&5
[8298425]4772  ac_status=$?
4773  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4774  (exit $ac_status); }; } &&
4775         { ac_try='test -s conftest.$ac_objext'
[4ad3480]4776  { (case "(($ac_try" in
4777  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4778  *) ac_try_echo=$ac_try;;
4779esac
4780eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4781  (eval "$ac_try") 2>&5
[8298425]4782  ac_status=$?
4783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784  (exit $ac_status); }; }; then
4785  eval "$as_ac_Header=yes"
4786else
4787  echo "$as_me: failed program was:" >&5
4788sed 's/^/| /' conftest.$ac_ext >&5
4789
[4ad3480]4790        eval "$as_ac_Header=no"
[7d4fbcd]4791fi
[4ad3480]4792
4793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
[8298425]4794fi
[4ad3480]4795ac_res=`eval echo '${'$as_ac_Header'}'`
4796               { echo "$as_me:$LINENO: result: $ac_res" >&5
4797echo "${ECHO_T}$ac_res" >&6; }
[8298425]4798if test `eval echo '${'$as_ac_Header'}'` = yes; then
4799  cat >>confdefs.h <<_ACEOF
4800#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4801_ACEOF
4802
4803fi
4804
4805done
4806
4807
4808
4809
4810
4811
4812
4813for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h
4814do
4815as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
[4ad3480]4816if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4817  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4818echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4819if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
[8298425]4820  echo $ECHO_N "(cached) $ECHO_C" >&6
4821fi
[4ad3480]4822ac_res=`eval echo '${'$as_ac_Header'}'`
4823               { echo "$as_me:$LINENO: result: $ac_res" >&5
4824echo "${ECHO_T}$ac_res" >&6; }
[8298425]4825else
4826  # Is the header compilable?
[4ad3480]4827{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4828echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
[8298425]4829cat >conftest.$ac_ext <<_ACEOF
4830/* confdefs.h.  */
4831_ACEOF
4832cat confdefs.h >>conftest.$ac_ext
4833cat >>conftest.$ac_ext <<_ACEOF
4834/* end confdefs.h.  */
4835$ac_includes_default
4836#include <$ac_header>
4837_ACEOF
4838rm -f conftest.$ac_objext
[4ad3480]4839if { (ac_try="$ac_compile"
4840case "(($ac_try" in
4841  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4842  *) ac_try_echo=$ac_try;;
4843esac
4844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4845  (eval "$ac_compile") 2>conftest.er1
[8298425]4846  ac_status=$?
4847  grep -v '^ *+' conftest.er1 >conftest.err
4848  rm -f conftest.er1
4849  cat conftest.err >&5
4850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851  (exit $ac_status); } &&
[4ad3480]4852         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4853  { (case "(($ac_try" in
4854  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4855  *) ac_try_echo=$ac_try;;
4856esac
4857eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4858  (eval "$ac_try") 2>&5
[8298425]4859  ac_status=$?
4860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861  (exit $ac_status); }; } &&
4862         { ac_try='test -s conftest.$ac_objext'
[4ad3480]4863  { (case "(($ac_try" in
4864  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4865  *) ac_try_echo=$ac_try;;
4866esac
4867eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4868  (eval "$ac_try") 2>&5
[8298425]4869  ac_status=$?
4870  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871  (exit $ac_status); }; }; then
4872  ac_header_compiler=yes
4873else
4874  echo "$as_me: failed program was:" >&5
4875sed 's/^/| /' conftest.$ac_ext >&5
4876
[4ad3480]4877        ac_header_compiler=no
[8298425]4878fi
[4ad3480]4879
4880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4881{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4882echo "${ECHO_T}$ac_header_compiler" >&6; }
[8298425]4883
4884# Is the header present?
[4ad3480]4885{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4886echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
[8298425]4887cat >conftest.$ac_ext <<_ACEOF
4888/* confdefs.h.  */
4889_ACEOF
4890cat confdefs.h >>conftest.$ac_ext
4891cat >>conftest.$ac_ext <<_ACEOF
4892/* end confdefs.h.  */
4893#include <$ac_header>
4894_ACEOF
[4ad3480]4895if { (ac_try="$ac_cpp conftest.$ac_ext"
4896case "(($ac_try" in
4897  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4898  *) ac_try_echo=$ac_try;;
4899esac
4900eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4901  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
[8298425]4902  ac_status=$?
4903  grep -v '^ *+' conftest.er1 >conftest.err
4904  rm -f conftest.er1
4905  cat conftest.err >&5
4906  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4907  (exit $ac_status); } >/dev/null; then
4908  if test -s conftest.err; then
4909    ac_cpp_err=$ac_c_preproc_warn_flag
4910    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4911  else
4912    ac_cpp_err=
4913  fi
4914else
4915  ac_cpp_err=yes
4916fi
4917if test -z "$ac_cpp_err"; then
4918  ac_header_preproc=yes
4919else
4920  echo "$as_me: failed program was:" >&5
4921sed 's/^/| /' conftest.$ac_ext >&5
4922
4923  ac_header_preproc=no
[7d4fbcd]4924fi
[4ad3480]4925
[8298425]4926rm -f conftest.err conftest.$ac_ext
[4ad3480]4927{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4928echo "${ECHO_T}$ac_header_preproc" >&6; }
[8298425]4929
4930# So?  What about this header?
4931case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4932  yes:no: )
4933    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4934echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4935    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4936echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4937    ac_header_preproc=yes
4938    ;;
4939  no:yes:* )
4940    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4941echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4942    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4943echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4944    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4945echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4946    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4947echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4948    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4949echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4950    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4951echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
[4ad3480]4952
[8298425]4953    ;;
4954esac
[4ad3480]4955{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4956echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4957if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
[8298425]4958  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]4959else
[8298425]4960  eval "$as_ac_Header=\$ac_header_preproc"
4961fi
[4ad3480]4962ac_res=`eval echo '${'$as_ac_Header'}'`
4963               { echo "$as_me:$LINENO: result: $ac_res" >&5
4964echo "${ECHO_T}$ac_res" >&6; }
[8298425]4965
[7d4fbcd]4966fi
[8298425]4967if test `eval echo '${'$as_ac_Header'}'` = yes; then
4968  cat >>confdefs.h <<_ACEOF
4969#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4970_ACEOF
4971
4972fi
4973
[7d4fbcd]4974done
4975
4976
4977FOO=`perl -MExtUtils::Embed -e ccopts`
4978echo Adding perl CFLAGS ${FOO}
4979CFLAGS=${CFLAGS}\ ${FOO}
4980
[4ad3480]4981{ echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5
4982echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; }
[6794f72]4983XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
[8ee73f8d]4984if test -n "${XSUBPPDIR}"; then
[4ad3480]4985   { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5
4986echo "${ECHO_T}${XSUBPPDIR}" >&6; }
[8ee73f8d]4987else
[8298425]4988   { { echo "$as_me:$LINENO: error: not found" >&5
4989echo "$as_me: error: not found" >&2;}
4990   { (exit 1); exit 1; }; }
[8ee73f8d]4991fi
4992
[4ad3480]4993if test -f "${XSUBPPDIR}/typemap"; then
4994   XSUBPPFLAGS="-typemap ${XSUBPPDIR}/typemap"
4995else
4996   XSUBPPFLAGS=""
4997fi
4998
[884c272]4999FOO=`perl -MExtUtils::Embed -e ldopts | sed 's/,-E//' | sed 's/-liconv//'`
[7d4fbcd]5000echo Adding perl LDFLAGS ${FOO}
5001LDFLAGS=${LDFLAGS}\ ${FOO}
5002
[4ad3480]5003{ echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5
5004echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; }
[8298425]5005if test "${ac_cv_file__usr_share_terminfo+set}" = set; then
5006  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]5007else
[8298425]5008  test "$cross_compiling" = yes &&
5009  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5010echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5011   { (exit 1); exit 1; }; }
5012if test -r "/usr/share/terminfo"; then
5013  ac_cv_file__usr_share_terminfo=yes
[7d4fbcd]5014else
[8298425]5015  ac_cv_file__usr_share_terminfo=no
[7d4fbcd]5016fi
5017fi
[4ad3480]5018{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5
5019echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; }
[8298425]5020if test $ac_cv_file__usr_share_terminfo = yes; then
5021
5022cat >>confdefs.h <<\_ACEOF
[7d4fbcd]5023#define TERMINFO "/usr/share/terminfo"
[8298425]5024_ACEOF
[7d4fbcd]5025
5026else
[4ad3480]5027  { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5
5028echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; }
[8298425]5029if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then
5030  echo $ECHO_N "(cached) $ECHO_C" >&6
[7d4fbcd]5031else
[8298425]5032  test "$cross_compiling" = yes &&
5033  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5034echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5035   { (exit 1); exit 1; }; }
5036if test -r "/usr/share/lib/terminfo"; then
5037  ac_cv_file__usr_share_lib_terminfo=yes
[7d4fbcd]5038else
[8298425]5039  ac_cv_file__usr_share_lib_terminfo=no
[7d4fbcd]5040fi
5041fi
[4ad3480]5042{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5
5043echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; }
[8298425]5044if test $ac_cv_file__usr_share_lib_terminfo = yes; then
5045
5046cat >>confdefs.h <<\_ACEOF
[7d4fbcd]5047#define TERMINFO "/usr/share/lib/terminfo"
[8298425]5048_ACEOF
[7d4fbcd]5049
5050else
[8298425]5051  { { echo "$as_me:$LINENO: error: No terminfo found for this system" >&5
5052echo "$as_me: error: No terminfo found for this system" >&2;}
5053   { (exit 1); exit 1; }; }
[7d4fbcd]5054fi
5055
5056fi
5057
5058
5059
[8ee73f8d]5060
[69894d2]5061ac_aux_dir=
[4ad3480]5062for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
5063  if test -f "$ac_dir/install-sh"; then
[69894d2]5064    ac_aux_dir=$ac_dir
5065    ac_install_sh="$ac_aux_dir/install-sh -c"
5066    break
[4ad3480]5067  elif test -f "$ac_dir/install.sh"; then
[69894d2]5068    ac_aux_dir=$ac_dir
5069    ac_install_sh="$ac_aux_dir/install.sh -c"
5070    break
[4ad3480]5071  elif test -f "$ac_dir/shtool"; then
[8298425]5072    ac_aux_dir=$ac_dir
5073    ac_install_sh="$ac_aux_dir/shtool install -c"
5074    break
[69894d2]5075  fi
5076done
5077if test -z "$ac_aux_dir"; then
[4ad3480]5078  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
5079echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
[8298425]5080   { (exit 1); exit 1; }; }
[69894d2]5081fi
[4ad3480]5082
5083# These three variables are undocumented and unsupported,
5084# and are intended to be withdrawn in a future Autoconf release.
5085# They can cause serious problems if a builder's source tree is in a directory
5086# whose full name contains unusual characters.
5087ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
5088ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
5089ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
5090
[69894d2]5091
5092# Find a good install program.  We prefer a C program (faster),
5093# so one script is as good as another.  But avoid the broken or
5094# incompatible versions:
5095# SysV /etc/install, /usr/sbin/install
5096# SunOS /usr/etc/install
5097# IRIX /sbin/install
5098# AIX /bin/install
[8298425]5099# AmigaOS /C/install, which installs bootblocks on floppy discs
[69894d2]5100# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5101# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5102# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
[8298425]5103# OS/2's system install, which has a completely different semantic
[69894d2]5104# ./install, which can be erroneously created by make from ./install.sh.
[4ad3480]5105{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5106echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
[69894d2]5107if test -z "$INSTALL"; then
[8298425]5108if test "${ac_cv_path_install+set}" = set; then
5109  echo $ECHO_N "(cached) $ECHO_C" >&6
5110else
5111  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112for as_dir in $PATH
5113do
5114  IFS=$as_save_IFS
5115  test -z "$as_dir" && as_dir=.
5116  # Account for people who put trailing slashes in PATH elements.
5117case $as_dir/ in
5118  ./ | .// | /cC/* | \
5119  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5120  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5121  /usr/ucb/* ) ;;
5122  *)
5123    # OSF1 and SCO ODT 3.0 have their own names for install.
5124    # Don't use installbsd from OSF since it installs stuff as root
5125    # by default.
5126    for ac_prog in ginstall scoinst install; do
5127      for ac_exec_ext in '' $ac_executable_extensions; do
[4ad3480]5128        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
[69894d2]5129          if test $ac_prog = install &&
[8298425]5130            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
[69894d2]5131            # AIX install.  It has an incompatible calling convention.
5132            :
[8298425]5133          elif test $ac_prog = install &&
5134            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5135            # program-specific install script used by HP pwplus--don't use.
5136            :
[69894d2]5137          else
[8298425]5138            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5139            break 3
[69894d2]5140          fi
5141        fi
5142      done
[8298425]5143    done
5144    ;;
5145esac
5146done
[4ad3480]5147IFS=$as_save_IFS
[8298425]5148
[69894d2]5149
5150fi
5151  if test "${ac_cv_path_install+set}" = set; then
[8298425]5152    INSTALL=$ac_cv_path_install
[69894d2]5153  else
[4ad3480]5154    # As a last resort, use the slow shell script.  Don't cache a
5155    # value for INSTALL within a source directory, because that will
[69894d2]5156    # break other packages using the cache if that directory is
[4ad3480]5157    # removed, or if the value is a relative name.
[8298425]5158    INSTALL=$ac_install_sh
[69894d2]5159  fi
5160fi
[4ad3480]5161{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5162echo "${ECHO_T}$INSTALL" >&6; }
[69894d2]5163
5164# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5165# It thinks the first close brace ends the variable substitution.
5166test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5167
[8298425]5168test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
[69894d2]5169
5170test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5171
5172
[8298425]5173subdirs="$subdirs libfaim"
5174
5175
[4ad3480]5176ac_config_files="$ac_config_files Makefile"
5177
[8298425]5178cat >confcache <<\_ACEOF
[7d4fbcd]5179# This file is a shell script that caches the results of configure
5180# tests run on this system so they can be shared between configure
[8298425]5181# scripts and configure runs, see configure's option --config-cache.
5182# It is not useful on other systems.  If it contains results you don't
5183# want to keep, you may remove or edit it.
[7d4fbcd]5184#
[8298425]5185# config.status only pays attention to the cache file if you give it
5186# the --recheck option to rerun configure.
[7d4fbcd]5187#
[8298425]5188# `ac_cv_env_foo' variables (set or unset) will be overridden when
5189# loading this file, other *unset* `ac_cv_foo' will be assigned the
5190# following values.
5191
5192_ACEOF
5193
[7d4fbcd]5194# The following way of writing the cache mishandles newlines in values,
5195# but we know of no workaround that is simple, portable, and efficient.
[4ad3480]5196# So, we kill variables containing newlines.
[7d4fbcd]5197# Ultrix sh set writes to stderr and can't be redirected directly,
5198# and sets the high bit in the cache file unless we assign to the vars.
[4ad3480]5199(
5200  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5201    eval ac_val=\$$ac_var
5202    case $ac_val in #(
5203    *${as_nl}*)
5204      case $ac_var in #(
5205      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5206echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5207      esac
5208      case $ac_var in #(
5209      _ | IFS | as_nl) ;; #(
5210      *) $as_unset $ac_var ;;
5211      esac ;;
5212    esac
5213  done
5214
[8298425]5215  (set) 2>&1 |
[4ad3480]5216    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5217    *${as_nl}ac_space=\ *)
[8298425]5218      # `set' does not quote correctly, so add quotes (double-quote
5219      # substitution turns \\\\ into \\, and sed turns \\ into \).
5220      sed -n \
5221        "s/'/'\\\\''/g;
5222          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
[4ad3480]5223      ;; #(
[8298425]5224    *)
5225      # `set' quotes correctly as required by POSIX, so do not add quotes.
[4ad3480]5226      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
[8298425]5227      ;;
[4ad3480]5228    esac |
5229    sort
5230) |
[8298425]5231  sed '
[4ad3480]5232     /^ac_cv_env_/b end
[8298425]5233     t clear
[4ad3480]5234     :clear
[8298425]5235     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5236     t end
[4ad3480]5237     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5238     :end' >>confcache
5239if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5240  if test -w "$cache_file"; then
5241    test "x$cache_file" != "x/dev/null" &&
5242      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5243echo "$as_me: updating cache $cache_file" >&6;}
[8298425]5244    cat confcache >$cache_file
[7d4fbcd]5245  else
[4ad3480]5246    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5247echo "$as_me: not updating unwritable cache $cache_file" >&6;}
[7d4fbcd]5248  fi
5249fi
5250rm -f confcache
5251
5252test "x$prefix" = xNONE && prefix=$ac_default_prefix
5253# Let make expand exec_prefix.
5254test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5255
5256DEFS=-DHAVE_CONFIG_H
5257
[8298425]5258ac_libobjs=
5259ac_ltlibobjs=
5260for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5261  # 1. Remove the extension, and $U if already installed.
[4ad3480]5262  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5263  ac_i=`echo "$ac_i" | sed "$ac_script"`
5264  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5265  #    will be set to the directory where LIBOBJS objects are built.
5266  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5267  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
[8298425]5268done
5269LIBOBJS=$ac_libobjs
[7d4fbcd]5270
[8298425]5271LTLIBOBJS=$ac_ltlibobjs
5272
5273
5274
5275: ${CONFIG_STATUS=./config.status}
5276ac_clean_files_save=$ac_clean_files
5277ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5278{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5279echo "$as_me: creating $CONFIG_STATUS" >&6;}
5280cat >$CONFIG_STATUS <<_ACEOF
5281#! $SHELL
5282# Generated by $as_me.
[7d4fbcd]5283# Run this file to recreate the current configuration.
5284# Compiler output produced by configure, useful for debugging
[8298425]5285# configure, is in config.log if it exists.
5286
5287debug=false
5288ac_cs_recheck=false
5289ac_cs_silent=false
5290SHELL=\${CONFIG_SHELL-$SHELL}
5291_ACEOF
5292
5293cat >>$CONFIG_STATUS <<\_ACEOF
5294## --------------------- ##
5295## M4sh Initialization.  ##
5296## --------------------- ##
5297
5298# Be Bourne compatible
5299if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5300  emulate sh
5301  NULLCMD=:
5302  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5303  # is contrary to our usage.  Disable this feature.
5304  alias -g '${1+"$@"}'='"$@"'
[4ad3480]5305  setopt NO_GLOB_SUBST
5306else
5307  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
[8298425]5308fi
[4ad3480]5309BIN_SH=xpg4; export BIN_SH # for Tru64
[8298425]5310DUALCASE=1; export DUALCASE # for MKS sh
[7d4fbcd]5311
[4ad3480]5312
5313# PATH needs CR
5314# Avoid depending upon Character Ranges.
5315as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5316as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5317as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5318as_cr_digits='0123456789'
5319as_cr_alnum=$as_cr_Letters$as_cr_digits
5320
5321# The user is always right.
5322if test "${PATH_SEPARATOR+set}" != set; then
5323  echo "#! /bin/sh" >conf$$.sh
5324  echo  "exit 0"   >>conf$$.sh
5325  chmod +x conf$$.sh
5326  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5327    PATH_SEPARATOR=';'
5328  else
5329    PATH_SEPARATOR=:
5330  fi
5331  rm -f conf$$.sh
5332fi
5333
[8298425]5334# Support unset when possible.
5335if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5336  as_unset=unset
5337else
5338  as_unset=false
5339fi
5340
5341
[4ad3480]5342# IFS
5343# We need space, tab and new line, in precisely that order.  Quoting is
5344# there to prevent editors from complaining about space-tab.
5345# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5346# splitting by setting IFS to empty value.)
5347as_nl='
5348'
5349IFS=" ""        $as_nl"
5350
5351# Find who we are.  Look in the path if we contain no directory separator.
5352case $0 in
5353  *[\\/]* ) as_myself=$0 ;;
5354  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5355for as_dir in $PATH
5356do
5357  IFS=$as_save_IFS
5358  test -z "$as_dir" && as_dir=.
5359  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5360done
5361IFS=$as_save_IFS
5362
5363     ;;
5364esac
5365# We did not find ourselves, most probably we were run as `sh COMMAND'
5366# in which case we are not to be found in the path.
5367if test "x$as_myself" = x; then
5368  as_myself=$0
5369fi
5370if test ! -f "$as_myself"; then
5371  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5372  { (exit 1); exit 1; }
5373fi
5374
[8298425]5375# Work around bugs in pre-3.0 UWIN ksh.
[4ad3480]5376for as_var in ENV MAIL MAILPATH
5377do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5378done
[8298425]5379PS1='$ '
5380PS2='> '
5381PS4='+ '
5382
5383# NLS nuisances.
5384for as_var in \
5385  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5386  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5387  LC_TELEPHONE LC_TIME
[7d4fbcd]5388do
[8298425]5389  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5390    eval $as_var=C; export $as_var
5391  else
[4ad3480]5392    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
[8298425]5393  fi
[7d4fbcd]5394done
5395
[8298425]5396# Required to use basename.
[4ad3480]5397if expr a : '\(a\)' >/dev/null 2>&1 &&
5398   test "X`expr 00001 : '.*\(...\)'`" = X001; then
[8298425]5399  as_expr=expr
5400else
5401  as_expr=false
5402fi
[7d4fbcd]5403
[4ad3480]5404if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
[8298425]5405  as_basename=basename
5406else
5407  as_basename=false
5408fi
[7d4fbcd]5409
5410
[8298425]5411# Name of the executable.
[4ad3480]5412as_me=`$as_basename -- "$0" ||
[8298425]5413$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5414         X"$0" : 'X\(//\)$' \| \
[4ad3480]5415         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]5416echo X/"$0" |
[4ad3480]5417    sed '/^.*\/\([^/][^/]*\)\/*$/{
5418            s//\1/
5419            q
5420          }
5421          /^X\/\(\/\/\)$/{
5422            s//\1/
5423            q
5424          }
5425          /^X\/\(\/\).*/{
5426            s//\1/
5427            q
5428          }
5429          s/.*/./; q'`
[8298425]5430
[4ad3480]5431# CDPATH.
5432$as_unset CDPATH
[8298425]5433
5434
5435
5436  as_lineno_1=$LINENO
5437  as_lineno_2=$LINENO
5438  test "x$as_lineno_1" != "x$as_lineno_2" &&
[4ad3480]5439  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
[8298425]5440
5441  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5442  # uniformly replaced by the line number.  The first 'sed' inserts a
[4ad3480]5443  # line-number line after each line using $LINENO; the second 'sed'
5444  # does the real work.  The second script uses 'N' to pair each
5445  # line-number line with the line containing $LINENO, and appends
5446  # trailing '-' during substitution so that $LINENO is not a special
5447  # case at line end.
[8298425]5448  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
[4ad3480]5449  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5450  # E. McMahon (1931-1989) for sed's syntax.  :-)
5451  sed -n '
5452    p
5453    /[$]LINENO/=
5454  ' <$as_myself |
[8298425]5455    sed '
[4ad3480]5456      s/[$]LINENO.*/&-/
5457      t lineno
5458      b
5459      :lineno
[8298425]5460      N
[4ad3480]5461      :loop
5462      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
[8298425]5463      t loop
[4ad3480]5464      s/-\n.*//
[8298425]5465    ' >$as_me.lineno &&
[4ad3480]5466  chmod +x "$as_me.lineno" ||
5467    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
[8298425]5468   { (exit 1); exit 1; }; }
5469
5470  # Don't try to exec as it changes $[0], causing all sort of problems
5471  # (the dirname of $[0] is not the place where we might find the
[4ad3480]5472  # original and so on.  Autoconf is especially sensitive to this).
5473  . "./$as_me.lineno"
[8298425]5474  # Exit status is that of the last command.
5475  exit
5476}
5477
5478
[4ad3480]5479if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5480  as_dirname=dirname
5481else
5482  as_dirname=false
5483fi
5484
5485ECHO_C= ECHO_N= ECHO_T=
5486case `echo -n x` in
5487-n*)
5488  case `echo 'x\c'` in
5489  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5490  *)   ECHO_C='\c';;
5491  esac;;
5492*)
5493  ECHO_N='-n';;
[8298425]5494esac
5495
[4ad3480]5496if expr a : '\(a\)' >/dev/null 2>&1 &&
5497   test "X`expr 00001 : '.*\(...\)'`" = X001; then
[8298425]5498  as_expr=expr
5499else
5500  as_expr=false
5501fi
5502
5503rm -f conf$$ conf$$.exe conf$$.file
[4ad3480]5504if test -d conf$$.dir; then
5505  rm -f conf$$.dir/conf$$.file
5506else
5507  rm -f conf$$.dir
5508  mkdir conf$$.dir
5509fi
[8298425]5510echo >conf$$.file
5511if ln -s conf$$.file conf$$ 2>/dev/null; then
[4ad3480]5512  as_ln_s='ln -s'
5513  # ... but there are two gotchas:
5514  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5515  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5516  # In both cases, we have to default to `cp -p'.
5517  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
[8298425]5518    as_ln_s='cp -p'
5519elif ln conf$$.file conf$$ 2>/dev/null; then
5520  as_ln_s=ln
5521else
5522  as_ln_s='cp -p'
5523fi
[4ad3480]5524rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5525rmdir conf$$.dir 2>/dev/null
[8298425]5526
5527if mkdir -p . 2>/dev/null; then
5528  as_mkdir_p=:
5529else
5530  test -d ./-p && rmdir ./-p
5531  as_mkdir_p=false
5532fi
5533
[4ad3480]5534# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
5535# systems may use methods other than mode bits to determine executability.
5536cat >conf$$.file <<_ASEOF
5537#! /bin/sh
5538exit 0
5539_ASEOF
5540chmod +x conf$$.file
5541if test -x conf$$.file >/dev/null 2>&1; then
5542  as_executable_p="test -x"
5543else
5544  as_executable_p=:
5545fi
5546rm -f conf$$.file
[8298425]5547
5548# Sed expression to map a string onto a valid CPP name.
5549as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5550
5551# Sed expression to map a string onto a valid variable name.
5552as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5553
5554
5555exec 6>&1
5556
[4ad3480]5557# Save the log message, to keep $[0] and so on meaningful, and to
[8298425]5558# report actual input values of CONFIG_FILES etc. instead of their
[4ad3480]5559# values after options handling.
5560ac_log="
[8298425]5561This file was extended by $as_me, which was
[4ad3480]5562generated by GNU Autoconf 2.60.  Invocation command line was
[8298425]5563
5564  CONFIG_FILES    = $CONFIG_FILES
5565  CONFIG_HEADERS  = $CONFIG_HEADERS
5566  CONFIG_LINKS    = $CONFIG_LINKS
5567  CONFIG_COMMANDS = $CONFIG_COMMANDS
5568  $ $0 $@
5569
[4ad3480]5570on `(hostname || uname -n) 2>/dev/null | sed 1q`
5571"
5572
[8298425]5573_ACEOF
5574
[4ad3480]5575cat >>$CONFIG_STATUS <<_ACEOF
[8298425]5576# Files that config.status was made for.
[4ad3480]5577config_files="$ac_config_files"
5578config_headers="$ac_config_headers"
[8298425]5579
[4ad3480]5580_ACEOF
[8298425]5581
5582cat >>$CONFIG_STATUS <<\_ACEOF
5583ac_cs_usage="\
5584\`$as_me' instantiates files from templates according to the
5585current configuration.
5586
5587Usage: $0 [OPTIONS] [FILE]...
5588
5589  -h, --help       print this help, then exit
5590  -V, --version    print version number, then exit
5591  -q, --quiet      do not print progress messages
5592  -d, --debug      don't remove temporary files
5593      --recheck    update $as_me by reconfiguring in the same conditions
5594  --file=FILE[:TEMPLATE]
5595                   instantiate the configuration file FILE
5596  --header=FILE[:TEMPLATE]
5597                   instantiate the configuration header FILE
5598
5599Configuration files:
5600$config_files
5601
5602Configuration headers:
5603$config_headers
5604
5605Report bugs to <bug-autoconf@gnu.org>."
5606
[4ad3480]5607_ACEOF
[8298425]5608cat >>$CONFIG_STATUS <<_ACEOF
5609ac_cs_version="\\
5610config.status
[4ad3480]5611configured by $0, generated by GNU Autoconf 2.60,
5612  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
[8298425]5613
[4ad3480]5614Copyright (C) 2006 Free Software Foundation, Inc.
[8298425]5615This config.status script is free software; the Free Software Foundation
5616gives unlimited permission to copy, distribute and modify it."
[4ad3480]5617
5618ac_pwd='$ac_pwd'
5619srcdir='$srcdir'
5620INSTALL='$INSTALL'
[8298425]5621_ACEOF
5622
5623cat >>$CONFIG_STATUS <<\_ACEOF
5624# If no file are specified by the user, then we need to provide default
5625# value.  By we need to know if files were specified by the user.
5626ac_need_defaults=:
5627while test $# != 0
5628do
5629  case $1 in
5630  --*=*)
[4ad3480]5631    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5632    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
[8298425]5633    ac_shift=:
5634    ;;
[4ad3480]5635  *)
[8298425]5636    ac_option=$1
5637    ac_optarg=$2
5638    ac_shift=shift
5639    ;;
5640  esac
5641
5642  case $ac_option in
5643  # Handling of the options.
5644  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5645    ac_cs_recheck=: ;;
[4ad3480]5646  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5647    echo "$ac_cs_version"; exit ;;
5648  --debug | --debu | --deb | --de | --d | -d )
[8298425]5649    debug=: ;;
5650  --file | --fil | --fi | --f )
5651    $ac_shift
5652    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5653    ac_need_defaults=false;;
5654  --header | --heade | --head | --hea )
5655    $ac_shift
5656    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5657    ac_need_defaults=false;;
[4ad3480]5658  --he | --h)
5659    # Conflict between --help and --header
5660    { echo "$as_me: error: ambiguous option: $1
5661Try \`$0 --help' for more information." >&2
5662   { (exit 1); exit 1; }; };;
5663  --help | --hel | -h )
5664    echo "$ac_cs_usage"; exit ;;
[8298425]5665  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5666  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5667    ac_cs_silent=: ;;
5668
5669  # This is an error.
[4ad3480]5670  -*) { echo "$as_me: error: unrecognized option: $1
5671Try \`$0 --help' for more information." >&2
[8298425]5672   { (exit 1); exit 1; }; } ;;
5673
[4ad3480]5674  *) ac_config_targets="$ac_config_targets $1"
5675     ac_need_defaults=false ;;
[8298425]5676
5677  esac
5678  shift
[7d4fbcd]5679done
[8298425]5680
5681ac_configure_extra_args=
5682
5683if $ac_cs_silent; then
5684  exec 6>/dev/null
5685  ac_configure_extra_args="$ac_configure_extra_args --silent"
5686fi
5687
5688_ACEOF
5689cat >>$CONFIG_STATUS <<_ACEOF
5690if \$ac_cs_recheck; then
[4ad3480]5691  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5692  CONFIG_SHELL=$SHELL
5693  export CONFIG_SHELL
5694  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
[7d4fbcd]5695fi
5696
[8298425]5697_ACEOF
[4ad3480]5698cat >>$CONFIG_STATUS <<\_ACEOF
5699exec 5>>config.log
5700{
5701  echo
5702  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5703## Running $as_me. ##
5704_ASBOX
5705  echo "$ac_log"
5706} >&5
[7d4fbcd]5707
[4ad3480]5708_ACEOF
5709cat >>$CONFIG_STATUS <<_ACEOF
5710_ACEOF
[8298425]5711
5712cat >>$CONFIG_STATUS <<\_ACEOF
[4ad3480]5713
5714# Handling of arguments.
[8298425]5715for ac_config_target in $ac_config_targets
5716do
[4ad3480]5717  case $ac_config_target in
5718    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5719    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5720
[8298425]5721  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5722echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5723   { (exit 1); exit 1; }; };;
[7d4fbcd]5724  esac
[8298425]5725done
[7d4fbcd]5726
[4ad3480]5727
[8298425]5728# If the user did not use the arguments to specify the items to instantiate,
5729# then the envvar interface is used.  Set only those that are not.
5730# We use the long form for the default assignment because of an extremely
5731# bizarre bug on SunOS 4.1.3.
5732if $ac_need_defaults; then
5733  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5734  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5735fi
[7d4fbcd]5736
[8298425]5737# Have a temporary directory for convenience.  Make it in the build tree
[4ad3480]5738# simply because there is no reason against having it here, and in addition,
[8298425]5739# creating and moving files from /tmp can sometimes cause problems.
[4ad3480]5740# Hook for its removal unless debugging.
5741# Note that there is a small window in which the directory will not be cleaned:
5742# after its creation but before its name has been assigned to `$tmp'.
[8298425]5743$debug ||
5744{
[4ad3480]5745  tmp=
5746  trap 'exit_status=$?
5747  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5748' 0
[8298425]5749  trap '{ (exit 1); exit 1; }' 1 2 13 15
5750}
5751# Create a (secure) tmp directory for tmp files.
5752
5753{
[4ad3480]5754  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
[8298425]5755  test -n "$tmp" && test -d "$tmp"
5756}  ||
5757{
[4ad3480]5758  tmp=./conf$$-$RANDOM
5759  (umask 077 && mkdir "$tmp")
[8298425]5760} ||
5761{
5762   echo "$me: cannot create a temporary directory in ." >&2
5763   { (exit 1); exit 1; }
5764}
5765
5766#
[4ad3480]5767# Set up the sed scripts for CONFIG_FILES section.
[8298425]5768#
5769
5770# No need to generate the scripts if there are no CONFIG_FILES.
5771# This happens for instance when ./config.status config.h
[4ad3480]5772if test -n "$CONFIG_FILES"; then
[8298425]5773
5774_ACEOF
5775
[4ad3480]5776
5777
5778ac_delim='%!_!# '
5779for ac_last_try in false false false false false :; do
5780  cat >conf$$subs.sed <<_ACEOF
5781SHELL!$SHELL$ac_delim
5782PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5783PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5784PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5785PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5786PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5787PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5788exec_prefix!$exec_prefix$ac_delim
5789prefix!$prefix$ac_delim
5790program_transform_name!$program_transform_name$ac_delim
5791bindir!$bindir$ac_delim
5792sbindir!$sbindir$ac_delim
5793libexecdir!$libexecdir$ac_delim
5794datarootdir!$datarootdir$ac_delim
5795datadir!$datadir$ac_delim
5796sysconfdir!$sysconfdir$ac_delim
5797sharedstatedir!$sharedstatedir$ac_delim
5798localstatedir!$localstatedir$ac_delim
5799includedir!$includedir$ac_delim
5800oldincludedir!$oldincludedir$ac_delim
5801docdir!$docdir$ac_delim
5802infodir!$infodir$ac_delim
5803htmldir!$htmldir$ac_delim
5804dvidir!$dvidir$ac_delim
5805pdfdir!$pdfdir$ac_delim
5806psdir!$psdir$ac_delim
5807libdir!$libdir$ac_delim
5808localedir!$localedir$ac_delim
5809mandir!$mandir$ac_delim
5810DEFS!$DEFS$ac_delim
5811ECHO_C!$ECHO_C$ac_delim
5812ECHO_N!$ECHO_N$ac_delim
5813ECHO_T!$ECHO_T$ac_delim
5814LIBS!$LIBS$ac_delim
5815build_alias!$build_alias$ac_delim
5816host_alias!$host_alias$ac_delim
5817target_alias!$target_alias$ac_delim
5818CC!$CC$ac_delim
5819CFLAGS!$CFLAGS$ac_delim
5820LDFLAGS!$LDFLAGS$ac_delim
5821CPPFLAGS!$CPPFLAGS$ac_delim
5822ac_ct_CC!$ac_ct_CC$ac_delim
5823EXEEXT!$EXEEXT$ac_delim
5824OBJEXT!$OBJEXT$ac_delim
5825CPP!$CPP$ac_delim
5826GREP!$GREP$ac_delim
5827EGREP!$EGREP$ac_delim
5828XSUBPPFLAGS!$XSUBPPFLAGS$ac_delim
5829INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5830INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5831INSTALL_DATA!$INSTALL_DATA$ac_delim
5832subdirs!$subdirs$ac_delim
5833LIBOBJS!$LIBOBJS$ac_delim
5834LTLIBOBJS!$LTLIBOBJS$ac_delim
5835_ACEOF
5836
5837  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
5838    break
5839  elif $ac_last_try; then
5840    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5841echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5842   { (exit 1); exit 1; }; }
5843  else
5844    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
[7d4fbcd]5845  fi
[4ad3480]5846done
5847
5848ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5849if test -n "$ac_eof"; then
5850  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5851  ac_eof=`expr $ac_eof + 1`
5852fi
[7d4fbcd]5853
[4ad3480]5854cat >>$CONFIG_STATUS <<_ACEOF
5855cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5856/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
[8298425]5857_ACEOF
[4ad3480]5858sed '
5859s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5860s/^/s,@/; s/!/@,|#_!!_#|/
5861:n
5862t n
5863s/'"$ac_delim"'$/,g/; t
5864s/$/\\/; p
5865N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5866' >>$CONFIG_STATUS <conf$$subs.sed
5867rm -f conf$$subs.sed
5868cat >>$CONFIG_STATUS <<_ACEOF
5869:end
5870s/|#_!!_#|//g
5871CEOF$ac_eof
5872_ACEOF
5873
5874
5875# VPATH may cause trouble with some makes, so we remove $(srcdir),
5876# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5877# trailing colons and then remove the whole line if VPATH becomes empty
5878# (actually we leave an empty line to preserve line numbers).
5879if test "x$srcdir" = x.; then
5880  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5881s/:*\$(srcdir):*/:/
5882s/:*\${srcdir}:*/:/
5883s/:*@srcdir@:*/:/
5884s/^\([^=]*=[     ]*\):*/\1/
5885s/:*$//
5886s/^[^=]*=[       ]*$//
5887}'
5888fi
5889
[8298425]5890cat >>$CONFIG_STATUS <<\_ACEOF
[4ad3480]5891fi # test -n "$CONFIG_FILES"
5892
5893
5894for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
5895do
5896  case $ac_tag in
5897  :[FHLC]) ac_mode=$ac_tag; continue;;
5898  esac
5899  case $ac_mode$ac_tag in
5900  :[FHL]*:*);;
5901  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5902echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5903   { (exit 1); exit 1; }; };;
5904  :[FH]-) ac_tag=-:-;;
5905  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5906  esac
5907  ac_save_IFS=$IFS
5908  IFS=:
5909  set x $ac_tag
5910  IFS=$ac_save_IFS
5911  shift
5912  ac_file=$1
5913  shift
5914
5915  case $ac_mode in
5916  :L) ac_source=$1;;
5917  :[FH])
5918    ac_file_inputs=
5919    for ac_f
5920    do
5921      case $ac_f in
5922      -) ac_f="$tmp/stdin";;
5923      *) # Look for the file first in the build tree, then in the source tree
5924         # (if the path is not absolute).  The absolute path cannot be DOS-style,
5925         # because $ac_f cannot contain `:'.
5926         test -f "$ac_f" ||
5927           case $ac_f in
5928           [\\/$]*) false;;
5929           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5930           esac ||
5931           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5932echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5933   { (exit 1); exit 1; }; };;
5934      esac
5935      ac_file_inputs="$ac_file_inputs $ac_f"
5936    done
5937
5938    # Let's still pretend it is `configure' which instantiates (i.e., don't
5939    # use $as_me), people would be surprised to read:
5940    #    /* config.h.  Generated by config.status.  */
5941    configure_input="Generated from "`IFS=:
5942          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5943    if test x"$ac_file" != x-; then
5944      configure_input="$ac_file.  $configure_input"
5945      { echo "$as_me:$LINENO: creating $ac_file" >&5
5946echo "$as_me: creating $ac_file" >&6;}
5947    fi
5948
5949    case $ac_tag in
5950    *:-:* | *:-) cat >"$tmp/stdin";;
5951    esac
5952    ;;
[7d4fbcd]5953  esac
5954
[4ad3480]5955  ac_dir=`$as_dirname -- "$ac_file" ||
[8298425]5956$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5957         X"$ac_file" : 'X\(//\)[^/]' \| \
5958         X"$ac_file" : 'X\(//\)$' \| \
[4ad3480]5959         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]5960echo X"$ac_file" |
[4ad3480]5961    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5962            s//\1/
5963            q
5964          }
5965          /^X\(\/\/\)[^/].*/{
5966            s//\1/
5967            q
5968          }
5969          /^X\(\/\/\)$/{
5970            s//\1/
5971            q
5972          }
5973          /^X\(\/\).*/{
5974            s//\1/
5975            q
5976          }
5977          s/.*/./; q'`
5978  { as_dir="$ac_dir"
5979  case $as_dir in #(
5980  -*) as_dir=./$as_dir;;
5981  esac
5982  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
[8298425]5983    as_dirs=
[4ad3480]5984    while :; do
5985      case $as_dir in #(
5986      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5987      *) as_qdir=$as_dir;;
5988      esac
5989      as_dirs="'$as_qdir' $as_dirs"
5990      as_dir=`$as_dirname -- "$as_dir" ||
[8298425]5991$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5992         X"$as_dir" : 'X\(//\)[^/]' \| \
5993         X"$as_dir" : 'X\(//\)$' \| \
[4ad3480]5994         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]5995echo X"$as_dir" |
[4ad3480]5996    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5997            s//\1/
5998            q
5999          }
6000          /^X\(\/\/\)[^/].*/{
6001            s//\1/
6002            q
6003          }
6004          /^X\(\/\/\)$/{
6005            s//\1/
6006            q
6007          }
6008          /^X\(\/\).*/{
6009            s//\1/
6010            q
6011          }
6012          s/.*/./; q'`
6013      test -d "$as_dir" && break
[8298425]6014    done
[4ad3480]6015    test -z "$as_dirs" || eval "mkdir $as_dirs"
6016  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6017echo "$as_me: error: cannot create directory $as_dir" >&2;}
[8298425]6018   { (exit 1); exit 1; }; }; }
6019  ac_builddir=.
6020
[4ad3480]6021case "$ac_dir" in
6022.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6023*)
[8298425]6024  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
[4ad3480]6025  # A ".." for each directory in $ac_dir_suffix.
6026  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6027  case $ac_top_builddir_sub in
6028  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6029  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6030  esac ;;
6031esac
6032ac_abs_top_builddir=$ac_pwd
6033ac_abs_builddir=$ac_pwd$ac_dir_suffix
6034# for backward compatibility:
6035ac_top_builddir=$ac_top_build_prefix
[7d4fbcd]6036
[8298425]6037case $srcdir in
[4ad3480]6038  .)  # We are building in place.
[8298425]6039    ac_srcdir=.
[4ad3480]6040    ac_top_srcdir=$ac_top_builddir_sub
6041    ac_abs_top_srcdir=$ac_pwd ;;
6042  [\\/]* | ?:[\\/]* )  # Absolute name.
[8298425]6043    ac_srcdir=$srcdir$ac_dir_suffix;
[4ad3480]6044    ac_top_srcdir=$srcdir
6045    ac_abs_top_srcdir=$srcdir ;;
6046  *) # Relative name.
6047    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6048    ac_top_srcdir=$ac_top_build_prefix$srcdir
6049    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
[8298425]6050esac
[4ad3480]6051ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
[8298425]6052
6053
[4ad3480]6054  case $ac_mode in
6055  :F)
6056  #
6057  # CONFIG_FILE
6058  #
[8298425]6059
6060  case $INSTALL in
6061  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
[4ad3480]6062  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
[7d4fbcd]6063  esac
[4ad3480]6064_ACEOF
[7d4fbcd]6065
[4ad3480]6066cat >>$CONFIG_STATUS <<\_ACEOF
6067# If the template does not know about datarootdir, expand it.
6068# FIXME: This hack should be removed a few years after 2.60.
6069ac_datarootdir_hack=; ac_datarootdir_seen=
6070
6071case `sed -n '/datarootdir/ {
6072  p
6073  q
6074}
6075/@datadir@/p
6076/@docdir@/p
6077/@infodir@/p
6078/@localedir@/p
6079/@mandir@/p
6080' $ac_file_inputs` in
6081*datarootdir*) ac_datarootdir_seen=yes;;
6082*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6083  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6084echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
[8298425]6085_ACEOF
6086cat >>$CONFIG_STATUS <<_ACEOF
[4ad3480]6087  ac_datarootdir_hack='
6088  s&@datadir@&$datadir&g
6089  s&@docdir@&$docdir&g
6090  s&@infodir@&$infodir&g
6091  s&@localedir@&$localedir&g
6092  s&@mandir@&$mandir&g
6093    s&\\\${datarootdir}&$datarootdir&g' ;;
6094esac
6095_ACEOF
6096
6097# Neutralize VPATH when `$srcdir' = `.'.
6098# Shell code in configure.ac might set extrasub.
6099# FIXME: do we really want to maintain this feature?
6100cat >>$CONFIG_STATUS <<_ACEOF
[8298425]6101  sed "$ac_vpsub
6102$extrasub
6103_ACEOF
6104cat >>$CONFIG_STATUS <<\_ACEOF
6105:t
6106/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
[4ad3480]6107s&@configure_input@&$configure_input&;t t
6108s&@top_builddir@&$ac_top_builddir_sub&;t t
6109s&@srcdir@&$ac_srcdir&;t t
6110s&@abs_srcdir@&$ac_abs_srcdir&;t t
6111s&@top_srcdir@&$ac_top_srcdir&;t t
6112s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6113s&@builddir@&$ac_builddir&;t t
6114s&@abs_builddir@&$ac_abs_builddir&;t t
6115s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6116s&@INSTALL@&$ac_INSTALL&;t t
6117$ac_datarootdir_hack
6118" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6119
6120test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6121  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6122  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6123  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6124which seems to be undefined.  Please make sure it is defined." >&5
6125echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6126which seems to be undefined.  Please make sure it is defined." >&2;}
6127
6128  rm -f "$tmp/stdin"
[8298425]6129  case $ac_file in
[4ad3480]6130  -) cat "$tmp/out"; rm -f "$tmp/out";;
6131  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
[7d4fbcd]6132  esac
[4ad3480]6133 ;;
6134  :H)
6135  #
6136  # CONFIG_HEADER
6137  #
[8298425]6138_ACEOF
6139
[4ad3480]6140# Transform confdefs.h into a sed script `conftest.defines', that
6141# substitutes the proper values into config.h.in to produce config.h.
6142rm -f conftest.defines conftest.tail
6143# First, append a space to every undef/define line, to ease matching.
6144echo 's/$/ /' >conftest.defines
6145# Then, protect against being on the right side of a sed subst, or in
6146# an unquoted here document, in config.status.  If some macros were
6147# called several times there might be several #defines for the same
6148# symbol, which is useless.  But do not sort them, since the last
6149# AC_DEFINE must be honored.
6150ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6151# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6152# NAME is the cpp macro being defined, VALUE is the value it is being given.
6153# PARAMS is the parameter list in the macro definition--in most cases, it's
6154# just an empty string.
6155ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
6156ac_dB='\\)[      (].*,\\1define\\2'
6157ac_dC=' '
6158ac_dD=' ,'
6159
6160uniq confdefs.h |
6161  sed -n '
6162        t rset
6163        :rset
6164        s/^[     ]*#[    ]*define[       ][      ]*//
6165        t ok
6166        d
6167        :ok
6168        s/[\\&,]/\\&/g
6169        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6170        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6171  ' >>conftest.defines
6172
6173# Remove the space that was appended to ease matching.
6174# Then replace #undef with comments.  This is necessary, for
[7d4fbcd]6175# example, in the case of _POSIX_SOURCE, which is predefined and required
6176# on some systems where configure will not decide to define it.
[4ad3480]6177# (The regexp can be short, since the line contains either #define or #undef.)
6178echo 's/ $//
6179s,^[     #]*u.*,/* & */,' >>conftest.defines
6180
6181# Break up conftest.defines:
6182ac_max_sed_lines=50
6183
6184# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6185# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6186# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6187# et cetera.
6188ac_in='$ac_file_inputs'
6189ac_out='"$tmp/out1"'
6190ac_nxt='"$tmp/out2"'
6191
6192while :
[8298425]6193do
[4ad3480]6194  # Write a here document:
6195    cat >>$CONFIG_STATUS <<_ACEOF
6196    # First, check the format of the line:
6197    cat >"\$tmp/defines.sed" <<\\CEOF
6198/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6199/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6200b
6201:def
6202_ACEOF
6203  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
[8298425]6204  echo 'CEOF
[4ad3480]6205    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6206  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6207  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6208  grep . conftest.tail >/dev/null || break
[8298425]6209  rm -f conftest.defines
6210  mv conftest.tail conftest.defines
6211done
[4ad3480]6212rm -f conftest.defines conftest.tail
[8298425]6213
[4ad3480]6214echo "ac_result=$ac_in" >>$CONFIG_STATUS
[8298425]6215cat >>$CONFIG_STATUS <<\_ACEOF
6216  if test x"$ac_file" != x-; then
[4ad3480]6217    echo "/* $configure_input  */" >"$tmp/config.h"
6218    cat "$ac_result" >>"$tmp/config.h"
6219    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
[8298425]6220      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6221echo "$as_me: $ac_file is unchanged" >&6;}
6222    else
6223      rm -f $ac_file
[4ad3480]6224      mv "$tmp/config.h" $ac_file
[7d4fbcd]6225    fi
[8298425]6226  else
[4ad3480]6227    echo "/* $configure_input  */"
6228    cat "$ac_result"
[7d4fbcd]6229  fi
[4ad3480]6230  rm -f "$tmp/out12"
6231 ;;
6232
6233
6234  esac
6235
6236done # for ac_tag
[7d4fbcd]6237
6238
[8298425]6239{ (exit 0); exit 0; }
6240_ACEOF
[7d4fbcd]6241chmod +x $CONFIG_STATUS
[8298425]6242ac_clean_files=$ac_clean_files_save
6243
6244
6245# configure is writing to config.log, and then calls config.status.
6246# config.status does its own redirection, appending to config.log.
6247# Unfortunately, on DOS this fails, as config.log is still kept open
6248# by configure, so config.status won't be able to write to it; its
6249# output is simply discarded.  So we exec the FD to /dev/null,
6250# effectively closing config.log, so it can be properly (re)opened and
6251# appended to by config.status.  When coming back to configure, we
6252# need to make the FD available again.
6253if test "$no_create" != yes; then
6254  ac_cs_success=:
6255  ac_config_status_args=
6256  test "$silent" = yes &&
6257    ac_config_status_args="$ac_config_status_args --quiet"
6258  exec 5>/dev/null
6259  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6260  exec 5>>config.log
6261  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6262  # would make configure fail if this is the last instruction.
6263  $ac_cs_success || { (exit 1); exit 1; }
6264fi
[7d4fbcd]6265
[8298425]6266#
6267# CONFIG_SUBDIRS section.
6268#
[d09e5a1]6269if test "$no_recursion" != yes; then
6270
6271  # Remove --cache-file and --srcdir arguments so they do not pile up.
6272  ac_sub_configure_args=
6273  ac_prev=
[4ad3480]6274  eval "set x $ac_configure_args"
6275  shift
6276  for ac_arg
6277  do
[d09e5a1]6278    if test -n "$ac_prev"; then
6279      ac_prev=
6280      continue
6281    fi
[8298425]6282    case $ac_arg in
[d09e5a1]6283    -cache-file | --cache-file | --cache-fil | --cache-fi \
6284    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6285      ac_prev=cache_file ;;
6286    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
[8298425]6287    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6288    | --c=*)
6289      ;;
6290    --config-cache | -C)
[d09e5a1]6291      ;;
6292    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6293      ac_prev=srcdir ;;
6294    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6295      ;;
[8298425]6296    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6297      ac_prev=prefix ;;
6298    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6299      ;;
[4ad3480]6300    *)
6301      case $ac_arg in
6302      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6303      esac
6304      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
[d09e5a1]6305    esac
6306  done
6307
[8298425]6308  # Always prepend --prefix to ensure using the same prefix
6309  # in subdir configurations.
[4ad3480]6310  ac_arg="--prefix=$prefix"
6311  case $ac_arg in
6312  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6313  esac
6314  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
[8298425]6315
6316  ac_popdir=`pwd`
6317  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
[d09e5a1]6318
6319    # Do not complain, so a configure script can configure whichever
6320    # parts of a large source tree are present.
[4ad3480]6321    test -d "$srcdir/$ac_dir" || continue
6322
6323    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6324    echo "$as_me:$LINENO: $ac_msg" >&5
6325    echo "$ac_msg" >&6
6326    { as_dir="$ac_dir"
6327  case $as_dir in #(
6328  -*) as_dir=./$as_dir;;
6329  esac
6330  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
[8298425]6331    as_dirs=
[4ad3480]6332    while :; do
6333      case $as_dir in #(
6334      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6335      *) as_qdir=$as_dir;;
6336      esac
6337      as_dirs="'$as_qdir' $as_dirs"
6338      as_dir=`$as_dirname -- "$as_dir" ||
[8298425]6339$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6340         X"$as_dir" : 'X\(//\)[^/]' \| \
6341         X"$as_dir" : 'X\(//\)$' \| \
[4ad3480]6342         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
[8298425]6343echo X"$as_dir" |
[4ad3480]6344    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6345            s//\1/
6346            q
6347          }
6348          /^X\(\/\/\)[^/].*/{
6349            s//\1/
6350            q
6351          }
6352          /^X\(\/\/\)$/{
6353            s//\1/
6354            q
6355          }
6356          /^X\(\/\).*/{
6357            s//\1/
6358            q
6359          }
6360          s/.*/./; q'`
6361      test -d "$as_dir" && break
[8298425]6362    done
[4ad3480]6363    test -z "$as_dirs" || eval "mkdir $as_dirs"
6364  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6365echo "$as_me: error: cannot create directory $as_dir" >&2;}
[8298425]6366   { (exit 1); exit 1; }; }; }
6367    ac_builddir=.
6368
[4ad3480]6369case "$ac_dir" in
6370.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6371*)
[8298425]6372  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
[4ad3480]6373  # A ".." for each directory in $ac_dir_suffix.
6374  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6375  case $ac_top_builddir_sub in
6376  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6377  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6378  esac ;;
6379esac
6380ac_abs_top_builddir=$ac_pwd
6381ac_abs_builddir=$ac_pwd$ac_dir_suffix
6382# for backward compatibility:
6383ac_top_builddir=$ac_top_build_prefix
[d09e5a1]6384
[8298425]6385case $srcdir in
[4ad3480]6386  .)  # We are building in place.
[8298425]6387    ac_srcdir=.
[4ad3480]6388    ac_top_srcdir=$ac_top_builddir_sub
6389    ac_abs_top_srcdir=$ac_pwd ;;
6390  [\\/]* | ?:[\\/]* )  # Absolute name.
[8298425]6391    ac_srcdir=$srcdir$ac_dir_suffix;
[4ad3480]6392    ac_top_srcdir=$srcdir
6393    ac_abs_top_srcdir=$srcdir ;;
6394  *) # Relative name.
6395    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6396    ac_top_srcdir=$ac_top_build_prefix$srcdir
6397    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
[8298425]6398esac
[4ad3480]6399ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
[8298425]6400
6401
[4ad3480]6402    cd "$ac_dir"
[d09e5a1]6403
6404    # Check for guested configure; otherwise get Cygnus style configure.
[4ad3480]6405    if test -f "$ac_srcdir/configure.gnu"; then
6406      ac_sub_configure=$ac_srcdir/configure.gnu
6407    elif test -f "$ac_srcdir/configure"; then
6408      ac_sub_configure=$ac_srcdir/configure
6409    elif test -f "$ac_srcdir/configure.in"; then
6410      # This should be Cygnus configure.
6411      ac_sub_configure=$ac_aux_dir/configure
[d09e5a1]6412    else
[8298425]6413      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6414echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
[d09e5a1]6415      ac_sub_configure=
6416    fi
6417
6418    # The recursion is here.
6419    if test -n "$ac_sub_configure"; then
6420      # Make the cache file name correct relative to the subdirectory.
[8298425]6421      case $cache_file in
6422      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
[4ad3480]6423      *) # Relative name.
6424        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
[d09e5a1]6425      esac
6426
[4ad3480]6427      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6428echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
[d09e5a1]6429      # The eval makes quoting arguments work.
[4ad3480]6430      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6431           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
[8298425]6432        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6433echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6434   { (exit 1); exit 1; }; }
[d09e5a1]6435    fi
6436
[4ad3480]6437    cd "$ac_popdir"
[d09e5a1]6438  done
6439fi
6440
Note: See TracBrowser for help on using the repository browser.