source: configure @ 4d17916

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