1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for pr3287 4.0.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137if test "x$CONFIG_SHELL" = x; then
138  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139  emulate sh
140  NULLCMD=:
141  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142  # is contrary to our usage.  Disable this feature.
143  alias -g '\${1+\"\$@\"}'='\"\$@\"'
144  setopt NO_GLOB_SUBST
145else
146  case \`(set -o) 2>/dev/null\` in #(
147  *posix*) :
148    set -o posix ;; #(
149  *) :
150     ;;
151esac
152fi
153"
154  as_required="as_fn_return () { (exit \$1); }
155as_fn_success () { as_fn_return 0; }
156as_fn_failure () { as_fn_return 1; }
157as_fn_ret_success () { return 0; }
158as_fn_ret_failure () { return 1; }
159
160exitcode=0
161as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167else
168  exitcode=1; echo positional parameters were not saved.
169fi
170test x\$exitcode = x0 || exit 1"
171  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175test \$(( 1 + 1 )) = 2 || exit 1"
176  if (eval "$as_required") 2>/dev/null; then :
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183else
184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185as_found=false
186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187do
188  IFS=$as_save_IFS
189  test -z "$as_dir" && as_dir=.
190  as_found=:
191  case $as_dir in #(
192	 /*)
193	   for as_base in sh bash ksh sh5; do
194	     # Try only shells that exist, to save several forks.
195	     as_shell=$as_dir/$as_base
196	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198  CONFIG_SHELL=$as_shell as_have_required=yes
199		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200  break 2
201fi
202fi
203	   done;;
204       esac
205  as_found=false
206done
207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209  CONFIG_SHELL=$SHELL as_have_required=yes
210fi; }
211IFS=$as_save_IFS
212
213
214      if test "x$CONFIG_SHELL" != x; then :
215  # We cannot yet assume a decent shell, so we have to provide a
216	# neutralization value for shells without unset; and this also
217	# works around shells that cannot unset nonexistent variables.
218	# Preserve -v and -x to the replacement shell.
219	BASH_ENV=/dev/null
220	ENV=/dev/null
221	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222	export CONFIG_SHELL
223	case $- in # ((((
224	  *v*x* | *x*v* ) as_opts=-vx ;;
225	  *v* ) as_opts=-v ;;
226	  *x* ) as_opts=-x ;;
227	  * ) as_opts= ;;
228	esac
229	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230fi
231
232    if test x$as_have_required = xno; then :
233  $as_echo "$0: This script requires a shell more modern than all"
234  $as_echo "$0: the shells that I found on your system."
235  if test x${ZSH_VERSION+set} = xset ; then
236    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238  else
239    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240$0: including any error possibly output before this
241$0: message. Then install a modern shell, or manually run
242$0: the script under such a shell if you do have one."
243  fi
244  exit 1
245fi
246fi
247fi
248SHELL=${CONFIG_SHELL-/bin/sh}
249export SHELL
250# Unset more variables known to interfere with behavior of common tools.
251CLICOLOR_FORCE= GREP_OPTIONS=
252unset CLICOLOR_FORCE GREP_OPTIONS
253
254## --------------------- ##
255## M4sh Shell Functions. ##
256## --------------------- ##
257# as_fn_unset VAR
258# ---------------
259# Portably unset VAR.
260as_fn_unset ()
261{
262  { eval $1=; unset $1;}
263}
264as_unset=as_fn_unset
265
266# as_fn_set_status STATUS
267# -----------------------
268# Set $? to STATUS, without forking.
269as_fn_set_status ()
270{
271  return $1
272} # as_fn_set_status
273
274# as_fn_exit STATUS
275# -----------------
276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277as_fn_exit ()
278{
279  set +e
280  as_fn_set_status $1
281  exit $1
282} # as_fn_exit
283
284# as_fn_mkdir_p
285# -------------
286# Create "$as_dir" as a directory, including parents if necessary.
287as_fn_mkdir_p ()
288{
289
290  case $as_dir in #(
291  -*) as_dir=./$as_dir;;
292  esac
293  test -d "$as_dir" || eval $as_mkdir_p || {
294    as_dirs=
295    while :; do
296      case $as_dir in #(
297      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298      *) as_qdir=$as_dir;;
299      esac
300      as_dirs="'$as_qdir' $as_dirs"
301      as_dir=`$as_dirname -- "$as_dir" ||
302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303	 X"$as_dir" : 'X\(//\)[^/]' \| \
304	 X"$as_dir" : 'X\(//\)$' \| \
305	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306$as_echo X"$as_dir" |
307    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308	    s//\1/
309	    q
310	  }
311	  /^X\(\/\/\)[^/].*/{
312	    s//\1/
313	    q
314	  }
315	  /^X\(\/\/\)$/{
316	    s//\1/
317	    q
318	  }
319	  /^X\(\/\).*/{
320	    s//\1/
321	    q
322	  }
323	  s/.*/./; q'`
324      test -d "$as_dir" && break
325    done
326    test -z "$as_dirs" || eval "mkdir $as_dirs"
327  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
329
330} # as_fn_mkdir_p
331# as_fn_append VAR VALUE
332# ----------------------
333# Append the text in VALUE to the end of the definition contained in VAR. Take
334# advantage of any shell optimizations that allow amortized linear growth over
335# repeated appends, instead of the typical quadratic growth present in naive
336# implementations.
337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338  eval 'as_fn_append ()
339  {
340    eval $1+=\$2
341  }'
342else
343  as_fn_append ()
344  {
345    eval $1=\$$1\$2
346  }
347fi # as_fn_append
348
349# as_fn_arith ARG...
350# ------------------
351# Perform arithmetic evaluation on the ARGs, and store the result in the
352# global $as_val. Take advantage of shells that can avoid forks. The arguments
353# must be portable across $(()) and expr.
354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355  eval 'as_fn_arith ()
356  {
357    as_val=$(( $* ))
358  }'
359else
360  as_fn_arith ()
361  {
362    as_val=`expr "$@" || test $? -eq 1`
363  }
364fi # as_fn_arith
365
366
367# as_fn_error STATUS ERROR [LINENO LOG_FD]
368# ----------------------------------------
369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371# script with STATUS, using 1 if that was 0.
372as_fn_error ()
373{
374  as_status=$1; test $as_status -eq 0 && as_status=1
375  if test "$4"; then
376    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378  fi
379  $as_echo "$as_me: error: $2" >&2
380  as_fn_exit $as_status
381} # as_fn_error
382
383if expr a : '\(a\)' >/dev/null 2>&1 &&
384   test "X`expr 00001 : '.*\(...\)'`" = X001; then
385  as_expr=expr
386else
387  as_expr=false
388fi
389
390if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391  as_basename=basename
392else
393  as_basename=false
394fi
395
396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397  as_dirname=dirname
398else
399  as_dirname=false
400fi
401
402as_me=`$as_basename -- "$0" ||
403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404	 X"$0" : 'X\(//\)$' \| \
405	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406$as_echo X/"$0" |
407    sed '/^.*\/\([^/][^/]*\)\/*$/{
408	    s//\1/
409	    q
410	  }
411	  /^X\/\(\/\/\)$/{
412	    s//\1/
413	    q
414	  }
415	  /^X\/\(\/\).*/{
416	    s//\1/
417	    q
418	  }
419	  s/.*/./; q'`
420
421# Avoid depending upon Character Ranges.
422as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425as_cr_digits='0123456789'
426as_cr_alnum=$as_cr_Letters$as_cr_digits
427
428
429  as_lineno_1=$LINENO as_lineno_1a=$LINENO
430  as_lineno_2=$LINENO as_lineno_2a=$LINENO
431  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
434  sed -n '
435    p
436    /[$]LINENO/=
437  ' <$as_myself |
438    sed '
439      s/[$]LINENO.*/&-/
440      t lineno
441      b
442      :lineno
443      N
444      :loop
445      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446      t loop
447      s/-\n.*//
448    ' >$as_me.lineno &&
449  chmod +x "$as_me.lineno" ||
450    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451
452  # Don't try to exec as it changes $[0], causing all sort of problems
453  # (the dirname of $[0] is not the place where we might find the
454  # original and so on.  Autoconf is especially sensitive to this).
455  . "./$as_me.lineno"
456  # Exit status is that of the last command.
457  exit
458}
459
460ECHO_C= ECHO_N= ECHO_T=
461case `echo -n x` in #(((((
462-n*)
463  case `echo 'xy\c'` in
464  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
465  xy)  ECHO_C='\c';;
466  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
467       ECHO_T='	';;
468  esac;;
469*)
470  ECHO_N='-n';;
471esac
472
473rm -f conf$$ conf$$.exe conf$$.file
474if test -d conf$$.dir; then
475  rm -f conf$$.dir/conf$$.file
476else
477  rm -f conf$$.dir
478  mkdir conf$$.dir 2>/dev/null
479fi
480if (echo >conf$$.file) 2>/dev/null; then
481  if ln -s conf$$.file conf$$ 2>/dev/null; then
482    as_ln_s='ln -s'
483    # ... but there are two gotchas:
484    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486    # In both cases, we have to default to `cp -p'.
487    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488      as_ln_s='cp -p'
489  elif ln conf$$.file conf$$ 2>/dev/null; then
490    as_ln_s=ln
491  else
492    as_ln_s='cp -p'
493  fi
494else
495  as_ln_s='cp -p'
496fi
497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498rmdir conf$$.dir 2>/dev/null
499
500if mkdir -p . 2>/dev/null; then
501  as_mkdir_p='mkdir -p "$as_dir"'
502else
503  test -d ./-p && rmdir ./-p
504  as_mkdir_p=false
505fi
506
507if test -x / >/dev/null 2>&1; then
508  as_test_x='test -x'
509else
510  if ls -dL / >/dev/null 2>&1; then
511    as_ls_L_option=L
512  else
513    as_ls_L_option=
514  fi
515  as_test_x='
516    eval sh -c '\''
517      if test -d "$1"; then
518	test -d "$1/.";
519      else
520	case $1 in #(
521	-*)set "./$1";;
522	esac;
523	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524	???[sx]*):;;*)false;;esac;fi
525    '\'' sh
526  '
527fi
528as_executable_p=$as_test_x
529
530# Sed expression to map a string onto a valid CPP name.
531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533# Sed expression to map a string onto a valid variable name.
534as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537test -n "$DJDIR" || exec 7<&0 </dev/null
538exec 6>&1
539
540# Name of the host.
541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542# so uname gets run too.
543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545#
546# Initializations.
547#
548ac_default_prefix=/usr/local
549ac_clean_files=
550ac_config_libobj_dir=.
551LIBOBJS=
552cross_compiling=no
553subdirs=
554MFLAGS=
555MAKEFLAGS=
556
557# Identity of this package.
558PACKAGE_NAME='pr3287'
559PACKAGE_TARNAME='pr3287'
560PACKAGE_VERSION='4.0'
561PACKAGE_STRING='pr3287 4.0'
562PACKAGE_BUGREPORT=''
563PACKAGE_URL=''
564
565# Factoring default headers for most tests.
566ac_includes_default="\
567#include <stdio.h>
568#ifdef HAVE_SYS_TYPES_H
569# include <sys/types.h>
570#endif
571#ifdef HAVE_SYS_STAT_H
572# include <sys/stat.h>
573#endif
574#ifdef STDC_HEADERS
575# include <stdlib.h>
576# include <stddef.h>
577#else
578# ifdef HAVE_STDLIB_H
579#  include <stdlib.h>
580# endif
581#endif
582#ifdef HAVE_STRING_H
583# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584#  include <memory.h>
585# endif
586# include <string.h>
587#endif
588#ifdef HAVE_STRINGS_H
589# include <strings.h>
590#endif
591#ifdef HAVE_INTTYPES_H
592# include <inttypes.h>
593#endif
594#ifdef HAVE_STDINT_H
595# include <stdint.h>
596#endif
597#ifdef HAVE_UNISTD_H
598# include <unistd.h>
599#endif"
600
601ac_subst_vars='LTLIBOBJS
602LIBOBJS
603LIBX3270DIR
604EGREP
605GREP
606CPP
607CCOPTIONS
608host_os
609host_vendor
610host_cpu
611host
612build_os
613build_vendor
614build_cpu
615build
616OBJEXT
617EXEEXT
618ac_ct_CC
619CPPFLAGS
620LDFLAGS
621CFLAGS
622CC
623INSTALL_DATA
624INSTALL_SCRIPT
625INSTALL_PROGRAM
626target_alias
627host_alias
628build_alias
629LIBS
630ECHO_T
631ECHO_N
632ECHO_C
633DEFS
634mandir
635localedir
636libdir
637psdir
638pdfdir
639dvidir
640htmldir
641infodir
642docdir
643oldincludedir
644includedir
645localstatedir
646sharedstatedir
647sysconfdir
648datadir
649datarootdir
650libexecdir
651sbindir
652bindir
653program_transform_name
654prefix
655exec_prefix
656PACKAGE_URL
657PACKAGE_BUGREPORT
658PACKAGE_STRING
659PACKAGE_VERSION
660PACKAGE_TARNAME
661PACKAGE_NAME
662PATH_SEPARATOR
663SHELL'
664ac_subst_files=''
665ac_user_opts='
666enable_option_checking
667with_ssl
668enable_dbcs
669enable_ipv6
670'
671      ac_precious_vars='build_alias
672host_alias
673target_alias
674CC
675CFLAGS
676LDFLAGS
677LIBS
678CPPFLAGS
679CPP'
680
681
682# Initialize some variables set by options.
683ac_init_help=
684ac_init_version=false
685ac_unrecognized_opts=
686ac_unrecognized_sep=
687# The variables have the same names as the options, with
688# dashes changed to underlines.
689cache_file=/dev/null
690exec_prefix=NONE
691no_create=
692no_recursion=
693prefix=NONE
694program_prefix=NONE
695program_suffix=NONE
696program_transform_name=s,x,x,
697silent=
698site=
699srcdir=
700verbose=
701x_includes=NONE
702x_libraries=NONE
703
704# Installation directory options.
705# These are left unexpanded so users can "make install exec_prefix=/foo"
706# and all the variables that are supposed to be based on exec_prefix
707# by default will actually change.
708# Use braces instead of parens because sh, perl, etc. also accept them.
709# (The list follows the same order as the GNU Coding Standards.)
710bindir='${exec_prefix}/bin'
711sbindir='${exec_prefix}/sbin'
712libexecdir='${exec_prefix}/libexec'
713datarootdir='${prefix}/share'
714datadir='${datarootdir}'
715sysconfdir='${prefix}/etc'
716sharedstatedir='${prefix}/com'
717localstatedir='${prefix}/var'
718includedir='${prefix}/include'
719oldincludedir='/usr/include'
720docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
721infodir='${datarootdir}/info'
722htmldir='${docdir}'
723dvidir='${docdir}'
724pdfdir='${docdir}'
725psdir='${docdir}'
726libdir='${exec_prefix}/lib'
727localedir='${datarootdir}/locale'
728mandir='${datarootdir}/man'
729
730ac_prev=
731ac_dashdash=
732for ac_option
733do
734  # If the previous option needs an argument, assign it.
735  if test -n "$ac_prev"; then
736    eval $ac_prev=\$ac_option
737    ac_prev=
738    continue
739  fi
740
741  case $ac_option in
742  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
743  *=)   ac_optarg= ;;
744  *)    ac_optarg=yes ;;
745  esac
746
747  # Accept the important Cygnus configure options, so we can diagnose typos.
748
749  case $ac_dashdash$ac_option in
750  --)
751    ac_dashdash=yes ;;
752
753  -bindir | --bindir | --bindi | --bind | --bin | --bi)
754    ac_prev=bindir ;;
755  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
756    bindir=$ac_optarg ;;
757
758  -build | --build | --buil | --bui | --bu)
759    ac_prev=build_alias ;;
760  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
761    build_alias=$ac_optarg ;;
762
763  -cache-file | --cache-file | --cache-fil | --cache-fi \
764  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
765    ac_prev=cache_file ;;
766  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
767  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
768    cache_file=$ac_optarg ;;
769
770  --config-cache | -C)
771    cache_file=config.cache ;;
772
773  -datadir | --datadir | --datadi | --datad)
774    ac_prev=datadir ;;
775  -datadir=* | --datadir=* | --datadi=* | --datad=*)
776    datadir=$ac_optarg ;;
777
778  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
779  | --dataroo | --dataro | --datar)
780    ac_prev=datarootdir ;;
781  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
782  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
783    datarootdir=$ac_optarg ;;
784
785  -disable-* | --disable-*)
786    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
787    # Reject names that are not valid shell variable names.
788    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
789      as_fn_error $? "invalid feature name: $ac_useropt"
790    ac_useropt_orig=$ac_useropt
791    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
792    case $ac_user_opts in
793      *"
794"enable_$ac_useropt"
795"*) ;;
796      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
797	 ac_unrecognized_sep=', ';;
798    esac
799    eval enable_$ac_useropt=no ;;
800
801  -docdir | --docdir | --docdi | --doc | --do)
802    ac_prev=docdir ;;
803  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
804    docdir=$ac_optarg ;;
805
806  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
807    ac_prev=dvidir ;;
808  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
809    dvidir=$ac_optarg ;;
810
811  -enable-* | --enable-*)
812    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
813    # Reject names that are not valid shell variable names.
814    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
815      as_fn_error $? "invalid feature name: $ac_useropt"
816    ac_useropt_orig=$ac_useropt
817    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
818    case $ac_user_opts in
819      *"
820"enable_$ac_useropt"
821"*) ;;
822      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
823	 ac_unrecognized_sep=', ';;
824    esac
825    eval enable_$ac_useropt=\$ac_optarg ;;
826
827  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
828  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
829  | --exec | --exe | --ex)
830    ac_prev=exec_prefix ;;
831  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
832  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
833  | --exec=* | --exe=* | --ex=*)
834    exec_prefix=$ac_optarg ;;
835
836  -gas | --gas | --ga | --g)
837    # Obsolete; use --with-gas.
838    with_gas=yes ;;
839
840  -help | --help | --hel | --he | -h)
841    ac_init_help=long ;;
842  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
843    ac_init_help=recursive ;;
844  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
845    ac_init_help=short ;;
846
847  -host | --host | --hos | --ho)
848    ac_prev=host_alias ;;
849  -host=* | --host=* | --hos=* | --ho=*)
850    host_alias=$ac_optarg ;;
851
852  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
853    ac_prev=htmldir ;;
854  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
855  | --ht=*)
856    htmldir=$ac_optarg ;;
857
858  -includedir | --includedir | --includedi | --included | --include \
859  | --includ | --inclu | --incl | --inc)
860    ac_prev=includedir ;;
861  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
862  | --includ=* | --inclu=* | --incl=* | --inc=*)
863    includedir=$ac_optarg ;;
864
865  -infodir | --infodir | --infodi | --infod | --info | --inf)
866    ac_prev=infodir ;;
867  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
868    infodir=$ac_optarg ;;
869
870  -libdir | --libdir | --libdi | --libd)
871    ac_prev=libdir ;;
872  -libdir=* | --libdir=* | --libdi=* | --libd=*)
873    libdir=$ac_optarg ;;
874
875  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
876  | --libexe | --libex | --libe)
877    ac_prev=libexecdir ;;
878  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
879  | --libexe=* | --libex=* | --libe=*)
880    libexecdir=$ac_optarg ;;
881
882  -localedir | --localedir | --localedi | --localed | --locale)
883    ac_prev=localedir ;;
884  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
885    localedir=$ac_optarg ;;
886
887  -localstatedir | --localstatedir | --localstatedi | --localstated \
888  | --localstate | --localstat | --localsta | --localst | --locals)
889    ac_prev=localstatedir ;;
890  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
891  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
892    localstatedir=$ac_optarg ;;
893
894  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
895    ac_prev=mandir ;;
896  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
897    mandir=$ac_optarg ;;
898
899  -nfp | --nfp | --nf)
900    # Obsolete; use --without-fp.
901    with_fp=no ;;
902
903  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
904  | --no-cr | --no-c | -n)
905    no_create=yes ;;
906
907  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
908  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
909    no_recursion=yes ;;
910
911  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
912  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
913  | --oldin | --oldi | --old | --ol | --o)
914    ac_prev=oldincludedir ;;
915  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
916  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
917  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
918    oldincludedir=$ac_optarg ;;
919
920  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
921    ac_prev=prefix ;;
922  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
923    prefix=$ac_optarg ;;
924
925  -program-prefix | --program-prefix | --program-prefi | --program-pref \
926  | --program-pre | --program-pr | --program-p)
927    ac_prev=program_prefix ;;
928  -program-prefix=* | --program-prefix=* | --program-prefi=* \
929  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
930    program_prefix=$ac_optarg ;;
931
932  -program-suffix | --program-suffix | --program-suffi | --program-suff \
933  | --program-suf | --program-su | --program-s)
934    ac_prev=program_suffix ;;
935  -program-suffix=* | --program-suffix=* | --program-suffi=* \
936  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
937    program_suffix=$ac_optarg ;;
938
939  -program-transform-name | --program-transform-name \
940  | --program-transform-nam | --program-transform-na \
941  | --program-transform-n | --program-transform- \
942  | --program-transform | --program-transfor \
943  | --program-transfo | --program-transf \
944  | --program-trans | --program-tran \
945  | --progr-tra | --program-tr | --program-t)
946    ac_prev=program_transform_name ;;
947  -program-transform-name=* | --program-transform-name=* \
948  | --program-transform-nam=* | --program-transform-na=* \
949  | --program-transform-n=* | --program-transform-=* \
950  | --program-transform=* | --program-transfor=* \
951  | --program-transfo=* | --program-transf=* \
952  | --program-trans=* | --program-tran=* \
953  | --progr-tra=* | --program-tr=* | --program-t=*)
954    program_transform_name=$ac_optarg ;;
955
956  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
957    ac_prev=pdfdir ;;
958  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
959    pdfdir=$ac_optarg ;;
960
961  -psdir | --psdir | --psdi | --psd | --ps)
962    ac_prev=psdir ;;
963  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
964    psdir=$ac_optarg ;;
965
966  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
967  | -silent | --silent | --silen | --sile | --sil)
968    silent=yes ;;
969
970  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
971    ac_prev=sbindir ;;
972  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
973  | --sbi=* | --sb=*)
974    sbindir=$ac_optarg ;;
975
976  -sharedstatedir | --sharedstatedir | --sharedstatedi \
977  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
978  | --sharedst | --shareds | --shared | --share | --shar \
979  | --sha | --sh)
980    ac_prev=sharedstatedir ;;
981  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
982  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
983  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
984  | --sha=* | --sh=*)
985    sharedstatedir=$ac_optarg ;;
986
987  -site | --site | --sit)
988    ac_prev=site ;;
989  -site=* | --site=* | --sit=*)
990    site=$ac_optarg ;;
991
992  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
993    ac_prev=srcdir ;;
994  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
995    srcdir=$ac_optarg ;;
996
997  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
998  | --syscon | --sysco | --sysc | --sys | --sy)
999    ac_prev=sysconfdir ;;
1000  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1001  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1002    sysconfdir=$ac_optarg ;;
1003
1004  -target | --target | --targe | --targ | --tar | --ta | --t)
1005    ac_prev=target_alias ;;
1006  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1007    target_alias=$ac_optarg ;;
1008
1009  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1010    verbose=yes ;;
1011
1012  -version | --version | --versio | --versi | --vers | -V)
1013    ac_init_version=: ;;
1014
1015  -with-* | --with-*)
1016    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1017    # Reject names that are not valid shell variable names.
1018    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1019      as_fn_error $? "invalid package name: $ac_useropt"
1020    ac_useropt_orig=$ac_useropt
1021    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1022    case $ac_user_opts in
1023      *"
1024"with_$ac_useropt"
1025"*) ;;
1026      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1027	 ac_unrecognized_sep=', ';;
1028    esac
1029    eval with_$ac_useropt=\$ac_optarg ;;
1030
1031  -without-* | --without-*)
1032    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1033    # Reject names that are not valid shell variable names.
1034    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035      as_fn_error $? "invalid package name: $ac_useropt"
1036    ac_useropt_orig=$ac_useropt
1037    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038    case $ac_user_opts in
1039      *"
1040"with_$ac_useropt"
1041"*) ;;
1042      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1043	 ac_unrecognized_sep=', ';;
1044    esac
1045    eval with_$ac_useropt=no ;;
1046
1047  --x)
1048    # Obsolete; use --with-x.
1049    with_x=yes ;;
1050
1051  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1052  | --x-incl | --x-inc | --x-in | --x-i)
1053    ac_prev=x_includes ;;
1054  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1055  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1056    x_includes=$ac_optarg ;;
1057
1058  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1059  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1060    ac_prev=x_libraries ;;
1061  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1062  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1063    x_libraries=$ac_optarg ;;
1064
1065  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1066Try \`$0 --help' for more information"
1067    ;;
1068
1069  *=*)
1070    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071    # Reject names that are not valid shell variable names.
1072    case $ac_envvar in #(
1073      '' | [0-9]* | *[!_$as_cr_alnum]* )
1074      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1075    esac
1076    eval $ac_envvar=\$ac_optarg
1077    export $ac_envvar ;;
1078
1079  *)
1080    # FIXME: should be removed in autoconf 3.0.
1081    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1082    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1083      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1084    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1085    ;;
1086
1087  esac
1088done
1089
1090if test -n "$ac_prev"; then
1091  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1092  as_fn_error $? "missing argument to $ac_option"
1093fi
1094
1095if test -n "$ac_unrecognized_opts"; then
1096  case $enable_option_checking in
1097    no) ;;
1098    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1099    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1100  esac
1101fi
1102
1103# Check all directory arguments for consistency.
1104for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1105		datadir sysconfdir sharedstatedir localstatedir includedir \
1106		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1107		libdir localedir mandir
1108do
1109  eval ac_val=\$$ac_var
1110  # Remove trailing slashes.
1111  case $ac_val in
1112    */ )
1113      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1114      eval $ac_var=\$ac_val;;
1115  esac
1116  # Be sure to have absolute directory names.
1117  case $ac_val in
1118    [\\/$]* | ?:[\\/]* )  continue;;
1119    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1120  esac
1121  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1122done
1123
1124# There might be people who depend on the old broken behavior: `$host'
1125# used to hold the argument of --host etc.
1126# FIXME: To remove some day.
1127build=$build_alias
1128host=$host_alias
1129target=$target_alias
1130
1131# FIXME: To remove some day.
1132if test "x$host_alias" != x; then
1133  if test "x$build_alias" = x; then
1134    cross_compiling=maybe
1135    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1136    If a cross compiler is detected then cross compile mode will be used" >&2
1137  elif test "x$build_alias" != "x$host_alias"; then
1138    cross_compiling=yes
1139  fi
1140fi
1141
1142ac_tool_prefix=
1143test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144
1145test "$silent" = yes && exec 6>/dev/null
1146
1147
1148ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149ac_ls_di=`ls -di .` &&
1150ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151  as_fn_error $? "working directory cannot be determined"
1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153  as_fn_error $? "pwd does not report name of working directory"
1154
1155
1156# Find the source files, if location was not specified.
1157if test -z "$srcdir"; then
1158  ac_srcdir_defaulted=yes
1159  # Try the directory containing this script, then the parent directory.
1160  ac_confdir=`$as_dirname -- "$as_myself" ||
1161$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162	 X"$as_myself" : 'X\(//\)[^/]' \| \
1163	 X"$as_myself" : 'X\(//\)$' \| \
1164	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165$as_echo X"$as_myself" |
1166    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167	    s//\1/
1168	    q
1169	  }
1170	  /^X\(\/\/\)[^/].*/{
1171	    s//\1/
1172	    q
1173	  }
1174	  /^X\(\/\/\)$/{
1175	    s//\1/
1176	    q
1177	  }
1178	  /^X\(\/\).*/{
1179	    s//\1/
1180	    q
1181	  }
1182	  s/.*/./; q'`
1183  srcdir=$ac_confdir
1184  if test ! -r "$srcdir/$ac_unique_file"; then
1185    srcdir=..
1186  fi
1187else
1188  ac_srcdir_defaulted=no
1189fi
1190if test ! -r "$srcdir/$ac_unique_file"; then
1191  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1193fi
1194ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195ac_abs_confdir=`(
1196	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197	pwd)`
1198# When building in place, set srcdir=.
1199if test "$ac_abs_confdir" = "$ac_pwd"; then
1200  srcdir=.
1201fi
1202# Remove unnecessary trailing slashes from srcdir.
1203# Double slashes in file names in object file debugging info
1204# mess up M-x gdb in Emacs.
1205case $srcdir in
1206*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207esac
1208for ac_var in $ac_precious_vars; do
1209  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210  eval ac_env_${ac_var}_value=\$${ac_var}
1211  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213done
1214
1215#
1216# Report the --help message.
1217#
1218if test "$ac_init_help" = "long"; then
1219  # Omit some internal or obsolete options to make the list less imposing.
1220  # This message is too long to be a string in the A/UX 3.1 sh.
1221  cat <<_ACEOF
1222\`configure' configures pr3287 4.0 to adapt to many kinds of systems.
1223
1224Usage: $0 [OPTION]... [VAR=VALUE]...
1225
1226To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227VAR=VALUE.  See below for descriptions of some of the useful variables.
1228
1229Defaults for the options are specified in brackets.
1230
1231Configuration:
1232  -h, --help              display this help and exit
1233      --help=short        display options specific to this package
1234      --help=recursive    display the short help of all the included packages
1235  -V, --version           display version information and exit
1236  -q, --quiet, --silent   do not print \`checking ...' messages
1237      --cache-file=FILE   cache test results in FILE [disabled]
1238  -C, --config-cache      alias for \`--cache-file=config.cache'
1239  -n, --no-create         do not create output files
1240      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1241
1242Installation directories:
1243  --prefix=PREFIX         install architecture-independent files in PREFIX
1244                          [$ac_default_prefix]
1245  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1246                          [PREFIX]
1247
1248By default, \`make install' will install all the files in
1249\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1250an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251for instance \`--prefix=\$HOME'.
1252
1253For better control, use the options below.
1254
1255Fine tuning of the installation directories:
1256  --bindir=DIR            user executables [EPREFIX/bin]
1257  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1258  --libexecdir=DIR        program executables [EPREFIX/libexec]
1259  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1260  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1261  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1262  --libdir=DIR            object code libraries [EPREFIX/lib]
1263  --includedir=DIR        C header files [PREFIX/include]
1264  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1265  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1266  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1267  --infodir=DIR           info documentation [DATAROOTDIR/info]
1268  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1269  --mandir=DIR            man documentation [DATAROOTDIR/man]
1270  --docdir=DIR            documentation root [DATAROOTDIR/doc/pr3287]
1271  --htmldir=DIR           html documentation [DOCDIR]
1272  --dvidir=DIR            dvi documentation [DOCDIR]
1273  --pdfdir=DIR            pdf documentation [DOCDIR]
1274  --psdir=DIR             ps documentation [DOCDIR]
1275_ACEOF
1276
1277  cat <<\_ACEOF
1278
1279System types:
1280  --build=BUILD     configure for building on BUILD [guessed]
1281  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1282_ACEOF
1283fi
1284
1285if test -n "$ac_init_help"; then
1286  case $ac_init_help in
1287     short | recursive ) echo "Configuration of pr3287 4.0:";;
1288   esac
1289  cat <<\_ACEOF
1290
1291Optional Features:
1292  --disable-option-checking  ignore unrecognized --enable/--with options
1293  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1294  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1295  --disable-dbcs          leave out DBCS support
1296  --disable-ipv6          leave out IPv6 support
1297
1298Optional Packages:
1299  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1300  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1301  --with-ssl=DIR          specify OpenSSL install directory
1302
1303Some influential environment variables:
1304  CC          C compiler command
1305  CFLAGS      C compiler flags
1306  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1307              nonstandard directory <lib dir>
1308  LIBS        libraries to pass to the linker, e.g. -l<library>
1309  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1310              you have headers in a nonstandard directory <include dir>
1311  CPP         C preprocessor
1312
1313Use these variables to override the choices made by `configure' or to help
1314it to find libraries and programs with nonstandard names/locations.
1315
1316Report bugs to the package provider.
1317_ACEOF
1318ac_status=$?
1319fi
1320
1321if test "$ac_init_help" = "recursive"; then
1322  # If there are subdirs, report their specific --help.
1323  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324    test -d "$ac_dir" ||
1325      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326      continue
1327    ac_builddir=.
1328
1329case "$ac_dir" in
1330.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1331*)
1332  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333  # A ".." for each directory in $ac_dir_suffix.
1334  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335  case $ac_top_builddir_sub in
1336  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338  esac ;;
1339esac
1340ac_abs_top_builddir=$ac_pwd
1341ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342# for backward compatibility:
1343ac_top_builddir=$ac_top_build_prefix
1344
1345case $srcdir in
1346  .)  # We are building in place.
1347    ac_srcdir=.
1348    ac_top_srcdir=$ac_top_builddir_sub
1349    ac_abs_top_srcdir=$ac_pwd ;;
1350  [\\/]* | ?:[\\/]* )  # Absolute name.
1351    ac_srcdir=$srcdir$ac_dir_suffix;
1352    ac_top_srcdir=$srcdir
1353    ac_abs_top_srcdir=$srcdir ;;
1354  *) # Relative name.
1355    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356    ac_top_srcdir=$ac_top_build_prefix$srcdir
1357    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358esac
1359ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1360
1361    cd "$ac_dir" || { ac_status=$?; continue; }
1362    # Check for guested configure.
1363    if test -f "$ac_srcdir/configure.gnu"; then
1364      echo &&
1365      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366    elif test -f "$ac_srcdir/configure"; then
1367      echo &&
1368      $SHELL "$ac_srcdir/configure" --help=recursive
1369    else
1370      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371    fi || ac_status=$?
1372    cd "$ac_pwd" || { ac_status=$?; break; }
1373  done
1374fi
1375
1376test -n "$ac_init_help" && exit $ac_status
1377if $ac_init_version; then
1378  cat <<\_ACEOF
1379pr3287 configure 4.0
1380generated by GNU Autoconf 2.68
1381
1382Copyright (C) 2010 Free Software Foundation, Inc.
1383This configure script is free software; the Free Software Foundation
1384gives unlimited permission to copy, distribute and modify it.
1385_ACEOF
1386  exit
1387fi
1388
1389## ------------------------ ##
1390## Autoconf initialization. ##
1391## ------------------------ ##
1392
1393# ac_fn_c_try_compile LINENO
1394# --------------------------
1395# Try to compile conftest.$ac_ext, and return whether this succeeded.
1396ac_fn_c_try_compile ()
1397{
1398  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399  rm -f conftest.$ac_objext
1400  if { { ac_try="$ac_compile"
1401case "(($ac_try" in
1402  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403  *) ac_try_echo=$ac_try;;
1404esac
1405eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406$as_echo "$ac_try_echo"; } >&5
1407  (eval "$ac_compile") 2>conftest.err
1408  ac_status=$?
1409  if test -s conftest.err; then
1410    grep -v '^ *+' conftest.err >conftest.er1
1411    cat conftest.er1 >&5
1412    mv -f conftest.er1 conftest.err
1413  fi
1414  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415  test $ac_status = 0; } && {
1416	 test -z "$ac_c_werror_flag" ||
1417	 test ! -s conftest.err
1418       } && test -s conftest.$ac_objext; then :
1419  ac_retval=0
1420else
1421  $as_echo "$as_me: failed program was:" >&5
1422sed 's/^/| /' conftest.$ac_ext >&5
1423
1424	ac_retval=1
1425fi
1426  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1427  as_fn_set_status $ac_retval
1428
1429} # ac_fn_c_try_compile
1430
1431# ac_fn_c_try_link LINENO
1432# -----------------------
1433# Try to link conftest.$ac_ext, and return whether this succeeded.
1434ac_fn_c_try_link ()
1435{
1436  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1437  rm -f conftest.$ac_objext conftest$ac_exeext
1438  if { { ac_try="$ac_link"
1439case "(($ac_try" in
1440  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1441  *) ac_try_echo=$ac_try;;
1442esac
1443eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1444$as_echo "$ac_try_echo"; } >&5
1445  (eval "$ac_link") 2>conftest.err
1446  ac_status=$?
1447  if test -s conftest.err; then
1448    grep -v '^ *+' conftest.err >conftest.er1
1449    cat conftest.er1 >&5
1450    mv -f conftest.er1 conftest.err
1451  fi
1452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453  test $ac_status = 0; } && {
1454	 test -z "$ac_c_werror_flag" ||
1455	 test ! -s conftest.err
1456       } && test -s conftest$ac_exeext && {
1457	 test "$cross_compiling" = yes ||
1458	 $as_test_x conftest$ac_exeext
1459       }; then :
1460  ac_retval=0
1461else
1462  $as_echo "$as_me: failed program was:" >&5
1463sed 's/^/| /' conftest.$ac_ext >&5
1464
1465	ac_retval=1
1466fi
1467  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1468  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1469  # interfere with the next link command; also delete a directory that is
1470  # left behind by Apple's compiler.  We do this before executing the actions.
1471  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1472  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1473  as_fn_set_status $ac_retval
1474
1475} # ac_fn_c_try_link
1476
1477# ac_fn_c_try_cpp LINENO
1478# ----------------------
1479# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1480ac_fn_c_try_cpp ()
1481{
1482  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1483  if { { ac_try="$ac_cpp conftest.$ac_ext"
1484case "(($ac_try" in
1485  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1486  *) ac_try_echo=$ac_try;;
1487esac
1488eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489$as_echo "$ac_try_echo"; } >&5
1490  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1491  ac_status=$?
1492  if test -s conftest.err; then
1493    grep -v '^ *+' conftest.err >conftest.er1
1494    cat conftest.er1 >&5
1495    mv -f conftest.er1 conftest.err
1496  fi
1497  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498  test $ac_status = 0; } > conftest.i && {
1499	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1500	 test ! -s conftest.err
1501       }; then :
1502  ac_retval=0
1503else
1504  $as_echo "$as_me: failed program was:" >&5
1505sed 's/^/| /' conftest.$ac_ext >&5
1506
1507    ac_retval=1
1508fi
1509  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1510  as_fn_set_status $ac_retval
1511
1512} # ac_fn_c_try_cpp
1513
1514# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1515# -------------------------------------------------------
1516# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1517# the include files in INCLUDES and setting the cache variable VAR
1518# accordingly.
1519ac_fn_c_check_header_mongrel ()
1520{
1521  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522  if eval \${$3+:} false; then :
1523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1524$as_echo_n "checking for $2... " >&6; }
1525if eval \${$3+:} false; then :
1526  $as_echo_n "(cached) " >&6
1527fi
1528eval ac_res=\$$3
1529	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1530$as_echo "$ac_res" >&6; }
1531else
1532  # Is the header compilable?
1533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1534$as_echo_n "checking $2 usability... " >&6; }
1535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1536/* end confdefs.h.  */
1537$4
1538#include <$2>
1539_ACEOF
1540if ac_fn_c_try_compile "$LINENO"; then :
1541  ac_header_compiler=yes
1542else
1543  ac_header_compiler=no
1544fi
1545rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1547$as_echo "$ac_header_compiler" >&6; }
1548
1549# Is the header present?
1550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1551$as_echo_n "checking $2 presence... " >&6; }
1552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1553/* end confdefs.h.  */
1554#include <$2>
1555_ACEOF
1556if ac_fn_c_try_cpp "$LINENO"; then :
1557  ac_header_preproc=yes
1558else
1559  ac_header_preproc=no
1560fi
1561rm -f conftest.err conftest.i conftest.$ac_ext
1562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1563$as_echo "$ac_header_preproc" >&6; }
1564
1565# So?  What about this header?
1566case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1567  yes:no: )
1568    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1569$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1570    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1571$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1572    ;;
1573  no:yes:* )
1574    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1575$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1576    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1577$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1578    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1579$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1580    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1581$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1582    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1583$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1584    ;;
1585esac
1586  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587$as_echo_n "checking for $2... " >&6; }
1588if eval \${$3+:} false; then :
1589  $as_echo_n "(cached) " >&6
1590else
1591  eval "$3=\$ac_header_compiler"
1592fi
1593eval ac_res=\$$3
1594	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1595$as_echo "$ac_res" >&6; }
1596fi
1597  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1598
1599} # ac_fn_c_check_header_mongrel
1600
1601# ac_fn_c_try_run LINENO
1602# ----------------------
1603# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1604# that executables *can* be run.
1605ac_fn_c_try_run ()
1606{
1607  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608  if { { ac_try="$ac_link"
1609case "(($ac_try" in
1610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611  *) ac_try_echo=$ac_try;;
1612esac
1613eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614$as_echo "$ac_try_echo"; } >&5
1615  (eval "$ac_link") 2>&5
1616  ac_status=$?
1617  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1619  { { case "(($ac_try" in
1620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621  *) ac_try_echo=$ac_try;;
1622esac
1623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624$as_echo "$ac_try_echo"; } >&5
1625  (eval "$ac_try") 2>&5
1626  ac_status=$?
1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628  test $ac_status = 0; }; }; then :
1629  ac_retval=0
1630else
1631  $as_echo "$as_me: program exited with status $ac_status" >&5
1632       $as_echo "$as_me: failed program was:" >&5
1633sed 's/^/| /' conftest.$ac_ext >&5
1634
1635       ac_retval=$ac_status
1636fi
1637  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1638  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1639  as_fn_set_status $ac_retval
1640
1641} # ac_fn_c_try_run
1642
1643# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1644# -------------------------------------------------------
1645# Tests whether HEADER exists and can be compiled using the include files in
1646# INCLUDES, setting the cache variable VAR accordingly.
1647ac_fn_c_check_header_compile ()
1648{
1649  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1650  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1651$as_echo_n "checking for $2... " >&6; }
1652if eval \${$3+:} false; then :
1653  $as_echo_n "(cached) " >&6
1654else
1655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1656/* end confdefs.h.  */
1657$4
1658#include <$2>
1659_ACEOF
1660if ac_fn_c_try_compile "$LINENO"; then :
1661  eval "$3=yes"
1662else
1663  eval "$3=no"
1664fi
1665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1666fi
1667eval ac_res=\$$3
1668	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1669$as_echo "$ac_res" >&6; }
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671
1672} # ac_fn_c_check_header_compile
1673
1674# ac_fn_c_check_func LINENO FUNC VAR
1675# ----------------------------------
1676# Tests whether FUNC exists, setting the cache variable VAR accordingly
1677ac_fn_c_check_func ()
1678{
1679  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1681$as_echo_n "checking for $2... " >&6; }
1682if eval \${$3+:} false; then :
1683  $as_echo_n "(cached) " >&6
1684else
1685  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1686/* end confdefs.h.  */
1687/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1688   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1689#define $2 innocuous_$2
1690
1691/* System header to define __stub macros and hopefully few prototypes,
1692    which can conflict with char $2 (); below.
1693    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1694    <limits.h> exists even on freestanding compilers.  */
1695
1696#ifdef __STDC__
1697# include <limits.h>
1698#else
1699# include <assert.h>
1700#endif
1701
1702#undef $2
1703
1704/* Override any GCC internal prototype to avoid an error.
1705   Use char because int might match the return type of a GCC
1706   builtin and then its argument prototype would still apply.  */
1707#ifdef __cplusplus
1708extern "C"
1709#endif
1710char $2 ();
1711/* The GNU C library defines this for functions which it implements
1712    to always fail with ENOSYS.  Some functions are actually named
1713    something starting with __ and the normal name is an alias.  */
1714#if defined __stub_$2 || defined __stub___$2
1715choke me
1716#endif
1717
1718int
1719main ()
1720{
1721return $2 ();
1722  ;
1723  return 0;
1724}
1725_ACEOF
1726if ac_fn_c_try_link "$LINENO"; then :
1727  eval "$3=yes"
1728else
1729  eval "$3=no"
1730fi
1731rm -f core conftest.err conftest.$ac_objext \
1732    conftest$ac_exeext conftest.$ac_ext
1733fi
1734eval ac_res=\$$3
1735	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736$as_echo "$ac_res" >&6; }
1737  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738
1739} # ac_fn_c_check_func
1740cat >config.log <<_ACEOF
1741This file contains any messages produced by compilers while
1742running configure, to aid debugging if configure makes a mistake.
1743
1744It was created by pr3287 $as_me 4.0, which was
1745generated by GNU Autoconf 2.68.  Invocation command line was
1746
1747  $ $0 $@
1748
1749_ACEOF
1750exec 5>>config.log
1751{
1752cat <<_ASUNAME
1753## --------- ##
1754## Platform. ##
1755## --------- ##
1756
1757hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1758uname -m = `(uname -m) 2>/dev/null || echo unknown`
1759uname -r = `(uname -r) 2>/dev/null || echo unknown`
1760uname -s = `(uname -s) 2>/dev/null || echo unknown`
1761uname -v = `(uname -v) 2>/dev/null || echo unknown`
1762
1763/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1764/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1765
1766/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1767/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1768/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1769/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1770/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1771/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1772/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1773
1774_ASUNAME
1775
1776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1777for as_dir in $PATH
1778do
1779  IFS=$as_save_IFS
1780  test -z "$as_dir" && as_dir=.
1781    $as_echo "PATH: $as_dir"
1782  done
1783IFS=$as_save_IFS
1784
1785} >&5
1786
1787cat >&5 <<_ACEOF
1788
1789
1790## ----------- ##
1791## Core tests. ##
1792## ----------- ##
1793
1794_ACEOF
1795
1796
1797# Keep a trace of the command line.
1798# Strip out --no-create and --no-recursion so they do not pile up.
1799# Strip out --silent because we don't want to record it for future runs.
1800# Also quote any args containing shell meta-characters.
1801# Make two passes to allow for proper duplicate-argument suppression.
1802ac_configure_args=
1803ac_configure_args0=
1804ac_configure_args1=
1805ac_must_keep_next=false
1806for ac_pass in 1 2
1807do
1808  for ac_arg
1809  do
1810    case $ac_arg in
1811    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1812    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1813    | -silent | --silent | --silen | --sile | --sil)
1814      continue ;;
1815    *\'*)
1816      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1817    esac
1818    case $ac_pass in
1819    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1820    2)
1821      as_fn_append ac_configure_args1 " '$ac_arg'"
1822      if test $ac_must_keep_next = true; then
1823	ac_must_keep_next=false # Got value, back to normal.
1824      else
1825	case $ac_arg in
1826	  *=* | --config-cache | -C | -disable-* | --disable-* \
1827	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1828	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1829	  | -with-* | --with-* | -without-* | --without-* | --x)
1830	    case "$ac_configure_args0 " in
1831	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1832	    esac
1833	    ;;
1834	  -* ) ac_must_keep_next=true ;;
1835	esac
1836      fi
1837      as_fn_append ac_configure_args " '$ac_arg'"
1838      ;;
1839    esac
1840  done
1841done
1842{ ac_configure_args0=; unset ac_configure_args0;}
1843{ ac_configure_args1=; unset ac_configure_args1;}
1844
1845# When interrupted or exit'd, cleanup temporary files, and complete
1846# config.log.  We remove comments because anyway the quotes in there
1847# would cause problems or look ugly.
1848# WARNING: Use '\'' to represent an apostrophe within the trap.
1849# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1850trap 'exit_status=$?
1851  # Save into config.log some information that might help in debugging.
1852  {
1853    echo
1854
1855    $as_echo "## ---------------- ##
1856## Cache variables. ##
1857## ---------------- ##"
1858    echo
1859    # The following way of writing the cache mishandles newlines in values,
1860(
1861  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1862    eval ac_val=\$$ac_var
1863    case $ac_val in #(
1864    *${as_nl}*)
1865      case $ac_var in #(
1866      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1867$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1868      esac
1869      case $ac_var in #(
1870      _ | IFS | as_nl) ;; #(
1871      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1872      *) { eval $ac_var=; unset $ac_var;} ;;
1873      esac ;;
1874    esac
1875  done
1876  (set) 2>&1 |
1877    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1878    *${as_nl}ac_space=\ *)
1879      sed -n \
1880	"s/'\''/'\''\\\\'\'''\''/g;
1881	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1882      ;; #(
1883    *)
1884      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1885      ;;
1886    esac |
1887    sort
1888)
1889    echo
1890
1891    $as_echo "## ----------------- ##
1892## Output variables. ##
1893## ----------------- ##"
1894    echo
1895    for ac_var in $ac_subst_vars
1896    do
1897      eval ac_val=\$$ac_var
1898      case $ac_val in
1899      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900      esac
1901      $as_echo "$ac_var='\''$ac_val'\''"
1902    done | sort
1903    echo
1904
1905    if test -n "$ac_subst_files"; then
1906      $as_echo "## ------------------- ##
1907## File substitutions. ##
1908## ------------------- ##"
1909      echo
1910      for ac_var in $ac_subst_files
1911      do
1912	eval ac_val=\$$ac_var
1913	case $ac_val in
1914	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1915	esac
1916	$as_echo "$ac_var='\''$ac_val'\''"
1917      done | sort
1918      echo
1919    fi
1920
1921    if test -s confdefs.h; then
1922      $as_echo "## ----------- ##
1923## confdefs.h. ##
1924## ----------- ##"
1925      echo
1926      cat confdefs.h
1927      echo
1928    fi
1929    test "$ac_signal" != 0 &&
1930      $as_echo "$as_me: caught signal $ac_signal"
1931    $as_echo "$as_me: exit $exit_status"
1932  } >&5
1933  rm -f core *.core core.conftest.* &&
1934    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1935    exit $exit_status
1936' 0
1937for ac_signal in 1 2 13 15; do
1938  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1939done
1940ac_signal=0
1941
1942# confdefs.h avoids OS command line length limits that DEFS can exceed.
1943rm -f -r conftest* confdefs.h
1944
1945$as_echo "/* confdefs.h */" > confdefs.h
1946
1947# Predefined preprocessor variables.
1948
1949cat >>confdefs.h <<_ACEOF
1950#define PACKAGE_NAME "$PACKAGE_NAME"
1951_ACEOF
1952
1953cat >>confdefs.h <<_ACEOF
1954#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1955_ACEOF
1956
1957cat >>confdefs.h <<_ACEOF
1958#define PACKAGE_VERSION "$PACKAGE_VERSION"
1959_ACEOF
1960
1961cat >>confdefs.h <<_ACEOF
1962#define PACKAGE_STRING "$PACKAGE_STRING"
1963_ACEOF
1964
1965cat >>confdefs.h <<_ACEOF
1966#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1967_ACEOF
1968
1969cat >>confdefs.h <<_ACEOF
1970#define PACKAGE_URL "$PACKAGE_URL"
1971_ACEOF
1972
1973
1974# Let the site file select an alternate cache file if it wants to.
1975# Prefer an explicitly selected file to automatically selected ones.
1976ac_site_file1=NONE
1977ac_site_file2=NONE
1978if test -n "$CONFIG_SITE"; then
1979  # We do not want a PATH search for config.site.
1980  case $CONFIG_SITE in #((
1981    -*)  ac_site_file1=./$CONFIG_SITE;;
1982    */*) ac_site_file1=$CONFIG_SITE;;
1983    *)   ac_site_file1=./$CONFIG_SITE;;
1984  esac
1985elif test "x$prefix" != xNONE; then
1986  ac_site_file1=$prefix/share/config.site
1987  ac_site_file2=$prefix/etc/config.site
1988else
1989  ac_site_file1=$ac_default_prefix/share/config.site
1990  ac_site_file2=$ac_default_prefix/etc/config.site
1991fi
1992for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1993do
1994  test "x$ac_site_file" = xNONE && continue
1995  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1996    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1997$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1998    sed 's/^/| /' "$ac_site_file" >&5
1999    . "$ac_site_file" \
2000      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2001$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2002as_fn_error $? "failed to load site script $ac_site_file
2003See \`config.log' for more details" "$LINENO" 5; }
2004  fi
2005done
2006
2007if test -r "$cache_file"; then
2008  # Some versions of bash will fail to source /dev/null (special files
2009  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2010  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2011    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2012$as_echo "$as_me: loading cache $cache_file" >&6;}
2013    case $cache_file in
2014      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2015      *)                      . "./$cache_file";;
2016    esac
2017  fi
2018else
2019  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2020$as_echo "$as_me: creating cache $cache_file" >&6;}
2021  >$cache_file
2022fi
2023
2024# Check that the precious variables saved in the cache have kept the same
2025# value.
2026ac_cache_corrupted=false
2027for ac_var in $ac_precious_vars; do
2028  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2029  eval ac_new_set=\$ac_env_${ac_var}_set
2030  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2031  eval ac_new_val=\$ac_env_${ac_var}_value
2032  case $ac_old_set,$ac_new_set in
2033    set,)
2034      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2035$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2036      ac_cache_corrupted=: ;;
2037    ,set)
2038      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2039$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2040      ac_cache_corrupted=: ;;
2041    ,);;
2042    *)
2043      if test "x$ac_old_val" != "x$ac_new_val"; then
2044	# differences in whitespace do not lead to failure.
2045	ac_old_val_w=`echo x $ac_old_val`
2046	ac_new_val_w=`echo x $ac_new_val`
2047	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2048	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2049$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2050	  ac_cache_corrupted=:
2051	else
2052	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2053$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2054	  eval $ac_var=\$ac_old_val
2055	fi
2056	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2057$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2058	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2059$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2060      fi;;
2061  esac
2062  # Pass precious variables to config.status.
2063  if test "$ac_new_set" = set; then
2064    case $ac_new_val in
2065    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2066    *) ac_arg=$ac_var=$ac_new_val ;;
2067    esac
2068    case " $ac_configure_args " in
2069      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2070      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2071    esac
2072  fi
2073done
2074if $ac_cache_corrupted; then
2075  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2077  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2078$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2079  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2080fi
2081## -------------------- ##
2082## Main body of script. ##
2083## -------------------- ##
2084
2085ac_ext=c
2086ac_cpp='$CPP $CPPFLAGS'
2087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090
2091
2092
2093
2094ac_aux_dir=
2095for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2096  if test -f "$ac_dir/install-sh"; then
2097    ac_aux_dir=$ac_dir
2098    ac_install_sh="$ac_aux_dir/install-sh -c"
2099    break
2100  elif test -f "$ac_dir/install.sh"; then
2101    ac_aux_dir=$ac_dir
2102    ac_install_sh="$ac_aux_dir/install.sh -c"
2103    break
2104  elif test -f "$ac_dir/shtool"; then
2105    ac_aux_dir=$ac_dir
2106    ac_install_sh="$ac_aux_dir/shtool install -c"
2107    break
2108  fi
2109done
2110if test -z "$ac_aux_dir"; then
2111  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2112fi
2113
2114# These three variables are undocumented and unsupported,
2115# and are intended to be withdrawn in a future Autoconf release.
2116# They can cause serious problems if a builder's source tree is in a directory
2117# whose full name contains unusual characters.
2118ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2119ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2120ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2121
2122
2123# Find a good install program.  We prefer a C program (faster),
2124# so one script is as good as another.  But avoid the broken or
2125# incompatible versions:
2126# SysV /etc/install, /usr/sbin/install
2127# SunOS /usr/etc/install
2128# IRIX /sbin/install
2129# AIX /bin/install
2130# AmigaOS /C/install, which installs bootblocks on floppy discs
2131# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2132# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2133# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2134# OS/2's system install, which has a completely different semantic
2135# ./install, which can be erroneously created by make from ./install.sh.
2136# Reject install programs that cannot install multiple files.
2137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2138$as_echo_n "checking for a BSD-compatible install... " >&6; }
2139if test -z "$INSTALL"; then
2140if ${ac_cv_path_install+:} false; then :
2141  $as_echo_n "(cached) " >&6
2142else
2143  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2144for as_dir in $PATH
2145do
2146  IFS=$as_save_IFS
2147  test -z "$as_dir" && as_dir=.
2148    # Account for people who put trailing slashes in PATH elements.
2149case $as_dir/ in #((
2150  ./ | .// | /[cC]/* | \
2151  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2152  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2153  /usr/ucb/* ) ;;
2154  *)
2155    # OSF1 and SCO ODT 3.0 have their own names for install.
2156    # Don't use installbsd from OSF since it installs stuff as root
2157    # by default.
2158    for ac_prog in ginstall scoinst install; do
2159      for ac_exec_ext in '' $ac_executable_extensions; do
2160	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2161	  if test $ac_prog = install &&
2162	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2163	    # AIX install.  It has an incompatible calling convention.
2164	    :
2165	  elif test $ac_prog = install &&
2166	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2167	    # program-specific install script used by HP pwplus--don't use.
2168	    :
2169	  else
2170	    rm -rf conftest.one conftest.two conftest.dir
2171	    echo one > conftest.one
2172	    echo two > conftest.two
2173	    mkdir conftest.dir
2174	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2175	      test -s conftest.one && test -s conftest.two &&
2176	      test -s conftest.dir/conftest.one &&
2177	      test -s conftest.dir/conftest.two
2178	    then
2179	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2180	      break 3
2181	    fi
2182	  fi
2183	fi
2184      done
2185    done
2186    ;;
2187esac
2188
2189  done
2190IFS=$as_save_IFS
2191
2192rm -rf conftest.one conftest.two conftest.dir
2193
2194fi
2195  if test "${ac_cv_path_install+set}" = set; then
2196    INSTALL=$ac_cv_path_install
2197  else
2198    # As a last resort, use the slow shell script.  Don't cache a
2199    # value for INSTALL within a source directory, because that will
2200    # break other packages using the cache if that directory is
2201    # removed, or if the value is a relative name.
2202    INSTALL=$ac_install_sh
2203  fi
2204fi
2205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2206$as_echo "$INSTALL" >&6; }
2207
2208# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2209# It thinks the first close brace ends the variable substitution.
2210test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2211
2212test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2213
2214test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2215
2216ac_ext=c
2217ac_cpp='$CPP $CPPFLAGS'
2218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2220ac_compiler_gnu=$ac_cv_c_compiler_gnu
2221if test -n "$ac_tool_prefix"; then
2222  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2223set dummy ${ac_tool_prefix}gcc; ac_word=$2
2224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2225$as_echo_n "checking for $ac_word... " >&6; }
2226if ${ac_cv_prog_CC+:} false; then :
2227  $as_echo_n "(cached) " >&6
2228else
2229  if test -n "$CC"; then
2230  ac_cv_prog_CC="$CC" # Let the user override the test.
2231else
2232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2233for as_dir in $PATH
2234do
2235  IFS=$as_save_IFS
2236  test -z "$as_dir" && as_dir=.
2237    for ac_exec_ext in '' $ac_executable_extensions; do
2238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2239    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2241    break 2
2242  fi
2243done
2244  done
2245IFS=$as_save_IFS
2246
2247fi
2248fi
2249CC=$ac_cv_prog_CC
2250if test -n "$CC"; then
2251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2252$as_echo "$CC" >&6; }
2253else
2254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2255$as_echo "no" >&6; }
2256fi
2257
2258
2259fi
2260if test -z "$ac_cv_prog_CC"; then
2261  ac_ct_CC=$CC
2262  # Extract the first word of "gcc", so it can be a program name with args.
2263set dummy gcc; ac_word=$2
2264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2265$as_echo_n "checking for $ac_word... " >&6; }
2266if ${ac_cv_prog_ac_ct_CC+:} false; then :
2267  $as_echo_n "(cached) " >&6
2268else
2269  if test -n "$ac_ct_CC"; then
2270  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2271else
2272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2273for as_dir in $PATH
2274do
2275  IFS=$as_save_IFS
2276  test -z "$as_dir" && as_dir=.
2277    for ac_exec_ext in '' $ac_executable_extensions; do
2278  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279    ac_cv_prog_ac_ct_CC="gcc"
2280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2281    break 2
2282  fi
2283done
2284  done
2285IFS=$as_save_IFS
2286
2287fi
2288fi
2289ac_ct_CC=$ac_cv_prog_ac_ct_CC
2290if test -n "$ac_ct_CC"; then
2291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2292$as_echo "$ac_ct_CC" >&6; }
2293else
2294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2295$as_echo "no" >&6; }
2296fi
2297
2298  if test "x$ac_ct_CC" = x; then
2299    CC=""
2300  else
2301    case $cross_compiling:$ac_tool_warned in
2302yes:)
2303{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2304$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2305ac_tool_warned=yes ;;
2306esac
2307    CC=$ac_ct_CC
2308  fi
2309else
2310  CC="$ac_cv_prog_CC"
2311fi
2312
2313if test -z "$CC"; then
2314          if test -n "$ac_tool_prefix"; then
2315    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2316set dummy ${ac_tool_prefix}cc; ac_word=$2
2317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2318$as_echo_n "checking for $ac_word... " >&6; }
2319if ${ac_cv_prog_CC+:} false; then :
2320  $as_echo_n "(cached) " >&6
2321else
2322  if test -n "$CC"; then
2323  ac_cv_prog_CC="$CC" # Let the user override the test.
2324else
2325as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2326for as_dir in $PATH
2327do
2328  IFS=$as_save_IFS
2329  test -z "$as_dir" && as_dir=.
2330    for ac_exec_ext in '' $ac_executable_extensions; do
2331  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2332    ac_cv_prog_CC="${ac_tool_prefix}cc"
2333    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2334    break 2
2335  fi
2336done
2337  done
2338IFS=$as_save_IFS
2339
2340fi
2341fi
2342CC=$ac_cv_prog_CC
2343if test -n "$CC"; then
2344  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2345$as_echo "$CC" >&6; }
2346else
2347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2348$as_echo "no" >&6; }
2349fi
2350
2351
2352  fi
2353fi
2354if test -z "$CC"; then
2355  # Extract the first word of "cc", so it can be a program name with args.
2356set dummy cc; ac_word=$2
2357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2358$as_echo_n "checking for $ac_word... " >&6; }
2359if ${ac_cv_prog_CC+:} false; then :
2360  $as_echo_n "(cached) " >&6
2361else
2362  if test -n "$CC"; then
2363  ac_cv_prog_CC="$CC" # Let the user override the test.
2364else
2365  ac_prog_rejected=no
2366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2367for as_dir in $PATH
2368do
2369  IFS=$as_save_IFS
2370  test -z "$as_dir" && as_dir=.
2371    for ac_exec_ext in '' $ac_executable_extensions; do
2372  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2373    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2374       ac_prog_rejected=yes
2375       continue
2376     fi
2377    ac_cv_prog_CC="cc"
2378    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2379    break 2
2380  fi
2381done
2382  done
2383IFS=$as_save_IFS
2384
2385if test $ac_prog_rejected = yes; then
2386  # We found a bogon in the path, so make sure we never use it.
2387  set dummy $ac_cv_prog_CC
2388  shift
2389  if test $# != 0; then
2390    # We chose a different compiler from the bogus one.
2391    # However, it has the same basename, so the bogon will be chosen
2392    # first if we set CC to just the basename; use the full file name.
2393    shift
2394    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2395  fi
2396fi
2397fi
2398fi
2399CC=$ac_cv_prog_CC
2400if test -n "$CC"; then
2401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2402$as_echo "$CC" >&6; }
2403else
2404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2405$as_echo "no" >&6; }
2406fi
2407
2408
2409fi
2410if test -z "$CC"; then
2411  if test -n "$ac_tool_prefix"; then
2412  for ac_prog in cl.exe
2413  do
2414    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2415set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2417$as_echo_n "checking for $ac_word... " >&6; }
2418if ${ac_cv_prog_CC+:} false; then :
2419  $as_echo_n "(cached) " >&6
2420else
2421  if test -n "$CC"; then
2422  ac_cv_prog_CC="$CC" # Let the user override the test.
2423else
2424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425for as_dir in $PATH
2426do
2427  IFS=$as_save_IFS
2428  test -z "$as_dir" && as_dir=.
2429    for ac_exec_ext in '' $ac_executable_extensions; do
2430  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2431    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2432    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2433    break 2
2434  fi
2435done
2436  done
2437IFS=$as_save_IFS
2438
2439fi
2440fi
2441CC=$ac_cv_prog_CC
2442if test -n "$CC"; then
2443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2444$as_echo "$CC" >&6; }
2445else
2446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2447$as_echo "no" >&6; }
2448fi
2449
2450
2451    test -n "$CC" && break
2452  done
2453fi
2454if test -z "$CC"; then
2455  ac_ct_CC=$CC
2456  for ac_prog in cl.exe
2457do
2458  # Extract the first word of "$ac_prog", so it can be a program name with args.
2459set dummy $ac_prog; ac_word=$2
2460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461$as_echo_n "checking for $ac_word... " >&6; }
2462if ${ac_cv_prog_ac_ct_CC+:} false; then :
2463  $as_echo_n "(cached) " >&6
2464else
2465  if test -n "$ac_ct_CC"; then
2466  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2467else
2468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469for as_dir in $PATH
2470do
2471  IFS=$as_save_IFS
2472  test -z "$as_dir" && as_dir=.
2473    for ac_exec_ext in '' $ac_executable_extensions; do
2474  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475    ac_cv_prog_ac_ct_CC="$ac_prog"
2476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477    break 2
2478  fi
2479done
2480  done
2481IFS=$as_save_IFS
2482
2483fi
2484fi
2485ac_ct_CC=$ac_cv_prog_ac_ct_CC
2486if test -n "$ac_ct_CC"; then
2487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2488$as_echo "$ac_ct_CC" >&6; }
2489else
2490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491$as_echo "no" >&6; }
2492fi
2493
2494
2495  test -n "$ac_ct_CC" && break
2496done
2497
2498  if test "x$ac_ct_CC" = x; then
2499    CC=""
2500  else
2501    case $cross_compiling:$ac_tool_warned in
2502yes:)
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2504$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2505ac_tool_warned=yes ;;
2506esac
2507    CC=$ac_ct_CC
2508  fi
2509fi
2510
2511fi
2512
2513
2514test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2515$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2516as_fn_error $? "no acceptable C compiler found in \$PATH
2517See \`config.log' for more details" "$LINENO" 5; }
2518
2519# Provide some information about the compiler.
2520$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2521set X $ac_compile
2522ac_compiler=$2
2523for ac_option in --version -v -V -qversion; do
2524  { { ac_try="$ac_compiler $ac_option >&5"
2525case "(($ac_try" in
2526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2527  *) ac_try_echo=$ac_try;;
2528esac
2529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2530$as_echo "$ac_try_echo"; } >&5
2531  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2532  ac_status=$?
2533  if test -s conftest.err; then
2534    sed '10a\
2535... rest of stderr output deleted ...
2536         10q' conftest.err >conftest.er1
2537    cat conftest.er1 >&5
2538  fi
2539  rm -f conftest.er1 conftest.err
2540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2541  test $ac_status = 0; }
2542done
2543
2544cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545/* end confdefs.h.  */
2546
2547int
2548main ()
2549{
2550
2551  ;
2552  return 0;
2553}
2554_ACEOF
2555ac_clean_files_save=$ac_clean_files
2556ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2557# Try to create an executable without -o first, disregard a.out.
2558# It will help us diagnose broken compilers, and finding out an intuition
2559# of exeext.
2560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2561$as_echo_n "checking whether the C compiler works... " >&6; }
2562ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2563
2564# The possible output files:
2565ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2566
2567ac_rmfiles=
2568for ac_file in $ac_files
2569do
2570  case $ac_file in
2571    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2572    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2573  esac
2574done
2575rm -f $ac_rmfiles
2576
2577if { { ac_try="$ac_link_default"
2578case "(($ac_try" in
2579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580  *) ac_try_echo=$ac_try;;
2581esac
2582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2583$as_echo "$ac_try_echo"; } >&5
2584  (eval "$ac_link_default") 2>&5
2585  ac_status=$?
2586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2587  test $ac_status = 0; }; then :
2588  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2589# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2590# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2591# so that the user can short-circuit this test for compilers unknown to
2592# Autoconf.
2593for ac_file in $ac_files ''
2594do
2595  test -f "$ac_file" || continue
2596  case $ac_file in
2597    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2598	;;
2599    [ab].out )
2600	# We found the default executable, but exeext='' is most
2601	# certainly right.
2602	break;;
2603    *.* )
2604	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2605	then :; else
2606	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2607	fi
2608	# We set ac_cv_exeext here because the later test for it is not
2609	# safe: cross compilers may not add the suffix if given an `-o'
2610	# argument, so we may need to know it at that point already.
2611	# Even if this section looks crufty: it has the advantage of
2612	# actually working.
2613	break;;
2614    * )
2615	break;;
2616  esac
2617done
2618test "$ac_cv_exeext" = no && ac_cv_exeext=
2619
2620else
2621  ac_file=''
2622fi
2623if test -z "$ac_file"; then :
2624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2625$as_echo "no" >&6; }
2626$as_echo "$as_me: failed program was:" >&5
2627sed 's/^/| /' conftest.$ac_ext >&5
2628
2629{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2630$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2631as_fn_error 77 "C compiler cannot create executables
2632See \`config.log' for more details" "$LINENO" 5; }
2633else
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2635$as_echo "yes" >&6; }
2636fi
2637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2638$as_echo_n "checking for C compiler default output file name... " >&6; }
2639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2640$as_echo "$ac_file" >&6; }
2641ac_exeext=$ac_cv_exeext
2642
2643rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2644ac_clean_files=$ac_clean_files_save
2645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2646$as_echo_n "checking for suffix of executables... " >&6; }
2647if { { ac_try="$ac_link"
2648case "(($ac_try" in
2649  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2650  *) ac_try_echo=$ac_try;;
2651esac
2652eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2653$as_echo "$ac_try_echo"; } >&5
2654  (eval "$ac_link") 2>&5
2655  ac_status=$?
2656  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2657  test $ac_status = 0; }; then :
2658  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2659# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2660# work properly (i.e., refer to `conftest.exe'), while it won't with
2661# `rm'.
2662for ac_file in conftest.exe conftest conftest.*; do
2663  test -f "$ac_file" || continue
2664  case $ac_file in
2665    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2666    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2667	  break;;
2668    * ) break;;
2669  esac
2670done
2671else
2672  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2675See \`config.log' for more details" "$LINENO" 5; }
2676fi
2677rm -f conftest conftest$ac_cv_exeext
2678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2679$as_echo "$ac_cv_exeext" >&6; }
2680
2681rm -f conftest.$ac_ext
2682EXEEXT=$ac_cv_exeext
2683ac_exeext=$EXEEXT
2684cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2685/* end confdefs.h.  */
2686#include <stdio.h>
2687int
2688main ()
2689{
2690FILE *f = fopen ("conftest.out", "w");
2691 return ferror (f) || fclose (f) != 0;
2692
2693  ;
2694  return 0;
2695}
2696_ACEOF
2697ac_clean_files="$ac_clean_files conftest.out"
2698# Check that the compiler produces executables we can run.  If not, either
2699# the compiler is broken, or we cross compile.
2700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2701$as_echo_n "checking whether we are cross compiling... " >&6; }
2702if test "$cross_compiling" != yes; then
2703  { { ac_try="$ac_link"
2704case "(($ac_try" in
2705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706  *) ac_try_echo=$ac_try;;
2707esac
2708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2709$as_echo "$ac_try_echo"; } >&5
2710  (eval "$ac_link") 2>&5
2711  ac_status=$?
2712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2713  test $ac_status = 0; }
2714  if { ac_try='./conftest$ac_cv_exeext'
2715  { { case "(($ac_try" in
2716  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717  *) ac_try_echo=$ac_try;;
2718esac
2719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2720$as_echo "$ac_try_echo"; } >&5
2721  (eval "$ac_try") 2>&5
2722  ac_status=$?
2723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2724  test $ac_status = 0; }; }; then
2725    cross_compiling=no
2726  else
2727    if test "$cross_compiling" = maybe; then
2728	cross_compiling=yes
2729    else
2730	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2732as_fn_error $? "cannot run C compiled programs.
2733If you meant to cross compile, use \`--host'.
2734See \`config.log' for more details" "$LINENO" 5; }
2735    fi
2736  fi
2737fi
2738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2739$as_echo "$cross_compiling" >&6; }
2740
2741rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2742ac_clean_files=$ac_clean_files_save
2743{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2744$as_echo_n "checking for suffix of object files... " >&6; }
2745if ${ac_cv_objext+:} false; then :
2746  $as_echo_n "(cached) " >&6
2747else
2748  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2749/* end confdefs.h.  */
2750
2751int
2752main ()
2753{
2754
2755  ;
2756  return 0;
2757}
2758_ACEOF
2759rm -f conftest.o conftest.obj
2760if { { ac_try="$ac_compile"
2761case "(($ac_try" in
2762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763  *) ac_try_echo=$ac_try;;
2764esac
2765eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2766$as_echo "$ac_try_echo"; } >&5
2767  (eval "$ac_compile") 2>&5
2768  ac_status=$?
2769  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2770  test $ac_status = 0; }; then :
2771  for ac_file in conftest.o conftest.obj conftest.*; do
2772  test -f "$ac_file" || continue;
2773  case $ac_file in
2774    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2775    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2776       break;;
2777  esac
2778done
2779else
2780  $as_echo "$as_me: failed program was:" >&5
2781sed 's/^/| /' conftest.$ac_ext >&5
2782
2783{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2785as_fn_error $? "cannot compute suffix of object files: cannot compile
2786See \`config.log' for more details" "$LINENO" 5; }
2787fi
2788rm -f conftest.$ac_cv_objext conftest.$ac_ext
2789fi
2790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2791$as_echo "$ac_cv_objext" >&6; }
2792OBJEXT=$ac_cv_objext
2793ac_objext=$OBJEXT
2794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2795$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2796if ${ac_cv_c_compiler_gnu+:} false; then :
2797  $as_echo_n "(cached) " >&6
2798else
2799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2800/* end confdefs.h.  */
2801
2802int
2803main ()
2804{
2805#ifndef __GNUC__
2806       choke me
2807#endif
2808
2809  ;
2810  return 0;
2811}
2812_ACEOF
2813if ac_fn_c_try_compile "$LINENO"; then :
2814  ac_compiler_gnu=yes
2815else
2816  ac_compiler_gnu=no
2817fi
2818rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819ac_cv_c_compiler_gnu=$ac_compiler_gnu
2820
2821fi
2822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2823$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2824if test $ac_compiler_gnu = yes; then
2825  GCC=yes
2826else
2827  GCC=
2828fi
2829ac_test_CFLAGS=${CFLAGS+set}
2830ac_save_CFLAGS=$CFLAGS
2831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2832$as_echo_n "checking whether $CC accepts -g... " >&6; }
2833if ${ac_cv_prog_cc_g+:} false; then :
2834  $as_echo_n "(cached) " >&6
2835else
2836  ac_save_c_werror_flag=$ac_c_werror_flag
2837   ac_c_werror_flag=yes
2838   ac_cv_prog_cc_g=no
2839   CFLAGS="-g"
2840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2841/* end confdefs.h.  */
2842
2843int
2844main ()
2845{
2846
2847  ;
2848  return 0;
2849}
2850_ACEOF
2851if ac_fn_c_try_compile "$LINENO"; then :
2852  ac_cv_prog_cc_g=yes
2853else
2854  CFLAGS=""
2855      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2856/* end confdefs.h.  */
2857
2858int
2859main ()
2860{
2861
2862  ;
2863  return 0;
2864}
2865_ACEOF
2866if ac_fn_c_try_compile "$LINENO"; then :
2867
2868else
2869  ac_c_werror_flag=$ac_save_c_werror_flag
2870	 CFLAGS="-g"
2871	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2872/* end confdefs.h.  */
2873
2874int
2875main ()
2876{
2877
2878  ;
2879  return 0;
2880}
2881_ACEOF
2882if ac_fn_c_try_compile "$LINENO"; then :
2883  ac_cv_prog_cc_g=yes
2884fi
2885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2886fi
2887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2888fi
2889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2890   ac_c_werror_flag=$ac_save_c_werror_flag
2891fi
2892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2893$as_echo "$ac_cv_prog_cc_g" >&6; }
2894if test "$ac_test_CFLAGS" = set; then
2895  CFLAGS=$ac_save_CFLAGS
2896elif test $ac_cv_prog_cc_g = yes; then
2897  if test "$GCC" = yes; then
2898    CFLAGS="-g -O2"
2899  else
2900    CFLAGS="-g"
2901  fi
2902else
2903  if test "$GCC" = yes; then
2904    CFLAGS="-O2"
2905  else
2906    CFLAGS=
2907  fi
2908fi
2909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2910$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2911if ${ac_cv_prog_cc_c89+:} false; then :
2912  $as_echo_n "(cached) " >&6
2913else
2914  ac_cv_prog_cc_c89=no
2915ac_save_CC=$CC
2916cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2917/* end confdefs.h.  */
2918#include <stdarg.h>
2919#include <stdio.h>
2920#include <sys/types.h>
2921#include <sys/stat.h>
2922/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2923struct buf { int x; };
2924FILE * (*rcsopen) (struct buf *, struct stat *, int);
2925static char *e (p, i)
2926     char **p;
2927     int i;
2928{
2929  return p[i];
2930}
2931static char *f (char * (*g) (char **, int), char **p, ...)
2932{
2933  char *s;
2934  va_list v;
2935  va_start (v,p);
2936  s = g (p, va_arg (v,int));
2937  va_end (v);
2938  return s;
2939}
2940
2941/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2942   function prototypes and stuff, but not '\xHH' hex character constants.
2943   These don't provoke an error unfortunately, instead are silently treated
2944   as 'x'.  The following induces an error, until -std is added to get
2945   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2946   array size at least.  It's necessary to write '\x00'==0 to get something
2947   that's true only with -std.  */
2948int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2949
2950/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2951   inside strings and character constants.  */
2952#define FOO(x) 'x'
2953int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2954
2955int test (int i, double x);
2956struct s1 {int (*f) (int a);};
2957struct s2 {int (*f) (double a);};
2958int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2959int argc;
2960char **argv;
2961int
2962main ()
2963{
2964return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2965  ;
2966  return 0;
2967}
2968_ACEOF
2969for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2970	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2971do
2972  CC="$ac_save_CC $ac_arg"
2973  if ac_fn_c_try_compile "$LINENO"; then :
2974  ac_cv_prog_cc_c89=$ac_arg
2975fi
2976rm -f core conftest.err conftest.$ac_objext
2977  test "x$ac_cv_prog_cc_c89" != "xno" && break
2978done
2979rm -f conftest.$ac_ext
2980CC=$ac_save_CC
2981
2982fi
2983# AC_CACHE_VAL
2984case "x$ac_cv_prog_cc_c89" in
2985  x)
2986    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2987$as_echo "none needed" >&6; } ;;
2988  xno)
2989    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2990$as_echo "unsupported" >&6; } ;;
2991  *)
2992    CC="$CC $ac_cv_prog_cc_c89"
2993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2994$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2995esac
2996if test "x$ac_cv_prog_cc_c89" != xno; then :
2997
2998fi
2999
3000ac_ext=c
3001ac_cpp='$CPP $CPPFLAGS'
3002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3004ac_compiler_gnu=$ac_cv_c_compiler_gnu
3005
3006
3007# Make sure we can run config.sub.
3008$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3009  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3010
3011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3012$as_echo_n "checking build system type... " >&6; }
3013if ${ac_cv_build+:} false; then :
3014  $as_echo_n "(cached) " >&6
3015else
3016  ac_build_alias=$build_alias
3017test "x$ac_build_alias" = x &&
3018  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3019test "x$ac_build_alias" = x &&
3020  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3021ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3022  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3023
3024fi
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3026$as_echo "$ac_cv_build" >&6; }
3027case $ac_cv_build in
3028*-*-*) ;;
3029*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3030esac
3031build=$ac_cv_build
3032ac_save_IFS=$IFS; IFS='-'
3033set x $ac_cv_build
3034shift
3035build_cpu=$1
3036build_vendor=$2
3037shift; shift
3038# Remember, the first character of IFS is used to create $*,
3039# except with old shells:
3040build_os=$*
3041IFS=$ac_save_IFS
3042case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3043
3044
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3046$as_echo_n "checking host system type... " >&6; }
3047if ${ac_cv_host+:} false; then :
3048  $as_echo_n "(cached) " >&6
3049else
3050  if test "x$host_alias" = x; then
3051  ac_cv_host=$ac_cv_build
3052else
3053  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3054    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3055fi
3056
3057fi
3058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3059$as_echo "$ac_cv_host" >&6; }
3060case $ac_cv_host in
3061*-*-*) ;;
3062*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3063esac
3064host=$ac_cv_host
3065ac_save_IFS=$IFS; IFS='-'
3066set x $ac_cv_host
3067shift
3068host_cpu=$1
3069host_vendor=$2
3070shift; shift
3071# Remember, the first character of IFS is used to create $*,
3072# except with old shells:
3073host_os=$*
3074IFS=$ac_save_IFS
3075case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3076
3077
3078ansi="-std=c99 -pedantic"
3079case "$host_os" in
3080*cygwin*)	ansi=""
3081		;;
3082solaris2*)	CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
3083		;;
3084darwin*)	CCOPTIONS="$CCOPTIONS -no-cpp-precomp -Wno-deprecated-declarations"
3085		;;
3086linux*)		CPPFLAGS="$CPPFLAGS -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE"
3087		;;
3088esac
3089if test "$GCC" = yes
3090then	# Add common gcc options, plus flags for dependency generation.
3091	CCOPTIONS="$CCOPTIONS -Wall -Wsign-compare $ansi -Wno-variadic-macros -MMD -MP"
3092fi
3093
3094
3095
3096
3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3098$as_echo_n "checking for library containing gethostbyname... " >&6; }
3099if ${ac_cv_search_gethostbyname+:} false; then :
3100  $as_echo_n "(cached) " >&6
3101else
3102  ac_func_search_save_LIBS=$LIBS
3103cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3104/* end confdefs.h.  */
3105
3106/* Override any GCC internal prototype to avoid an error.
3107   Use char because int might match the return type of a GCC
3108   builtin and then its argument prototype would still apply.  */
3109#ifdef __cplusplus
3110extern "C"
3111#endif
3112char gethostbyname ();
3113int
3114main ()
3115{
3116return gethostbyname ();
3117  ;
3118  return 0;
3119}
3120_ACEOF
3121for ac_lib in '' nsl; do
3122  if test -z "$ac_lib"; then
3123    ac_res="none required"
3124  else
3125    ac_res=-l$ac_lib
3126    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3127  fi
3128  if ac_fn_c_try_link "$LINENO"; then :
3129  ac_cv_search_gethostbyname=$ac_res
3130fi
3131rm -f core conftest.err conftest.$ac_objext \
3132    conftest$ac_exeext
3133  if ${ac_cv_search_gethostbyname+:} false; then :
3134  break
3135fi
3136done
3137if ${ac_cv_search_gethostbyname+:} false; then :
3138
3139else
3140  ac_cv_search_gethostbyname=no
3141fi
3142rm conftest.$ac_ext
3143LIBS=$ac_func_search_save_LIBS
3144fi
3145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
3146$as_echo "$ac_cv_search_gethostbyname" >&6; }
3147ac_res=$ac_cv_search_gethostbyname
3148if test "$ac_res" != no; then :
3149  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3150
3151fi
3152
3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
3154$as_echo_n "checking for library containing socket... " >&6; }
3155if ${ac_cv_search_socket+:} false; then :
3156  $as_echo_n "(cached) " >&6
3157else
3158  ac_func_search_save_LIBS=$LIBS
3159cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3160/* end confdefs.h.  */
3161
3162/* Override any GCC internal prototype to avoid an error.
3163   Use char because int might match the return type of a GCC
3164   builtin and then its argument prototype would still apply.  */
3165#ifdef __cplusplus
3166extern "C"
3167#endif
3168char socket ();
3169int
3170main ()
3171{
3172return socket ();
3173  ;
3174  return 0;
3175}
3176_ACEOF
3177for ac_lib in '' socket; do
3178  if test -z "$ac_lib"; then
3179    ac_res="none required"
3180  else
3181    ac_res=-l$ac_lib
3182    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3183  fi
3184  if ac_fn_c_try_link "$LINENO"; then :
3185  ac_cv_search_socket=$ac_res
3186fi
3187rm -f core conftest.err conftest.$ac_objext \
3188    conftest$ac_exeext
3189  if ${ac_cv_search_socket+:} false; then :
3190  break
3191fi
3192done
3193if ${ac_cv_search_socket+:} false; then :
3194
3195else
3196  ac_cv_search_socket=no
3197fi
3198rm conftest.$ac_ext
3199LIBS=$ac_func_search_save_LIBS
3200fi
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
3202$as_echo "$ac_cv_search_socket" >&6; }
3203ac_res=$ac_cv_search_socket
3204if test "$ac_res" != no; then :
3205  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3206
3207fi
3208
3209
3210ac_ext=c
3211ac_cpp='$CPP $CPPFLAGS'
3212ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3213ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3214ac_compiler_gnu=$ac_cv_c_compiler_gnu
3215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3216$as_echo_n "checking how to run the C preprocessor... " >&6; }
3217# On Suns, sometimes $CPP names a directory.
3218if test -n "$CPP" && test -d "$CPP"; then
3219  CPP=
3220fi
3221if test -z "$CPP"; then
3222  if ${ac_cv_prog_CPP+:} false; then :
3223  $as_echo_n "(cached) " >&6
3224else
3225      # Double quotes because CPP needs to be expanded
3226    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3227    do
3228      ac_preproc_ok=false
3229for ac_c_preproc_warn_flag in '' yes
3230do
3231  # Use a header file that comes with gcc, so configuring glibc
3232  # with a fresh cross-compiler works.
3233  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3234  # <limits.h> exists even on freestanding compilers.
3235  # On the NeXT, cc -E runs the code through the compiler's parser,
3236  # not just through cpp. "Syntax error" is here to catch this case.
3237  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238/* end confdefs.h.  */
3239#ifdef __STDC__
3240# include <limits.h>
3241#else
3242# include <assert.h>
3243#endif
3244		     Syntax error
3245_ACEOF
3246if ac_fn_c_try_cpp "$LINENO"; then :
3247
3248else
3249  # Broken: fails on valid input.
3250continue
3251fi
3252rm -f conftest.err conftest.i conftest.$ac_ext
3253
3254  # OK, works on sane cases.  Now check whether nonexistent headers
3255  # can be detected and how.
3256  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257/* end confdefs.h.  */
3258#include <ac_nonexistent.h>
3259_ACEOF
3260if ac_fn_c_try_cpp "$LINENO"; then :
3261  # Broken: success on invalid input.
3262continue
3263else
3264  # Passes both tests.
3265ac_preproc_ok=:
3266break
3267fi
3268rm -f conftest.err conftest.i conftest.$ac_ext
3269
3270done
3271# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3272rm -f conftest.i conftest.err conftest.$ac_ext
3273if $ac_preproc_ok; then :
3274  break
3275fi
3276
3277    done
3278    ac_cv_prog_CPP=$CPP
3279
3280fi
3281  CPP=$ac_cv_prog_CPP
3282else
3283  ac_cv_prog_CPP=$CPP
3284fi
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3286$as_echo "$CPP" >&6; }
3287ac_preproc_ok=false
3288for ac_c_preproc_warn_flag in '' yes
3289do
3290  # Use a header file that comes with gcc, so configuring glibc
3291  # with a fresh cross-compiler works.
3292  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3293  # <limits.h> exists even on freestanding compilers.
3294  # On the NeXT, cc -E runs the code through the compiler's parser,
3295  # not just through cpp. "Syntax error" is here to catch this case.
3296  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297/* end confdefs.h.  */
3298#ifdef __STDC__
3299# include <limits.h>
3300#else
3301# include <assert.h>
3302#endif
3303		     Syntax error
3304_ACEOF
3305if ac_fn_c_try_cpp "$LINENO"; then :
3306
3307else
3308  # Broken: fails on valid input.
3309continue
3310fi
3311rm -f conftest.err conftest.i conftest.$ac_ext
3312
3313  # OK, works on sane cases.  Now check whether nonexistent headers
3314  # can be detected and how.
3315  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3316/* end confdefs.h.  */
3317#include <ac_nonexistent.h>
3318_ACEOF
3319if ac_fn_c_try_cpp "$LINENO"; then :
3320  # Broken: success on invalid input.
3321continue
3322else
3323  # Passes both tests.
3324ac_preproc_ok=:
3325break
3326fi
3327rm -f conftest.err conftest.i conftest.$ac_ext
3328
3329done
3330# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3331rm -f conftest.i conftest.err conftest.$ac_ext
3332if $ac_preproc_ok; then :
3333
3334else
3335  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3336$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3337as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3338See \`config.log' for more details" "$LINENO" 5; }
3339fi
3340
3341ac_ext=c
3342ac_cpp='$CPP $CPPFLAGS'
3343ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3344ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3345ac_compiler_gnu=$ac_cv_c_compiler_gnu
3346
3347
3348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3349$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3350if ${ac_cv_path_GREP+:} false; then :
3351  $as_echo_n "(cached) " >&6
3352else
3353  if test -z "$GREP"; then
3354  ac_path_GREP_found=false
3355  # Loop through the user's path and test for each of PROGNAME-LIST
3356  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3358do
3359  IFS=$as_save_IFS
3360  test -z "$as_dir" && as_dir=.
3361    for ac_prog in grep ggrep; do
3362    for ac_exec_ext in '' $ac_executable_extensions; do
3363      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3364      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3365# Check for GNU ac_path_GREP and select it if it is found.
3366  # Check for GNU $ac_path_GREP
3367case `"$ac_path_GREP" --version 2>&1` in
3368*GNU*)
3369  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3370*)
3371  ac_count=0
3372  $as_echo_n 0123456789 >"conftest.in"
3373  while :
3374  do
3375    cat "conftest.in" "conftest.in" >"conftest.tmp"
3376    mv "conftest.tmp" "conftest.in"
3377    cp "conftest.in" "conftest.nl"
3378    $as_echo 'GREP' >> "conftest.nl"
3379    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3380    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3381    as_fn_arith $ac_count + 1 && ac_count=$as_val
3382    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3383      # Best one so far, save it but keep looking for a better one
3384      ac_cv_path_GREP="$ac_path_GREP"
3385      ac_path_GREP_max=$ac_count
3386    fi
3387    # 10*(2^10) chars as input seems more than enough
3388    test $ac_count -gt 10 && break
3389  done
3390  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3391esac
3392
3393      $ac_path_GREP_found && break 3
3394    done
3395  done
3396  done
3397IFS=$as_save_IFS
3398  if test -z "$ac_cv_path_GREP"; then
3399    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3400  fi
3401else
3402  ac_cv_path_GREP=$GREP
3403fi
3404
3405fi
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3407$as_echo "$ac_cv_path_GREP" >&6; }
3408 GREP="$ac_cv_path_GREP"
3409
3410
3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3412$as_echo_n "checking for egrep... " >&6; }
3413if ${ac_cv_path_EGREP+:} false; then :
3414  $as_echo_n "(cached) " >&6
3415else
3416  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3417   then ac_cv_path_EGREP="$GREP -E"
3418   else
3419     if test -z "$EGREP"; then
3420  ac_path_EGREP_found=false
3421  # Loop through the user's path and test for each of PROGNAME-LIST
3422  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3424do
3425  IFS=$as_save_IFS
3426  test -z "$as_dir" && as_dir=.
3427    for ac_prog in egrep; do
3428    for ac_exec_ext in '' $ac_executable_extensions; do
3429      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3430      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3431# Check for GNU ac_path_EGREP and select it if it is found.
3432  # Check for GNU $ac_path_EGREP
3433case `"$ac_path_EGREP" --version 2>&1` in
3434*GNU*)
3435  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3436*)
3437  ac_count=0
3438  $as_echo_n 0123456789 >"conftest.in"
3439  while :
3440  do
3441    cat "conftest.in" "conftest.in" >"conftest.tmp"
3442    mv "conftest.tmp" "conftest.in"
3443    cp "conftest.in" "conftest.nl"
3444    $as_echo 'EGREP' >> "conftest.nl"
3445    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3446    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3447    as_fn_arith $ac_count + 1 && ac_count=$as_val
3448    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3449      # Best one so far, save it but keep looking for a better one
3450      ac_cv_path_EGREP="$ac_path_EGREP"
3451      ac_path_EGREP_max=$ac_count
3452    fi
3453    # 10*(2^10) chars as input seems more than enough
3454    test $ac_count -gt 10 && break
3455  done
3456  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3457esac
3458
3459      $ac_path_EGREP_found && break 3
3460    done
3461  done
3462  done
3463IFS=$as_save_IFS
3464  if test -z "$ac_cv_path_EGREP"; then
3465    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3466  fi
3467else
3468  ac_cv_path_EGREP=$EGREP
3469fi
3470
3471   fi
3472fi
3473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3474$as_echo "$ac_cv_path_EGREP" >&6; }
3475 EGREP="$ac_cv_path_EGREP"
3476
3477
3478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3479$as_echo_n "checking for ANSI C header files... " >&6; }
3480if ${ac_cv_header_stdc+:} false; then :
3481  $as_echo_n "(cached) " >&6
3482else
3483  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3484/* end confdefs.h.  */
3485#include <stdlib.h>
3486#include <stdarg.h>
3487#include <string.h>
3488#include <float.h>
3489
3490int
3491main ()
3492{
3493
3494  ;
3495  return 0;
3496}
3497_ACEOF
3498if ac_fn_c_try_compile "$LINENO"; then :
3499  ac_cv_header_stdc=yes
3500else
3501  ac_cv_header_stdc=no
3502fi
3503rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3504
3505if test $ac_cv_header_stdc = yes; then
3506  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3507  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508/* end confdefs.h.  */
3509#include <string.h>
3510
3511_ACEOF
3512if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3513  $EGREP "memchr" >/dev/null 2>&1; then :
3514
3515else
3516  ac_cv_header_stdc=no
3517fi
3518rm -f conftest*
3519
3520fi
3521
3522if test $ac_cv_header_stdc = yes; then
3523  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3524  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3525/* end confdefs.h.  */
3526#include <stdlib.h>
3527
3528_ACEOF
3529if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3530  $EGREP "free" >/dev/null 2>&1; then :
3531
3532else
3533  ac_cv_header_stdc=no
3534fi
3535rm -f conftest*
3536
3537fi
3538
3539if test $ac_cv_header_stdc = yes; then
3540  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3541  if test "$cross_compiling" = yes; then :
3542  :
3543else
3544  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h.  */
3546#include <ctype.h>
3547#include <stdlib.h>
3548#if ((' ' & 0x0FF) == 0x020)
3549# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3550# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3551#else
3552# define ISLOWER(c) \
3553		   (('a' <= (c) && (c) <= 'i') \
3554		     || ('j' <= (c) && (c) <= 'r') \
3555		     || ('s' <= (c) && (c) <= 'z'))
3556# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3557#endif
3558
3559#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3560int
3561main ()
3562{
3563  int i;
3564  for (i = 0; i < 256; i++)
3565    if (XOR (islower (i), ISLOWER (i))
3566	|| toupper (i) != TOUPPER (i))
3567      return 2;
3568  return 0;
3569}
3570_ACEOF
3571if ac_fn_c_try_run "$LINENO"; then :
3572
3573else
3574  ac_cv_header_stdc=no
3575fi
3576rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3577  conftest.$ac_objext conftest.beam conftest.$ac_ext
3578fi
3579
3580fi
3581fi
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3583$as_echo "$ac_cv_header_stdc" >&6; }
3584if test $ac_cv_header_stdc = yes; then
3585
3586$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3587
3588fi
3589
3590# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3591for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3592		  inttypes.h stdint.h unistd.h
3593do :
3594  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3595ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3596"
3597if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3598  cat >>confdefs.h <<_ACEOF
3599#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3600_ACEOF
3601
3602fi
3603
3604done
3605
3606
3607for ac_header in iconv.h
3608do :
3609  ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
3610if test "x$ac_cv_header_iconv_h" = xyes; then :
3611  cat >>confdefs.h <<_ACEOF
3612#define HAVE_ICONV_H 1
3613_ACEOF
3614
3615fi
3616
3617done
3618
3619
3620
3621# Check whether --with-ssl was given.
3622if test "${with_ssl+set}" = set; then :
3623  withval=$with_ssl;
3624fi
3625
3626if test "$enable_tls" != no
3627then	orig_CPPFLAGS="$CPPFLAGS"
3628	unset any
3629	for dir in "$with_ssl" /usr/local /usr/local/ssl /usr/lib/ssl /usr/pkg/ssl /usr/ssl /var/ssl /opt/ssl
3630	do	header_fail=0
3631		if test -n "$dir" -a ! -d "$dir/include"
3632		then	header_fail=1
3633			continue
3634		fi
3635		if test -n "$any"
3636		then	{ $as_echo "$as_me:${as_lineno-$LINENO}: retrying with -I$dir/include" >&5
3637$as_echo "$as_me: retrying with -I$dir/include" >&6;}
3638		fi
3639		if test -n "$dir"
3640		then	CPPFLAGS="$orig_CPPFLAGS -I$dir/include"
3641		fi
3642		for ac_header in openssl/ssl.h
3643do :
3644  ac_fn_c_check_header_mongrel "$LINENO" "openssl/ssl.h" "ac_cv_header_openssl_ssl_h" "$ac_includes_default"
3645if test "x$ac_cv_header_openssl_ssl_h" = xyes; then :
3646  cat >>confdefs.h <<_ACEOF
3647#define HAVE_OPENSSL_SSL_H 1
3648_ACEOF
3649
3650else
3651  header_fail=1
3652fi
3653
3654done
3655
3656		if test "$header_fail" -eq 0
3657		then	break
3658		fi
3659		unset `echo ac_cv_header_openssl/ssl_h | $as_tr_sh`
3660		CPPFLAGS="$orig_CPPFLAGS"
3661		any=1
3662	done
3663	if test $header_fail -eq 1
3664	then	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS" >&5
3665$as_echo "$as_me: WARNING: Disabling TLS" >&2;}
3666		enable_tls="no"
3667		unset HAVE_LIBSSL
3668	fi
3669fi
3670
3671for ac_func in vasprintf
3672do :
3673  ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
3674if test "x$ac_cv_func_vasprintf" = xyes; then :
3675  cat >>confdefs.h <<_ACEOF
3676#define HAVE_VASPRINTF 1
3677_ACEOF
3678
3679fi
3680done
3681
3682
3683LIBX3270DIR='${sysconfdir}/x3270'
3684
3685
3686# Check whether --enable-dbcs was given.
3687if test "${enable_dbcs+set}" = set; then :
3688  enableval=$enable_dbcs;
3689fi
3690
3691case "$enable_dbcs" in
3692no)	;;
3693*)	$as_echo "#define X3270_DBCS 1" >>confdefs.h
3694
3695	;;
3696esac
3697# Check whether --enable-ipv6 was given.
3698if test "${enable_ipv6+set}" = set; then :
3699  enableval=$enable_ipv6;
3700fi
3701
3702case "$enable_ipv6" in
3703""|yes)	$as_echo "#define X3270_IPV6 1" >>confdefs.h
3704
3705	;;
3706esac
3707
3708ac_config_headers="$ac_config_headers conf.h"
3709
3710
3711ac_config_files="$ac_config_files Makefile Makefile.obj"
3712
3713cat >confcache <<\_ACEOF
3714# This file is a shell script that caches the results of configure
3715# tests run on this system so they can be shared between configure
3716# scripts and configure runs, see configure's option --config-cache.
3717# It is not useful on other systems.  If it contains results you don't
3718# want to keep, you may remove or edit it.
3719#
3720# config.status only pays attention to the cache file if you give it
3721# the --recheck option to rerun configure.
3722#
3723# `ac_cv_env_foo' variables (set or unset) will be overridden when
3724# loading this file, other *unset* `ac_cv_foo' will be assigned the
3725# following values.
3726
3727_ACEOF
3728
3729# The following way of writing the cache mishandles newlines in values,
3730# but we know of no workaround that is simple, portable, and efficient.
3731# So, we kill variables containing newlines.
3732# Ultrix sh set writes to stderr and can't be redirected directly,
3733# and sets the high bit in the cache file unless we assign to the vars.
3734(
3735  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3736    eval ac_val=\$$ac_var
3737    case $ac_val in #(
3738    *${as_nl}*)
3739      case $ac_var in #(
3740      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3741$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3742      esac
3743      case $ac_var in #(
3744      _ | IFS | as_nl) ;; #(
3745      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3746      *) { eval $ac_var=; unset $ac_var;} ;;
3747      esac ;;
3748    esac
3749  done
3750
3751  (set) 2>&1 |
3752    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3753    *${as_nl}ac_space=\ *)
3754      # `set' does not quote correctly, so add quotes: double-quote
3755      # substitution turns \\\\ into \\, and sed turns \\ into \.
3756      sed -n \
3757	"s/'/'\\\\''/g;
3758	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3759      ;; #(
3760    *)
3761      # `set' quotes correctly as required by POSIX, so do not add quotes.
3762      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3763      ;;
3764    esac |
3765    sort
3766) |
3767  sed '
3768     /^ac_cv_env_/b end
3769     t clear
3770     :clear
3771     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3772     t end
3773     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3774     :end' >>confcache
3775if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3776  if test -w "$cache_file"; then
3777    if test "x$cache_file" != "x/dev/null"; then
3778      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3779$as_echo "$as_me: updating cache $cache_file" >&6;}
3780      if test ! -f "$cache_file" || test -h "$cache_file"; then
3781	cat confcache >"$cache_file"
3782      else
3783        case $cache_file in #(
3784        */* | ?:*)
3785	  mv -f confcache "$cache_file"$$ &&
3786	  mv -f "$cache_file"$$ "$cache_file" ;; #(
3787        *)
3788	  mv -f confcache "$cache_file" ;;
3789	esac
3790      fi
3791    fi
3792  else
3793    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3794$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3795  fi
3796fi
3797rm -f confcache
3798
3799test "x$prefix" = xNONE && prefix=$ac_default_prefix
3800# Let make expand exec_prefix.
3801test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3802
3803DEFS=-DHAVE_CONFIG_H
3804
3805ac_libobjs=
3806ac_ltlibobjs=
3807U=
3808for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3809  # 1. Remove the extension, and $U if already installed.
3810  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3811  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3812  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3813  #    will be set to the directory where LIBOBJS objects are built.
3814  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3815  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3816done
3817LIBOBJS=$ac_libobjs
3818
3819LTLIBOBJS=$ac_ltlibobjs
3820
3821
3822
3823: "${CONFIG_STATUS=./config.status}"
3824ac_write_fail=0
3825ac_clean_files_save=$ac_clean_files
3826ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3827{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3828$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3829as_write_fail=0
3830cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3831#! $SHELL
3832# Generated by $as_me.
3833# Run this file to recreate the current configuration.
3834# Compiler output produced by configure, useful for debugging
3835# configure, is in config.log if it exists.
3836
3837debug=false
3838ac_cs_recheck=false
3839ac_cs_silent=false
3840
3841SHELL=\${CONFIG_SHELL-$SHELL}
3842export SHELL
3843_ASEOF
3844cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3845## -------------------- ##
3846## M4sh Initialization. ##
3847## -------------------- ##
3848
3849# Be more Bourne compatible
3850DUALCASE=1; export DUALCASE # for MKS sh
3851if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3852  emulate sh
3853  NULLCMD=:
3854  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3855  # is contrary to our usage.  Disable this feature.
3856  alias -g '${1+"$@"}'='"$@"'
3857  setopt NO_GLOB_SUBST
3858else
3859  case `(set -o) 2>/dev/null` in #(
3860  *posix*) :
3861    set -o posix ;; #(
3862  *) :
3863     ;;
3864esac
3865fi
3866
3867
3868as_nl='
3869'
3870export as_nl
3871# Printing a long string crashes Solaris 7 /usr/bin/printf.
3872as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3873as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3874as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3875# Prefer a ksh shell builtin over an external printf program on Solaris,
3876# but without wasting forks for bash or zsh.
3877if test -z "$BASH_VERSION$ZSH_VERSION" \
3878    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3879  as_echo='print -r --'
3880  as_echo_n='print -rn --'
3881elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3882  as_echo='printf %s\n'
3883  as_echo_n='printf %s'
3884else
3885  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3886    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3887    as_echo_n='/usr/ucb/echo -n'
3888  else
3889    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3890    as_echo_n_body='eval
3891      arg=$1;
3892      case $arg in #(
3893      *"$as_nl"*)
3894	expr "X$arg" : "X\\(.*\\)$as_nl";
3895	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3896      esac;
3897      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3898    '
3899    export as_echo_n_body
3900    as_echo_n='sh -c $as_echo_n_body as_echo'
3901  fi
3902  export as_echo_body
3903  as_echo='sh -c $as_echo_body as_echo'
3904fi
3905
3906# The user is always right.
3907if test "${PATH_SEPARATOR+set}" != set; then
3908  PATH_SEPARATOR=:
3909  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3910    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3911      PATH_SEPARATOR=';'
3912  }
3913fi
3914
3915
3916# IFS
3917# We need space, tab and new line, in precisely that order.  Quoting is
3918# there to prevent editors from complaining about space-tab.
3919# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3920# splitting by setting IFS to empty value.)
3921IFS=" ""	$as_nl"
3922
3923# Find who we are.  Look in the path if we contain no directory separator.
3924as_myself=
3925case $0 in #((
3926  *[\\/]* ) as_myself=$0 ;;
3927  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928for as_dir in $PATH
3929do
3930  IFS=$as_save_IFS
3931  test -z "$as_dir" && as_dir=.
3932    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3933  done
3934IFS=$as_save_IFS
3935
3936     ;;
3937esac
3938# We did not find ourselves, most probably we were run as `sh COMMAND'
3939# in which case we are not to be found in the path.
3940if test "x$as_myself" = x; then
3941  as_myself=$0
3942fi
3943if test ! -f "$as_myself"; then
3944  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3945  exit 1
3946fi
3947
3948# Unset variables that we do not need and which cause bugs (e.g. in
3949# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3950# suppresses any "Segmentation fault" message there.  '((' could
3951# trigger a bug in pdksh 5.2.14.
3952for as_var in BASH_ENV ENV MAIL MAILPATH
3953do eval test x\${$as_var+set} = xset \
3954  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3955done
3956PS1='$ '
3957PS2='> '
3958PS4='+ '
3959
3960# NLS nuisances.
3961LC_ALL=C
3962export LC_ALL
3963LANGUAGE=C
3964export LANGUAGE
3965
3966# CDPATH.
3967(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3968
3969
3970# as_fn_error STATUS ERROR [LINENO LOG_FD]
3971# ----------------------------------------
3972# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3973# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3974# script with STATUS, using 1 if that was 0.
3975as_fn_error ()
3976{
3977  as_status=$1; test $as_status -eq 0 && as_status=1
3978  if test "$4"; then
3979    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3980    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3981  fi
3982  $as_echo "$as_me: error: $2" >&2
3983  as_fn_exit $as_status
3984} # as_fn_error
3985
3986
3987# as_fn_set_status STATUS
3988# -----------------------
3989# Set $? to STATUS, without forking.
3990as_fn_set_status ()
3991{
3992  return $1
3993} # as_fn_set_status
3994
3995# as_fn_exit STATUS
3996# -----------------
3997# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3998as_fn_exit ()
3999{
4000  set +e
4001  as_fn_set_status $1
4002  exit $1
4003} # as_fn_exit
4004
4005# as_fn_unset VAR
4006# ---------------
4007# Portably unset VAR.
4008as_fn_unset ()
4009{
4010  { eval $1=; unset $1;}
4011}
4012as_unset=as_fn_unset
4013# as_fn_append VAR VALUE
4014# ----------------------
4015# Append the text in VALUE to the end of the definition contained in VAR. Take
4016# advantage of any shell optimizations that allow amortized linear growth over
4017# repeated appends, instead of the typical quadratic growth present in naive
4018# implementations.
4019if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4020  eval 'as_fn_append ()
4021  {
4022    eval $1+=\$2
4023  }'
4024else
4025  as_fn_append ()
4026  {
4027    eval $1=\$$1\$2
4028  }
4029fi # as_fn_append
4030
4031# as_fn_arith ARG...
4032# ------------------
4033# Perform arithmetic evaluation on the ARGs, and store the result in the
4034# global $as_val. Take advantage of shells that can avoid forks. The arguments
4035# must be portable across $(()) and expr.
4036if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4037  eval 'as_fn_arith ()
4038  {
4039    as_val=$(( $* ))
4040  }'
4041else
4042  as_fn_arith ()
4043  {
4044    as_val=`expr "$@" || test $? -eq 1`
4045  }
4046fi # as_fn_arith
4047
4048
4049if expr a : '\(a\)' >/dev/null 2>&1 &&
4050   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4051  as_expr=expr
4052else
4053  as_expr=false
4054fi
4055
4056if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4057  as_basename=basename
4058else
4059  as_basename=false
4060fi
4061
4062if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4063  as_dirname=dirname
4064else
4065  as_dirname=false
4066fi
4067
4068as_me=`$as_basename -- "$0" ||
4069$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4070	 X"$0" : 'X\(//\)$' \| \
4071	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4072$as_echo X/"$0" |
4073    sed '/^.*\/\([^/][^/]*\)\/*$/{
4074	    s//\1/
4075	    q
4076	  }
4077	  /^X\/\(\/\/\)$/{
4078	    s//\1/
4079	    q
4080	  }
4081	  /^X\/\(\/\).*/{
4082	    s//\1/
4083	    q
4084	  }
4085	  s/.*/./; q'`
4086
4087# Avoid depending upon Character Ranges.
4088as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4089as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4090as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4091as_cr_digits='0123456789'
4092as_cr_alnum=$as_cr_Letters$as_cr_digits
4093
4094ECHO_C= ECHO_N= ECHO_T=
4095case `echo -n x` in #(((((
4096-n*)
4097  case `echo 'xy\c'` in
4098  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4099  xy)  ECHO_C='\c';;
4100  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4101       ECHO_T='	';;
4102  esac;;
4103*)
4104  ECHO_N='-n';;
4105esac
4106
4107rm -f conf$$ conf$$.exe conf$$.file
4108if test -d conf$$.dir; then
4109  rm -f conf$$.dir/conf$$.file
4110else
4111  rm -f conf$$.dir
4112  mkdir conf$$.dir 2>/dev/null
4113fi
4114if (echo >conf$$.file) 2>/dev/null; then
4115  if ln -s conf$$.file conf$$ 2>/dev/null; then
4116    as_ln_s='ln -s'
4117    # ... but there are two gotchas:
4118    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4119    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4120    # In both cases, we have to default to `cp -p'.
4121    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4122      as_ln_s='cp -p'
4123  elif ln conf$$.file conf$$ 2>/dev/null; then
4124    as_ln_s=ln
4125  else
4126    as_ln_s='cp -p'
4127  fi
4128else
4129  as_ln_s='cp -p'
4130fi
4131rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4132rmdir conf$$.dir 2>/dev/null
4133
4134
4135# as_fn_mkdir_p
4136# -------------
4137# Create "$as_dir" as a directory, including parents if necessary.
4138as_fn_mkdir_p ()
4139{
4140
4141  case $as_dir in #(
4142  -*) as_dir=./$as_dir;;
4143  esac
4144  test -d "$as_dir" || eval $as_mkdir_p || {
4145    as_dirs=
4146    while :; do
4147      case $as_dir in #(
4148      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4149      *) as_qdir=$as_dir;;
4150      esac
4151      as_dirs="'$as_qdir' $as_dirs"
4152      as_dir=`$as_dirname -- "$as_dir" ||
4153$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4154	 X"$as_dir" : 'X\(//\)[^/]' \| \
4155	 X"$as_dir" : 'X\(//\)$' \| \
4156	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4157$as_echo X"$as_dir" |
4158    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4159	    s//\1/
4160	    q
4161	  }
4162	  /^X\(\/\/\)[^/].*/{
4163	    s//\1/
4164	    q
4165	  }
4166	  /^X\(\/\/\)$/{
4167	    s//\1/
4168	    q
4169	  }
4170	  /^X\(\/\).*/{
4171	    s//\1/
4172	    q
4173	  }
4174	  s/.*/./; q'`
4175      test -d "$as_dir" && break
4176    done
4177    test -z "$as_dirs" || eval "mkdir $as_dirs"
4178  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4179
4180
4181} # as_fn_mkdir_p
4182if mkdir -p . 2>/dev/null; then
4183  as_mkdir_p='mkdir -p "$as_dir"'
4184else
4185  test -d ./-p && rmdir ./-p
4186  as_mkdir_p=false
4187fi
4188
4189if test -x / >/dev/null 2>&1; then
4190  as_test_x='test -x'
4191else
4192  if ls -dL / >/dev/null 2>&1; then
4193    as_ls_L_option=L
4194  else
4195    as_ls_L_option=
4196  fi
4197  as_test_x='
4198    eval sh -c '\''
4199      if test -d "$1"; then
4200	test -d "$1/.";
4201      else
4202	case $1 in #(
4203	-*)set "./$1";;
4204	esac;
4205	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4206	???[sx]*):;;*)false;;esac;fi
4207    '\'' sh
4208  '
4209fi
4210as_executable_p=$as_test_x
4211
4212# Sed expression to map a string onto a valid CPP name.
4213as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4214
4215# Sed expression to map a string onto a valid variable name.
4216as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4217
4218
4219exec 6>&1
4220## ----------------------------------- ##
4221## Main body of $CONFIG_STATUS script. ##
4222## ----------------------------------- ##
4223_ASEOF
4224test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4225
4226cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4227# Save the log message, to keep $0 and so on meaningful, and to
4228# report actual input values of CONFIG_FILES etc. instead of their
4229# values after options handling.
4230ac_log="
4231This file was extended by pr3287 $as_me 4.0, which was
4232generated by GNU Autoconf 2.68.  Invocation command line was
4233
4234  CONFIG_FILES    = $CONFIG_FILES
4235  CONFIG_HEADERS  = $CONFIG_HEADERS
4236  CONFIG_LINKS    = $CONFIG_LINKS
4237  CONFIG_COMMANDS = $CONFIG_COMMANDS
4238  $ $0 $@
4239
4240on `(hostname || uname -n) 2>/dev/null | sed 1q`
4241"
4242
4243_ACEOF
4244
4245case $ac_config_files in *"
4246"*) set x $ac_config_files; shift; ac_config_files=$*;;
4247esac
4248
4249case $ac_config_headers in *"
4250"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4251esac
4252
4253
4254cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4255# Files that config.status was made for.
4256config_files="$ac_config_files"
4257config_headers="$ac_config_headers"
4258
4259_ACEOF
4260
4261cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4262ac_cs_usage="\
4263\`$as_me' instantiates files and other configuration actions
4264from templates according to the current configuration.  Unless the files
4265and actions are specified as TAGs, all are instantiated by default.
4266
4267Usage: $0 [OPTION]... [TAG]...
4268
4269  -h, --help       print this help, then exit
4270  -V, --version    print version number and configuration settings, then exit
4271      --config     print configuration, then exit
4272  -q, --quiet, --silent
4273                   do not print progress messages
4274  -d, --debug      don't remove temporary files
4275      --recheck    update $as_me by reconfiguring in the same conditions
4276      --file=FILE[:TEMPLATE]
4277                   instantiate the configuration file FILE
4278      --header=FILE[:TEMPLATE]
4279                   instantiate the configuration header FILE
4280
4281Configuration files:
4282$config_files
4283
4284Configuration headers:
4285$config_headers
4286
4287Report bugs to the package provider."
4288
4289_ACEOF
4290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4291ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4292ac_cs_version="\\
4293pr3287 config.status 4.0
4294configured by $0, generated by GNU Autoconf 2.68,
4295  with options \\"\$ac_cs_config\\"
4296
4297Copyright (C) 2010 Free Software Foundation, Inc.
4298This config.status script is free software; the Free Software Foundation
4299gives unlimited permission to copy, distribute and modify it."
4300
4301ac_pwd='$ac_pwd'
4302srcdir='$srcdir'
4303INSTALL='$INSTALL'
4304test -n "\$AWK" || AWK=awk
4305_ACEOF
4306
4307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4308# The default lists apply if the user does not specify any file.
4309ac_need_defaults=:
4310while test $# != 0
4311do
4312  case $1 in
4313  --*=?*)
4314    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4315    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4316    ac_shift=:
4317    ;;
4318  --*=)
4319    ac_option=`expr "X$1" : 'X\([^=]*\)='`
4320    ac_optarg=
4321    ac_shift=:
4322    ;;
4323  *)
4324    ac_option=$1
4325    ac_optarg=$2
4326    ac_shift=shift
4327    ;;
4328  esac
4329
4330  case $ac_option in
4331  # Handling of the options.
4332  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4333    ac_cs_recheck=: ;;
4334  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4335    $as_echo "$ac_cs_version"; exit ;;
4336  --config | --confi | --conf | --con | --co | --c )
4337    $as_echo "$ac_cs_config"; exit ;;
4338  --debug | --debu | --deb | --de | --d | -d )
4339    debug=: ;;
4340  --file | --fil | --fi | --f )
4341    $ac_shift
4342    case $ac_optarg in
4343    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4344    '') as_fn_error $? "missing file argument" ;;
4345    esac
4346    as_fn_append CONFIG_FILES " '$ac_optarg'"
4347    ac_need_defaults=false;;
4348  --header | --heade | --head | --hea )
4349    $ac_shift
4350    case $ac_optarg in
4351    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4352    esac
4353    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4354    ac_need_defaults=false;;
4355  --he | --h)
4356    # Conflict between --help and --header
4357    as_fn_error $? "ambiguous option: \`$1'
4358Try \`$0 --help' for more information.";;
4359  --help | --hel | -h )
4360    $as_echo "$ac_cs_usage"; exit ;;
4361  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4362  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4363    ac_cs_silent=: ;;
4364
4365  # This is an error.
4366  -*) as_fn_error $? "unrecognized option: \`$1'
4367Try \`$0 --help' for more information." ;;
4368
4369  *) as_fn_append ac_config_targets " $1"
4370     ac_need_defaults=false ;;
4371
4372  esac
4373  shift
4374done
4375
4376ac_configure_extra_args=
4377
4378if $ac_cs_silent; then
4379  exec 6>/dev/null
4380  ac_configure_extra_args="$ac_configure_extra_args --silent"
4381fi
4382
4383_ACEOF
4384cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4385if \$ac_cs_recheck; then
4386  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4387  shift
4388  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4389  CONFIG_SHELL='$SHELL'
4390  export CONFIG_SHELL
4391  exec "\$@"
4392fi
4393
4394_ACEOF
4395cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4396exec 5>>config.log
4397{
4398  echo
4399  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4400## Running $as_me. ##
4401_ASBOX
4402  $as_echo "$ac_log"
4403} >&5
4404
4405_ACEOF
4406cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4407_ACEOF
4408
4409cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4410
4411# Handling of arguments.
4412for ac_config_target in $ac_config_targets
4413do
4414  case $ac_config_target in
4415    "conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;;
4416    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4417    "Makefile.obj") CONFIG_FILES="$CONFIG_FILES Makefile.obj" ;;
4418
4419  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4420  esac
4421done
4422
4423
4424# If the user did not use the arguments to specify the items to instantiate,
4425# then the envvar interface is used.  Set only those that are not.
4426# We use the long form for the default assignment because of an extremely
4427# bizarre bug on SunOS 4.1.3.
4428if $ac_need_defaults; then
4429  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4430  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4431fi
4432
4433# Have a temporary directory for convenience.  Make it in the build tree
4434# simply because there is no reason against having it here, and in addition,
4435# creating and moving files from /tmp can sometimes cause problems.
4436# Hook for its removal unless debugging.
4437# Note that there is a small window in which the directory will not be cleaned:
4438# after its creation but before its name has been assigned to `$tmp'.
4439$debug ||
4440{
4441  tmp= ac_tmp=
4442  trap 'exit_status=$?
4443  : "${ac_tmp:=$tmp}"
4444  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4445' 0
4446  trap 'as_fn_exit 1' 1 2 13 15
4447}
4448# Create a (secure) tmp directory for tmp files.
4449
4450{
4451  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4452  test -d "$tmp"
4453}  ||
4454{
4455  tmp=./conf$$-$RANDOM
4456  (umask 077 && mkdir "$tmp")
4457} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4458ac_tmp=$tmp
4459
4460# Set up the scripts for CONFIG_FILES section.
4461# No need to generate them if there are no CONFIG_FILES.
4462# This happens for instance with `./config.status config.h'.
4463if test -n "$CONFIG_FILES"; then
4464
4465
4466ac_cr=`echo X | tr X '\015'`
4467# On cygwin, bash can eat \r inside `` if the user requested igncr.
4468# But we know of no other shell where ac_cr would be empty at this
4469# point, so we can use a bashism as a fallback.
4470if test "x$ac_cr" = x; then
4471  eval ac_cr=\$\'\\r\'
4472fi
4473ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4474if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4475  ac_cs_awk_cr='\\r'
4476else
4477  ac_cs_awk_cr=$ac_cr
4478fi
4479
4480echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4481_ACEOF
4482
4483
4484{
4485  echo "cat >conf$$subs.awk <<_ACEOF" &&
4486  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4487  echo "_ACEOF"
4488} >conf$$subs.sh ||
4489  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4490ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4491ac_delim='%!_!# '
4492for ac_last_try in false false false false false :; do
4493  . ./conf$$subs.sh ||
4494    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4495
4496  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4497  if test $ac_delim_n = $ac_delim_num; then
4498    break
4499  elif $ac_last_try; then
4500    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4501  else
4502    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4503  fi
4504done
4505rm -f conf$$subs.sh
4506
4507cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4508cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4509_ACEOF
4510sed -n '
4511h
4512s/^/S["/; s/!.*/"]=/
4513p
4514g
4515s/^[^!]*!//
4516:repl
4517t repl
4518s/'"$ac_delim"'$//
4519t delim
4520:nl
4521h
4522s/\(.\{148\}\)..*/\1/
4523t more1
4524s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4525p
4526n
4527b repl
4528:more1
4529s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4530p
4531g
4532s/.\{148\}//
4533t nl
4534:delim
4535h
4536s/\(.\{148\}\)..*/\1/
4537t more2
4538s/["\\]/\\&/g; s/^/"/; s/$/"/
4539p
4540b
4541:more2
4542s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4543p
4544g
4545s/.\{148\}//
4546t delim
4547' <conf$$subs.awk | sed '
4548/^[^""]/{
4549  N
4550  s/\n//
4551}
4552' >>$CONFIG_STATUS || ac_write_fail=1
4553rm -f conf$$subs.awk
4554cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4555_ACAWK
4556cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4557  for (key in S) S_is_set[key] = 1
4558  FS = ""
4559
4560}
4561{
4562  line = $ 0
4563  nfields = split(line, field, "@")
4564  substed = 0
4565  len = length(field[1])
4566  for (i = 2; i < nfields; i++) {
4567    key = field[i]
4568    keylen = length(key)
4569    if (S_is_set[key]) {
4570      value = S[key]
4571      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4572      len += length(value) + length(field[++i])
4573      substed = 1
4574    } else
4575      len += 1 + keylen
4576  }
4577
4578  print line
4579}
4580
4581_ACAWK
4582_ACEOF
4583cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4584if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4585  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4586else
4587  cat
4588fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4589  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4590_ACEOF
4591
4592# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4593# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4594# trailing colons and then remove the whole line if VPATH becomes empty
4595# (actually we leave an empty line to preserve line numbers).
4596if test "x$srcdir" = x.; then
4597  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
4598h
4599s///
4600s/^/:/
4601s/[	 ]*$/:/
4602s/:\$(srcdir):/:/g
4603s/:\${srcdir}:/:/g
4604s/:@srcdir@:/:/g
4605s/^:*//
4606s/:*$//
4607x
4608s/\(=[	 ]*\).*/\1/
4609G
4610s/\n//
4611s/^[^=]*=[	 ]*$//
4612}'
4613fi
4614
4615cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4616fi # test -n "$CONFIG_FILES"
4617
4618# Set up the scripts for CONFIG_HEADERS section.
4619# No need to generate them if there are no CONFIG_HEADERS.
4620# This happens for instance with `./config.status Makefile'.
4621if test -n "$CONFIG_HEADERS"; then
4622cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4623BEGIN {
4624_ACEOF
4625
4626# Transform confdefs.h into an awk script `defines.awk', embedded as
4627# here-document in config.status, that substitutes the proper values into
4628# config.h.in to produce config.h.
4629
4630# Create a delimiter string that does not exist in confdefs.h, to ease
4631# handling of long lines.
4632ac_delim='%!_!# '
4633for ac_last_try in false false :; do
4634  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4635  if test -z "$ac_tt"; then
4636    break
4637  elif $ac_last_try; then
4638    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4639  else
4640    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4641  fi
4642done
4643
4644# For the awk script, D is an array of macro values keyed by name,
4645# likewise P contains macro parameters if any.  Preserve backslash
4646# newline sequences.
4647
4648ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4649sed -n '
4650s/.\{148\}/&'"$ac_delim"'/g
4651t rset
4652:rset
4653s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
4654t def
4655d
4656:def
4657s/\\$//
4658t bsnl
4659s/["\\]/\\&/g
4660s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4661D["\1"]=" \3"/p
4662s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
4663d
4664:bsnl
4665s/["\\]/\\&/g
4666s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
4667D["\1"]=" \3\\\\\\n"\\/p
4668t cont
4669s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4670t cont
4671d
4672:cont
4673n
4674s/.\{148\}/&'"$ac_delim"'/g
4675t clear
4676:clear
4677s/\\$//
4678t bsnlc
4679s/["\\]/\\&/g; s/^/"/; s/$/"/p
4680d
4681:bsnlc
4682s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4683b cont
4684' <confdefs.h | sed '
4685s/'"$ac_delim"'/"\\\
4686"/g' >>$CONFIG_STATUS || ac_write_fail=1
4687
4688cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4689  for (key in D) D_is_set[key] = 1
4690  FS = ""
4691}
4692/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4693  line = \$ 0
4694  split(line, arg, " ")
4695  if (arg[1] == "#") {
4696    defundef = arg[2]
4697    mac1 = arg[3]
4698  } else {
4699    defundef = substr(arg[1], 2)
4700    mac1 = arg[2]
4701  }
4702  split(mac1, mac2, "(") #)
4703  macro = mac2[1]
4704  prefix = substr(line, 1, index(line, defundef) - 1)
4705  if (D_is_set[macro]) {
4706    # Preserve the white space surrounding the "#".
4707    print prefix "define", macro P[macro] D[macro]
4708    next
4709  } else {
4710    # Replace #undef with comments.  This is necessary, for example,
4711    # in the case of _POSIX_SOURCE, which is predefined and required
4712    # on some systems where configure will not decide to define it.
4713    if (defundef == "undef") {
4714      print "/*", prefix defundef, macro, "*/"
4715      next
4716    }
4717  }
4718}
4719{ print }
4720_ACAWK
4721_ACEOF
4722cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4723  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4724fi # test -n "$CONFIG_HEADERS"
4725
4726
4727eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
4728shift
4729for ac_tag
4730do
4731  case $ac_tag in
4732  :[FHLC]) ac_mode=$ac_tag; continue;;
4733  esac
4734  case $ac_mode$ac_tag in
4735  :[FHL]*:*);;
4736  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4737  :[FH]-) ac_tag=-:-;;
4738  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4739  esac
4740  ac_save_IFS=$IFS
4741  IFS=:
4742  set x $ac_tag
4743  IFS=$ac_save_IFS
4744  shift
4745  ac_file=$1
4746  shift
4747
4748  case $ac_mode in
4749  :L) ac_source=$1;;
4750  :[FH])
4751    ac_file_inputs=
4752    for ac_f
4753    do
4754      case $ac_f in
4755      -) ac_f="$ac_tmp/stdin";;
4756      *) # Look for the file first in the build tree, then in the source tree
4757	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
4758	 # because $ac_f cannot contain `:'.
4759	 test -f "$ac_f" ||
4760	   case $ac_f in
4761	   [\\/$]*) false;;
4762	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4763	   esac ||
4764	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4765      esac
4766      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4767      as_fn_append ac_file_inputs " '$ac_f'"
4768    done
4769
4770    # Let's still pretend it is `configure' which instantiates (i.e., don't
4771    # use $as_me), people would be surprised to read:
4772    #    /* config.h.  Generated by config.status.  */
4773    configure_input='Generated from '`
4774	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4775	`' by configure.'
4776    if test x"$ac_file" != x-; then
4777      configure_input="$ac_file.  $configure_input"
4778      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4779$as_echo "$as_me: creating $ac_file" >&6;}
4780    fi
4781    # Neutralize special characters interpreted by sed in replacement strings.
4782    case $configure_input in #(
4783    *\&* | *\|* | *\\* )
4784       ac_sed_conf_input=`$as_echo "$configure_input" |
4785       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4786    *) ac_sed_conf_input=$configure_input;;
4787    esac
4788
4789    case $ac_tag in
4790    *:-:* | *:-) cat >"$ac_tmp/stdin" \
4791      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4792    esac
4793    ;;
4794  esac
4795
4796  ac_dir=`$as_dirname -- "$ac_file" ||
4797$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4798	 X"$ac_file" : 'X\(//\)[^/]' \| \
4799	 X"$ac_file" : 'X\(//\)$' \| \
4800	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4801$as_echo X"$ac_file" |
4802    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4803	    s//\1/
4804	    q
4805	  }
4806	  /^X\(\/\/\)[^/].*/{
4807	    s//\1/
4808	    q
4809	  }
4810	  /^X\(\/\/\)$/{
4811	    s//\1/
4812	    q
4813	  }
4814	  /^X\(\/\).*/{
4815	    s//\1/
4816	    q
4817	  }
4818	  s/.*/./; q'`
4819  as_dir="$ac_dir"; as_fn_mkdir_p
4820  ac_builddir=.
4821
4822case "$ac_dir" in
4823.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4824*)
4825  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4826  # A ".." for each directory in $ac_dir_suffix.
4827  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4828  case $ac_top_builddir_sub in
4829  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4830  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4831  esac ;;
4832esac
4833ac_abs_top_builddir=$ac_pwd
4834ac_abs_builddir=$ac_pwd$ac_dir_suffix
4835# for backward compatibility:
4836ac_top_builddir=$ac_top_build_prefix
4837
4838case $srcdir in
4839  .)  # We are building in place.
4840    ac_srcdir=.
4841    ac_top_srcdir=$ac_top_builddir_sub
4842    ac_abs_top_srcdir=$ac_pwd ;;
4843  [\\/]* | ?:[\\/]* )  # Absolute name.
4844    ac_srcdir=$srcdir$ac_dir_suffix;
4845    ac_top_srcdir=$srcdir
4846    ac_abs_top_srcdir=$srcdir ;;
4847  *) # Relative name.
4848    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4849    ac_top_srcdir=$ac_top_build_prefix$srcdir
4850    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4851esac
4852ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4853
4854
4855  case $ac_mode in
4856  :F)
4857  #
4858  # CONFIG_FILE
4859  #
4860
4861  case $INSTALL in
4862  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4863  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4864  esac
4865_ACEOF
4866
4867cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4868# If the template does not know about datarootdir, expand it.
4869# FIXME: This hack should be removed a few years after 2.60.
4870ac_datarootdir_hack=; ac_datarootdir_seen=
4871ac_sed_dataroot='
4872/datarootdir/ {
4873  p
4874  q
4875}
4876/@datadir@/p
4877/@docdir@/p
4878/@infodir@/p
4879/@localedir@/p
4880/@mandir@/p'
4881case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4882*datarootdir*) ac_datarootdir_seen=yes;;
4883*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4884  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4885$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4886_ACEOF
4887cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4888  ac_datarootdir_hack='
4889  s&@datadir@&$datadir&g
4890  s&@docdir@&$docdir&g
4891  s&@infodir@&$infodir&g
4892  s&@localedir@&$localedir&g
4893  s&@mandir@&$mandir&g
4894  s&\\\${datarootdir}&$datarootdir&g' ;;
4895esac
4896_ACEOF
4897
4898# Neutralize VPATH when `$srcdir' = `.'.
4899# Shell code in configure.ac might set extrasub.
4900# FIXME: do we really want to maintain this feature?
4901cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4902ac_sed_extra="$ac_vpsub
4903$extrasub
4904_ACEOF
4905cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4906:t
4907/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4908s|@configure_input@|$ac_sed_conf_input|;t t
4909s&@top_builddir@&$ac_top_builddir_sub&;t t
4910s&@top_build_prefix@&$ac_top_build_prefix&;t t
4911s&@srcdir@&$ac_srcdir&;t t
4912s&@abs_srcdir@&$ac_abs_srcdir&;t t
4913s&@top_srcdir@&$ac_top_srcdir&;t t
4914s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4915s&@builddir@&$ac_builddir&;t t
4916s&@abs_builddir@&$ac_abs_builddir&;t t
4917s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4918s&@INSTALL@&$ac_INSTALL&;t t
4919$ac_datarootdir_hack
4920"
4921eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4922  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4923
4924test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4925  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4926  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
4927      "$ac_tmp/out"`; test -z "$ac_out"; } &&
4928  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4929which seems to be undefined.  Please make sure it is defined" >&5
4930$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4931which seems to be undefined.  Please make sure it is defined" >&2;}
4932
4933  rm -f "$ac_tmp/stdin"
4934  case $ac_file in
4935  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4936  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4937  esac \
4938  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4939 ;;
4940  :H)
4941  #
4942  # CONFIG_HEADER
4943  #
4944  if test x"$ac_file" != x-; then
4945    {
4946      $as_echo "/* $configure_input  */" \
4947      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4948    } >"$ac_tmp/config.h" \
4949      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4950    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4951      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4952$as_echo "$as_me: $ac_file is unchanged" >&6;}
4953    else
4954      rm -f "$ac_file"
4955      mv "$ac_tmp/config.h" "$ac_file" \
4956	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
4957    fi
4958  else
4959    $as_echo "/* $configure_input  */" \
4960      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4961      || as_fn_error $? "could not create -" "$LINENO" 5
4962  fi
4963 ;;
4964
4965
4966  esac
4967
4968done # for ac_tag
4969
4970
4971as_fn_exit 0
4972_ACEOF
4973ac_clean_files=$ac_clean_files_save
4974
4975test $ac_write_fail = 0 ||
4976  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4977
4978
4979# configure is writing to config.log, and then calls config.status.
4980# config.status does its own redirection, appending to config.log.
4981# Unfortunately, on DOS this fails, as config.log is still kept open
4982# by configure, so config.status won't be able to write to it; its
4983# output is simply discarded.  So we exec the FD to /dev/null,
4984# effectively closing config.log, so it can be properly (re)opened and
4985# appended to by config.status.  When coming back to configure, we
4986# need to make the FD available again.
4987if test "$no_create" != yes; then
4988  ac_cs_success=:
4989  ac_config_status_args=
4990  test "$silent" = yes &&
4991    ac_config_status_args="$ac_config_status_args --quiet"
4992  exec 5>/dev/null
4993  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4994  exec 5>>config.log
4995  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4996  # would make configure fail if this is the last instruction.
4997  $ac_cs_success || as_fn_exit 1
4998fi
4999if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5000  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5001$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5002fi
5003
5004