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