source: autom4te.cache/output.0 @ 560b071

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