source: configure @ cd5adec

barnowl_perlaimdebianrelease-1.10release-1.4release-1.5release-1.6release-1.7release-1.8release-1.9
Last change on this file since cd5adec was 1bdffcb, checked in by Alejandro R. Sedeño <asedeno@mit.edu>, 18 years ago
owl.h - moved curses.h back up so building on Solaris would work. configure - added test for resizeterm global.c - conditionally include resizeterm fmtext.c - remove tabs, rewrite parts of the colorpair manager
  • Property mode set to 100755
File size: 179.9 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.60.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
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+"$@"}'='"$@"'
20  setopt NO_GLOB_SUBST
21else
22  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23fi
24BIN_SH=xpg4; export BIN_SH # for Tru64
25DUALCASE=1; export DUALCASE # for MKS sh
26
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
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
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
90# Work around bugs in pre-3.0 UWIN ksh.
91for as_var in ENV MAIL MAILPATH
92do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
93done
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
107    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
108  fi
109done
110
111# Required to use basename.
112if expr a : '\(a\)' >/dev/null 2>&1 &&
113   test "X`expr 00001 : '.*\(...\)'`" = X001; then
114  as_expr=expr
115else
116  as_expr=false
117fi
118
119if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
120  as_basename=basename
121else
122  as_basename=false
123fi
124
125
126# Name of the executable.
127as_me=`$as_basename -- "$0" ||
128$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
129         X"$0" : 'X\(//\)$' \| \
130         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
131echo X/"$0" |
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'`
145
146# CDPATH.
147$as_unset CDPATH
148
149
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
155fi
156
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}
173
174exitcode=0
175if as_func_success; then
176  :
177else
178  exitcode=1
179  echo as_func_success failed.
180fi
181
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=
217    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
218for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  case $as_dir in
223         /*)
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(
322  as_lineno_1=$LINENO
323  as_lineno_2=$LINENO
324  test "x$as_lineno_1" != "x$as_lineno_2" &&
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" || {
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
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.
429  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
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 |
436    sed '
437      s/[$]LINENO.*/&-/
438      t lineno
439      b
440      :lineno
441      N
442      :loop
443      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444      t loop
445      s/-\n.*//
446    ' >$as_me.lineno &&
447  chmod +x "$as_me.lineno" ||
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
453  # original and so on.  Autoconf is especially sensitive to this).
454  . "./$as_me.lineno"
455  # Exit status is that of the last command.
456  exit
457}
458
459
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';;
475esac
476
477if expr a : '\(a\)' >/dev/null 2>&1 &&
478   test "X`expr 00001 : '.*\(...\)'`" = X001; then
479  as_expr=expr
480else
481  as_expr=false
482fi
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486  rm -f conf$$.dir/conf$$.file
487else
488  rm -f conf$$.dir
489  mkdir conf$$.dir
490fi
491echo >conf$$.file
492if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
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
505rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506rmdir conf$$.dir 2>/dev/null
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
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
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'"
531
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
537exec 7<&0 </dev/null 6>&1
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#
547ac_default_prefix=/usr/local
548ac_clean_files=
549ac_config_libobj_dir=.
550LIBOBJS=
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>
593#endif
594#if HAVE_STDINT_H
595# include <stdint.h>
596#endif
597#if HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
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
648XSUBPPDIR
649XSUBPPFLAGS
650INSTALL_PROGRAM
651INSTALL_SCRIPT
652INSTALL_DATA
653subdirs
654LIBOBJS
655LTLIBOBJS'
656ac_subst_files=''
657      ac_precious_vars='build_alias
658host_alias
659target_alias
660CC
661CFLAGS
662LDFLAGS
663CPPFLAGS
664CPP'
665ac_subdirs_all='libfaim'
666
667# Initialize some variables set by options.
668ac_init_help=
669ac_init_version=false
670# The variables have the same names as the options, with
671# dashes changed to underlines.
672cache_file=/dev/null
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
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.
692# (The list follows the same order as the GNU Coding Standards.)
693bindir='${exec_prefix}/bin'
694sbindir='${exec_prefix}/sbin'
695libexecdir='${exec_prefix}/libexec'
696datarootdir='${prefix}/share'
697datadir='${datarootdir}'
698sysconfdir='${prefix}/etc'
699sharedstatedir='${prefix}/com'
700localstatedir='${prefix}/var'
701includedir='${prefix}/include'
702oldincludedir='/usr/include'
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'
712
713ac_prev=
714ac_dashdash=
715for ac_option
716do
717  # If the previous option needs an argument, assign it.
718  if test -n "$ac_prev"; then
719    eval $ac_prev=\$ac_option
720    ac_prev=
721    continue
722  fi
723
724  case $ac_option in
725  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
726  *)    ac_optarg=yes ;;
727  esac
728
729  # Accept the important Cygnus configure options, so we can diagnose typos.
730
731  case $ac_dashdash$ac_option in
732  --)
733    ac_dashdash=yes ;;
734
735  -bindir | --bindir | --bindi | --bind | --bin | --bi)
736    ac_prev=bindir ;;
737  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
738    bindir=$ac_optarg ;;
739
740  -build | --build | --buil | --bui | --bu)
741    ac_prev=build_alias ;;
742  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743    build_alias=$ac_optarg ;;
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=*)
750    cache_file=$ac_optarg ;;
751
752  --config-cache | -C)
753    cache_file=config.cache ;;
754
755  -datadir | --datadir | --datadi | --datad)
756    ac_prev=datadir ;;
757  -datadir=* | --datadir=* | --datadi=* | --datad=*)
758    datadir=$ac_optarg ;;
759
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
767  -disable-* | --disable-*)
768    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769    # Reject names that are not valid shell variable names.
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'`
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 ;;
785
786  -enable-* | --enable-*)
787    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
788    # Reject names that are not valid shell variable names.
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'`
793    eval enable_$ac_feature=\$ac_optarg ;;
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=*)
802    exec_prefix=$ac_optarg ;;
803
804  -gas | --gas | --ga | --g)
805    # Obsolete; use --with-gas.
806    with_gas=yes ;;
807
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 ;;
814
815  -host | --host | --hos | --ho)
816    ac_prev=host_alias ;;
817  -host=* | --host=* | --hos=* | --ho=*)
818    host_alias=$ac_optarg ;;
819
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
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=*)
831    includedir=$ac_optarg ;;
832
833  -infodir | --infodir | --infodi | --infod | --info | --inf)
834    ac_prev=infodir ;;
835  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
836    infodir=$ac_optarg ;;
837
838  -libdir | --libdir | --libdi | --libd)
839    ac_prev=libdir ;;
840  -libdir=* | --libdir=* | --libdi=* | --libd=*)
841    libdir=$ac_optarg ;;
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=*)
848    libexecdir=$ac_optarg ;;
849
850  -localedir | --localedir | --localedi | --localed | --locale)
851    ac_prev=localedir ;;
852  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
853    localedir=$ac_optarg ;;
854
855  -localstatedir | --localstatedir | --localstatedi | --localstated \
856  | --localstate | --localstat | --localsta | --localst | --locals)
857    ac_prev=localstatedir ;;
858  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
859  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
860    localstatedir=$ac_optarg ;;
861
862  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
863    ac_prev=mandir ;;
864  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
865    mandir=$ac_optarg ;;
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 \
872  | --no-cr | --no-c | -n)
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=*)
886    oldincludedir=$ac_optarg ;;
887
888  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
889    ac_prev=prefix ;;
890  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
891    prefix=$ac_optarg ;;
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=*)
898    program_prefix=$ac_optarg ;;
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=*)
905    program_suffix=$ac_optarg ;;
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=*)
922    program_transform_name=$ac_optarg ;;
923
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
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=*)
942    sbindir=$ac_optarg ;;
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=*)
953    sharedstatedir=$ac_optarg ;;
954
955  -site | --site | --sit)
956    ac_prev=site ;;
957  -site=* | --site=* | --sit=*)
958    site=$ac_optarg ;;
959
960  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
961    ac_prev=srcdir ;;
962  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
963    srcdir=$ac_optarg ;;
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=*)
970    sysconfdir=$ac_optarg ;;
971
972  -target | --target | --targe | --targ | --tar | --ta | --t)
973    ac_prev=target_alias ;;
974  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
975    target_alias=$ac_optarg ;;
976
977  -v | -verbose | --verbose | --verbos | --verbo | --verb)
978    verbose=yes ;;
979
980  -version | --version | --versio | --versi | --vers | -V)
981    ac_init_version=: ;;
982
983  -with-* | --with-*)
984    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
985    # Reject names that are not valid shell variable names.
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; }; }
989    ac_package=`echo $ac_package| sed 's/-/_/g'`
990    eval with_$ac_package=\$ac_optarg ;;
991
992  -without-* | --without-*)
993    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
994    # Reject names that are not valid shell variable names.
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'`
999    eval with_$ac_package=no ;;
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=*)
1010    x_includes=$ac_optarg ;;
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=*)
1017    x_libraries=$ac_optarg ;;
1018
1019  -*) { echo "$as_me: error: unrecognized option: $ac_option
1020Try \`$0 --help' for more information." >&2
1021   { (exit 1); exit 1; }; }
1022    ;;
1023
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; }; }
1030    eval $ac_envvar=\$ac_optarg
1031    export $ac_envvar ;;
1032
1033  *)
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}
1039    ;;
1040
1041  esac
1042done
1043
1044if test -n "$ac_prev"; then
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; }; }
1048fi
1049
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
1055do
1056  eval ac_val=\$$ac_var
1057  case $ac_val in
1058    [\\/$]* | ?:[\\/]* )  continue;;
1059    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1060  esac
1061  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1062   { (exit 1); exit 1; }; }
1063done
1064
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
1082
1083ac_tool_prefix=
1084test -n "$host_alias" && ac_tool_prefix=$host_alias-
1085
1086test "$silent" = yes && exec 6>/dev/null
1087
1088
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
1099# Find the source files, if location was not specified.
1100if test -z "$srcdir"; then
1101  ac_srcdir_defaulted=yes
1102  # Try the directory containing this script, then the parent directory.
1103  ac_confdir=`$as_dirname -- "$0" ||
1104$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1105         X"$0" : 'X\(//\)[^/]' \| \
1106         X"$0" : 'X\(//\)$' \| \
1107         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1108echo X"$0" |
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'`
1126  srcdir=$ac_confdir
1127  if test ! -r "$srcdir/$ac_unique_file"; then
1128    srcdir=..
1129  fi
1130else
1131  ac_srcdir_defaulted=no
1132fi
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
1136   { (exit 1); exit 1; }; }
1137fi
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
1141   { (exit 1); exit 1; }; }
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
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]
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]
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>
1235  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1236              you have headers in a nonstandard directory <include dir>
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
1243ac_status=$?
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
1249    test -d "$ac_dir" || continue
1250    ac_builddir=.
1251
1252case "$ac_dir" in
1253.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254*)
1255  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
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
1267
1268case $srcdir in
1269  .)  # We are building in place.
1270    ac_srcdir=.
1271    ac_top_srcdir=$ac_top_builddir_sub
1272    ac_abs_top_srcdir=$ac_pwd ;;
1273  [\\/]* | ?:[\\/]* )  # Absolute name.
1274    ac_srcdir=$srcdir$ac_dir_suffix;
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 ;;
1281esac
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
1292    else
1293      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1294    fi || ac_status=$?
1295    cd "$ac_pwd" || { ac_status=$?; break; }
1296  done
1297fi
1298
1299test -n "$ac_init_help" && exit $ac_status
1300if $ac_init_version; then
1301  cat <<\_ACEOF
1302configure
1303generated by GNU Autoconf 2.60
1304
1305Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13062002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1307This configure script is free software; the Free Software Foundation
1308gives unlimited permission to copy, distribute and modify it.
1309_ACEOF
1310  exit
1311fi
1312cat >config.log <<_ACEOF
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
1317generated by GNU Autoconf 2.60.  Invocation command line was
1318
1319  $ $0 $@
1320
1321_ACEOF
1322exec 5>>config.log
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`
1341/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
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
1355IFS=$as_save_IFS
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 ;;
1387    *\'*)
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
1409      ac_configure_args="$ac_configure_args '$ac_arg'"
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.
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.
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,
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
1449  (set) 2>&1 |
1450    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1451    *${as_nl}ac_space=\ *)
1452      sed -n \
1453        "s/'\''/'\''\\\\'\'''\''/g;
1454          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1455      ;; #(
1456    *)
1457      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1458      ;;
1459    esac |
1460    sort
1461)
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
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'\''"
1477    done | sort
1478    echo
1479
1480    if test -n "$ac_subst_files"; then
1481      cat <<\_ASBOX
1482## ------------------- ##
1483## File substitutions. ##
1484## ------------------- ##
1485_ASBOX
1486      echo
1487      for ac_var in $ac_subst_files
1488      do
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'\''"
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
1505      cat confdefs.h
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
1512  rm -f core *.core core.conftest.* &&
1513    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1514    exit $exit_status
1515' 0
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.
1522rm -f -r conftest* confdefs.h
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
1544
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.
1552# Prefer explicitly selected file to automatically selected ones.
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"
1560fi
1561shift
1562for ac_site_file
1563do
1564  if test -r "$ac_site_file"; then
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
1568    . "$ac_site_file"
1569  fi
1570done
1571
1572if test -r "$cache_file"; then
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
1579      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1580      *)                      . "./$cache_file";;
1581    esac
1582  fi
1583else
1584  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1585echo "$as_me: creating cache $cache_file" >&6;}
1586  >$cache_file
1587fi
1588
1589# Check that the precious variables saved in the cache have kept the same
1590# value.
1591ac_cache_corrupted=false
1592for ac_var in $ac_precious_vars; do
1593  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1594  eval ac_new_set=\$ac_env_${ac_var}_set
1595  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1596  eval ac_new_val=\$ac_env_${ac_var}_value
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
1621    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
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
1628  fi
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; }; }
1636fi
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
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
1659
1660
1661
1662ac_config_headers="$ac_config_headers config.h"
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
1673{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1674echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1675if test "${ac_cv_prog_CC+set}" = set; then
1676  echo $ECHO_N "(cached) $ECHO_C" >&6
1677else
1678  if test -n "$CC"; then
1679  ac_cv_prog_CC="$CC" # Let the user override the test.
1680else
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
1687  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
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
1694IFS=$as_save_IFS
1695
1696fi
1697fi
1698CC=$ac_cv_prog_CC
1699if test -n "$CC"; then
1700  { echo "$as_me:$LINENO: result: $CC" >&5
1701echo "${ECHO_T}$CC" >&6; }
1702else
1703  { echo "$as_me:$LINENO: result: no" >&5
1704echo "${ECHO_T}no" >&6; }
1705fi
1706
1707
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
1713{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1714echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
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
1727  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
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
1734IFS=$as_save_IFS
1735
1736fi
1737fi
1738ac_ct_CC=$ac_cv_prog_ac_ct_CC
1739if test -n "$ac_ct_CC"; then
1740  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1741echo "${ECHO_T}$ac_ct_CC" >&6; }
1742else
1743  { echo "$as_me:$LINENO: result: no" >&5
1744echo "${ECHO_T}no" >&6; }
1745fi
1746
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
1762else
1763  CC="$ac_cv_prog_CC"
1764fi
1765
1766if test -z "$CC"; then
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.
1769set dummy ${ac_tool_prefix}cc; ac_word=$2
1770{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1771echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1772if test "${ac_cv_prog_CC+set}" = set; then
1773  echo $ECHO_N "(cached) $ECHO_C" >&6
1774else
1775  if test -n "$CC"; then
1776  ac_cv_prog_CC="$CC" # Let the user override the test.
1777else
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
1784  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
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
1791IFS=$as_save_IFS
1792
1793fi
1794fi
1795CC=$ac_cv_prog_CC
1796if test -n "$CC"; then
1797  { echo "$as_me:$LINENO: result: $CC" >&5
1798echo "${ECHO_T}$CC" >&6; }
1799else
1800  { echo "$as_me:$LINENO: result: no" >&5
1801echo "${ECHO_T}no" >&6; }
1802fi
1803
1804
1805  fi
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
1810{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1811echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
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
1825  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
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
1836IFS=$as_save_IFS
1837
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
1842  if test $# != 0; then
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
1847    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1848  fi
1849fi
1850fi
1851fi
1852CC=$ac_cv_prog_CC
1853if test -n "$CC"; then
1854  { echo "$as_me:$LINENO: result: $CC" >&5
1855echo "${ECHO_T}$CC" >&6; }
1856else
1857  { echo "$as_me:$LINENO: result: no" >&5
1858echo "${ECHO_T}no" >&6; }
1859fi
1860
1861
1862fi
1863if test -z "$CC"; then
1864  if test -n "$ac_tool_prefix"; then
1865  for ac_prog in cl.exe
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
1869{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1870echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1871if test "${ac_cv_prog_CC+set}" = set; then
1872  echo $ECHO_N "(cached) $ECHO_C" >&6
1873else
1874  if test -n "$CC"; then
1875  ac_cv_prog_CC="$CC" # Let the user override the test.
1876else
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
1883  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
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
1890IFS=$as_save_IFS
1891
1892fi
1893fi
1894CC=$ac_cv_prog_CC
1895if test -n "$CC"; then
1896  { echo "$as_me:$LINENO: result: $CC" >&5
1897echo "${ECHO_T}$CC" >&6; }
1898else
1899  { echo "$as_me:$LINENO: result: no" >&5
1900echo "${ECHO_T}no" >&6; }
1901fi
1902
1903
1904    test -n "$CC" && break
1905  done
1906fi
1907if test -z "$CC"; then
1908  ac_ct_CC=$CC
1909  for ac_prog in cl.exe
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
1913{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1914echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
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
1927  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
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
1931  fi
1932done
1933done
1934IFS=$as_save_IFS
1935
1936fi
1937fi
1938ac_ct_CC=$ac_cv_prog_ac_ct_CC
1939if test -n "$ac_ct_CC"; then
1940  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1941echo "${ECHO_T}$ac_ct_CC" >&6; }
1942else
1943  { echo "$as_me:$LINENO: result: no" >&5
1944echo "${ECHO_T}no" >&6; }
1945fi
1946
1947
1948  test -n "$ac_ct_CC" && break
1949done
1950
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
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.
1978echo "$as_me:$LINENO: checking for C compiler version" >&5
1979ac_compiler=`set X $ac_compile; echo $2`
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
1987  ac_status=$?
1988  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989  (exit $ac_status); }
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
1997  ac_status=$?
1998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999  (exit $ac_status); }
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
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.
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; }
2033ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
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
2060  ac_status=$?
2061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062  (exit $ac_status); }; then
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
2069do
2070  test -f "$ac_file" || continue
2071  case $ac_file in
2072    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2073        ;;
2074    [ab].out )
2075        # We found the default executable, but exeext='' is most
2076        # certainly right.
2077        break;;
2078    *.* )
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.
2088        break;;
2089    * )
2090        break;;
2091  esac
2092done
2093test "$ac_cv_exeext" = no && ac_cv_exeext=
2094
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
2107{ echo "$as_me:$LINENO: result: $ac_file" >&5
2108echo "${ECHO_T}$ac_file" >&6; }
2109
2110# Check that the compiler produces executables we can run.  If not, either
2111# the compiler is broken, or we cross compile.
2112{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2113echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
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'
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
2124  ac_status=$?
2125  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126  (exit $ac_status); }; }; then
2127    cross_compiling=no
2128  else
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
2140  fi
2141fi
2142{ echo "$as_me:$LINENO: result: yes" >&5
2143echo "${ECHO_T}yes" >&6; }
2144
2145rm -f a.out a.exe conftest$ac_cv_exeext b.out
2146ac_clean_files=$ac_clean_files_save
2147# Check that the compiler produces executables we can run.  If not, either
2148# the compiler is broken, or we cross compile.
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
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
2173    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2174    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2175          break;;
2176    * ) break;;
2177  esac
2178done
2179else
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; }; }
2185fi
2186
2187rm -f conftest$ac_cv_exeext
2188{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2189echo "${ECHO_T}$ac_cv_exeext" >&6; }
2190
2191rm -f conftest.$ac_ext
2192EXEEXT=$ac_cv_exeext
2193ac_exeext=$EXEEXT
2194{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2195echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
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
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
2222  ac_status=$?
2223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224  (exit $ac_status); }; then
2225  for ac_file in conftest.o conftest.obj conftest.*; do
2226  test -f "$ac_file" || continue;
2227  case $ac_file in
2228    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
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; }; }
2242fi
2243
2244rm -f conftest.$ac_cv_objext conftest.$ac_ext
2245fi
2246{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2247echo "${ECHO_T}$ac_cv_objext" >&6; }
2248OBJEXT=$ac_cv_objext
2249ac_objext=$OBJEXT
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; }
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
2268
2269  ;
2270  return 0;
2271}
2272_ACEOF
2273rm -f conftest.$ac_objext
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
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); } &&
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
2294  ac_status=$?
2295  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2296  (exit $ac_status); }; } &&
2297         { ac_try='test -s conftest.$ac_objext'
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
2304  ac_status=$?
2305  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306  (exit $ac_status); }; }; then
2307  ac_compiler_gnu=yes
2308else
2309  echo "$as_me: failed program was:" >&5
2310sed 's/^/| /' conftest.$ac_ext >&5
2311
2312        ac_compiler_gnu=no
2313fi
2314
2315rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2316ac_cv_c_compiler_gnu=$ac_compiler_gnu
2317
2318fi
2319{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2320echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2321GCC=`test $ac_compiler_gnu = yes && echo yes`
2322ac_test_CFLAGS=${CFLAGS+set}
2323ac_save_CFLAGS=$CFLAGS
2324{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2325echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2326if test "${ac_cv_prog_cc_g+set}" = set; then
2327  echo $ECHO_N "(cached) $ECHO_C" >&6
2328else
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
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
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
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); } &&
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
2480  ac_status=$?
2481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482  (exit $ac_status); }; } &&
2483         { ac_try='test -s conftest.$ac_objext'
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
2490  ac_status=$?
2491  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492  (exit $ac_status); }; }; then
2493  ac_cv_prog_cc_g=yes
2494else
2495  echo "$as_me: failed program was:" >&5
2496sed 's/^/| /' conftest.$ac_ext >&5
2497
2498
2499fi
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
2509fi
2510{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2511echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2512if test "$ac_test_CFLAGS" = set; then
2513  CFLAGS=$ac_save_CFLAGS
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
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
2530  echo $ECHO_N "(cached) $ECHO_C" >&6
2531else
2532  ac_cv_prog_cc_c89=no
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
2566   as 'x'.  The following induces an error, until -std is added to get
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
2569   that's true only with -std.  */
2570int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2571
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
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
2591for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2592        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2593do
2594  CC="$ac_save_CC $ac_arg"
2595  rm -f conftest.$ac_objext
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
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); } &&
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
2616  ac_status=$?
2617  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618  (exit $ac_status); }; } &&
2619         { ac_try='test -s conftest.$ac_objext'
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
2626  ac_status=$?
2627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2628  (exit $ac_status); }; }; then
2629  ac_cv_prog_cc_c89=$ac_arg
2630else
2631  echo "$as_me: failed program was:" >&5
2632sed 's/^/| /' conftest.$ac_ext >&5
2633
2634
2635fi
2636
2637rm -f core conftest.err conftest.$ac_objext
2638  test "x$ac_cv_prog_cc_c89" != "xno" && break
2639done
2640rm -f conftest.$ac_ext
2641CC=$ac_save_CC
2642
2643fi
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; } ;;
2652  *)
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; } ;;
2656esac
2657
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"
2713cat >conftest.$ac_ext <<_ACEOF
2714/* confdefs.h.  */
2715_ACEOF
2716cat confdefs.h >>conftest.$ac_ext
2717cat >>conftest.$ac_ext <<_ACEOF
2718/* end confdefs.h.  */
2719
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.  */
2723#ifdef __cplusplus
2724extern "C"
2725#endif
2726char initscr ();
2727int
2728main ()
2729{
2730return initscr ();
2731  ;
2732  return 0;
2733}
2734_ACEOF
2735rm -f conftest.$ac_objext conftest$ac_exeext
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
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); } &&
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
2756  ac_status=$?
2757  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758  (exit $ac_status); }; } &&
2759         { ac_try='test -s conftest$ac_exeext'
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
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
2773
2774        ac_cv_lib_ncurses_initscr=no
2775fi
2776
2777rm -f core conftest.err conftest.$ac_objext \
2778      conftest$ac_exeext conftest.$ac_ext
2779LIBS=$ac_check_lib_save_LIBS
2780fi
2781{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
2782echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6; }
2783if test $ac_cv_lib_ncurses_initscr = yes; then
2784  cat >>confdefs.h <<_ACEOF
2785#define HAVE_LIBNCURSES 1
2786_ACEOF
2787
2788  LIBS="-lncurses $LIBS"
2789
2790else
2791
2792{ echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
2793echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6; }
2794if test "${ac_cv_lib_curses_initscr+set}" = set; then
2795  echo $ECHO_N "(cached) $ECHO_C" >&6
2796else
2797  ac_check_lib_save_LIBS=$LIBS
2798LIBS="-lcurses  $LIBS"
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
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.  */
2810#ifdef __cplusplus
2811extern "C"
2812#endif
2813char initscr ();
2814int
2815main ()
2816{
2817return initscr ();
2818  ;
2819  return 0;
2820}
2821_ACEOF
2822rm -f conftest.$ac_objext conftest$ac_exeext
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
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); } &&
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
2843  ac_status=$?
2844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845  (exit $ac_status); }; } &&
2846         { ac_try='test -s conftest$ac_exeext'
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
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
2860
2861        ac_cv_lib_curses_initscr=no
2862fi
2863
2864rm -f core conftest.err conftest.$ac_objext \
2865      conftest$ac_exeext conftest.$ac_ext
2866LIBS=$ac_check_lib_save_LIBS
2867fi
2868{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
2869echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6; }
2870if test $ac_cv_lib_curses_initscr = yes; then
2871  cat >>confdefs.h <<_ACEOF
2872#define HAVE_LIBCURSES 1
2873_ACEOF
2874
2875  LIBS="-lcurses $LIBS"
2876
2877else
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; }; }
2881fi
2882
2883fi
2884
2885{ echo "$as_me:$LINENO: checking for resizeterm" >&5
2886if test $ac_cv_lib_ncurses_initscr = yes; then
2887echo $ECHO_N "checking for resizeterm in -lncurses... $ECHO_C" >&6;
2888else
2889echo $ECHO_N "checking for resizeterm in -lcurses... $ECHO_C" >&6;
2890fi }
2891if test "${ac_cv_lib_curses_resizeterm+set}" = set; then
2892  echo $ECHO_N "(cached) $ECHO_C" >&6
2893else
2894
2895cat >conftest.$ac_ext <<_ACEOF
2896/* confdefs.h.  */
2897_ACEOF
2898cat confdefs.h >>conftest.$ac_ext
2899cat >>conftest.$ac_ext <<_ACEOF
2900/* end confdefs.h.  */
2901
2902/* Override any GCC internal prototype to avoid an error.
2903   Use char because int might match the return type of a GCC
2904   builtin and then its argument prototype would still apply.  */
2905#ifdef __cplusplus
2906extern "C"
2907#endif
2908char resizeterm ();
2909int
2910main ()
2911{
2912return resizeterm ();
2913  ;
2914  return 0;
2915}
2916_ACEOF
2917rm -f conftest.$ac_objext conftest$ac_exeext
2918if { (ac_try="$ac_link"
2919case "(($ac_try" in
2920  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2921  *) ac_try_echo=$ac_try;;
2922esac
2923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2924  (eval "$ac_link") 2>conftest.er1
2925  ac_status=$?
2926  grep -v '^ *+' conftest.er1 >conftest.err
2927  rm -f conftest.er1
2928  cat conftest.err >&5
2929  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930  (exit $ac_status); } &&
2931         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2932  { (case "(($ac_try" in
2933  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2934  *) ac_try_echo=$ac_try;;
2935esac
2936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2937  (eval "$ac_try") 2>&5
2938  ac_status=$?
2939  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940  (exit $ac_status); }; } &&
2941         { ac_try='test -s conftest$ac_exeext'
2942  { (case "(($ac_try" in
2943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944  *) ac_try_echo=$ac_try;;
2945esac
2946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2947  (eval "$ac_try") 2>&5
2948  ac_status=$?
2949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2950  (exit $ac_status); }; }; then
2951  ac_cv_lib_curses_resizeterm=yes
2952else
2953  echo "$as_me: failed program was:" >&5
2954sed 's/^/| /' conftest.$ac_ext >&5
2955
2956        ac_cv_lib_curses_resizeterm=no
2957fi
2958
2959rm -f core conftest.err conftest.$ac_objext \
2960      conftest$ac_exeext conftest.$ac_ext
2961
2962{ echo "$as_me:$LINENO: result: $ac_cv_lib_curses_resizeterm" >&5
2963echo "${ECHO_T}$ac_cv_lib_curses_resizeterm" >&6; }
2964
2965if test $ac_cv_lib_curses_resizeterm = yes; then
2966  cat >>confdefs.h <<_ACEOF
2967#define HAVE_RESIZETERM 1
2968_ACEOF
2969
2970fi
2971
2972fi
2973
2974{ echo "$as_me:$LINENO: checking for com_err in -lcom_err" >&5
2975echo $ECHO_N "checking for com_err in -lcom_err... $ECHO_C" >&6; }
2976if test "${ac_cv_lib_com_err_com_err+set}" = set; then
2977  echo $ECHO_N "(cached) $ECHO_C" >&6
2978else
2979  ac_check_lib_save_LIBS=$LIBS
2980LIBS="-lcom_err  $LIBS"
2981cat >conftest.$ac_ext <<_ACEOF
2982/* confdefs.h.  */
2983_ACEOF
2984cat confdefs.h >>conftest.$ac_ext
2985cat >>conftest.$ac_ext <<_ACEOF
2986/* end confdefs.h.  */
2987
2988/* Override any GCC internal prototype to avoid an error.
2989   Use char because int might match the return type of a GCC
2990   builtin and then its argument prototype would still apply.  */
2991#ifdef __cplusplus
2992extern "C"
2993#endif
2994char com_err ();
2995int
2996main ()
2997{
2998return com_err ();
2999  ;
3000  return 0;
3001}
3002_ACEOF
3003rm -f conftest.$ac_objext conftest$ac_exeext
3004if { (ac_try="$ac_link"
3005case "(($ac_try" in
3006  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007  *) ac_try_echo=$ac_try;;
3008esac
3009eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3010  (eval "$ac_link") 2>conftest.er1
3011  ac_status=$?
3012  grep -v '^ *+' conftest.er1 >conftest.err
3013  rm -f conftest.er1
3014  cat conftest.err >&5
3015  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016  (exit $ac_status); } &&
3017         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3018  { (case "(($ac_try" in
3019  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020  *) ac_try_echo=$ac_try;;
3021esac
3022eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3023  (eval "$ac_try") 2>&5
3024  ac_status=$?
3025  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026  (exit $ac_status); }; } &&
3027         { ac_try='test -s conftest$ac_exeext'
3028  { (case "(($ac_try" in
3029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030  *) ac_try_echo=$ac_try;;
3031esac
3032eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033  (eval "$ac_try") 2>&5
3034  ac_status=$?
3035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036  (exit $ac_status); }; }; then
3037  ac_cv_lib_com_err_com_err=yes
3038else
3039  echo "$as_me: failed program was:" >&5
3040sed 's/^/| /' conftest.$ac_ext >&5
3041
3042        ac_cv_lib_com_err_com_err=no
3043fi
3044
3045rm -f core conftest.err conftest.$ac_objext \
3046      conftest$ac_exeext conftest.$ac_ext
3047LIBS=$ac_check_lib_save_LIBS
3048fi
3049{ echo "$as_me:$LINENO: result: $ac_cv_lib_com_err_com_err" >&5
3050echo "${ECHO_T}$ac_cv_lib_com_err_com_err" >&6; }
3051if test $ac_cv_lib_com_err_com_err = yes; then
3052  cat >>confdefs.h <<_ACEOF
3053#define HAVE_LIBCOM_ERR 1
3054_ACEOF
3055
3056  LIBS="-lcom_err $LIBS"
3057
3058fi
3059
3060
3061{ echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3062echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
3063if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3064  echo $ECHO_N "(cached) $ECHO_C" >&6
3065else
3066  ac_check_lib_save_LIBS=$LIBS
3067LIBS="-lnsl  $LIBS"
3068cat >conftest.$ac_ext <<_ACEOF
3069/* confdefs.h.  */
3070_ACEOF
3071cat confdefs.h >>conftest.$ac_ext
3072cat >>conftest.$ac_ext <<_ACEOF
3073/* end confdefs.h.  */
3074
3075/* Override any GCC internal prototype to avoid an error.
3076   Use char because int might match the return type of a GCC
3077   builtin and then its argument prototype would still apply.  */
3078#ifdef __cplusplus
3079extern "C"
3080#endif
3081char gethostbyname ();
3082int
3083main ()
3084{
3085return gethostbyname ();
3086  ;
3087  return 0;
3088}
3089_ACEOF
3090rm -f conftest.$ac_objext conftest$ac_exeext
3091if { (ac_try="$ac_link"
3092case "(($ac_try" in
3093  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094  *) ac_try_echo=$ac_try;;
3095esac
3096eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3097  (eval "$ac_link") 2>conftest.er1
3098  ac_status=$?
3099  grep -v '^ *+' conftest.er1 >conftest.err
3100  rm -f conftest.er1
3101  cat conftest.err >&5
3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103  (exit $ac_status); } &&
3104         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3105  { (case "(($ac_try" in
3106  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3107  *) ac_try_echo=$ac_try;;
3108esac
3109eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3110  (eval "$ac_try") 2>&5
3111  ac_status=$?
3112  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113  (exit $ac_status); }; } &&
3114         { ac_try='test -s conftest$ac_exeext'
3115  { (case "(($ac_try" in
3116  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117  *) ac_try_echo=$ac_try;;
3118esac
3119eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120  (eval "$ac_try") 2>&5
3121  ac_status=$?
3122  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123  (exit $ac_status); }; }; then
3124  ac_cv_lib_nsl_gethostbyname=yes
3125else
3126  echo "$as_me: failed program was:" >&5
3127sed 's/^/| /' conftest.$ac_ext >&5
3128
3129        ac_cv_lib_nsl_gethostbyname=no
3130fi
3131
3132rm -f core conftest.err conftest.$ac_objext \
3133      conftest$ac_exeext conftest.$ac_ext
3134LIBS=$ac_check_lib_save_LIBS
3135fi
3136{ echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3137echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
3138if test $ac_cv_lib_nsl_gethostbyname = yes; then
3139  cat >>confdefs.h <<_ACEOF
3140#define HAVE_LIBNSL 1
3141_ACEOF
3142
3143  LIBS="-lnsl $LIBS"
3144
3145fi
3146
3147
3148{ echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3149echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
3150if test "${ac_cv_lib_socket_socket+set}" = set; then
3151  echo $ECHO_N "(cached) $ECHO_C" >&6
3152else
3153  ac_check_lib_save_LIBS=$LIBS
3154LIBS="-lsocket  $LIBS"
3155cat >conftest.$ac_ext <<_ACEOF
3156/* confdefs.h.  */
3157_ACEOF
3158cat confdefs.h >>conftest.$ac_ext
3159cat >>conftest.$ac_ext <<_ACEOF
3160/* end confdefs.h.  */
3161
3162/* Override any GCC internal prototype to avoid an error.
3163   Use char because int might match the return type of a GCC
3164   builtin and then its argument prototype would still apply.  */
3165#ifdef __cplusplus
3166extern "C"
3167#endif
3168char socket ();
3169int
3170main ()
3171{
3172return socket ();
3173  ;
3174  return 0;
3175}
3176_ACEOF
3177rm -f conftest.$ac_objext conftest$ac_exeext
3178if { (ac_try="$ac_link"
3179case "(($ac_try" in
3180  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3181  *) ac_try_echo=$ac_try;;
3182esac
3183eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3184  (eval "$ac_link") 2>conftest.er1
3185  ac_status=$?
3186  grep -v '^ *+' conftest.er1 >conftest.err
3187  rm -f conftest.er1
3188  cat conftest.err >&5
3189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190  (exit $ac_status); } &&
3191         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3192  { (case "(($ac_try" in
3193  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194  *) ac_try_echo=$ac_try;;
3195esac
3196eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197  (eval "$ac_try") 2>&5
3198  ac_status=$?
3199  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200  (exit $ac_status); }; } &&
3201         { ac_try='test -s conftest$ac_exeext'
3202  { (case "(($ac_try" in
3203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3204  *) ac_try_echo=$ac_try;;
3205esac
3206eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3207  (eval "$ac_try") 2>&5
3208  ac_status=$?
3209  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210  (exit $ac_status); }; }; then
3211  ac_cv_lib_socket_socket=yes
3212else
3213  echo "$as_me: failed program was:" >&5
3214sed 's/^/| /' conftest.$ac_ext >&5
3215
3216        ac_cv_lib_socket_socket=no
3217fi
3218
3219rm -f core conftest.err conftest.$ac_objext \
3220      conftest$ac_exeext conftest.$ac_ext
3221LIBS=$ac_check_lib_save_LIBS
3222fi
3223{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3224echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
3225if test $ac_cv_lib_socket_socket = yes; then
3226  cat >>confdefs.h <<_ACEOF
3227#define HAVE_LIBSOCKET 1
3228_ACEOF
3229
3230  LIBS="-lsocket $LIBS"
3231
3232fi
3233
3234
3235{ echo "$as_me:$LINENO: checking for krb5_derive_key in -lk5crypto" >&5
3236echo $ECHO_N "checking for krb5_derive_key in -lk5crypto... $ECHO_C" >&6; }
3237if test "${ac_cv_lib_k5crypto_krb5_derive_key+set}" = set; then
3238  echo $ECHO_N "(cached) $ECHO_C" >&6
3239else
3240  ac_check_lib_save_LIBS=$LIBS
3241LIBS="-lk5crypto  $LIBS"
3242cat >conftest.$ac_ext <<_ACEOF
3243/* confdefs.h.  */
3244_ACEOF
3245cat confdefs.h >>conftest.$ac_ext
3246cat >>conftest.$ac_ext <<_ACEOF
3247/* end confdefs.h.  */
3248
3249/* Override any GCC internal prototype to avoid an error.
3250   Use char because int might match the return type of a GCC
3251   builtin and then its argument prototype would still apply.  */
3252#ifdef __cplusplus
3253extern "C"
3254#endif
3255char krb5_derive_key ();
3256int
3257main ()
3258{
3259return krb5_derive_key ();
3260  ;
3261  return 0;
3262}
3263_ACEOF
3264rm -f conftest.$ac_objext conftest$ac_exeext
3265if { (ac_try="$ac_link"
3266case "(($ac_try" in
3267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268  *) ac_try_echo=$ac_try;;
3269esac
3270eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271  (eval "$ac_link") 2>conftest.er1
3272  ac_status=$?
3273  grep -v '^ *+' conftest.er1 >conftest.err
3274  rm -f conftest.er1
3275  cat conftest.err >&5
3276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277  (exit $ac_status); } &&
3278         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3279  { (case "(($ac_try" in
3280  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3281  *) ac_try_echo=$ac_try;;
3282esac
3283eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3284  (eval "$ac_try") 2>&5
3285  ac_status=$?
3286  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287  (exit $ac_status); }; } &&
3288         { ac_try='test -s conftest$ac_exeext'
3289  { (case "(($ac_try" in
3290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291  *) ac_try_echo=$ac_try;;
3292esac
3293eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294  (eval "$ac_try") 2>&5
3295  ac_status=$?
3296  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297  (exit $ac_status); }; }; then
3298  ac_cv_lib_k5crypto_krb5_derive_key=yes
3299else
3300  echo "$as_me: failed program was:" >&5
3301sed 's/^/| /' conftest.$ac_ext >&5
3302
3303        ac_cv_lib_k5crypto_krb5_derive_key=no
3304fi
3305
3306rm -f core conftest.err conftest.$ac_objext \
3307      conftest$ac_exeext conftest.$ac_ext
3308LIBS=$ac_check_lib_save_LIBS
3309fi
3310{ echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_krb5_derive_key" >&5
3311echo "${ECHO_T}$ac_cv_lib_k5crypto_krb5_derive_key" >&6; }
3312if test $ac_cv_lib_k5crypto_krb5_derive_key = yes; then
3313  cat >>confdefs.h <<_ACEOF
3314#define HAVE_LIBK5CRYPTO 1
3315_ACEOF
3316
3317  LIBS="-lk5crypto $LIBS"
3318
3319fi
3320
3321
3322{ echo "$as_me:$LINENO: checking for des_cbc_encrypt in -ldes425" >&5
3323echo $ECHO_N "checking for des_cbc_encrypt in -ldes425... $ECHO_C" >&6; }
3324if test "${ac_cv_lib_des425_des_cbc_encrypt+set}" = set; then
3325  echo $ECHO_N "(cached) $ECHO_C" >&6
3326else
3327  ac_check_lib_save_LIBS=$LIBS
3328LIBS="-ldes425  $LIBS"
3329cat >conftest.$ac_ext <<_ACEOF
3330/* confdefs.h.  */
3331_ACEOF
3332cat confdefs.h >>conftest.$ac_ext
3333cat >>conftest.$ac_ext <<_ACEOF
3334/* end confdefs.h.  */
3335
3336/* Override any GCC internal prototype to avoid an error.
3337   Use char because int might match the return type of a GCC
3338   builtin and then its argument prototype would still apply.  */
3339#ifdef __cplusplus
3340extern "C"
3341#endif
3342char des_cbc_encrypt ();
3343int
3344main ()
3345{
3346return des_cbc_encrypt ();
3347  ;
3348  return 0;
3349}
3350_ACEOF
3351rm -f conftest.$ac_objext conftest$ac_exeext
3352if { (ac_try="$ac_link"
3353case "(($ac_try" in
3354  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3355  *) ac_try_echo=$ac_try;;
3356esac
3357eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3358  (eval "$ac_link") 2>conftest.er1
3359  ac_status=$?
3360  grep -v '^ *+' conftest.er1 >conftest.err
3361  rm -f conftest.er1
3362  cat conftest.err >&5
3363  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3364  (exit $ac_status); } &&
3365         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3366  { (case "(($ac_try" in
3367  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3368  *) ac_try_echo=$ac_try;;
3369esac
3370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3371  (eval "$ac_try") 2>&5
3372  ac_status=$?
3373  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374  (exit $ac_status); }; } &&
3375         { ac_try='test -s conftest$ac_exeext'
3376  { (case "(($ac_try" in
3377  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378  *) ac_try_echo=$ac_try;;
3379esac
3380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3381  (eval "$ac_try") 2>&5
3382  ac_status=$?
3383  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3384  (exit $ac_status); }; }; then
3385  ac_cv_lib_des425_des_cbc_encrypt=yes
3386else
3387  echo "$as_me: failed program was:" >&5
3388sed 's/^/| /' conftest.$ac_ext >&5
3389
3390        ac_cv_lib_des425_des_cbc_encrypt=no
3391fi
3392
3393rm -f core conftest.err conftest.$ac_objext \
3394      conftest$ac_exeext conftest.$ac_ext
3395LIBS=$ac_check_lib_save_LIBS
3396fi
3397{ echo "$as_me:$LINENO: result: $ac_cv_lib_des425_des_cbc_encrypt" >&5
3398echo "${ECHO_T}$ac_cv_lib_des425_des_cbc_encrypt" >&6; }
3399if test $ac_cv_lib_des425_des_cbc_encrypt = yes; then
3400  cat >>confdefs.h <<_ACEOF
3401#define HAVE_LIBDES425 1
3402_ACEOF
3403
3404  LIBS="-ldes425 $LIBS"
3405
3406fi
3407
3408
3409{ echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3410echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6; }
3411if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3412  echo $ECHO_N "(cached) $ECHO_C" >&6
3413else
3414  ac_check_lib_save_LIBS=$LIBS
3415LIBS="-lresolv  $LIBS"
3416cat >conftest.$ac_ext <<_ACEOF
3417/* confdefs.h.  */
3418_ACEOF
3419cat confdefs.h >>conftest.$ac_ext
3420cat >>conftest.$ac_ext <<_ACEOF
3421/* end confdefs.h.  */
3422
3423/* Override any GCC internal prototype to avoid an error.
3424   Use char because int might match the return type of a GCC
3425   builtin and then its argument prototype would still apply.  */
3426#ifdef __cplusplus
3427extern "C"
3428#endif
3429char res_search ();
3430int
3431main ()
3432{
3433return res_search ();
3434  ;
3435  return 0;
3436}
3437_ACEOF
3438rm -f conftest.$ac_objext conftest$ac_exeext
3439if { (ac_try="$ac_link"
3440case "(($ac_try" in
3441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3442  *) ac_try_echo=$ac_try;;
3443esac
3444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3445  (eval "$ac_link") 2>conftest.er1
3446  ac_status=$?
3447  grep -v '^ *+' conftest.er1 >conftest.err
3448  rm -f conftest.er1
3449  cat conftest.err >&5
3450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451  (exit $ac_status); } &&
3452         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3453  { (case "(($ac_try" in
3454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455  *) ac_try_echo=$ac_try;;
3456esac
3457eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3458  (eval "$ac_try") 2>&5
3459  ac_status=$?
3460  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461  (exit $ac_status); }; } &&
3462         { ac_try='test -s conftest$ac_exeext'
3463  { (case "(($ac_try" in
3464  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465  *) ac_try_echo=$ac_try;;
3466esac
3467eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3468  (eval "$ac_try") 2>&5
3469  ac_status=$?
3470  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471  (exit $ac_status); }; }; then
3472  ac_cv_lib_resolv_res_search=yes
3473else
3474  echo "$as_me: failed program was:" >&5
3475sed 's/^/| /' conftest.$ac_ext >&5
3476
3477        ac_cv_lib_resolv_res_search=no
3478fi
3479
3480rm -f core conftest.err conftest.$ac_objext \
3481      conftest$ac_exeext conftest.$ac_ext
3482LIBS=$ac_check_lib_save_LIBS
3483fi
3484{ echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3485echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6; }
3486if test $ac_cv_lib_resolv_res_search = yes; then
3487  cat >>confdefs.h <<_ACEOF
3488#define HAVE_LIBRESOLV 1
3489_ACEOF
3490
3491  LIBS="-lresolv $LIBS"
3492
3493fi
3494
3495
3496{ echo "$as_me:$LINENO: checking for krb5_get_credentials in -lkrb5" >&5
3497echo $ECHO_N "checking for krb5_get_credentials in -lkrb5... $ECHO_C" >&6; }
3498if test "${ac_cv_lib_krb5_krb5_get_credentials+set}" = set; then
3499  echo $ECHO_N "(cached) $ECHO_C" >&6
3500else
3501  ac_check_lib_save_LIBS=$LIBS
3502LIBS="-lkrb5  $LIBS"
3503cat >conftest.$ac_ext <<_ACEOF
3504/* confdefs.h.  */
3505_ACEOF
3506cat confdefs.h >>conftest.$ac_ext
3507cat >>conftest.$ac_ext <<_ACEOF
3508/* end confdefs.h.  */
3509
3510/* Override any GCC internal prototype to avoid an error.
3511   Use char because int might match the return type of a GCC
3512   builtin and then its argument prototype would still apply.  */
3513#ifdef __cplusplus
3514extern "C"
3515#endif
3516char krb5_get_credentials ();
3517int
3518main ()
3519{
3520return krb5_get_credentials ();
3521  ;
3522  return 0;
3523}
3524_ACEOF
3525rm -f conftest.$ac_objext conftest$ac_exeext
3526if { (ac_try="$ac_link"
3527case "(($ac_try" in
3528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529  *) ac_try_echo=$ac_try;;
3530esac
3531eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532  (eval "$ac_link") 2>conftest.er1
3533  ac_status=$?
3534  grep -v '^ *+' conftest.er1 >conftest.err
3535  rm -f conftest.er1
3536  cat conftest.err >&5
3537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538  (exit $ac_status); } &&
3539         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3540  { (case "(($ac_try" in
3541  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3542  *) ac_try_echo=$ac_try;;
3543esac
3544eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3545  (eval "$ac_try") 2>&5
3546  ac_status=$?
3547  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548  (exit $ac_status); }; } &&
3549         { ac_try='test -s conftest$ac_exeext'
3550  { (case "(($ac_try" in
3551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552  *) ac_try_echo=$ac_try;;
3553esac
3554eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3555  (eval "$ac_try") 2>&5
3556  ac_status=$?
3557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558  (exit $ac_status); }; }; then
3559  ac_cv_lib_krb5_krb5_get_credentials=yes
3560else
3561  echo "$as_me: failed program was:" >&5
3562sed 's/^/| /' conftest.$ac_ext >&5
3563
3564        ac_cv_lib_krb5_krb5_get_credentials=no
3565fi
3566
3567rm -f core conftest.err conftest.$ac_objext \
3568      conftest$ac_exeext conftest.$ac_ext
3569LIBS=$ac_check_lib_save_LIBS
3570fi
3571{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb5_krb5_get_credentials" >&5
3572echo "${ECHO_T}$ac_cv_lib_krb5_krb5_get_credentials" >&6; }
3573if test $ac_cv_lib_krb5_krb5_get_credentials = yes; then
3574  cat >>confdefs.h <<_ACEOF
3575#define HAVE_LIBKRB5 1
3576_ACEOF
3577
3578  LIBS="-lkrb5 $LIBS"
3579
3580fi
3581
3582
3583{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb4" >&5
3584echo $ECHO_N "checking for krb_sendauth in -lkrb4... $ECHO_C" >&6; }
3585if test "${ac_cv_lib_krb4_krb_sendauth+set}" = set; then
3586  echo $ECHO_N "(cached) $ECHO_C" >&6
3587else
3588  ac_check_lib_save_LIBS=$LIBS
3589LIBS="-lkrb4  $LIBS"
3590cat >conftest.$ac_ext <<_ACEOF
3591/* confdefs.h.  */
3592_ACEOF
3593cat confdefs.h >>conftest.$ac_ext
3594cat >>conftest.$ac_ext <<_ACEOF
3595/* end confdefs.h.  */
3596
3597/* Override any GCC internal prototype to avoid an error.
3598   Use char because int might match the return type of a GCC
3599   builtin and then its argument prototype would still apply.  */
3600#ifdef __cplusplus
3601extern "C"
3602#endif
3603char krb_sendauth ();
3604int
3605main ()
3606{
3607return krb_sendauth ();
3608  ;
3609  return 0;
3610}
3611_ACEOF
3612rm -f conftest.$ac_objext conftest$ac_exeext
3613if { (ac_try="$ac_link"
3614case "(($ac_try" in
3615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3616  *) ac_try_echo=$ac_try;;
3617esac
3618eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3619  (eval "$ac_link") 2>conftest.er1
3620  ac_status=$?
3621  grep -v '^ *+' conftest.er1 >conftest.err
3622  rm -f conftest.er1
3623  cat conftest.err >&5
3624  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625  (exit $ac_status); } &&
3626         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3627  { (case "(($ac_try" in
3628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629  *) ac_try_echo=$ac_try;;
3630esac
3631eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3632  (eval "$ac_try") 2>&5
3633  ac_status=$?
3634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635  (exit $ac_status); }; } &&
3636         { ac_try='test -s conftest$ac_exeext'
3637  { (case "(($ac_try" in
3638  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3639  *) ac_try_echo=$ac_try;;
3640esac
3641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3642  (eval "$ac_try") 2>&5
3643  ac_status=$?
3644  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645  (exit $ac_status); }; }; then
3646  ac_cv_lib_krb4_krb_sendauth=yes
3647else
3648  echo "$as_me: failed program was:" >&5
3649sed 's/^/| /' conftest.$ac_ext >&5
3650
3651        ac_cv_lib_krb4_krb_sendauth=no
3652fi
3653
3654rm -f core conftest.err conftest.$ac_objext \
3655      conftest$ac_exeext conftest.$ac_ext
3656LIBS=$ac_check_lib_save_LIBS
3657fi
3658{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_sendauth" >&5
3659echo "${ECHO_T}$ac_cv_lib_krb4_krb_sendauth" >&6; }
3660if test $ac_cv_lib_krb4_krb_sendauth = yes; then
3661  cat >>confdefs.h <<_ACEOF
3662#define HAVE_LIBKRB4 1
3663_ACEOF
3664
3665  LIBS="-lkrb4 $LIBS"
3666
3667else
3668
3669{ echo "$as_me:$LINENO: checking for krb_sendauth in -lkrb" >&5
3670echo $ECHO_N "checking for krb_sendauth in -lkrb... $ECHO_C" >&6; }
3671if test "${ac_cv_lib_krb_krb_sendauth+set}" = set; then
3672  echo $ECHO_N "(cached) $ECHO_C" >&6
3673else
3674  ac_check_lib_save_LIBS=$LIBS
3675LIBS="-lkrb  $LIBS"
3676cat >conftest.$ac_ext <<_ACEOF
3677/* confdefs.h.  */
3678_ACEOF
3679cat confdefs.h >>conftest.$ac_ext
3680cat >>conftest.$ac_ext <<_ACEOF
3681/* end confdefs.h.  */
3682
3683/* Override any GCC internal prototype to avoid an error.
3684   Use char because int might match the return type of a GCC
3685   builtin and then its argument prototype would still apply.  */
3686#ifdef __cplusplus
3687extern "C"
3688#endif
3689char krb_sendauth ();
3690int
3691main ()
3692{
3693return krb_sendauth ();
3694  ;
3695  return 0;
3696}
3697_ACEOF
3698rm -f conftest.$ac_objext conftest$ac_exeext
3699if { (ac_try="$ac_link"
3700case "(($ac_try" in
3701  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702  *) ac_try_echo=$ac_try;;
3703esac
3704eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3705  (eval "$ac_link") 2>conftest.er1
3706  ac_status=$?
3707  grep -v '^ *+' conftest.er1 >conftest.err
3708  rm -f conftest.er1
3709  cat conftest.err >&5
3710  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711  (exit $ac_status); } &&
3712         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3713  { (case "(($ac_try" in
3714  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715  *) ac_try_echo=$ac_try;;
3716esac
3717eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3718  (eval "$ac_try") 2>&5
3719  ac_status=$?
3720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721  (exit $ac_status); }; } &&
3722         { ac_try='test -s conftest$ac_exeext'
3723  { (case "(($ac_try" in
3724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725  *) ac_try_echo=$ac_try;;
3726esac
3727eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3728  (eval "$ac_try") 2>&5
3729  ac_status=$?
3730  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731  (exit $ac_status); }; }; then
3732  ac_cv_lib_krb_krb_sendauth=yes
3733else
3734  echo "$as_me: failed program was:" >&5
3735sed 's/^/| /' conftest.$ac_ext >&5
3736
3737        ac_cv_lib_krb_krb_sendauth=no
3738fi
3739
3740rm -f core conftest.err conftest.$ac_objext \
3741      conftest$ac_exeext conftest.$ac_ext
3742LIBS=$ac_check_lib_save_LIBS
3743fi
3744{ echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_sendauth" >&5
3745echo "${ECHO_T}$ac_cv_lib_krb_krb_sendauth" >&6; }
3746if test $ac_cv_lib_krb_krb_sendauth = yes; then
3747  cat >>confdefs.h <<_ACEOF
3748#define HAVE_LIBKRB 1
3749_ACEOF
3750
3751  LIBS="-lkrb $LIBS"
3752
3753fi
3754
3755fi
3756
3757
3758{ echo "$as_me:$LINENO: checking for ZGetSender in -lzephyr" >&5
3759echo $ECHO_N "checking for ZGetSender in -lzephyr... $ECHO_C" >&6; }
3760if test "${ac_cv_lib_zephyr_ZGetSender+set}" = set; then
3761  echo $ECHO_N "(cached) $ECHO_C" >&6
3762else
3763  ac_check_lib_save_LIBS=$LIBS
3764LIBS="-lzephyr  $LIBS"
3765cat >conftest.$ac_ext <<_ACEOF
3766/* confdefs.h.  */
3767_ACEOF
3768cat confdefs.h >>conftest.$ac_ext
3769cat >>conftest.$ac_ext <<_ACEOF
3770/* end confdefs.h.  */
3771
3772/* Override any GCC internal prototype to avoid an error.
3773   Use char because int might match the return type of a GCC
3774   builtin and then its argument prototype would still apply.  */
3775#ifdef __cplusplus
3776extern "C"
3777#endif
3778char ZGetSender ();
3779int
3780main ()
3781{
3782return ZGetSender ();
3783  ;
3784  return 0;
3785}
3786_ACEOF
3787rm -f conftest.$ac_objext conftest$ac_exeext
3788if { (ac_try="$ac_link"
3789case "(($ac_try" in
3790  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3791  *) ac_try_echo=$ac_try;;
3792esac
3793eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3794  (eval "$ac_link") 2>conftest.er1
3795  ac_status=$?
3796  grep -v '^ *+' conftest.er1 >conftest.err
3797  rm -f conftest.er1
3798  cat conftest.err >&5
3799  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800  (exit $ac_status); } &&
3801         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3802  { (case "(($ac_try" in
3803  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3804  *) ac_try_echo=$ac_try;;
3805esac
3806eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3807  (eval "$ac_try") 2>&5
3808  ac_status=$?
3809  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810  (exit $ac_status); }; } &&
3811         { ac_try='test -s conftest$ac_exeext'
3812  { (case "(($ac_try" in
3813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814  *) ac_try_echo=$ac_try;;
3815esac
3816eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3817  (eval "$ac_try") 2>&5
3818  ac_status=$?
3819  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820  (exit $ac_status); }; }; then
3821  ac_cv_lib_zephyr_ZGetSender=yes
3822else
3823  echo "$as_me: failed program was:" >&5
3824sed 's/^/| /' conftest.$ac_ext >&5
3825
3826        ac_cv_lib_zephyr_ZGetSender=no
3827fi
3828
3829rm -f core conftest.err conftest.$ac_objext \
3830      conftest$ac_exeext conftest.$ac_ext
3831LIBS=$ac_check_lib_save_LIBS
3832fi
3833{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZGetSender" >&5
3834echo "${ECHO_T}$ac_cv_lib_zephyr_ZGetSender" >&6; }
3835if test $ac_cv_lib_zephyr_ZGetSender = yes; then
3836  cat >>confdefs.h <<_ACEOF
3837#define HAVE_LIBZEPHYR 1
3838_ACEOF
3839
3840  LIBS="-lzephyr $LIBS"
3841
3842fi
3843
3844{ echo "$as_me:$LINENO: checking for ZInitLocationInfo in -lzephyr" >&5
3845echo $ECHO_N "checking for ZInitLocationInfo in -lzephyr... $ECHO_C" >&6; }
3846if test "${ac_cv_lib_zephyr_ZInitLocationInfo+set}" = set; then
3847  echo $ECHO_N "(cached) $ECHO_C" >&6
3848else
3849  ac_check_lib_save_LIBS=$LIBS
3850LIBS="-lzephyr  $LIBS"
3851cat >conftest.$ac_ext <<_ACEOF
3852/* confdefs.h.  */
3853_ACEOF
3854cat confdefs.h >>conftest.$ac_ext
3855cat >>conftest.$ac_ext <<_ACEOF
3856/* end confdefs.h.  */
3857
3858/* Override any GCC internal prototype to avoid an error.
3859   Use char because int might match the return type of a GCC
3860   builtin and then its argument prototype would still apply.  */
3861#ifdef __cplusplus
3862extern "C"
3863#endif
3864char ZInitLocationInfo ();
3865int
3866main ()
3867{
3868return ZInitLocationInfo ();
3869  ;
3870  return 0;
3871}
3872_ACEOF
3873rm -f conftest.$ac_objext conftest$ac_exeext
3874if { (ac_try="$ac_link"
3875case "(($ac_try" in
3876  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877  *) ac_try_echo=$ac_try;;
3878esac
3879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3880  (eval "$ac_link") 2>conftest.er1
3881  ac_status=$?
3882  grep -v '^ *+' conftest.er1 >conftest.err
3883  rm -f conftest.er1
3884  cat conftest.err >&5
3885  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886  (exit $ac_status); } &&
3887         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3888  { (case "(($ac_try" in
3889  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3890  *) ac_try_echo=$ac_try;;
3891esac
3892eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3893  (eval "$ac_try") 2>&5
3894  ac_status=$?
3895  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896  (exit $ac_status); }; } &&
3897         { ac_try='test -s conftest$ac_exeext'
3898  { (case "(($ac_try" in
3899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3900  *) ac_try_echo=$ac_try;;
3901esac
3902eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3903  (eval "$ac_try") 2>&5
3904  ac_status=$?
3905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906  (exit $ac_status); }; }; then
3907  ac_cv_lib_zephyr_ZInitLocationInfo=yes
3908else
3909  echo "$as_me: failed program was:" >&5
3910sed 's/^/| /' conftest.$ac_ext >&5
3911
3912        ac_cv_lib_zephyr_ZInitLocationInfo=no
3913fi
3914
3915rm -f core conftest.err conftest.$ac_objext \
3916      conftest$ac_exeext conftest.$ac_ext
3917LIBS=$ac_check_lib_save_LIBS
3918fi
3919{ echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitLocationInfo" >&5
3920echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitLocationInfo" >&6; }
3921if test $ac_cv_lib_zephyr_ZInitLocationInfo = yes; then
3922
3923cat >>confdefs.h <<\_ACEOF
3924#define HAVE_LIBZEPHYR_ZINITLOCATIONINFO
3925_ACEOF
3926
3927fi
3928
3929
3930
3931
3932
3933
3934for ac_func in use_default_colors des_string_to_key des_key_sched des_ecb_encrypt
3935do
3936as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3937{ echo "$as_me:$LINENO: checking for $ac_func" >&5
3938echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
3939if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
3940  echo $ECHO_N "(cached) $ECHO_C" >&6
3941else
3942  cat >conftest.$ac_ext <<_ACEOF
3943/* confdefs.h.  */
3944_ACEOF
3945cat confdefs.h >>conftest.$ac_ext
3946cat >>conftest.$ac_ext <<_ACEOF
3947/* end confdefs.h.  */
3948/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3949   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3950#define $ac_func innocuous_$ac_func
3951
3952/* System header to define __stub macros and hopefully few prototypes,
3953    which can conflict with char $ac_func (); below.
3954    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3955    <limits.h> exists even on freestanding compilers.  */
3956
3957#ifdef __STDC__
3958# include <limits.h>
3959#else
3960# include <assert.h>
3961#endif
3962
3963#undef $ac_func
3964
3965/* Override any GCC internal prototype to avoid an error.
3966   Use char because int might match the return type of a GCC
3967   builtin and then its argument prototype would still apply.  */
3968#ifdef __cplusplus
3969extern "C"
3970#endif
3971char $ac_func ();
3972/* The GNU C library defines this for functions which it implements
3973    to always fail with ENOSYS.  Some functions are actually named
3974    something starting with __ and the normal name is an alias.  */
3975#if defined __stub_$ac_func || defined __stub___$ac_func
3976choke me
3977#endif
3978
3979int
3980main ()
3981{
3982return $ac_func ();
3983  ;
3984  return 0;
3985}
3986_ACEOF
3987rm -f conftest.$ac_objext conftest$ac_exeext
3988if { (ac_try="$ac_link"
3989case "(($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_link") 2>conftest.er1
3995  ac_status=$?
3996  grep -v '^ *+' conftest.er1 >conftest.err
3997  rm -f conftest.er1
3998  cat conftest.err >&5
3999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000  (exit $ac_status); } &&
4001         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4002  { (case "(($ac_try" in
4003  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004  *) ac_try_echo=$ac_try;;
4005esac
4006eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007  (eval "$ac_try") 2>&5
4008  ac_status=$?
4009  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010  (exit $ac_status); }; } &&
4011         { ac_try='test -s conftest$ac_exeext'
4012  { (case "(($ac_try" in
4013  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014  *) ac_try_echo=$ac_try;;
4015esac
4016eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4017  (eval "$ac_try") 2>&5
4018  ac_status=$?
4019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020  (exit $ac_status); }; }; then
4021  eval "$as_ac_var=yes"
4022else
4023  echo "$as_me: failed program was:" >&5
4024sed 's/^/| /' conftest.$ac_ext >&5
4025
4026        eval "$as_ac_var=no"
4027fi
4028
4029rm -f core conftest.err conftest.$ac_objext \
4030      conftest$ac_exeext conftest.$ac_ext
4031fi
4032ac_res=`eval echo '${'$as_ac_var'}'`
4033               { echo "$as_me:$LINENO: result: $ac_res" >&5
4034echo "${ECHO_T}$ac_res" >&6; }
4035if test `eval echo '${'$as_ac_var'}'` = yes; then
4036  cat >>confdefs.h <<_ACEOF
4037#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4038_ACEOF
4039
4040fi
4041done
4042
4043
4044{ echo "$as_me:$LINENO: checking for des_ecb_encrypt prototype" >&5
4045echo $ECHO_N "checking for des_ecb_encrypt prototype... $ECHO_C" >&6; }
4046cat >conftest.$ac_ext <<_ACEOF
4047/* confdefs.h.  */
4048_ACEOF
4049cat confdefs.h >>conftest.$ac_ext
4050cat >>conftest.$ac_ext <<_ACEOF
4051/* end confdefs.h.  */
4052#include <des.h>
4053int des_ecb_encrypt(char foo[], char bar[], des_key_schedule baz, int qux);
4054int
4055main ()
4056{
4057int foo = des_ecb_encrypt(0,0,0,0);
4058  ;
4059  return 0;
4060}
4061_ACEOF
4062rm -f conftest.$ac_objext
4063if { (ac_try="$ac_compile"
4064case "(($ac_try" in
4065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4066  *) ac_try_echo=$ac_try;;
4067esac
4068eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4069  (eval "$ac_compile") 2>conftest.er1
4070  ac_status=$?
4071  grep -v '^ *+' conftest.er1 >conftest.err
4072  rm -f conftest.er1
4073  cat conftest.err >&5
4074  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4075  (exit $ac_status); } &&
4076         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4077  { (case "(($ac_try" in
4078  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079  *) ac_try_echo=$ac_try;;
4080esac
4081eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4082  (eval "$ac_try") 2>&5
4083  ac_status=$?
4084  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085  (exit $ac_status); }; } &&
4086         { ac_try='test -s conftest.$ac_objext'
4087  { (case "(($ac_try" in
4088  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089  *) ac_try_echo=$ac_try;;
4090esac
4091eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4092  (eval "$ac_try") 2>&5
4093  ac_status=$?
4094  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095  (exit $ac_status); }; }; then
4096  ac_cv_des_ecb_encrypt_proto=no
4097else
4098  echo "$as_me: failed program was:" >&5
4099sed 's/^/| /' conftest.$ac_ext >&5
4100
4101        ac_cv_des_ecb_encrypt_proto=yes
4102fi
4103
4104rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4105{ echo "$as_me:$LINENO: result: $ac_cv_des_ecb_encrypt_proto" >&5
4106echo "${ECHO_T}$ac_cv_des_ecb_encrypt_proto" >&6; }
4107if test "$ac_cv_des_ecb_encrypt_proto" = yes; then
4108
4109cat >>confdefs.h <<\_ACEOF
4110#define HAVE_DES_ECB_ENCRYPT_PROTO
4111_ACEOF
4112
4113fi
4114
4115ac_ext=c
4116ac_cpp='$CPP $CPPFLAGS'
4117ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4118ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4119ac_compiler_gnu=$ac_cv_c_compiler_gnu
4120{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4121echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4122# On Suns, sometimes $CPP names a directory.
4123if test -n "$CPP" && test -d "$CPP"; then
4124  CPP=
4125fi
4126if test -z "$CPP"; then
4127  if test "${ac_cv_prog_CPP+set}" = set; then
4128  echo $ECHO_N "(cached) $ECHO_C" >&6
4129else
4130      # Double quotes because CPP needs to be expanded
4131    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4132    do
4133      ac_preproc_ok=false
4134for ac_c_preproc_warn_flag in '' yes
4135do
4136  # Use a header file that comes with gcc, so configuring glibc
4137  # with a fresh cross-compiler works.
4138  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4139  # <limits.h> exists even on freestanding compilers.
4140  # On the NeXT, cc -E runs the code through the compiler's parser,
4141  # not just through cpp. "Syntax error" is here to catch this case.
4142  cat >conftest.$ac_ext <<_ACEOF
4143/* confdefs.h.  */
4144_ACEOF
4145cat confdefs.h >>conftest.$ac_ext
4146cat >>conftest.$ac_ext <<_ACEOF
4147/* end confdefs.h.  */
4148#ifdef __STDC__
4149# include <limits.h>
4150#else
4151# include <assert.h>
4152#endif
4153                     Syntax error
4154_ACEOF
4155if { (ac_try="$ac_cpp conftest.$ac_ext"
4156case "(($ac_try" in
4157  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158  *) ac_try_echo=$ac_try;;
4159esac
4160eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4161  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4162  ac_status=$?
4163  grep -v '^ *+' conftest.er1 >conftest.err
4164  rm -f conftest.er1
4165  cat conftest.err >&5
4166  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167  (exit $ac_status); } >/dev/null; then
4168  if test -s conftest.err; then
4169    ac_cpp_err=$ac_c_preproc_warn_flag
4170    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4171  else
4172    ac_cpp_err=
4173  fi
4174else
4175  ac_cpp_err=yes
4176fi
4177if test -z "$ac_cpp_err"; then
4178  :
4179else
4180  echo "$as_me: failed program was:" >&5
4181sed 's/^/| /' conftest.$ac_ext >&5
4182
4183  # Broken: fails on valid input.
4184continue
4185fi
4186
4187rm -f conftest.err conftest.$ac_ext
4188
4189  # OK, works on sane cases.  Now check whether nonexistent headers
4190  # can be detected and how.
4191  cat >conftest.$ac_ext <<_ACEOF
4192/* confdefs.h.  */
4193_ACEOF
4194cat confdefs.h >>conftest.$ac_ext
4195cat >>conftest.$ac_ext <<_ACEOF
4196/* end confdefs.h.  */
4197#include <ac_nonexistent.h>
4198_ACEOF
4199if { (ac_try="$ac_cpp conftest.$ac_ext"
4200case "(($ac_try" in
4201  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4202  *) ac_try_echo=$ac_try;;
4203esac
4204eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4205  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4206  ac_status=$?
4207  grep -v '^ *+' conftest.er1 >conftest.err
4208  rm -f conftest.er1
4209  cat conftest.err >&5
4210  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211  (exit $ac_status); } >/dev/null; then
4212  if test -s conftest.err; then
4213    ac_cpp_err=$ac_c_preproc_warn_flag
4214    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4215  else
4216    ac_cpp_err=
4217  fi
4218else
4219  ac_cpp_err=yes
4220fi
4221if test -z "$ac_cpp_err"; then
4222  # Broken: success on invalid input.
4223continue
4224else
4225  echo "$as_me: failed program was:" >&5
4226sed 's/^/| /' conftest.$ac_ext >&5
4227
4228  # Passes both tests.
4229ac_preproc_ok=:
4230break
4231fi
4232
4233rm -f conftest.err conftest.$ac_ext
4234
4235done
4236# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4237rm -f conftest.err conftest.$ac_ext
4238if $ac_preproc_ok; then
4239  break
4240fi
4241
4242    done
4243    ac_cv_prog_CPP=$CPP
4244
4245fi
4246  CPP=$ac_cv_prog_CPP
4247else
4248  ac_cv_prog_CPP=$CPP
4249fi
4250{ echo "$as_me:$LINENO: result: $CPP" >&5
4251echo "${ECHO_T}$CPP" >&6; }
4252ac_preproc_ok=false
4253for ac_c_preproc_warn_flag in '' yes
4254do
4255  # Use a header file that comes with gcc, so configuring glibc
4256  # with a fresh cross-compiler works.
4257  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4258  # <limits.h> exists even on freestanding compilers.
4259  # On the NeXT, cc -E runs the code through the compiler's parser,
4260  # not just through cpp. "Syntax error" is here to catch this case.
4261  cat >conftest.$ac_ext <<_ACEOF
4262/* confdefs.h.  */
4263_ACEOF
4264cat confdefs.h >>conftest.$ac_ext
4265cat >>conftest.$ac_ext <<_ACEOF
4266/* end confdefs.h.  */
4267#ifdef __STDC__
4268# include <limits.h>
4269#else
4270# include <assert.h>
4271#endif
4272                     Syntax error
4273_ACEOF
4274if { (ac_try="$ac_cpp conftest.$ac_ext"
4275case "(($ac_try" in
4276  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4277  *) ac_try_echo=$ac_try;;
4278esac
4279eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4280  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4281  ac_status=$?
4282  grep -v '^ *+' conftest.er1 >conftest.err
4283  rm -f conftest.er1
4284  cat conftest.err >&5
4285  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4286  (exit $ac_status); } >/dev/null; then
4287  if test -s conftest.err; then
4288    ac_cpp_err=$ac_c_preproc_warn_flag
4289    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4290  else
4291    ac_cpp_err=
4292  fi
4293else
4294  ac_cpp_err=yes
4295fi
4296if test -z "$ac_cpp_err"; then
4297  :
4298else
4299  echo "$as_me: failed program was:" >&5
4300sed 's/^/| /' conftest.$ac_ext >&5
4301
4302  # Broken: fails on valid input.
4303continue
4304fi
4305
4306rm -f conftest.err conftest.$ac_ext
4307
4308  # OK, works on sane cases.  Now check whether nonexistent headers
4309  # can be detected and how.
4310  cat >conftest.$ac_ext <<_ACEOF
4311/* confdefs.h.  */
4312_ACEOF
4313cat confdefs.h >>conftest.$ac_ext
4314cat >>conftest.$ac_ext <<_ACEOF
4315/* end confdefs.h.  */
4316#include <ac_nonexistent.h>
4317_ACEOF
4318if { (ac_try="$ac_cpp conftest.$ac_ext"
4319case "(($ac_try" in
4320  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4321  *) ac_try_echo=$ac_try;;
4322esac
4323eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4324  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4325  ac_status=$?
4326  grep -v '^ *+' conftest.er1 >conftest.err
4327  rm -f conftest.er1
4328  cat conftest.err >&5
4329  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330  (exit $ac_status); } >/dev/null; then
4331  if test -s conftest.err; then
4332    ac_cpp_err=$ac_c_preproc_warn_flag
4333    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4334  else
4335    ac_cpp_err=
4336  fi
4337else
4338  ac_cpp_err=yes
4339fi
4340if test -z "$ac_cpp_err"; then
4341  # Broken: success on invalid input.
4342continue
4343else
4344  echo "$as_me: failed program was:" >&5
4345sed 's/^/| /' conftest.$ac_ext >&5
4346
4347  # Passes both tests.
4348ac_preproc_ok=:
4349break
4350fi
4351
4352rm -f conftest.err conftest.$ac_ext
4353
4354done
4355# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4356rm -f conftest.err conftest.$ac_ext
4357if $ac_preproc_ok; then
4358  :
4359else
4360  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4361See \`config.log' for more details." >&5
4362echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4363See \`config.log' for more details." >&2;}
4364   { (exit 1); exit 1; }; }
4365fi
4366
4367ac_ext=c
4368ac_cpp='$CPP $CPPFLAGS'
4369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4371ac_compiler_gnu=$ac_cv_c_compiler_gnu
4372
4373
4374{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4375echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4376if test "${ac_cv_path_GREP+set}" = set; then
4377  echo $ECHO_N "(cached) $ECHO_C" >&6
4378else
4379  # Extract the first word of "grep ggrep" to use in msg output
4380if test -z "$GREP"; then
4381set dummy grep ggrep; ac_prog_name=$2
4382if test "${ac_cv_path_GREP+set}" = set; then
4383  echo $ECHO_N "(cached) $ECHO_C" >&6
4384else
4385  ac_path_GREP_found=false
4386# Loop through the user's path and test for each of PROGNAME-LIST
4387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4388for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4389do
4390  IFS=$as_save_IFS
4391  test -z "$as_dir" && as_dir=.
4392  for ac_prog in grep ggrep; do
4393  for ac_exec_ext in '' $ac_executable_extensions; do
4394    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4395    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4396    # Check for GNU ac_path_GREP and select it if it is found.
4397  # Check for GNU $ac_path_GREP
4398case `"$ac_path_GREP" --version 2>&1` in
4399*GNU*)
4400  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4401*)
4402  ac_count=0
4403  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4404  while :
4405  do
4406    cat "conftest.in" "conftest.in" >"conftest.tmp"
4407    mv "conftest.tmp" "conftest.in"
4408    cp "conftest.in" "conftest.nl"
4409    echo 'GREP' >> "conftest.nl"
4410    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4411    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4412    ac_count=`expr $ac_count + 1`
4413    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4414      # Best one so far, save it but keep looking for a better one
4415      ac_cv_path_GREP="$ac_path_GREP"
4416      ac_path_GREP_max=$ac_count
4417    fi
4418    # 10*(2^10) chars as input seems more than enough
4419    test $ac_count -gt 10 && break
4420  done
4421  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4422esac
4423
4424
4425    $ac_path_GREP_found && break 3
4426  done
4427done
4428
4429done
4430IFS=$as_save_IFS
4431
4432
4433fi
4434
4435GREP="$ac_cv_path_GREP"
4436if test -z "$GREP"; then
4437  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4438echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4439   { (exit 1); exit 1; }; }
4440fi
4441
4442else
4443  ac_cv_path_GREP=$GREP
4444fi
4445
4446
4447fi
4448{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4449echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4450 GREP="$ac_cv_path_GREP"
4451
4452
4453{ echo "$as_me:$LINENO: checking for egrep" >&5
4454echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4455if test "${ac_cv_path_EGREP+set}" = set; then
4456  echo $ECHO_N "(cached) $ECHO_C" >&6
4457else
4458  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4459   then ac_cv_path_EGREP="$GREP -E"
4460   else
4461     # Extract the first word of "egrep" to use in msg output
4462if test -z "$EGREP"; then
4463set dummy egrep; ac_prog_name=$2
4464if test "${ac_cv_path_EGREP+set}" = set; then
4465  echo $ECHO_N "(cached) $ECHO_C" >&6
4466else
4467  ac_path_EGREP_found=false
4468# Loop through the user's path and test for each of PROGNAME-LIST
4469as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4470for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4471do
4472  IFS=$as_save_IFS
4473  test -z "$as_dir" && as_dir=.
4474  for ac_prog in egrep; do
4475  for ac_exec_ext in '' $ac_executable_extensions; do
4476    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4477    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4478    # Check for GNU ac_path_EGREP and select it if it is found.
4479  # Check for GNU $ac_path_EGREP
4480case `"$ac_path_EGREP" --version 2>&1` in
4481*GNU*)
4482  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4483*)
4484  ac_count=0
4485  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4486  while :
4487  do
4488    cat "conftest.in" "conftest.in" >"conftest.tmp"
4489    mv "conftest.tmp" "conftest.in"
4490    cp "conftest.in" "conftest.nl"
4491    echo 'EGREP' >> "conftest.nl"
4492    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4493    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4494    ac_count=`expr $ac_count + 1`
4495    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4496      # Best one so far, save it but keep looking for a better one
4497      ac_cv_path_EGREP="$ac_path_EGREP"
4498      ac_path_EGREP_max=$ac_count
4499    fi
4500    # 10*(2^10) chars as input seems more than enough
4501    test $ac_count -gt 10 && break
4502  done
4503  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4504esac
4505
4506
4507    $ac_path_EGREP_found && break 3
4508  done
4509done
4510
4511done
4512IFS=$as_save_IFS
4513
4514
4515fi
4516
4517EGREP="$ac_cv_path_EGREP"
4518if test -z "$EGREP"; then
4519  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4520echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4521   { (exit 1); exit 1; }; }
4522fi
4523
4524else
4525  ac_cv_path_EGREP=$EGREP
4526fi
4527
4528
4529   fi
4530fi
4531{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4532echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4533 EGREP="$ac_cv_path_EGREP"
4534
4535
4536{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4537echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4538if test "${ac_cv_header_stdc+set}" = set; then
4539  echo $ECHO_N "(cached) $ECHO_C" >&6
4540else
4541  cat >conftest.$ac_ext <<_ACEOF
4542/* confdefs.h.  */
4543_ACEOF
4544cat confdefs.h >>conftest.$ac_ext
4545cat >>conftest.$ac_ext <<_ACEOF
4546/* end confdefs.h.  */
4547#include <stdlib.h>
4548#include <stdarg.h>
4549#include <string.h>
4550#include <float.h>
4551
4552int
4553main ()
4554{
4555
4556  ;
4557  return 0;
4558}
4559_ACEOF
4560rm -f conftest.$ac_objext
4561if { (ac_try="$ac_compile"
4562case "(($ac_try" in
4563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4564  *) ac_try_echo=$ac_try;;
4565esac
4566eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4567  (eval "$ac_compile") 2>conftest.er1
4568  ac_status=$?
4569  grep -v '^ *+' conftest.er1 >conftest.err
4570  rm -f conftest.er1
4571  cat conftest.err >&5
4572  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573  (exit $ac_status); } &&
4574         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4575  { (case "(($ac_try" in
4576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4577  *) ac_try_echo=$ac_try;;
4578esac
4579eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4580  (eval "$ac_try") 2>&5
4581  ac_status=$?
4582  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583  (exit $ac_status); }; } &&
4584         { ac_try='test -s conftest.$ac_objext'
4585  { (case "(($ac_try" in
4586  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4587  *) ac_try_echo=$ac_try;;
4588esac
4589eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4590  (eval "$ac_try") 2>&5
4591  ac_status=$?
4592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4593  (exit $ac_status); }; }; then
4594  ac_cv_header_stdc=yes
4595else
4596  echo "$as_me: failed program was:" >&5
4597sed 's/^/| /' conftest.$ac_ext >&5
4598
4599        ac_cv_header_stdc=no
4600fi
4601
4602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4603
4604if test $ac_cv_header_stdc = yes; then
4605  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4606  cat >conftest.$ac_ext <<_ACEOF
4607/* confdefs.h.  */
4608_ACEOF
4609cat confdefs.h >>conftest.$ac_ext
4610cat >>conftest.$ac_ext <<_ACEOF
4611/* end confdefs.h.  */
4612#include <string.h>
4613
4614_ACEOF
4615if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4616  $EGREP "memchr" >/dev/null 2>&1; then
4617  :
4618else
4619  ac_cv_header_stdc=no
4620fi
4621rm -f conftest*
4622
4623fi
4624
4625if test $ac_cv_header_stdc = yes; then
4626  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4627  cat >conftest.$ac_ext <<_ACEOF
4628/* confdefs.h.  */
4629_ACEOF
4630cat confdefs.h >>conftest.$ac_ext
4631cat >>conftest.$ac_ext <<_ACEOF
4632/* end confdefs.h.  */
4633#include <stdlib.h>
4634
4635_ACEOF
4636if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4637  $EGREP "free" >/dev/null 2>&1; then
4638  :
4639else
4640  ac_cv_header_stdc=no
4641fi
4642rm -f conftest*
4643
4644fi
4645
4646if test $ac_cv_header_stdc = yes; then
4647  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4648  if test "$cross_compiling" = yes; then
4649  :
4650else
4651  cat >conftest.$ac_ext <<_ACEOF
4652/* confdefs.h.  */
4653_ACEOF
4654cat confdefs.h >>conftest.$ac_ext
4655cat >>conftest.$ac_ext <<_ACEOF
4656/* end confdefs.h.  */
4657#include <ctype.h>
4658#include <stdlib.h>
4659#if ((' ' & 0x0FF) == 0x020)
4660# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4661# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4662#else
4663# define ISLOWER(c) \
4664                   (('a' <= (c) && (c) <= 'i') \
4665                     || ('j' <= (c) && (c) <= 'r') \
4666                     || ('s' <= (c) && (c) <= 'z'))
4667# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4668#endif
4669
4670#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4671int
4672main ()
4673{
4674  int i;
4675  for (i = 0; i < 256; i++)
4676    if (XOR (islower (i), ISLOWER (i))
4677        || toupper (i) != TOUPPER (i))
4678      return 2;
4679  return 0;
4680}
4681_ACEOF
4682rm -f conftest$ac_exeext
4683if { (ac_try="$ac_link"
4684case "(($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_link") 2>&5
4690  ac_status=$?
4691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4693  { (case "(($ac_try" in
4694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4695  *) ac_try_echo=$ac_try;;
4696esac
4697eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4698  (eval "$ac_try") 2>&5
4699  ac_status=$?
4700  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701  (exit $ac_status); }; }; then
4702  :
4703else
4704  echo "$as_me: program exited with status $ac_status" >&5
4705echo "$as_me: failed program was:" >&5
4706sed 's/^/| /' conftest.$ac_ext >&5
4707
4708( exit $ac_status )
4709ac_cv_header_stdc=no
4710fi
4711rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4712fi
4713
4714
4715fi
4716fi
4717{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4718echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4719if test $ac_cv_header_stdc = yes; then
4720
4721cat >>confdefs.h <<\_ACEOF
4722#define STDC_HEADERS 1
4723_ACEOF
4724
4725fi
4726
4727{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4728echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
4729if test "${ac_cv_header_sys_wait_h+set}" = set; then
4730  echo $ECHO_N "(cached) $ECHO_C" >&6
4731else
4732  cat >conftest.$ac_ext <<_ACEOF
4733/* confdefs.h.  */
4734_ACEOF
4735cat confdefs.h >>conftest.$ac_ext
4736cat >>conftest.$ac_ext <<_ACEOF
4737/* end confdefs.h.  */
4738#include <sys/types.h>
4739#include <sys/wait.h>
4740#ifndef WEXITSTATUS
4741# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4742#endif
4743#ifndef WIFEXITED
4744# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4745#endif
4746
4747int
4748main ()
4749{
4750  int s;
4751  wait (&s);
4752  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4753  ;
4754  return 0;
4755}
4756_ACEOF
4757rm -f conftest.$ac_objext
4758if { (ac_try="$ac_compile"
4759case "(($ac_try" in
4760  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761  *) ac_try_echo=$ac_try;;
4762esac
4763eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4764  (eval "$ac_compile") 2>conftest.er1
4765  ac_status=$?
4766  grep -v '^ *+' conftest.er1 >conftest.err
4767  rm -f conftest.er1
4768  cat conftest.err >&5
4769  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770  (exit $ac_status); } &&
4771         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4772  { (case "(($ac_try" in
4773  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4774  *) ac_try_echo=$ac_try;;
4775esac
4776eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4777  (eval "$ac_try") 2>&5
4778  ac_status=$?
4779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780  (exit $ac_status); }; } &&
4781         { ac_try='test -s conftest.$ac_objext'
4782  { (case "(($ac_try" in
4783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4784  *) ac_try_echo=$ac_try;;
4785esac
4786eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4787  (eval "$ac_try") 2>&5
4788  ac_status=$?
4789  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790  (exit $ac_status); }; }; then
4791  ac_cv_header_sys_wait_h=yes
4792else
4793  echo "$as_me: failed program was:" >&5
4794sed 's/^/| /' conftest.$ac_ext >&5
4795
4796        ac_cv_header_sys_wait_h=no
4797fi
4798
4799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4800fi
4801{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
4802echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
4803if test $ac_cv_header_sys_wait_h = yes; then
4804
4805cat >>confdefs.h <<\_ACEOF
4806#define HAVE_SYS_WAIT_H 1
4807_ACEOF
4808
4809fi
4810
4811# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4822                  inttypes.h stdint.h unistd.h
4823do
4824as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4825{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4826echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4827if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4828  echo $ECHO_N "(cached) $ECHO_C" >&6
4829else
4830  cat >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
4838#include <$ac_header>
4839_ACEOF
4840rm -f conftest.$ac_objext
4841if { (ac_try="$ac_compile"
4842case "(($ac_try" in
4843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4844  *) ac_try_echo=$ac_try;;
4845esac
4846eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4847  (eval "$ac_compile") 2>conftest.er1
4848  ac_status=$?
4849  grep -v '^ *+' conftest.er1 >conftest.err
4850  rm -f conftest.er1
4851  cat conftest.err >&5
4852  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853  (exit $ac_status); } &&
4854         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4855  { (case "(($ac_try" in
4856  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4857  *) ac_try_echo=$ac_try;;
4858esac
4859eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4860  (eval "$ac_try") 2>&5
4861  ac_status=$?
4862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4863  (exit $ac_status); }; } &&
4864         { ac_try='test -s conftest.$ac_objext'
4865  { (case "(($ac_try" in
4866  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4867  *) ac_try_echo=$ac_try;;
4868esac
4869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4870  (eval "$ac_try") 2>&5
4871  ac_status=$?
4872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873  (exit $ac_status); }; }; then
4874  eval "$as_ac_Header=yes"
4875else
4876  echo "$as_me: failed program was:" >&5
4877sed 's/^/| /' conftest.$ac_ext >&5
4878
4879        eval "$as_ac_Header=no"
4880fi
4881
4882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883fi
4884ac_res=`eval echo '${'$as_ac_Header'}'`
4885               { echo "$as_me:$LINENO: result: $ac_res" >&5
4886echo "${ECHO_T}$ac_res" >&6; }
4887if test `eval echo '${'$as_ac_Header'}'` = yes; then
4888  cat >>confdefs.h <<_ACEOF
4889#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4890_ACEOF
4891
4892fi
4893
4894done
4895
4896
4897
4898
4899
4900
4901
4902for ac_header in strings.h sys/ioctl.h sys/filio.h unistd.h com_err.h
4903do
4904as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4905if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4906  { echo "$as_me:$LINENO: checking for $ac_header" >&5
4907echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4908if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4909  echo $ECHO_N "(cached) $ECHO_C" >&6
4910fi
4911ac_res=`eval echo '${'$as_ac_Header'}'`
4912               { echo "$as_me:$LINENO: result: $ac_res" >&5
4913echo "${ECHO_T}$ac_res" >&6; }
4914else
4915  # Is the header compilable?
4916{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4917echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4918cat >conftest.$ac_ext <<_ACEOF
4919/* confdefs.h.  */
4920_ACEOF
4921cat confdefs.h >>conftest.$ac_ext
4922cat >>conftest.$ac_ext <<_ACEOF
4923/* end confdefs.h.  */
4924$ac_includes_default
4925#include <$ac_header>
4926_ACEOF
4927rm -f conftest.$ac_objext
4928if { (ac_try="$ac_compile"
4929case "(($ac_try" in
4930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4931  *) ac_try_echo=$ac_try;;
4932esac
4933eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4934  (eval "$ac_compile") 2>conftest.er1
4935  ac_status=$?
4936  grep -v '^ *+' conftest.er1 >conftest.err
4937  rm -f conftest.er1
4938  cat conftest.err >&5
4939  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940  (exit $ac_status); } &&
4941         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4942  { (case "(($ac_try" in
4943  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4944  *) ac_try_echo=$ac_try;;
4945esac
4946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4947  (eval "$ac_try") 2>&5
4948  ac_status=$?
4949  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4950  (exit $ac_status); }; } &&
4951         { ac_try='test -s conftest.$ac_objext'
4952  { (case "(($ac_try" in
4953  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4954  *) ac_try_echo=$ac_try;;
4955esac
4956eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4957  (eval "$ac_try") 2>&5
4958  ac_status=$?
4959  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960  (exit $ac_status); }; }; then
4961  ac_header_compiler=yes
4962else
4963  echo "$as_me: failed program was:" >&5
4964sed 's/^/| /' conftest.$ac_ext >&5
4965
4966        ac_header_compiler=no
4967fi
4968
4969rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4971echo "${ECHO_T}$ac_header_compiler" >&6; }
4972
4973# Is the header present?
4974{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4975echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4976cat >conftest.$ac_ext <<_ACEOF
4977/* confdefs.h.  */
4978_ACEOF
4979cat confdefs.h >>conftest.$ac_ext
4980cat >>conftest.$ac_ext <<_ACEOF
4981/* end confdefs.h.  */
4982#include <$ac_header>
4983_ACEOF
4984if { (ac_try="$ac_cpp conftest.$ac_ext"
4985case "(($ac_try" in
4986  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4987  *) ac_try_echo=$ac_try;;
4988esac
4989eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4990  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4991  ac_status=$?
4992  grep -v '^ *+' conftest.er1 >conftest.err
4993  rm -f conftest.er1
4994  cat conftest.err >&5
4995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996  (exit $ac_status); } >/dev/null; then
4997  if test -s conftest.err; then
4998    ac_cpp_err=$ac_c_preproc_warn_flag
4999    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5000  else
5001    ac_cpp_err=
5002  fi
5003else
5004  ac_cpp_err=yes
5005fi
5006if test -z "$ac_cpp_err"; then
5007  ac_header_preproc=yes
5008else
5009  echo "$as_me: failed program was:" >&5
5010sed 's/^/| /' conftest.$ac_ext >&5
5011
5012  ac_header_preproc=no
5013fi
5014
5015rm -f conftest.err conftest.$ac_ext
5016{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5017echo "${ECHO_T}$ac_header_preproc" >&6; }
5018
5019# So?  What about this header?
5020case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5021  yes:no: )
5022    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5023echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5024    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5025echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5026    ac_header_preproc=yes
5027    ;;
5028  no:yes:* )
5029    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5030echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5031    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5032echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5033    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5034echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5035    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5036echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5037    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5038echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5039    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5040echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5041
5042    ;;
5043esac
5044{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5045echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5046if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5047  echo $ECHO_N "(cached) $ECHO_C" >&6
5048else
5049  eval "$as_ac_Header=\$ac_header_preproc"
5050fi
5051ac_res=`eval echo '${'$as_ac_Header'}'`
5052               { echo "$as_me:$LINENO: result: $ac_res" >&5
5053echo "${ECHO_T}$ac_res" >&6; }
5054
5055fi
5056if test `eval echo '${'$as_ac_Header'}'` = yes; then
5057  cat >>confdefs.h <<_ACEOF
5058#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5059_ACEOF
5060
5061fi
5062
5063done
5064
5065
5066FOO=`perl -MExtUtils::Embed -e ccopts`
5067echo Adding perl CFLAGS ${FOO}
5068CFLAGS=${CFLAGS}\ ${FOO}
5069
5070{ echo "$as_me:$LINENO: checking for the perl xsubpp precompiler" >&5
5071echo $ECHO_N "checking for the perl xsubpp precompiler... $ECHO_C" >&6; }
5072XSUBPPDIR="`(perl -MExtUtils::MakeMaker -e 'print ExtUtils::MakeMaker->new({NAME => qw(owl)})->tool_xsubpp;') | grep \^XSUBPPDIR | sed -e 's/XSUBPPDIR = //g;'`"
5073if test -n "${XSUBPPDIR}"; then
5074   { echo "$as_me:$LINENO: result: ${XSUBPPDIR}" >&5
5075echo "${ECHO_T}${XSUBPPDIR}" >&6; }
5076else
5077   { { echo "$as_me:$LINENO: error: not found" >&5
5078echo "$as_me: error: not found" >&2;}
5079   { (exit 1); exit 1; }; }
5080fi
5081
5082if test -f "${XSUBPPDIR}/typemap"; then
5083   XSUBPPFLAGS="-typemap ${XSUBPPDIR}/typemap"
5084else
5085   XSUBPPFLAGS=""
5086fi
5087
5088FOO=`perl -MExtUtils::Embed -e ldopts | sed 's/,-E//' | sed 's/-liconv//'`
5089echo Adding perl LDFLAGS ${FOO}
5090LDFLAGS=${LDFLAGS}\ ${FOO}
5091
5092{ echo "$as_me:$LINENO: checking for /usr/share/terminfo" >&5
5093echo $ECHO_N "checking for /usr/share/terminfo... $ECHO_C" >&6; }
5094if test "${ac_cv_file__usr_share_terminfo+set}" = set; then
5095  echo $ECHO_N "(cached) $ECHO_C" >&6
5096else
5097  test "$cross_compiling" = yes &&
5098  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5099echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5100   { (exit 1); exit 1; }; }
5101if test -r "/usr/share/terminfo"; then
5102  ac_cv_file__usr_share_terminfo=yes
5103else
5104  ac_cv_file__usr_share_terminfo=no
5105fi
5106fi
5107{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_terminfo" >&5
5108echo "${ECHO_T}$ac_cv_file__usr_share_terminfo" >&6; }
5109if test $ac_cv_file__usr_share_terminfo = yes; then
5110
5111cat >>confdefs.h <<\_ACEOF
5112#define TERMINFO "/usr/share/terminfo"
5113_ACEOF
5114
5115else
5116  { echo "$as_me:$LINENO: checking for /usr/share/lib/terminfo" >&5
5117echo $ECHO_N "checking for /usr/share/lib/terminfo... $ECHO_C" >&6; }
5118if test "${ac_cv_file__usr_share_lib_terminfo+set}" = set; then
5119  echo $ECHO_N "(cached) $ECHO_C" >&6
5120else
5121  test "$cross_compiling" = yes &&
5122  { { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
5123echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
5124   { (exit 1); exit 1; }; }
5125if test -r "/usr/share/lib/terminfo"; then
5126  ac_cv_file__usr_share_lib_terminfo=yes
5127else
5128  ac_cv_file__usr_share_lib_terminfo=no
5129fi
5130fi
5131{ echo "$as_me:$LINENO: result: $ac_cv_file__usr_share_lib_terminfo" >&5
5132echo "${ECHO_T}$ac_cv_file__usr_share_lib_terminfo" >&6; }
5133if test $ac_cv_file__usr_share_lib_terminfo = yes; then
5134
5135cat >>confdefs.h <<\_ACEOF
5136#define TERMINFO "/usr/share/lib/terminfo"
5137_ACEOF
5138
5139else
5140  { { echo "$as_me:$LINENO: error: No terminfo found for this system" >&5
5141echo "$as_me: error: No terminfo found for this system" >&2;}
5142   { (exit 1); exit 1; }; }
5143fi
5144
5145fi
5146
5147
5148
5149
5150
5151ac_aux_dir=
5152for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
5153  if test -f "$ac_dir/install-sh"; then
5154    ac_aux_dir=$ac_dir
5155    ac_install_sh="$ac_aux_dir/install-sh -c"
5156    break
5157  elif test -f "$ac_dir/install.sh"; then
5158    ac_aux_dir=$ac_dir
5159    ac_install_sh="$ac_aux_dir/install.sh -c"
5160    break
5161  elif test -f "$ac_dir/shtool"; then
5162    ac_aux_dir=$ac_dir
5163    ac_install_sh="$ac_aux_dir/shtool install -c"
5164    break
5165  fi
5166done
5167if test -z "$ac_aux_dir"; then
5168  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
5169echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
5170   { (exit 1); exit 1; }; }
5171fi
5172
5173# These three variables are undocumented and unsupported,
5174# and are intended to be withdrawn in a future Autoconf release.
5175# They can cause serious problems if a builder's source tree is in a directory
5176# whose full name contains unusual characters.
5177ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
5178ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
5179ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
5180
5181
5182# Find a good install program.  We prefer a C program (faster),
5183# so one script is as good as another.  But avoid the broken or
5184# incompatible versions:
5185# SysV /etc/install, /usr/sbin/install
5186# SunOS /usr/etc/install
5187# IRIX /sbin/install
5188# AIX /bin/install
5189# AmigaOS /C/install, which installs bootblocks on floppy discs
5190# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5191# AFS /usr/afsws/bin/install, which mishandles nonexistent args
5192# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5193# OS/2's system install, which has a completely different semantic
5194# ./install, which can be erroneously created by make from ./install.sh.
5195{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5196echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5197if test -z "$INSTALL"; then
5198if test "${ac_cv_path_install+set}" = set; then
5199  echo $ECHO_N "(cached) $ECHO_C" >&6
5200else
5201  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5202for as_dir in $PATH
5203do
5204  IFS=$as_save_IFS
5205  test -z "$as_dir" && as_dir=.
5206  # Account for people who put trailing slashes in PATH elements.
5207case $as_dir/ in
5208  ./ | .// | /cC/* | \
5209  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5210  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5211  /usr/ucb/* ) ;;
5212  *)
5213    # OSF1 and SCO ODT 3.0 have their own names for install.
5214    # Don't use installbsd from OSF since it installs stuff as root
5215    # by default.
5216    for ac_prog in ginstall scoinst install; do
5217      for ac_exec_ext in '' $ac_executable_extensions; do
5218        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
5219          if test $ac_prog = install &&
5220            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5221            # AIX install.  It has an incompatible calling convention.
5222            :
5223          elif test $ac_prog = install &&
5224            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5225            # program-specific install script used by HP pwplus--don't use.
5226            :
5227          else
5228            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5229            break 3
5230          fi
5231        fi
5232      done
5233    done
5234    ;;
5235esac
5236done
5237IFS=$as_save_IFS
5238
5239
5240fi
5241  if test "${ac_cv_path_install+set}" = set; then
5242    INSTALL=$ac_cv_path_install
5243  else
5244    # As a last resort, use the slow shell script.  Don't cache a
5245    # value for INSTALL within a source directory, because that will
5246    # break other packages using the cache if that directory is
5247    # removed, or if the value is a relative name.
5248    INSTALL=$ac_install_sh
5249  fi
5250fi
5251{ echo "$as_me:$LINENO: result: $INSTALL" >&5
5252echo "${ECHO_T}$INSTALL" >&6; }
5253
5254# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5255# It thinks the first close brace ends the variable substitution.
5256test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5257
5258test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5259
5260test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5261
5262
5263subdirs="$subdirs libfaim"
5264
5265
5266ac_config_files="$ac_config_files Makefile"
5267
5268cat >confcache <<\_ACEOF
5269# This file is a shell script that caches the results of configure
5270# tests run on this system so they can be shared between configure
5271# scripts and configure runs, see configure's option --config-cache.
5272# It is not useful on other systems.  If it contains results you don't
5273# want to keep, you may remove or edit it.
5274#
5275# config.status only pays attention to the cache file if you give it
5276# the --recheck option to rerun configure.
5277#
5278# `ac_cv_env_foo' variables (set or unset) will be overridden when
5279# loading this file, other *unset* `ac_cv_foo' will be assigned the
5280# following values.
5281
5282_ACEOF
5283
5284# The following way of writing the cache mishandles newlines in values,
5285# but we know of no workaround that is simple, portable, and efficient.
5286# So, we kill variables containing newlines.
5287# Ultrix sh set writes to stderr and can't be redirected directly,
5288# and sets the high bit in the cache file unless we assign to the vars.
5289(
5290  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5291    eval ac_val=\$$ac_var
5292    case $ac_val in #(
5293    *${as_nl}*)
5294      case $ac_var in #(
5295      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
5296echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
5297      esac
5298      case $ac_var in #(
5299      _ | IFS | as_nl) ;; #(
5300      *) $as_unset $ac_var ;;
5301      esac ;;
5302    esac
5303  done
5304
5305  (set) 2>&1 |
5306    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5307    *${as_nl}ac_space=\ *)
5308      # `set' does not quote correctly, so add quotes (double-quote
5309      # substitution turns \\\\ into \\, and sed turns \\ into \).
5310      sed -n \
5311        "s/'/'\\\\''/g;
5312          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5313      ;; #(
5314    *)
5315      # `set' quotes correctly as required by POSIX, so do not add quotes.
5316      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5317      ;;
5318    esac |
5319    sort
5320) |
5321  sed '
5322     /^ac_cv_env_/b end
5323     t clear
5324     :clear
5325     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5326     t end
5327     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5328     :end' >>confcache
5329if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5330  if test -w "$cache_file"; then
5331    test "x$cache_file" != "x/dev/null" &&
5332      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
5333echo "$as_me: updating cache $cache_file" >&6;}
5334    cat confcache >$cache_file
5335  else
5336    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
5337echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5338  fi
5339fi
5340rm -f confcache
5341
5342test "x$prefix" = xNONE && prefix=$ac_default_prefix
5343# Let make expand exec_prefix.
5344test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5345
5346DEFS=-DHAVE_CONFIG_H
5347
5348ac_libobjs=
5349ac_ltlibobjs=
5350for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5351  # 1. Remove the extension, and $U if already installed.
5352  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5353  ac_i=`echo "$ac_i" | sed "$ac_script"`
5354  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5355  #    will be set to the directory where LIBOBJS objects are built.
5356  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5357  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
5358done
5359LIBOBJS=$ac_libobjs
5360
5361LTLIBOBJS=$ac_ltlibobjs
5362
5363
5364
5365: ${CONFIG_STATUS=./config.status}
5366ac_clean_files_save=$ac_clean_files
5367ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5368{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5369echo "$as_me: creating $CONFIG_STATUS" >&6;}
5370cat >$CONFIG_STATUS <<_ACEOF
5371#! $SHELL
5372# Generated by $as_me.
5373# Run this file to recreate the current configuration.
5374# Compiler output produced by configure, useful for debugging
5375# configure, is in config.log if it exists.
5376
5377debug=false
5378ac_cs_recheck=false
5379ac_cs_silent=false
5380SHELL=\${CONFIG_SHELL-$SHELL}
5381_ACEOF
5382
5383cat >>$CONFIG_STATUS <<\_ACEOF
5384## --------------------- ##
5385## M4sh Initialization.  ##
5386## --------------------- ##
5387
5388# Be Bourne compatible
5389if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5390  emulate sh
5391  NULLCMD=:
5392  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5393  # is contrary to our usage.  Disable this feature.
5394  alias -g '${1+"$@"}'='"$@"'
5395  setopt NO_GLOB_SUBST
5396else
5397  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
5398fi
5399BIN_SH=xpg4; export BIN_SH # for Tru64
5400DUALCASE=1; export DUALCASE # for MKS sh
5401
5402
5403# PATH needs CR
5404# Avoid depending upon Character Ranges.
5405as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5406as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5407as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5408as_cr_digits='0123456789'
5409as_cr_alnum=$as_cr_Letters$as_cr_digits
5410
5411# The user is always right.
5412if test "${PATH_SEPARATOR+set}" != set; then
5413  echo "#! /bin/sh" >conf$$.sh
5414  echo  "exit 0"   >>conf$$.sh
5415  chmod +x conf$$.sh
5416  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5417    PATH_SEPARATOR=';'
5418  else
5419    PATH_SEPARATOR=:
5420  fi
5421  rm -f conf$$.sh
5422fi
5423
5424# Support unset when possible.
5425if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5426  as_unset=unset
5427else
5428  as_unset=false
5429fi
5430
5431
5432# IFS
5433# We need space, tab and new line, in precisely that order.  Quoting is
5434# there to prevent editors from complaining about space-tab.
5435# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5436# splitting by setting IFS to empty value.)
5437as_nl='
5438'
5439IFS=" ""        $as_nl"
5440
5441# Find who we are.  Look in the path if we contain no directory separator.
5442case $0 in
5443  *[\\/]* ) as_myself=$0 ;;
5444  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445for as_dir in $PATH
5446do
5447  IFS=$as_save_IFS
5448  test -z "$as_dir" && as_dir=.
5449  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5450done
5451IFS=$as_save_IFS
5452
5453     ;;
5454esac
5455# We did not find ourselves, most probably we were run as `sh COMMAND'
5456# in which case we are not to be found in the path.
5457if test "x$as_myself" = x; then
5458  as_myself=$0
5459fi
5460if test ! -f "$as_myself"; then
5461  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5462  { (exit 1); exit 1; }
5463fi
5464
5465# Work around bugs in pre-3.0 UWIN ksh.
5466for as_var in ENV MAIL MAILPATH
5467do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5468done
5469PS1='$ '
5470PS2='> '
5471PS4='+ '
5472
5473# NLS nuisances.
5474for as_var in \
5475  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5476  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5477  LC_TELEPHONE LC_TIME
5478do
5479  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5480    eval $as_var=C; export $as_var
5481  else
5482    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
5483  fi
5484done
5485
5486# Required to use basename.
5487if expr a : '\(a\)' >/dev/null 2>&1 &&
5488   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5489  as_expr=expr
5490else
5491  as_expr=false
5492fi
5493
5494if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5495  as_basename=basename
5496else
5497  as_basename=false
5498fi
5499
5500
5501# Name of the executable.
5502as_me=`$as_basename -- "$0" ||
5503$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5504         X"$0" : 'X\(//\)$' \| \
5505         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5506echo X/"$0" |
5507    sed '/^.*\/\([^/][^/]*\)\/*$/{
5508            s//\1/
5509            q
5510          }
5511          /^X\/\(\/\/\)$/{
5512            s//\1/
5513            q
5514          }
5515          /^X\/\(\/\).*/{
5516            s//\1/
5517            q
5518          }
5519          s/.*/./; q'`
5520
5521# CDPATH.
5522$as_unset CDPATH
5523
5524
5525
5526  as_lineno_1=$LINENO
5527  as_lineno_2=$LINENO
5528  test "x$as_lineno_1" != "x$as_lineno_2" &&
5529  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5530
5531  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5532  # uniformly replaced by the line number.  The first 'sed' inserts a
5533  # line-number line after each line using $LINENO; the second 'sed'
5534  # does the real work.  The second script uses 'N' to pair each
5535  # line-number line with the line containing $LINENO, and appends
5536  # trailing '-' during substitution so that $LINENO is not a special
5537  # case at line end.
5538  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5539  # scripts with optimization help from Paolo Bonzini.  Blame Lee
5540  # E. McMahon (1931-1989) for sed's syntax.  :-)
5541  sed -n '
5542    p
5543    /[$]LINENO/=
5544  ' <$as_myself |
5545    sed '
5546      s/[$]LINENO.*/&-/
5547      t lineno
5548      b
5549      :lineno
5550      N
5551      :loop
5552      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5553      t loop
5554      s/-\n.*//
5555    ' >$as_me.lineno &&
5556  chmod +x "$as_me.lineno" ||
5557    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5558   { (exit 1); exit 1; }; }
5559
5560  # Don't try to exec as it changes $[0], causing all sort of problems
5561  # (the dirname of $[0] is not the place where we might find the
5562  # original and so on.  Autoconf is especially sensitive to this).
5563  . "./$as_me.lineno"
5564  # Exit status is that of the last command.
5565  exit
5566}
5567
5568
5569if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5570  as_dirname=dirname
5571else
5572  as_dirname=false
5573fi
5574
5575ECHO_C= ECHO_N= ECHO_T=
5576case `echo -n x` in
5577-n*)
5578  case `echo 'x\c'` in
5579  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
5580  *)   ECHO_C='\c';;
5581  esac;;
5582*)
5583  ECHO_N='-n';;
5584esac
5585
5586if expr a : '\(a\)' >/dev/null 2>&1 &&
5587   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5588  as_expr=expr
5589else
5590  as_expr=false
5591fi
5592
5593rm -f conf$$ conf$$.exe conf$$.file
5594if test -d conf$$.dir; then
5595  rm -f conf$$.dir/conf$$.file
5596else
5597  rm -f conf$$.dir
5598  mkdir conf$$.dir
5599fi
5600echo >conf$$.file
5601if ln -s conf$$.file conf$$ 2>/dev/null; then
5602  as_ln_s='ln -s'
5603  # ... but there are two gotchas:
5604  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5605  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5606  # In both cases, we have to default to `cp -p'.
5607  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5608    as_ln_s='cp -p'
5609elif ln conf$$.file conf$$ 2>/dev/null; then
5610  as_ln_s=ln
5611else
5612  as_ln_s='cp -p'
5613fi
5614rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5615rmdir conf$$.dir 2>/dev/null
5616
5617if mkdir -p . 2>/dev/null; then
5618  as_mkdir_p=:
5619else
5620  test -d ./-p && rmdir ./-p
5621  as_mkdir_p=false
5622fi
5623
5624# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
5625# systems may use methods other than mode bits to determine executability.
5626cat >conf$$.file <<_ASEOF
5627#! /bin/sh
5628exit 0
5629_ASEOF
5630chmod +x conf$$.file
5631if test -x conf$$.file >/dev/null 2>&1; then
5632  as_executable_p="test -x"
5633else
5634  as_executable_p=:
5635fi
5636rm -f conf$$.file
5637
5638# Sed expression to map a string onto a valid CPP name.
5639as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5640
5641# Sed expression to map a string onto a valid variable name.
5642as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5643
5644
5645exec 6>&1
5646
5647# Save the log message, to keep $[0] and so on meaningful, and to
5648# report actual input values of CONFIG_FILES etc. instead of their
5649# values after options handling.
5650ac_log="
5651This file was extended by $as_me, which was
5652generated by GNU Autoconf 2.60.  Invocation command line was
5653
5654  CONFIG_FILES    = $CONFIG_FILES
5655  CONFIG_HEADERS  = $CONFIG_HEADERS
5656  CONFIG_LINKS    = $CONFIG_LINKS
5657  CONFIG_COMMANDS = $CONFIG_COMMANDS
5658  $ $0 $@
5659
5660on `(hostname || uname -n) 2>/dev/null | sed 1q`
5661"
5662
5663_ACEOF
5664
5665cat >>$CONFIG_STATUS <<_ACEOF
5666# Files that config.status was made for.
5667config_files="$ac_config_files"
5668config_headers="$ac_config_headers"
5669
5670_ACEOF
5671
5672cat >>$CONFIG_STATUS <<\_ACEOF
5673ac_cs_usage="\
5674\`$as_me' instantiates files from templates according to the
5675current configuration.
5676
5677Usage: $0 [OPTIONS] [FILE]...
5678
5679  -h, --help       print this help, then exit
5680  -V, --version    print version number, then exit
5681  -q, --quiet      do not print progress messages
5682  -d, --debug      don't remove temporary files
5683      --recheck    update $as_me by reconfiguring in the same conditions
5684  --file=FILE[:TEMPLATE]
5685                   instantiate the configuration file FILE
5686  --header=FILE[:TEMPLATE]
5687                   instantiate the configuration header FILE
5688
5689Configuration files:
5690$config_files
5691
5692Configuration headers:
5693$config_headers
5694
5695Report bugs to <bug-autoconf@gnu.org>."
5696
5697_ACEOF
5698cat >>$CONFIG_STATUS <<_ACEOF
5699ac_cs_version="\\
5700config.status
5701configured by $0, generated by GNU Autoconf 2.60,
5702  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5703
5704Copyright (C) 2006 Free Software Foundation, Inc.
5705This config.status script is free software; the Free Software Foundation
5706gives unlimited permission to copy, distribute and modify it."
5707
5708ac_pwd='$ac_pwd'
5709srcdir='$srcdir'
5710INSTALL='$INSTALL'
5711_ACEOF
5712
5713cat >>$CONFIG_STATUS <<\_ACEOF
5714# If no file are specified by the user, then we need to provide default
5715# value.  By we need to know if files were specified by the user.
5716ac_need_defaults=:
5717while test $# != 0
5718do
5719  case $1 in
5720  --*=*)
5721    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5722    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5723    ac_shift=:
5724    ;;
5725  *)
5726    ac_option=$1
5727    ac_optarg=$2
5728    ac_shift=shift
5729    ;;
5730  esac
5731
5732  case $ac_option in
5733  # Handling of the options.
5734  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5735    ac_cs_recheck=: ;;
5736  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5737    echo "$ac_cs_version"; exit ;;
5738  --debug | --debu | --deb | --de | --d | -d )
5739    debug=: ;;
5740  --file | --fil | --fi | --f )
5741    $ac_shift
5742    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5743    ac_need_defaults=false;;
5744  --header | --heade | --head | --hea )
5745    $ac_shift
5746    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5747    ac_need_defaults=false;;
5748  --he | --h)
5749    # Conflict between --help and --header
5750    { echo "$as_me: error: ambiguous option: $1
5751Try \`$0 --help' for more information." >&2
5752   { (exit 1); exit 1; }; };;
5753  --help | --hel | -h )
5754    echo "$ac_cs_usage"; exit ;;
5755  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5756  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5757    ac_cs_silent=: ;;
5758
5759  # This is an error.
5760  -*) { echo "$as_me: error: unrecognized option: $1
5761Try \`$0 --help' for more information." >&2
5762   { (exit 1); exit 1; }; } ;;
5763
5764  *) ac_config_targets="$ac_config_targets $1"
5765     ac_need_defaults=false ;;
5766
5767  esac
5768  shift
5769done
5770
5771ac_configure_extra_args=
5772
5773if $ac_cs_silent; then
5774  exec 6>/dev/null
5775  ac_configure_extra_args="$ac_configure_extra_args --silent"
5776fi
5777
5778_ACEOF
5779cat >>$CONFIG_STATUS <<_ACEOF
5780if \$ac_cs_recheck; then
5781  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5782  CONFIG_SHELL=$SHELL
5783  export CONFIG_SHELL
5784  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5785fi
5786
5787_ACEOF
5788cat >>$CONFIG_STATUS <<\_ACEOF
5789exec 5>>config.log
5790{
5791  echo
5792  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5793## Running $as_me. ##
5794_ASBOX
5795  echo "$ac_log"
5796} >&5
5797
5798_ACEOF
5799cat >>$CONFIG_STATUS <<_ACEOF
5800_ACEOF
5801
5802cat >>$CONFIG_STATUS <<\_ACEOF
5803
5804# Handling of arguments.
5805for ac_config_target in $ac_config_targets
5806do
5807  case $ac_config_target in
5808    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5809    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5810
5811  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5812echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5813   { (exit 1); exit 1; }; };;
5814  esac
5815done
5816
5817
5818# If the user did not use the arguments to specify the items to instantiate,
5819# then the envvar interface is used.  Set only those that are not.
5820# We use the long form for the default assignment because of an extremely
5821# bizarre bug on SunOS 4.1.3.
5822if $ac_need_defaults; then
5823  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5824  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5825fi
5826
5827# Have a temporary directory for convenience.  Make it in the build tree
5828# simply because there is no reason against having it here, and in addition,
5829# creating and moving files from /tmp can sometimes cause problems.
5830# Hook for its removal unless debugging.
5831# Note that there is a small window in which the directory will not be cleaned:
5832# after its creation but before its name has been assigned to `$tmp'.
5833$debug ||
5834{
5835  tmp=
5836  trap 'exit_status=$?
5837  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5838' 0
5839  trap '{ (exit 1); exit 1; }' 1 2 13 15
5840}
5841# Create a (secure) tmp directory for tmp files.
5842
5843{
5844  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5845  test -n "$tmp" && test -d "$tmp"
5846}  ||
5847{
5848  tmp=./conf$$-$RANDOM
5849  (umask 077 && mkdir "$tmp")
5850} ||
5851{
5852   echo "$me: cannot create a temporary directory in ." >&2
5853   { (exit 1); exit 1; }
5854}
5855
5856#
5857# Set up the sed scripts for CONFIG_FILES section.
5858#
5859
5860# No need to generate the scripts if there are no CONFIG_FILES.
5861# This happens for instance when ./config.status config.h
5862if test -n "$CONFIG_FILES"; then
5863
5864_ACEOF
5865
5866
5867
5868ac_delim='%!_!# '
5869for ac_last_try in false false false false false :; do
5870  cat >conf$$subs.sed <<_ACEOF
5871SHELL!$SHELL$ac_delim
5872PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5873PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5874PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5875PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5876PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5877PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5878exec_prefix!$exec_prefix$ac_delim
5879prefix!$prefix$ac_delim
5880program_transform_name!$program_transform_name$ac_delim
5881bindir!$bindir$ac_delim
5882sbindir!$sbindir$ac_delim
5883libexecdir!$libexecdir$ac_delim
5884datarootdir!$datarootdir$ac_delim
5885datadir!$datadir$ac_delim
5886sysconfdir!$sysconfdir$ac_delim
5887sharedstatedir!$sharedstatedir$ac_delim
5888localstatedir!$localstatedir$ac_delim
5889includedir!$includedir$ac_delim
5890oldincludedir!$oldincludedir$ac_delim
5891docdir!$docdir$ac_delim
5892infodir!$infodir$ac_delim
5893htmldir!$htmldir$ac_delim
5894dvidir!$dvidir$ac_delim
5895pdfdir!$pdfdir$ac_delim
5896psdir!$psdir$ac_delim
5897libdir!$libdir$ac_delim
5898localedir!$localedir$ac_delim
5899mandir!$mandir$ac_delim
5900DEFS!$DEFS$ac_delim
5901ECHO_C!$ECHO_C$ac_delim
5902ECHO_N!$ECHO_N$ac_delim
5903ECHO_T!$ECHO_T$ac_delim
5904LIBS!$LIBS$ac_delim
5905build_alias!$build_alias$ac_delim
5906host_alias!$host_alias$ac_delim
5907target_alias!$target_alias$ac_delim
5908CC!$CC$ac_delim
5909CFLAGS!$CFLAGS$ac_delim
5910LDFLAGS!$LDFLAGS$ac_delim
5911CPPFLAGS!$CPPFLAGS$ac_delim
5912ac_ct_CC!$ac_ct_CC$ac_delim
5913EXEEXT!$EXEEXT$ac_delim
5914OBJEXT!$OBJEXT$ac_delim
5915CPP!$CPP$ac_delim
5916GREP!$GREP$ac_delim
5917EGREP!$EGREP$ac_delim
5918XSUBPPDIR!$XSUBPPDIR$ac_delim
5919XSUBPPFLAGS!$XSUBPPFLAGS$ac_delim
5920INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5921INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5922INSTALL_DATA!$INSTALL_DATA$ac_delim
5923subdirs!$subdirs$ac_delim
5924LIBOBJS!$LIBOBJS$ac_delim
5925LTLIBOBJS!$LTLIBOBJS$ac_delim
5926_ACEOF
5927
5928  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
5929    break
5930  elif $ac_last_try; then
5931    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5932echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5933   { (exit 1); exit 1; }; }
5934  else
5935    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5936  fi
5937done
5938
5939ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5940if test -n "$ac_eof"; then
5941  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5942  ac_eof=`expr $ac_eof + 1`
5943fi
5944
5945cat >>$CONFIG_STATUS <<_ACEOF
5946cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5947/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5948_ACEOF
5949sed '
5950s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5951s/^/s,@/; s/!/@,|#_!!_#|/
5952:n
5953t n
5954s/'"$ac_delim"'$/,g/; t
5955s/$/\\/; p
5956N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5957' >>$CONFIG_STATUS <conf$$subs.sed
5958rm -f conf$$subs.sed
5959cat >>$CONFIG_STATUS <<_ACEOF
5960:end
5961s/|#_!!_#|//g
5962CEOF$ac_eof
5963_ACEOF
5964
5965
5966# VPATH may cause trouble with some makes, so we remove $(srcdir),
5967# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5968# trailing colons and then remove the whole line if VPATH becomes empty
5969# (actually we leave an empty line to preserve line numbers).
5970if test "x$srcdir" = x.; then
5971  ac_vpsub='/^[  ]*VPATH[        ]*=/{
5972s/:*\$(srcdir):*/:/
5973s/:*\${srcdir}:*/:/
5974s/:*@srcdir@:*/:/
5975s/^\([^=]*=[     ]*\):*/\1/
5976s/:*$//
5977s/^[^=]*=[       ]*$//
5978}'
5979fi
5980
5981cat >>$CONFIG_STATUS <<\_ACEOF
5982fi # test -n "$CONFIG_FILES"
5983
5984
5985for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
5986do
5987  case $ac_tag in
5988  :[FHLC]) ac_mode=$ac_tag; continue;;
5989  esac
5990  case $ac_mode$ac_tag in
5991  :[FHL]*:*);;
5992  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5993echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5994   { (exit 1); exit 1; }; };;
5995  :[FH]-) ac_tag=-:-;;
5996  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5997  esac
5998  ac_save_IFS=$IFS
5999  IFS=:
6000  set x $ac_tag
6001  IFS=$ac_save_IFS
6002  shift
6003  ac_file=$1
6004  shift
6005
6006  case $ac_mode in
6007  :L) ac_source=$1;;
6008  :[FH])
6009    ac_file_inputs=
6010    for ac_f
6011    do
6012      case $ac_f in
6013      -) ac_f="$tmp/stdin";;
6014      *) # Look for the file first in the build tree, then in the source tree
6015         # (if the path is not absolute).  The absolute path cannot be DOS-style,
6016         # because $ac_f cannot contain `:'.
6017         test -f "$ac_f" ||
6018           case $ac_f in
6019           [\\/$]*) false;;
6020           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6021           esac ||
6022           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6023echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6024   { (exit 1); exit 1; }; };;
6025      esac
6026      ac_file_inputs="$ac_file_inputs $ac_f"
6027    done
6028
6029    # Let's still pretend it is `configure' which instantiates (i.e., don't
6030    # use $as_me), people would be surprised to read:
6031    #    /* config.h.  Generated by config.status.  */
6032    configure_input="Generated from "`IFS=:
6033          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6034    if test x"$ac_file" != x-; then
6035      configure_input="$ac_file.  $configure_input"
6036      { echo "$as_me:$LINENO: creating $ac_file" >&5
6037echo "$as_me: creating $ac_file" >&6;}
6038    fi
6039
6040    case $ac_tag in
6041    *:-:* | *:-) cat >"$tmp/stdin";;
6042    esac
6043    ;;
6044  esac
6045
6046  ac_dir=`$as_dirname -- "$ac_file" ||
6047$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6048         X"$ac_file" : 'X\(//\)[^/]' \| \
6049         X"$ac_file" : 'X\(//\)$' \| \
6050         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6051echo X"$ac_file" |
6052    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6053            s//\1/
6054            q
6055          }
6056          /^X\(\/\/\)[^/].*/{
6057            s//\1/
6058            q
6059          }
6060          /^X\(\/\/\)$/{
6061            s//\1/
6062            q
6063          }
6064          /^X\(\/\).*/{
6065            s//\1/
6066            q
6067          }
6068          s/.*/./; q'`
6069  { as_dir="$ac_dir"
6070  case $as_dir in #(
6071  -*) as_dir=./$as_dir;;
6072  esac
6073  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6074    as_dirs=
6075    while :; do
6076      case $as_dir in #(
6077      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6078      *) as_qdir=$as_dir;;
6079      esac
6080      as_dirs="'$as_qdir' $as_dirs"
6081      as_dir=`$as_dirname -- "$as_dir" ||
6082$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6083         X"$as_dir" : 'X\(//\)[^/]' \| \
6084         X"$as_dir" : 'X\(//\)$' \| \
6085         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6086echo X"$as_dir" |
6087    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6088            s//\1/
6089            q
6090          }
6091          /^X\(\/\/\)[^/].*/{
6092            s//\1/
6093            q
6094          }
6095          /^X\(\/\/\)$/{
6096            s//\1/
6097            q
6098          }
6099          /^X\(\/\).*/{
6100            s//\1/
6101            q
6102          }
6103          s/.*/./; q'`
6104      test -d "$as_dir" && break
6105    done
6106    test -z "$as_dirs" || eval "mkdir $as_dirs"
6107  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6108echo "$as_me: error: cannot create directory $as_dir" >&2;}
6109   { (exit 1); exit 1; }; }; }
6110  ac_builddir=.
6111
6112case "$ac_dir" in
6113.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6114*)
6115  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6116  # A ".." for each directory in $ac_dir_suffix.
6117  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6118  case $ac_top_builddir_sub in
6119  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6120  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6121  esac ;;
6122esac
6123ac_abs_top_builddir=$ac_pwd
6124ac_abs_builddir=$ac_pwd$ac_dir_suffix
6125# for backward compatibility:
6126ac_top_builddir=$ac_top_build_prefix
6127
6128case $srcdir in
6129  .)  # We are building in place.
6130    ac_srcdir=.
6131    ac_top_srcdir=$ac_top_builddir_sub
6132    ac_abs_top_srcdir=$ac_pwd ;;
6133  [\\/]* | ?:[\\/]* )  # Absolute name.
6134    ac_srcdir=$srcdir$ac_dir_suffix;
6135    ac_top_srcdir=$srcdir
6136    ac_abs_top_srcdir=$srcdir ;;
6137  *) # Relative name.
6138    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6139    ac_top_srcdir=$ac_top_build_prefix$srcdir
6140    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6141esac
6142ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6143
6144
6145  case $ac_mode in
6146  :F)
6147  #
6148  # CONFIG_FILE
6149  #
6150
6151  case $INSTALL in
6152  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6153  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6154  esac
6155_ACEOF
6156
6157cat >>$CONFIG_STATUS <<\_ACEOF
6158# If the template does not know about datarootdir, expand it.
6159# FIXME: This hack should be removed a few years after 2.60.
6160ac_datarootdir_hack=; ac_datarootdir_seen=
6161
6162case `sed -n '/datarootdir/ {
6163  p
6164  q
6165}
6166/@datadir@/p
6167/@docdir@/p
6168/@infodir@/p
6169/@localedir@/p
6170/@mandir@/p
6171' $ac_file_inputs` in
6172*datarootdir*) ac_datarootdir_seen=yes;;
6173*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6174  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6175echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6176_ACEOF
6177cat >>$CONFIG_STATUS <<_ACEOF
6178  ac_datarootdir_hack='
6179  s&@datadir@&$datadir&g
6180  s&@docdir@&$docdir&g
6181  s&@infodir@&$infodir&g
6182  s&@localedir@&$localedir&g
6183  s&@mandir@&$mandir&g
6184    s&\\\${datarootdir}&$datarootdir&g' ;;
6185esac
6186_ACEOF
6187
6188# Neutralize VPATH when `$srcdir' = `.'.
6189# Shell code in configure.ac might set extrasub.
6190# FIXME: do we really want to maintain this feature?
6191cat >>$CONFIG_STATUS <<_ACEOF
6192  sed "$ac_vpsub
6193$extrasub
6194_ACEOF
6195cat >>$CONFIG_STATUS <<\_ACEOF
6196:t
6197/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6198s&@configure_input@&$configure_input&;t t
6199s&@top_builddir@&$ac_top_builddir_sub&;t t
6200s&@srcdir@&$ac_srcdir&;t t
6201s&@abs_srcdir@&$ac_abs_srcdir&;t t
6202s&@top_srcdir@&$ac_top_srcdir&;t t
6203s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6204s&@builddir@&$ac_builddir&;t t
6205s&@abs_builddir@&$ac_abs_builddir&;t t
6206s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6207s&@INSTALL@&$ac_INSTALL&;t t
6208$ac_datarootdir_hack
6209" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6210
6211test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6212  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6213  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6214  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6215which seems to be undefined.  Please make sure it is defined." >&5
6216echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6217which seems to be undefined.  Please make sure it is defined." >&2;}
6218
6219  rm -f "$tmp/stdin"
6220  case $ac_file in
6221  -) cat "$tmp/out"; rm -f "$tmp/out";;
6222  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6223  esac
6224 ;;
6225  :H)
6226  #
6227  # CONFIG_HEADER
6228  #
6229_ACEOF
6230
6231# Transform confdefs.h into a sed script `conftest.defines', that
6232# substitutes the proper values into config.h.in to produce config.h.
6233rm -f conftest.defines conftest.tail
6234# First, append a space to every undef/define line, to ease matching.
6235echo 's/$/ /' >conftest.defines
6236# Then, protect against being on the right side of a sed subst, or in
6237# an unquoted here document, in config.status.  If some macros were
6238# called several times there might be several #defines for the same
6239# symbol, which is useless.  But do not sort them, since the last
6240# AC_DEFINE must be honored.
6241ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6242# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6243# NAME is the cpp macro being defined, VALUE is the value it is being given.
6244# PARAMS is the parameter list in the macro definition--in most cases, it's
6245# just an empty string.
6246ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
6247ac_dB='\\)[      (].*,\\1define\\2'
6248ac_dC=' '
6249ac_dD=' ,'
6250
6251uniq confdefs.h |
6252  sed -n '
6253        t rset
6254        :rset
6255        s/^[     ]*#[    ]*define[       ][      ]*//
6256        t ok
6257        d
6258        :ok
6259        s/[\\&,]/\\&/g
6260        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6261        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6262  ' >>conftest.defines
6263
6264# Remove the space that was appended to ease matching.
6265# Then replace #undef with comments.  This is necessary, for
6266# example, in the case of _POSIX_SOURCE, which is predefined and required
6267# on some systems where configure will not decide to define it.
6268# (The regexp can be short, since the line contains either #define or #undef.)
6269echo 's/ $//
6270s,^[     #]*u.*,/* & */,' >>conftest.defines
6271
6272# Break up conftest.defines:
6273ac_max_sed_lines=50
6274
6275# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6276# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6277# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6278# et cetera.
6279ac_in='$ac_file_inputs'
6280ac_out='"$tmp/out1"'
6281ac_nxt='"$tmp/out2"'
6282
6283while :
6284do
6285  # Write a here document:
6286    cat >>$CONFIG_STATUS <<_ACEOF
6287    # First, check the format of the line:
6288    cat >"\$tmp/defines.sed" <<\\CEOF
6289/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
6290/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
6291b
6292:def
6293_ACEOF
6294  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6295  echo 'CEOF
6296    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6297  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6298  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6299  grep . conftest.tail >/dev/null || break
6300  rm -f conftest.defines
6301  mv conftest.tail conftest.defines
6302done
6303rm -f conftest.defines conftest.tail
6304
6305echo "ac_result=$ac_in" >>$CONFIG_STATUS
6306cat >>$CONFIG_STATUS <<\_ACEOF
6307  if test x"$ac_file" != x-; then
6308    echo "/* $configure_input  */" >"$tmp/config.h"
6309    cat "$ac_result" >>"$tmp/config.h"
6310    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6311      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6312echo "$as_me: $ac_file is unchanged" >&6;}
6313    else
6314      rm -f $ac_file
6315      mv "$tmp/config.h" $ac_file
6316    fi
6317  else
6318    echo "/* $configure_input  */"
6319    cat "$ac_result"
6320  fi
6321  rm -f "$tmp/out12"
6322 ;;
6323
6324
6325  esac
6326
6327done # for ac_tag
6328
6329
6330{ (exit 0); exit 0; }
6331_ACEOF
6332chmod +x $CONFIG_STATUS
6333ac_clean_files=$ac_clean_files_save
6334
6335
6336# configure is writing to config.log, and then calls config.status.
6337# config.status does its own redirection, appending to config.log.
6338# Unfortunately, on DOS this fails, as config.log is still kept open
6339# by configure, so config.status won't be able to write to it; its
6340# output is simply discarded.  So we exec the FD to /dev/null,
6341# effectively closing config.log, so it can be properly (re)opened and
6342# appended to by config.status.  When coming back to configure, we
6343# need to make the FD available again.
6344if test "$no_create" != yes; then
6345  ac_cs_success=:
6346  ac_config_status_args=
6347  test "$silent" = yes &&
6348    ac_config_status_args="$ac_config_status_args --quiet"
6349  exec 5>/dev/null
6350  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6351  exec 5>>config.log
6352  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6353  # would make configure fail if this is the last instruction.
6354  $ac_cs_success || { (exit 1); exit 1; }
6355fi
6356
6357#
6358# CONFIG_SUBDIRS section.
6359#
6360if test "$no_recursion" != yes; then
6361
6362  # Remove --cache-file and --srcdir arguments so they do not pile up.
6363  ac_sub_configure_args=
6364  ac_prev=
6365  eval "set x $ac_configure_args"
6366  shift
6367  for ac_arg
6368  do
6369    if test -n "$ac_prev"; then
6370      ac_prev=
6371      continue
6372    fi
6373    case $ac_arg in
6374    -cache-file | --cache-file | --cache-fil | --cache-fi \
6375    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6376      ac_prev=cache_file ;;
6377    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6378    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6379    | --c=*)
6380      ;;
6381    --config-cache | -C)
6382      ;;
6383    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6384      ac_prev=srcdir ;;
6385    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6386      ;;
6387    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6388      ac_prev=prefix ;;
6389    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6390      ;;
6391    *)
6392      case $ac_arg in
6393      *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6394      esac
6395      ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
6396    esac
6397  done
6398
6399  # Always prepend --prefix to ensure using the same prefix
6400  # in subdir configurations.
6401  ac_arg="--prefix=$prefix"
6402  case $ac_arg in
6403  *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6404  esac
6405  ac_sub_configure_args="$ac_arg $ac_sub_configure_args"
6406
6407  ac_popdir=`pwd`
6408  for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6409
6410    # Do not complain, so a configure script can configure whichever
6411    # parts of a large source tree are present.
6412    test -d "$srcdir/$ac_dir" || continue
6413
6414    ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
6415    echo "$as_me:$LINENO: $ac_msg" >&5
6416    echo "$ac_msg" >&6
6417    { as_dir="$ac_dir"
6418  case $as_dir in #(
6419  -*) as_dir=./$as_dir;;
6420  esac
6421  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
6422    as_dirs=
6423    while :; do
6424      case $as_dir in #(
6425      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6426      *) as_qdir=$as_dir;;
6427      esac
6428      as_dirs="'$as_qdir' $as_dirs"
6429      as_dir=`$as_dirname -- "$as_dir" ||
6430$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6431         X"$as_dir" : 'X\(//\)[^/]' \| \
6432         X"$as_dir" : 'X\(//\)$' \| \
6433         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6434echo X"$as_dir" |
6435    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6436            s//\1/
6437            q
6438          }
6439          /^X\(\/\/\)[^/].*/{
6440            s//\1/
6441            q
6442          }
6443          /^X\(\/\/\)$/{
6444            s//\1/
6445            q
6446          }
6447          /^X\(\/\).*/{
6448            s//\1/
6449            q
6450          }
6451          s/.*/./; q'`
6452      test -d "$as_dir" && break
6453    done
6454    test -z "$as_dirs" || eval "mkdir $as_dirs"
6455  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6456echo "$as_me: error: cannot create directory $as_dir" >&2;}
6457   { (exit 1); exit 1; }; }; }
6458    ac_builddir=.
6459
6460case "$ac_dir" in
6461.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6462*)
6463  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6464  # A ".." for each directory in $ac_dir_suffix.
6465  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6466  case $ac_top_builddir_sub in
6467  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6468  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6469  esac ;;
6470esac
6471ac_abs_top_builddir=$ac_pwd
6472ac_abs_builddir=$ac_pwd$ac_dir_suffix
6473# for backward compatibility:
6474ac_top_builddir=$ac_top_build_prefix
6475
6476case $srcdir in
6477  .)  # We are building in place.
6478    ac_srcdir=.
6479    ac_top_srcdir=$ac_top_builddir_sub
6480    ac_abs_top_srcdir=$ac_pwd ;;
6481  [\\/]* | ?:[\\/]* )  # Absolute name.
6482    ac_srcdir=$srcdir$ac_dir_suffix;
6483    ac_top_srcdir=$srcdir
6484    ac_abs_top_srcdir=$srcdir ;;
6485  *) # Relative name.
6486    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6487    ac_top_srcdir=$ac_top_build_prefix$srcdir
6488    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6489esac
6490ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6491
6492
6493    cd "$ac_dir"
6494
6495    # Check for guested configure; otherwise get Cygnus style configure.
6496    if test -f "$ac_srcdir/configure.gnu"; then
6497      ac_sub_configure=$ac_srcdir/configure.gnu
6498    elif test -f "$ac_srcdir/configure"; then
6499      ac_sub_configure=$ac_srcdir/configure
6500    elif test -f "$ac_srcdir/configure.in"; then
6501      # This should be Cygnus configure.
6502      ac_sub_configure=$ac_aux_dir/configure
6503    else
6504      { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6505echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6506      ac_sub_configure=
6507    fi
6508
6509    # The recursion is here.
6510    if test -n "$ac_sub_configure"; then
6511      # Make the cache file name correct relative to the subdirectory.
6512      case $cache_file in
6513      [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6514      *) # Relative name.
6515        ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
6516      esac
6517
6518      { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6519echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6520      # The eval makes quoting arguments work.
6521      eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
6522           --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
6523        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6524echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6525   { (exit 1); exit 1; }; }
6526    fi
6527
6528    cd "$ac_popdir"
6529  done
6530fi
6531
Note: See TracBrowser for help on using the repository browser.