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