source: autom4te.cache/output.1 @ bddcaf1

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