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"
175  if (eval "$as_required") 2>/dev/null; then :
176  as_have_required=yes
177else
178  as_have_required=no
179fi
180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182else
183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187  IFS=$as_save_IFS
188  test -z "$as_dir" && as_dir=.
189  as_found=:
190  case $as_dir in #(
191	 /*)
192	   for as_base in sh bash ksh sh5; do
193	     # Try only shells that exist, to save several forks.
194	     as_shell=$as_dir/$as_base
195	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197  CONFIG_SHELL=$as_shell as_have_required=yes
198		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  break 2
200fi
201fi
202	   done;;
203       esac
204  as_found=false
205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208  CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
210IFS=$as_save_IFS
211
212
213      if test "x$CONFIG_SHELL" != x; then :
214  # We cannot yet assume a decent shell, so we have to provide a
215	# neutralization value for shells without unset; and this also
216	# works around shells that cannot unset nonexistent variables.
217	# Preserve -v and -x to the replacement shell.
218	BASH_ENV=/dev/null
219	ENV=/dev/null
220	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221	export CONFIG_SHELL
222	case $- in # ((((
223	  *v*x* | *x*v* ) as_opts=-vx ;;
224	  *v* ) as_opts=-v ;;
225	  *x* ) as_opts=-x ;;
226	  * ) as_opts= ;;
227	esac
228	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
229fi
230
231    if test x$as_have_required = xno; then :
232  $as_echo "$0: This script requires a shell more modern than all"
233  $as_echo "$0: the shells that I found on your system."
234  if test x${ZSH_VERSION+set} = xset ; then
235    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237  else
238    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239$0: including any error possibly output before this
240$0: message. Then install a modern shell, or manually run
241$0: the script under such a shell if you do have one."
242  fi
243  exit 1
244fi
245fi
246fi
247SHELL=${CONFIG_SHELL-/bin/sh}
248export SHELL
249# Unset more variables known to interfere with behavior of common tools.
250CLICOLOR_FORCE= GREP_OPTIONS=
251unset CLICOLOR_FORCE GREP_OPTIONS
252
253## --------------------- ##
254## M4sh Shell Functions. ##
255## --------------------- ##
256# as_fn_unset VAR
257# ---------------
258# Portably unset VAR.
259as_fn_unset ()
260{
261  { eval $1=; unset $1;}
262}
263as_unset=as_fn_unset
264
265# as_fn_set_status STATUS
266# -----------------------
267# Set $? to STATUS, without forking.
268as_fn_set_status ()
269{
270  return $1
271} # as_fn_set_status
272
273# as_fn_exit STATUS
274# -----------------
275# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276as_fn_exit ()
277{
278  set +e
279  as_fn_set_status $1
280  exit $1
281} # as_fn_exit
282
283# as_fn_mkdir_p
284# -------------
285# Create "$as_dir" as a directory, including parents if necessary.
286as_fn_mkdir_p ()
287{
288
289  case $as_dir in #(
290  -*) as_dir=./$as_dir;;
291  esac
292  test -d "$as_dir" || eval $as_mkdir_p || {
293    as_dirs=
294    while :; do
295      case $as_dir in #(
296      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297      *) as_qdir=$as_dir;;
298      esac
299      as_dirs="'$as_qdir' $as_dirs"
300      as_dir=`$as_dirname -- "$as_dir" ||
301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302	 X"$as_dir" : 'X\(//\)[^/]' \| \
303	 X"$as_dir" : 'X\(//\)$' \| \
304	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305$as_echo X"$as_dir" |
306    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
307	    s//\1/
308	    q
309	  }
310	  /^X\(\/\/\)[^/].*/{
311	    s//\1/
312	    q
313	  }
314	  /^X\(\/\/\)$/{
315	    s//\1/
316	    q
317	  }
318	  /^X\(\/\).*/{
319	    s//\1/
320	    q
321	  }
322	  s/.*/./; q'`
323      test -d "$as_dir" && break
324    done
325    test -z "$as_dirs" || eval "mkdir $as_dirs"
326  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327
328
329} # as_fn_mkdir_p
330# as_fn_append VAR VALUE
331# ----------------------
332# Append the text in VALUE to the end of the definition contained in VAR. Take
333# advantage of any shell optimizations that allow amortized linear growth over
334# repeated appends, instead of the typical quadratic growth present in naive
335# implementations.
336if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337  eval 'as_fn_append ()
338  {
339    eval $1+=\$2
340  }'
341else
342  as_fn_append ()
343  {
344    eval $1=\$$1\$2
345  }
346fi # as_fn_append
347
348# as_fn_arith ARG...
349# ------------------
350# Perform arithmetic evaluation on the ARGs, and store the result in the
351# global $as_val. Take advantage of shells that can avoid forks. The arguments
352# must be portable across $(()) and expr.
353if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354  eval 'as_fn_arith ()
355  {
356    as_val=$(( $* ))
357  }'
358else
359  as_fn_arith ()
360  {
361    as_val=`expr "$@" || test $? -eq 1`
362  }
363fi # as_fn_arith
364
365
366# as_fn_error STATUS ERROR [LINENO LOG_FD]
367# ----------------------------------------
368# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370# script with STATUS, using 1 if that was 0.
371as_fn_error ()
372{
373  as_status=$1; test $as_status -eq 0 && as_status=1
374  if test "$4"; then
375    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
376    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
377  fi
378  $as_echo "$as_me: error: $2" >&2
379  as_fn_exit $as_status
380} # as_fn_error
381
382if expr a : '\(a\)' >/dev/null 2>&1 &&
383   test "X`expr 00001 : '.*\(...\)'`" = X001; then
384  as_expr=expr
385else
386  as_expr=false
387fi
388
389if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390  as_basename=basename
391else
392  as_basename=false
393fi
394
395if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396  as_dirname=dirname
397else
398  as_dirname=false
399fi
400
401as_me=`$as_basename -- "$0" ||
402$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403	 X"$0" : 'X\(//\)$' \| \
404	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405$as_echo X/"$0" |
406    sed '/^.*\/\([^/][^/]*\)\/*$/{
407	    s//\1/
408	    q
409	  }
410	  /^X\/\(\/\/\)$/{
411	    s//\1/
412	    q
413	  }
414	  /^X\/\(\/\).*/{
415	    s//\1/
416	    q
417	  }
418	  s/.*/./; q'`
419
420# Avoid depending upon Character Ranges.
421as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423as_cr_Letters=$as_cr_letters$as_cr_LETTERS
424as_cr_digits='0123456789'
425as_cr_alnum=$as_cr_Letters$as_cr_digits
426
427
428  as_lineno_1=$LINENO as_lineno_1a=$LINENO
429  as_lineno_2=$LINENO as_lineno_2a=$LINENO
430  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
432  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
433  sed -n '
434    p
435    /[$]LINENO/=
436  ' <$as_myself |
437    sed '
438      s/[$]LINENO.*/&-/
439      t lineno
440      b
441      :lineno
442      N
443      :loop
444      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445      t loop
446      s/-\n.*//
447    ' >$as_me.lineno &&
448  chmod +x "$as_me.lineno" ||
449    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450
451  # Don't try to exec as it changes $[0], causing all sort of problems
452  # (the dirname of $[0] is not the place where we might find the
453  # original and so on.  Autoconf is especially sensitive to this).
454  . "./$as_me.lineno"
455  # Exit status is that of the last command.
456  exit
457}
458
459ECHO_C= ECHO_N= ECHO_T=
460case `echo -n x` in #(((((
461-n*)
462  case `echo 'xy\c'` in
463  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
464  xy)  ECHO_C='\c';;
465  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
466       ECHO_T='	';;
467  esac;;
468*)
469  ECHO_N='-n';;
470esac
471
472rm -f conf$$ conf$$.exe conf$$.file
473if test -d conf$$.dir; then
474  rm -f conf$$.dir/conf$$.file
475else
476  rm -f conf$$.dir
477  mkdir conf$$.dir 2>/dev/null
478fi
479if (echo >conf$$.file) 2>/dev/null; then
480  if ln -s conf$$.file conf$$ 2>/dev/null; then
481    as_ln_s='ln -s'
482    # ... but there are two gotchas:
483    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485    # In both cases, we have to default to `cp -p'.
486    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487      as_ln_s='cp -p'
488  elif ln conf$$.file conf$$ 2>/dev/null; then
489    as_ln_s=ln
490  else
491    as_ln_s='cp -p'
492  fi
493else
494  as_ln_s='cp -p'
495fi
496rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497rmdir conf$$.dir 2>/dev/null
498
499if mkdir -p . 2>/dev/null; then
500  as_mkdir_p='mkdir -p "$as_dir"'
501else
502  test -d ./-p && rmdir ./-p
503  as_mkdir_p=false
504fi
505
506if test -x / >/dev/null 2>&1; then
507  as_test_x='test -x'
508else
509  if ls -dL / >/dev/null 2>&1; then
510    as_ls_L_option=L
511  else
512    as_ls_L_option=
513  fi
514  as_test_x='
515    eval sh -c '\''
516      if test -d "$1"; then
517	test -d "$1/.";
518      else
519	case $1 in #(
520	-*)set "./$1";;
521	esac;
522	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523	???[sx]*):;;*)false;;esac;fi
524    '\'' sh
525  '
526fi
527as_executable_p=$as_test_x
528
529# Sed expression to map a string onto a valid CPP name.
530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531
532# Sed expression to map a string onto a valid variable name.
533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
535
536test -n "$DJDIR" || exec 7<&0 </dev/null
537exec 6>&1
538
539# Name of the host.
540# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541# so uname gets run too.
542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544#
545# Initializations.
546#
547ac_default_prefix=/usr/local
548ac_clean_files=
549ac_config_libobj_dir=.
550LIBOBJS=
551cross_compiling=no
552subdirs=
553MFLAGS=
554MAKEFLAGS=
555
556# Identity of this package.
557PACKAGE_NAME=
558PACKAGE_TARNAME=
559PACKAGE_VERSION=
560PACKAGE_STRING=
561PACKAGE_BUGREPORT=
562PACKAGE_URL=
563
564ac_subst_vars='LTLIBOBJS
565LIBOBJS
566UNZ_PATH
567target_os
568target_vendor
569target_cpu
570target
571host_os
572host_vendor
573host_cpu
574host
575build_os
576build_vendor
577build_cpu
578build
579target_alias
580host_alias
581build_alias
582LIBS
583ECHO_T
584ECHO_N
585ECHO_C
586DEFS
587mandir
588localedir
589libdir
590psdir
591pdfdir
592dvidir
593htmldir
594infodir
595docdir
596oldincludedir
597includedir
598localstatedir
599sharedstatedir
600sysconfdir
601datadir
602datarootdir
603libexecdir
604sbindir
605bindir
606program_transform_name
607prefix
608exec_prefix
609PACKAGE_URL
610PACKAGE_BUGREPORT
611PACKAGE_STRING
612PACKAGE_VERSION
613PACKAGE_TARNAME
614PACKAGE_NAME
615PATH_SEPARATOR
616SHELL'
617ac_subst_files=''
618ac_user_opts='
619enable_option_checking
620with_unzip
621enable_debug_log
622'
623      ac_precious_vars='build_alias
624host_alias
625target_alias'
626
627
628# Initialize some variables set by options.
629ac_init_help=
630ac_init_version=false
631ac_unrecognized_opts=
632ac_unrecognized_sep=
633# The variables have the same names as the options, with
634# dashes changed to underlines.
635cache_file=/dev/null
636exec_prefix=NONE
637no_create=
638no_recursion=
639prefix=NONE
640program_prefix=NONE
641program_suffix=NONE
642program_transform_name=s,x,x,
643silent=
644site=
645srcdir=
646verbose=
647x_includes=NONE
648x_libraries=NONE
649
650# Installation directory options.
651# These are left unexpanded so users can "make install exec_prefix=/foo"
652# and all the variables that are supposed to be based on exec_prefix
653# by default will actually change.
654# Use braces instead of parens because sh, perl, etc. also accept them.
655# (The list follows the same order as the GNU Coding Standards.)
656bindir='${exec_prefix}/bin'
657sbindir='${exec_prefix}/sbin'
658libexecdir='${exec_prefix}/libexec'
659datarootdir='${prefix}/share'
660datadir='${datarootdir}'
661sysconfdir='${prefix}/etc'
662sharedstatedir='${prefix}/com'
663localstatedir='${prefix}/var'
664includedir='${prefix}/include'
665oldincludedir='/usr/include'
666docdir='${datarootdir}/doc/${PACKAGE}'
667infodir='${datarootdir}/info'
668htmldir='${docdir}'
669dvidir='${docdir}'
670pdfdir='${docdir}'
671psdir='${docdir}'
672libdir='${exec_prefix}/lib'
673localedir='${datarootdir}/locale'
674mandir='${datarootdir}/man'
675
676ac_prev=
677ac_dashdash=
678for ac_option
679do
680  # If the previous option needs an argument, assign it.
681  if test -n "$ac_prev"; then
682    eval $ac_prev=\$ac_option
683    ac_prev=
684    continue
685  fi
686
687  case $ac_option in
688  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
689  *=)   ac_optarg= ;;
690  *)    ac_optarg=yes ;;
691  esac
692
693  # Accept the important Cygnus configure options, so we can diagnose typos.
694
695  case $ac_dashdash$ac_option in
696  --)
697    ac_dashdash=yes ;;
698
699  -bindir | --bindir | --bindi | --bind | --bin | --bi)
700    ac_prev=bindir ;;
701  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
702    bindir=$ac_optarg ;;
703
704  -build | --build | --buil | --bui | --bu)
705    ac_prev=build_alias ;;
706  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
707    build_alias=$ac_optarg ;;
708
709  -cache-file | --cache-file | --cache-fil | --cache-fi \
710  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
711    ac_prev=cache_file ;;
712  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
713  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
714    cache_file=$ac_optarg ;;
715
716  --config-cache | -C)
717    cache_file=config.cache ;;
718
719  -datadir | --datadir | --datadi | --datad)
720    ac_prev=datadir ;;
721  -datadir=* | --datadir=* | --datadi=* | --datad=*)
722    datadir=$ac_optarg ;;
723
724  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
725  | --dataroo | --dataro | --datar)
726    ac_prev=datarootdir ;;
727  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
728  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
729    datarootdir=$ac_optarg ;;
730
731  -disable-* | --disable-*)
732    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
733    # Reject names that are not valid shell variable names.
734    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
735      as_fn_error $? "invalid feature name: $ac_useropt"
736    ac_useropt_orig=$ac_useropt
737    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
738    case $ac_user_opts in
739      *"
740"enable_$ac_useropt"
741"*) ;;
742      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
743	 ac_unrecognized_sep=', ';;
744    esac
745    eval enable_$ac_useropt=no ;;
746
747  -docdir | --docdir | --docdi | --doc | --do)
748    ac_prev=docdir ;;
749  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
750    docdir=$ac_optarg ;;
751
752  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
753    ac_prev=dvidir ;;
754  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
755    dvidir=$ac_optarg ;;
756
757  -enable-* | --enable-*)
758    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
759    # Reject names that are not valid shell variable names.
760    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
761      as_fn_error $? "invalid feature name: $ac_useropt"
762    ac_useropt_orig=$ac_useropt
763    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
764    case $ac_user_opts in
765      *"
766"enable_$ac_useropt"
767"*) ;;
768      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
769	 ac_unrecognized_sep=', ';;
770    esac
771    eval enable_$ac_useropt=\$ac_optarg ;;
772
773  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
774  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
775  | --exec | --exe | --ex)
776    ac_prev=exec_prefix ;;
777  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
778  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
779  | --exec=* | --exe=* | --ex=*)
780    exec_prefix=$ac_optarg ;;
781
782  -gas | --gas | --ga | --g)
783    # Obsolete; use --with-gas.
784    with_gas=yes ;;
785
786  -help | --help | --hel | --he | -h)
787    ac_init_help=long ;;
788  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
789    ac_init_help=recursive ;;
790  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
791    ac_init_help=short ;;
792
793  -host | --host | --hos | --ho)
794    ac_prev=host_alias ;;
795  -host=* | --host=* | --hos=* | --ho=*)
796    host_alias=$ac_optarg ;;
797
798  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
799    ac_prev=htmldir ;;
800  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
801  | --ht=*)
802    htmldir=$ac_optarg ;;
803
804  -includedir | --includedir | --includedi | --included | --include \
805  | --includ | --inclu | --incl | --inc)
806    ac_prev=includedir ;;
807  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
808  | --includ=* | --inclu=* | --incl=* | --inc=*)
809    includedir=$ac_optarg ;;
810
811  -infodir | --infodir | --infodi | --infod | --info | --inf)
812    ac_prev=infodir ;;
813  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
814    infodir=$ac_optarg ;;
815
816  -libdir | --libdir | --libdi | --libd)
817    ac_prev=libdir ;;
818  -libdir=* | --libdir=* | --libdi=* | --libd=*)
819    libdir=$ac_optarg ;;
820
821  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
822  | --libexe | --libex | --libe)
823    ac_prev=libexecdir ;;
824  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
825  | --libexe=* | --libex=* | --libe=*)
826    libexecdir=$ac_optarg ;;
827
828  -localedir | --localedir | --localedi | --localed | --locale)
829    ac_prev=localedir ;;
830  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
831    localedir=$ac_optarg ;;
832
833  -localstatedir | --localstatedir | --localstatedi | --localstated \
834  | --localstate | --localstat | --localsta | --localst | --locals)
835    ac_prev=localstatedir ;;
836  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
837  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
838    localstatedir=$ac_optarg ;;
839
840  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
841    ac_prev=mandir ;;
842  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
843    mandir=$ac_optarg ;;
844
845  -nfp | --nfp | --nf)
846    # Obsolete; use --without-fp.
847    with_fp=no ;;
848
849  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
850  | --no-cr | --no-c | -n)
851    no_create=yes ;;
852
853  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
854  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
855    no_recursion=yes ;;
856
857  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
858  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
859  | --oldin | --oldi | --old | --ol | --o)
860    ac_prev=oldincludedir ;;
861  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
862  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
863  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
864    oldincludedir=$ac_optarg ;;
865
866  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
867    ac_prev=prefix ;;
868  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
869    prefix=$ac_optarg ;;
870
871  -program-prefix | --program-prefix | --program-prefi | --program-pref \
872  | --program-pre | --program-pr | --program-p)
873    ac_prev=program_prefix ;;
874  -program-prefix=* | --program-prefix=* | --program-prefi=* \
875  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
876    program_prefix=$ac_optarg ;;
877
878  -program-suffix | --program-suffix | --program-suffi | --program-suff \
879  | --program-suf | --program-su | --program-s)
880    ac_prev=program_suffix ;;
881  -program-suffix=* | --program-suffix=* | --program-suffi=* \
882  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
883    program_suffix=$ac_optarg ;;
884
885  -program-transform-name | --program-transform-name \
886  | --program-transform-nam | --program-transform-na \
887  | --program-transform-n | --program-transform- \
888  | --program-transform | --program-transfor \
889  | --program-transfo | --program-transf \
890  | --program-trans | --program-tran \
891  | --progr-tra | --program-tr | --program-t)
892    ac_prev=program_transform_name ;;
893  -program-transform-name=* | --program-transform-name=* \
894  | --program-transform-nam=* | --program-transform-na=* \
895  | --program-transform-n=* | --program-transform-=* \
896  | --program-transform=* | --program-transfor=* \
897  | --program-transfo=* | --program-transf=* \
898  | --program-trans=* | --program-tran=* \
899  | --progr-tra=* | --program-tr=* | --program-t=*)
900    program_transform_name=$ac_optarg ;;
901
902  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
903    ac_prev=pdfdir ;;
904  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
905    pdfdir=$ac_optarg ;;
906
907  -psdir | --psdir | --psdi | --psd | --ps)
908    ac_prev=psdir ;;
909  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
910    psdir=$ac_optarg ;;
911
912  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
913  | -silent | --silent | --silen | --sile | --sil)
914    silent=yes ;;
915
916  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
917    ac_prev=sbindir ;;
918  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
919  | --sbi=* | --sb=*)
920    sbindir=$ac_optarg ;;
921
922  -sharedstatedir | --sharedstatedir | --sharedstatedi \
923  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
924  | --sharedst | --shareds | --shared | --share | --shar \
925  | --sha | --sh)
926    ac_prev=sharedstatedir ;;
927  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
928  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
929  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
930  | --sha=* | --sh=*)
931    sharedstatedir=$ac_optarg ;;
932
933  -site | --site | --sit)
934    ac_prev=site ;;
935  -site=* | --site=* | --sit=*)
936    site=$ac_optarg ;;
937
938  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
939    ac_prev=srcdir ;;
940  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
941    srcdir=$ac_optarg ;;
942
943  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
944  | --syscon | --sysco | --sysc | --sys | --sy)
945    ac_prev=sysconfdir ;;
946  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
947  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
948    sysconfdir=$ac_optarg ;;
949
950  -target | --target | --targe | --targ | --tar | --ta | --t)
951    ac_prev=target_alias ;;
952  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
953    target_alias=$ac_optarg ;;
954
955  -v | -verbose | --verbose | --verbos | --verbo | --verb)
956    verbose=yes ;;
957
958  -version | --version | --versio | --versi | --vers | -V)
959    ac_init_version=: ;;
960
961  -with-* | --with-*)
962    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
963    # Reject names that are not valid shell variable names.
964    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
965      as_fn_error $? "invalid package name: $ac_useropt"
966    ac_useropt_orig=$ac_useropt
967    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968    case $ac_user_opts in
969      *"
970"with_$ac_useropt"
971"*) ;;
972      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
973	 ac_unrecognized_sep=', ';;
974    esac
975    eval with_$ac_useropt=\$ac_optarg ;;
976
977  -without-* | --without-*)
978    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
979    # Reject names that are not valid shell variable names.
980    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
981      as_fn_error $? "invalid package name: $ac_useropt"
982    ac_useropt_orig=$ac_useropt
983    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
984    case $ac_user_opts in
985      *"
986"with_$ac_useropt"
987"*) ;;
988      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
989	 ac_unrecognized_sep=', ';;
990    esac
991    eval with_$ac_useropt=no ;;
992
993  --x)
994    # Obsolete; use --with-x.
995    with_x=yes ;;
996
997  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
998  | --x-incl | --x-inc | --x-in | --x-i)
999    ac_prev=x_includes ;;
1000  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1001  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1002    x_includes=$ac_optarg ;;
1003
1004  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1005  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1006    ac_prev=x_libraries ;;
1007  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1008  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1009    x_libraries=$ac_optarg ;;
1010
1011  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1012Try \`$0 --help' for more information"
1013    ;;
1014
1015  *=*)
1016    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1017    # Reject names that are not valid shell variable names.
1018    case $ac_envvar in #(
1019      '' | [0-9]* | *[!_$as_cr_alnum]* )
1020      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1021    esac
1022    eval $ac_envvar=\$ac_optarg
1023    export $ac_envvar ;;
1024
1025  *)
1026    # FIXME: should be removed in autoconf 3.0.
1027    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1028    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1030    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1031    ;;
1032
1033  esac
1034done
1035
1036if test -n "$ac_prev"; then
1037  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1038  as_fn_error $? "missing argument to $ac_option"
1039fi
1040
1041if test -n "$ac_unrecognized_opts"; then
1042  case $enable_option_checking in
1043    no) ;;
1044    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1045    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1046  esac
1047fi
1048
1049# Check all directory arguments for consistency.
1050for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1051		datadir sysconfdir sharedstatedir localstatedir includedir \
1052		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1053		libdir localedir mandir
1054do
1055  eval ac_val=\$$ac_var
1056  # Remove trailing slashes.
1057  case $ac_val in
1058    */ )
1059      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1060      eval $ac_var=\$ac_val;;
1061  esac
1062  # Be sure to have absolute directory names.
1063  case $ac_val in
1064    [\\/$]* | ?:[\\/]* )  continue;;
1065    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1066  esac
1067  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1068done
1069
1070# There might be people who depend on the old broken behavior: `$host'
1071# used to hold the argument of --host etc.
1072# FIXME: To remove some day.
1073build=$build_alias
1074host=$host_alias
1075target=$target_alias
1076
1077# FIXME: To remove some day.
1078if test "x$host_alias" != x; then
1079  if test "x$build_alias" = x; then
1080    cross_compiling=maybe
1081    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1082    If a cross compiler is detected then cross compile mode will be used" >&2
1083  elif test "x$build_alias" != "x$host_alias"; then
1084    cross_compiling=yes
1085  fi
1086fi
1087
1088ac_tool_prefix=
1089test -n "$host_alias" && ac_tool_prefix=$host_alias-
1090
1091test "$silent" = yes && exec 6>/dev/null
1092
1093
1094ac_pwd=`pwd` && test -n "$ac_pwd" &&
1095ac_ls_di=`ls -di .` &&
1096ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1097  as_fn_error $? "working directory cannot be determined"
1098test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1099  as_fn_error $? "pwd does not report name of working directory"
1100
1101
1102# Find the source files, if location was not specified.
1103if test -z "$srcdir"; then
1104  ac_srcdir_defaulted=yes
1105  # Try the directory containing this script, then the parent directory.
1106  ac_confdir=`$as_dirname -- "$as_myself" ||
1107$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1108	 X"$as_myself" : 'X\(//\)[^/]' \| \
1109	 X"$as_myself" : 'X\(//\)$' \| \
1110	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1111$as_echo X"$as_myself" |
1112    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1113	    s//\1/
1114	    q
1115	  }
1116	  /^X\(\/\/\)[^/].*/{
1117	    s//\1/
1118	    q
1119	  }
1120	  /^X\(\/\/\)$/{
1121	    s//\1/
1122	    q
1123	  }
1124	  /^X\(\/\).*/{
1125	    s//\1/
1126	    q
1127	  }
1128	  s/.*/./; q'`
1129  srcdir=$ac_confdir
1130  if test ! -r "$srcdir/$ac_unique_file"; then
1131    srcdir=..
1132  fi
1133else
1134  ac_srcdir_defaulted=no
1135fi
1136if test ! -r "$srcdir/$ac_unique_file"; then
1137  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1138  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1139fi
1140ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1141ac_abs_confdir=`(
1142	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1143	pwd)`
1144# When building in place, set srcdir=.
1145if test "$ac_abs_confdir" = "$ac_pwd"; then
1146  srcdir=.
1147fi
1148# Remove unnecessary trailing slashes from srcdir.
1149# Double slashes in file names in object file debugging info
1150# mess up M-x gdb in Emacs.
1151case $srcdir in
1152*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1153esac
1154for ac_var in $ac_precious_vars; do
1155  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1156  eval ac_env_${ac_var}_value=\$${ac_var}
1157  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1158  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1159done
1160
1161#
1162# Report the --help message.
1163#
1164if test "$ac_init_help" = "long"; then
1165  # Omit some internal or obsolete options to make the list less imposing.
1166  # This message is too long to be a string in the A/UX 3.1 sh.
1167  cat <<_ACEOF
1168\`configure' configures this package to adapt to many kinds of systems.
1169
1170Usage: $0 [OPTION]... [VAR=VALUE]...
1171
1172To assign environment variables (e.g., CC, CFLAGS...), specify them as
1173VAR=VALUE.  See below for descriptions of some of the useful variables.
1174
1175Defaults for the options are specified in brackets.
1176
1177Configuration:
1178  -h, --help              display this help and exit
1179      --help=short        display options specific to this package
1180      --help=recursive    display the short help of all the included packages
1181  -V, --version           display version information and exit
1182  -q, --quiet, --silent   do not print \`checking ...' messages
1183      --cache-file=FILE   cache test results in FILE [disabled]
1184  -C, --config-cache      alias for \`--cache-file=config.cache'
1185  -n, --no-create         do not create output files
1186      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1187
1188Installation directories:
1189  --prefix=PREFIX         install architecture-independent files in PREFIX
1190                          [$ac_default_prefix]
1191  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1192                          [PREFIX]
1193
1194By default, \`make install' will install all the files in
1195\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1196an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1197for instance \`--prefix=\$HOME'.
1198
1199For better control, use the options below.
1200
1201Fine tuning of the installation directories:
1202  --bindir=DIR            user executables [EPREFIX/bin]
1203  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1204  --libexecdir=DIR        program executables [EPREFIX/libexec]
1205  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1206  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1207  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1208  --libdir=DIR            object code libraries [EPREFIX/lib]
1209  --includedir=DIR        C header files [PREFIX/include]
1210  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1211  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1212  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1213  --infodir=DIR           info documentation [DATAROOTDIR/info]
1214  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1215  --mandir=DIR            man documentation [DATAROOTDIR/man]
1216  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1217  --htmldir=DIR           html documentation [DOCDIR]
1218  --dvidir=DIR            dvi documentation [DOCDIR]
1219  --pdfdir=DIR            pdf documentation [DOCDIR]
1220  --psdir=DIR             ps documentation [DOCDIR]
1221_ACEOF
1222
1223  cat <<\_ACEOF
1224
1225System types:
1226  --build=BUILD     configure for building on BUILD [guessed]
1227  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1228  --target=TARGET   configure for building compilers for TARGET [HOST]
1229_ACEOF
1230fi
1231
1232if test -n "$ac_init_help"; then
1233
1234  cat <<\_ACEOF
1235
1236Optional Features:
1237  --disable-option-checking  ignore unrecognized --enable/--with options
1238  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1239  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1240  --enable-debug-log  		Enable debug logging
1241
1242Optional Packages:
1243  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1244  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1245  --with-unzip=PROG  Use PROG as unzip
1246
1247Report bugs to the package provider.
1248_ACEOF
1249ac_status=$?
1250fi
1251
1252if test "$ac_init_help" = "recursive"; then
1253  # If there are subdirs, report their specific --help.
1254  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1255    test -d "$ac_dir" ||
1256      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1257      continue
1258    ac_builddir=.
1259
1260case "$ac_dir" in
1261.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1262*)
1263  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1264  # A ".." for each directory in $ac_dir_suffix.
1265  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1266  case $ac_top_builddir_sub in
1267  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1268  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1269  esac ;;
1270esac
1271ac_abs_top_builddir=$ac_pwd
1272ac_abs_builddir=$ac_pwd$ac_dir_suffix
1273# for backward compatibility:
1274ac_top_builddir=$ac_top_build_prefix
1275
1276case $srcdir in
1277  .)  # We are building in place.
1278    ac_srcdir=.
1279    ac_top_srcdir=$ac_top_builddir_sub
1280    ac_abs_top_srcdir=$ac_pwd ;;
1281  [\\/]* | ?:[\\/]* )  # Absolute name.
1282    ac_srcdir=$srcdir$ac_dir_suffix;
1283    ac_top_srcdir=$srcdir
1284    ac_abs_top_srcdir=$srcdir ;;
1285  *) # Relative name.
1286    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1287    ac_top_srcdir=$ac_top_build_prefix$srcdir
1288    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1289esac
1290ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1291
1292    cd "$ac_dir" || { ac_status=$?; continue; }
1293    # Check for guested configure.
1294    if test -f "$ac_srcdir/configure.gnu"; then
1295      echo &&
1296      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1297    elif test -f "$ac_srcdir/configure"; then
1298      echo &&
1299      $SHELL "$ac_srcdir/configure" --help=recursive
1300    else
1301      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1302    fi || ac_status=$?
1303    cd "$ac_pwd" || { ac_status=$?; break; }
1304  done
1305fi
1306
1307test -n "$ac_init_help" && exit $ac_status
1308if $ac_init_version; then
1309  cat <<\_ACEOF
1310configure
1311generated by GNU Autoconf 2.68
1312
1313Copyright (C) 2010 Free Software Foundation, Inc.
1314This configure script is free software; the Free Software Foundation
1315gives unlimited permission to copy, distribute and modify it.
1316_ACEOF
1317  exit
1318fi
1319
1320## ------------------------ ##
1321## Autoconf initialization. ##
1322## ------------------------ ##
1323cat >config.log <<_ACEOF
1324This file contains any messages produced by compilers while
1325running configure, to aid debugging if configure makes a mistake.
1326
1327It was created by $as_me, which was
1328generated by GNU Autoconf 2.68.  Invocation command line was
1329
1330  $ $0 $@
1331
1332_ACEOF
1333exec 5>>config.log
1334{
1335cat <<_ASUNAME
1336## --------- ##
1337## Platform. ##
1338## --------- ##
1339
1340hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1341uname -m = `(uname -m) 2>/dev/null || echo unknown`
1342uname -r = `(uname -r) 2>/dev/null || echo unknown`
1343uname -s = `(uname -s) 2>/dev/null || echo unknown`
1344uname -v = `(uname -v) 2>/dev/null || echo unknown`
1345
1346/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1347/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1348
1349/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1350/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1351/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1352/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1353/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1354/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1355/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1356
1357_ASUNAME
1358
1359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1360for as_dir in $PATH
1361do
1362  IFS=$as_save_IFS
1363  test -z "$as_dir" && as_dir=.
1364    $as_echo "PATH: $as_dir"
1365  done
1366IFS=$as_save_IFS
1367
1368} >&5
1369
1370cat >&5 <<_ACEOF
1371
1372
1373## ----------- ##
1374## Core tests. ##
1375## ----------- ##
1376
1377_ACEOF
1378
1379
1380# Keep a trace of the command line.
1381# Strip out --no-create and --no-recursion so they do not pile up.
1382# Strip out --silent because we don't want to record it for future runs.
1383# Also quote any args containing shell meta-characters.
1384# Make two passes to allow for proper duplicate-argument suppression.
1385ac_configure_args=
1386ac_configure_args0=
1387ac_configure_args1=
1388ac_must_keep_next=false
1389for ac_pass in 1 2
1390do
1391  for ac_arg
1392  do
1393    case $ac_arg in
1394    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1395    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1396    | -silent | --silent | --silen | --sile | --sil)
1397      continue ;;
1398    *\'*)
1399      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1400    esac
1401    case $ac_pass in
1402    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1403    2)
1404      as_fn_append ac_configure_args1 " '$ac_arg'"
1405      if test $ac_must_keep_next = true; then
1406	ac_must_keep_next=false # Got value, back to normal.
1407      else
1408	case $ac_arg in
1409	  *=* | --config-cache | -C | -disable-* | --disable-* \
1410	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1411	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1412	  | -with-* | --with-* | -without-* | --without-* | --x)
1413	    case "$ac_configure_args0 " in
1414	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1415	    esac
1416	    ;;
1417	  -* ) ac_must_keep_next=true ;;
1418	esac
1419      fi
1420      as_fn_append ac_configure_args " '$ac_arg'"
1421      ;;
1422    esac
1423  done
1424done
1425{ ac_configure_args0=; unset ac_configure_args0;}
1426{ ac_configure_args1=; unset ac_configure_args1;}
1427
1428# When interrupted or exit'd, cleanup temporary files, and complete
1429# config.log.  We remove comments because anyway the quotes in there
1430# would cause problems or look ugly.
1431# WARNING: Use '\'' to represent an apostrophe within the trap.
1432# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1433trap 'exit_status=$?
1434  # Save into config.log some information that might help in debugging.
1435  {
1436    echo
1437
1438    $as_echo "## ---------------- ##
1439## Cache variables. ##
1440## ---------------- ##"
1441    echo
1442    # The following way of writing the cache mishandles newlines in values,
1443(
1444  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1445    eval ac_val=\$$ac_var
1446    case $ac_val in #(
1447    *${as_nl}*)
1448      case $ac_var in #(
1449      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1450$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1451      esac
1452      case $ac_var in #(
1453      _ | IFS | as_nl) ;; #(
1454      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1455      *) { eval $ac_var=; unset $ac_var;} ;;
1456      esac ;;
1457    esac
1458  done
1459  (set) 2>&1 |
1460    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1461    *${as_nl}ac_space=\ *)
1462      sed -n \
1463	"s/'\''/'\''\\\\'\'''\''/g;
1464	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1465      ;; #(
1466    *)
1467      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1468      ;;
1469    esac |
1470    sort
1471)
1472    echo
1473
1474    $as_echo "## ----------------- ##
1475## Output variables. ##
1476## ----------------- ##"
1477    echo
1478    for ac_var in $ac_subst_vars
1479    do
1480      eval ac_val=\$$ac_var
1481      case $ac_val in
1482      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1483      esac
1484      $as_echo "$ac_var='\''$ac_val'\''"
1485    done | sort
1486    echo
1487
1488    if test -n "$ac_subst_files"; then
1489      $as_echo "## ------------------- ##
1490## File substitutions. ##
1491## ------------------- ##"
1492      echo
1493      for ac_var in $ac_subst_files
1494      do
1495	eval ac_val=\$$ac_var
1496	case $ac_val in
1497	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498	esac
1499	$as_echo "$ac_var='\''$ac_val'\''"
1500      done | sort
1501      echo
1502    fi
1503
1504    if test -s confdefs.h; then
1505      $as_echo "## ----------- ##
1506## confdefs.h. ##
1507## ----------- ##"
1508      echo
1509      cat confdefs.h
1510      echo
1511    fi
1512    test "$ac_signal" != 0 &&
1513      $as_echo "$as_me: caught signal $ac_signal"
1514    $as_echo "$as_me: exit $exit_status"
1515  } >&5
1516  rm -f core *.core core.conftest.* &&
1517    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1518    exit $exit_status
1519' 0
1520for ac_signal in 1 2 13 15; do
1521  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1522done
1523ac_signal=0
1524
1525# confdefs.h avoids OS command line length limits that DEFS can exceed.
1526rm -f -r conftest* confdefs.h
1527
1528$as_echo "/* confdefs.h */" > confdefs.h
1529
1530# Predefined preprocessor variables.
1531
1532cat >>confdefs.h <<_ACEOF
1533#define PACKAGE_NAME "$PACKAGE_NAME"
1534_ACEOF
1535
1536cat >>confdefs.h <<_ACEOF
1537#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1538_ACEOF
1539
1540cat >>confdefs.h <<_ACEOF
1541#define PACKAGE_VERSION "$PACKAGE_VERSION"
1542_ACEOF
1543
1544cat >>confdefs.h <<_ACEOF
1545#define PACKAGE_STRING "$PACKAGE_STRING"
1546_ACEOF
1547
1548cat >>confdefs.h <<_ACEOF
1549#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1550_ACEOF
1551
1552cat >>confdefs.h <<_ACEOF
1553#define PACKAGE_URL "$PACKAGE_URL"
1554_ACEOF
1555
1556
1557# Let the site file select an alternate cache file if it wants to.
1558# Prefer an explicitly selected file to automatically selected ones.
1559ac_site_file1=NONE
1560ac_site_file2=NONE
1561if test -n "$CONFIG_SITE"; then
1562  # We do not want a PATH search for config.site.
1563  case $CONFIG_SITE in #((
1564    -*)  ac_site_file1=./$CONFIG_SITE;;
1565    */*) ac_site_file1=$CONFIG_SITE;;
1566    *)   ac_site_file1=./$CONFIG_SITE;;
1567  esac
1568elif test "x$prefix" != xNONE; then
1569  ac_site_file1=$prefix/share/config.site
1570  ac_site_file2=$prefix/etc/config.site
1571else
1572  ac_site_file1=$ac_default_prefix/share/config.site
1573  ac_site_file2=$ac_default_prefix/etc/config.site
1574fi
1575for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1576do
1577  test "x$ac_site_file" = xNONE && continue
1578  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1579    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1580$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1581    sed 's/^/| /' "$ac_site_file" >&5
1582    . "$ac_site_file" \
1583      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1584$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1585as_fn_error $? "failed to load site script $ac_site_file
1586See \`config.log' for more details" "$LINENO" 5; }
1587  fi
1588done
1589
1590if test -r "$cache_file"; then
1591  # Some versions of bash will fail to source /dev/null (special files
1592  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1593  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1594    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1595$as_echo "$as_me: loading cache $cache_file" >&6;}
1596    case $cache_file in
1597      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1598      *)                      . "./$cache_file";;
1599    esac
1600  fi
1601else
1602  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1603$as_echo "$as_me: creating cache $cache_file" >&6;}
1604  >$cache_file
1605fi
1606
1607# Check that the precious variables saved in the cache have kept the same
1608# value.
1609ac_cache_corrupted=false
1610for ac_var in $ac_precious_vars; do
1611  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1612  eval ac_new_set=\$ac_env_${ac_var}_set
1613  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1614  eval ac_new_val=\$ac_env_${ac_var}_value
1615  case $ac_old_set,$ac_new_set in
1616    set,)
1617      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619      ac_cache_corrupted=: ;;
1620    ,set)
1621      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1622$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623      ac_cache_corrupted=: ;;
1624    ,);;
1625    *)
1626      if test "x$ac_old_val" != "x$ac_new_val"; then
1627	# differences in whitespace do not lead to failure.
1628	ac_old_val_w=`echo x $ac_old_val`
1629	ac_new_val_w=`echo x $ac_new_val`
1630	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1631	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1632$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1633	  ac_cache_corrupted=:
1634	else
1635	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1636$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1637	  eval $ac_var=\$ac_old_val
1638	fi
1639	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1640$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1641	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1642$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1643      fi;;
1644  esac
1645  # Pass precious variables to config.status.
1646  if test "$ac_new_set" = set; then
1647    case $ac_new_val in
1648    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1649    *) ac_arg=$ac_var=$ac_new_val ;;
1650    esac
1651    case " $ac_configure_args " in
1652      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1653      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1654    esac
1655  fi
1656done
1657if $ac_cache_corrupted; then
1658  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1660  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1661$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1662  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1663fi
1664## -------------------- ##
1665## Main body of script. ##
1666## -------------------- ##
1667
1668ac_ext=c
1669ac_cpp='$CPP $CPPFLAGS'
1670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1672ac_compiler_gnu=$ac_cv_c_compiler_gnu
1673
1674
1675
1676if test -z "$GNUSTEP_MAKEFILES"; then
1677  as_fn_error $? "You must set GNUSTEP_MAKEFILES or run the GNUstep initialization script first!" "$LINENO" 5
1678fi
1679
1680ac_aux_dir=
1681for ac_dir in $GNUSTEP_MAKEFILES "$srcdir"/$GNUSTEP_MAKEFILES; do
1682  if test -f "$ac_dir/install-sh"; then
1683    ac_aux_dir=$ac_dir
1684    ac_install_sh="$ac_aux_dir/install-sh -c"
1685    break
1686  elif test -f "$ac_dir/install.sh"; then
1687    ac_aux_dir=$ac_dir
1688    ac_install_sh="$ac_aux_dir/install.sh -c"
1689    break
1690  elif test -f "$ac_dir/shtool"; then
1691    ac_aux_dir=$ac_dir
1692    ac_install_sh="$ac_aux_dir/shtool install -c"
1693    break
1694  fi
1695done
1696if test -z "$ac_aux_dir"; then
1697  as_fn_error $? "cannot find install-sh, install.sh, or shtool in $GNUSTEP_MAKEFILES \"$srcdir\"/$GNUSTEP_MAKEFILES" "$LINENO" 5
1698fi
1699
1700# These three variables are undocumented and unsupported,
1701# and are intended to be withdrawn in a future Autoconf release.
1702# They can cause serious problems if a builder's source tree is in a directory
1703# whose full name contains unusual characters.
1704ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1705ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1706ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1707
1708
1709
1710# Make sure we can run config.sub.
1711$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1712  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1713
1714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1715$as_echo_n "checking build system type... " >&6; }
1716if ${ac_cv_build+:} false; then :
1717  $as_echo_n "(cached) " >&6
1718else
1719  ac_build_alias=$build_alias
1720test "x$ac_build_alias" = x &&
1721  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1722test "x$ac_build_alias" = x &&
1723  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1724ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1725  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1726
1727fi
1728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1729$as_echo "$ac_cv_build" >&6; }
1730case $ac_cv_build in
1731*-*-*) ;;
1732*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1733esac
1734build=$ac_cv_build
1735ac_save_IFS=$IFS; IFS='-'
1736set x $ac_cv_build
1737shift
1738build_cpu=$1
1739build_vendor=$2
1740shift; shift
1741# Remember, the first character of IFS is used to create $*,
1742# except with old shells:
1743build_os=$*
1744IFS=$ac_save_IFS
1745case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1746
1747
1748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1749$as_echo_n "checking host system type... " >&6; }
1750if ${ac_cv_host+:} false; then :
1751  $as_echo_n "(cached) " >&6
1752else
1753  if test "x$host_alias" = x; then
1754  ac_cv_host=$ac_cv_build
1755else
1756  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1757    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1758fi
1759
1760fi
1761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1762$as_echo "$ac_cv_host" >&6; }
1763case $ac_cv_host in
1764*-*-*) ;;
1765*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1766esac
1767host=$ac_cv_host
1768ac_save_IFS=$IFS; IFS='-'
1769set x $ac_cv_host
1770shift
1771host_cpu=$1
1772host_vendor=$2
1773shift; shift
1774# Remember, the first character of IFS is used to create $*,
1775# except with old shells:
1776host_os=$*
1777IFS=$ac_save_IFS
1778case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1779
1780
1781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1782$as_echo_n "checking target system type... " >&6; }
1783if ${ac_cv_target+:} false; then :
1784  $as_echo_n "(cached) " >&6
1785else
1786  if test "x$target_alias" = x; then
1787  ac_cv_target=$ac_cv_host
1788else
1789  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1790    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1791fi
1792
1793fi
1794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1795$as_echo "$ac_cv_target" >&6; }
1796case $ac_cv_target in
1797*-*-*) ;;
1798*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1799esac
1800target=$ac_cv_target
1801ac_save_IFS=$IFS; IFS='-'
1802set x $ac_cv_target
1803shift
1804target_cpu=$1
1805target_vendor=$2
1806shift; shift
1807# Remember, the first character of IFS is used to create $*,
1808# except with old shells:
1809target_os=$*
1810IFS=$ac_save_IFS
1811case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1812
1813
1814# The aliases save the names the user supplied, while $host etc.
1815# will get canonicalized.
1816test -n "$target_alias" &&
1817  test "$program_prefix$program_suffix$program_transform_name" = \
1818    NONENONEs,x,x, &&
1819  program_prefix=${target_alias}-
1820
1821#--------------------------------------------------------------------
1822# We need unzip
1823#--------------------------------------------------------------------
1824
1825# Check whether --with-unzip was given.
1826if test "${with_unzip+set}" = set; then :
1827  withval=$with_unzip; UNZ_PATH=$withval
1828else
1829  UNZ_PATH=none
1830fi
1831
1832
1833if test "x$UNZ_PATH" = "xnone"; then
1834	for ac_prog in unzip unzip
1835do
1836  # Extract the first word of "$ac_prog", so it can be a program name with args.
1837set dummy $ac_prog; ac_word=$2
1838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1839$as_echo_n "checking for $ac_word... " >&6; }
1840if ${ac_cv_path_UNZ_PATH+:} false; then :
1841  $as_echo_n "(cached) " >&6
1842else
1843  case $UNZ_PATH in
1844  [\\/]* | ?:[\\/]*)
1845  ac_cv_path_UNZ_PATH="$UNZ_PATH" # Let the user override the test with a path.
1846  ;;
1847  *)
1848  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1849for as_dir in $PATH
1850do
1851  IFS=$as_save_IFS
1852  test -z "$as_dir" && as_dir=.
1853    for ac_exec_ext in '' $ac_executable_extensions; do
1854  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1855    ac_cv_path_UNZ_PATH="$as_dir/$ac_word$ac_exec_ext"
1856    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1857    break 2
1858  fi
1859done
1860  done
1861IFS=$as_save_IFS
1862
1863  ;;
1864esac
1865fi
1866UNZ_PATH=$ac_cv_path_UNZ_PATH
1867if test -n "$UNZ_PATH"; then
1868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNZ_PATH" >&5
1869$as_echo "$UNZ_PATH" >&6; }
1870else
1871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1872$as_echo "no" >&6; }
1873fi
1874
1875
1876  test -n "$UNZ_PATH" && break
1877done
1878test -n "$UNZ_PATH" || UNZ_PATH="none"
1879
1880fi
1881
1882
1883cat >>confdefs.h <<_ACEOF
1884#define UNZIP_PATH "$UNZ_PATH"
1885_ACEOF
1886
1887
1888#--------------------------------------------------------------------
1889# Debug logging
1890#--------------------------------------------------------------------
1891# Check whether --enable-debug_log was given.
1892if test "${enable_debug_log+set}" = set; then :
1893  enableval=$enable_debug_log;
1894else
1895  enable_debug_log=no
1896fi
1897
1898
1899if test "$enable_debug_log" = "no"; then
1900 GW_DEBUG_LOG=0
1901else
1902 GW_DEBUG_LOG=1
1903fi
1904
1905
1906cat >>confdefs.h <<_ACEOF
1907#define GW_DEBUG_LOG $GW_DEBUG_LOG
1908_ACEOF
1909
1910
1911ac_config_files="$ac_config_files GNUmakefile"
1912
1913
1914cat >confcache <<\_ACEOF
1915# This file is a shell script that caches the results of configure
1916# tests run on this system so they can be shared between configure
1917# scripts and configure runs, see configure's option --config-cache.
1918# It is not useful on other systems.  If it contains results you don't
1919# want to keep, you may remove or edit it.
1920#
1921# config.status only pays attention to the cache file if you give it
1922# the --recheck option to rerun configure.
1923#
1924# `ac_cv_env_foo' variables (set or unset) will be overridden when
1925# loading this file, other *unset* `ac_cv_foo' will be assigned the
1926# following values.
1927
1928_ACEOF
1929
1930# The following way of writing the cache mishandles newlines in values,
1931# but we know of no workaround that is simple, portable, and efficient.
1932# So, we kill variables containing newlines.
1933# Ultrix sh set writes to stderr and can't be redirected directly,
1934# and sets the high bit in the cache file unless we assign to the vars.
1935(
1936  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1937    eval ac_val=\$$ac_var
1938    case $ac_val in #(
1939    *${as_nl}*)
1940      case $ac_var in #(
1941      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1942$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1943      esac
1944      case $ac_var in #(
1945      _ | IFS | as_nl) ;; #(
1946      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1947      *) { eval $ac_var=; unset $ac_var;} ;;
1948      esac ;;
1949    esac
1950  done
1951
1952  (set) 2>&1 |
1953    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1954    *${as_nl}ac_space=\ *)
1955      # `set' does not quote correctly, so add quotes: double-quote
1956      # substitution turns \\\\ into \\, and sed turns \\ into \.
1957      sed -n \
1958	"s/'/'\\\\''/g;
1959	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1960      ;; #(
1961    *)
1962      # `set' quotes correctly as required by POSIX, so do not add quotes.
1963      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1964      ;;
1965    esac |
1966    sort
1967) |
1968  sed '
1969     /^ac_cv_env_/b end
1970     t clear
1971     :clear
1972     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1973     t end
1974     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1975     :end' >>confcache
1976if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1977  if test -w "$cache_file"; then
1978    if test "x$cache_file" != "x/dev/null"; then
1979      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1980$as_echo "$as_me: updating cache $cache_file" >&6;}
1981      if test ! -f "$cache_file" || test -h "$cache_file"; then
1982	cat confcache >"$cache_file"
1983      else
1984        case $cache_file in #(
1985        */* | ?:*)
1986	  mv -f confcache "$cache_file"$$ &&
1987	  mv -f "$cache_file"$$ "$cache_file" ;; #(
1988        *)
1989	  mv -f confcache "$cache_file" ;;
1990	esac
1991      fi
1992    fi
1993  else
1994    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1995$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1996  fi
1997fi
1998rm -f confcache
1999
2000test "x$prefix" = xNONE && prefix=$ac_default_prefix
2001# Let make expand exec_prefix.
2002test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2003
2004# Transform confdefs.h into DEFS.
2005# Protect against shell expansion while executing Makefile rules.
2006# Protect against Makefile macro expansion.
2007#
2008# If the first sed substitution is executed (which looks for macros that
2009# take arguments), then branch to the quote section.  Otherwise,
2010# look for a macro that doesn't take arguments.
2011ac_script='
2012:mline
2013/\\$/{
2014 N
2015 s,\\\n,,
2016 b mline
2017}
2018t clear
2019:clear
2020s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2021t quote
2022s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2023t quote
2024b any
2025:quote
2026s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2027s/\[/\\&/g
2028s/\]/\\&/g
2029s/\$/$$/g
2030H
2031:any
2032${
2033	g
2034	s/^\n//
2035	s/\n/ /g
2036	p
2037}
2038'
2039DEFS=`sed -n "$ac_script" confdefs.h`
2040
2041
2042ac_libobjs=
2043ac_ltlibobjs=
2044U=
2045for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2046  # 1. Remove the extension, and $U if already installed.
2047  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2048  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2049  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2050  #    will be set to the directory where LIBOBJS objects are built.
2051  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2052  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2053done
2054LIBOBJS=$ac_libobjs
2055
2056LTLIBOBJS=$ac_ltlibobjs
2057
2058
2059
2060: "${CONFIG_STATUS=./config.status}"
2061ac_write_fail=0
2062ac_clean_files_save=$ac_clean_files
2063ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2064{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2065$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2066as_write_fail=0
2067cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2068#! $SHELL
2069# Generated by $as_me.
2070# Run this file to recreate the current configuration.
2071# Compiler output produced by configure, useful for debugging
2072# configure, is in config.log if it exists.
2073
2074debug=false
2075ac_cs_recheck=false
2076ac_cs_silent=false
2077
2078SHELL=\${CONFIG_SHELL-$SHELL}
2079export SHELL
2080_ASEOF
2081cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2082## -------------------- ##
2083## M4sh Initialization. ##
2084## -------------------- ##
2085
2086# Be more Bourne compatible
2087DUALCASE=1; export DUALCASE # for MKS sh
2088if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2089  emulate sh
2090  NULLCMD=:
2091  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2092  # is contrary to our usage.  Disable this feature.
2093  alias -g '${1+"$@"}'='"$@"'
2094  setopt NO_GLOB_SUBST
2095else
2096  case `(set -o) 2>/dev/null` in #(
2097  *posix*) :
2098    set -o posix ;; #(
2099  *) :
2100     ;;
2101esac
2102fi
2103
2104
2105as_nl='
2106'
2107export as_nl
2108# Printing a long string crashes Solaris 7 /usr/bin/printf.
2109as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2110as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2111as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2112# Prefer a ksh shell builtin over an external printf program on Solaris,
2113# but without wasting forks for bash or zsh.
2114if test -z "$BASH_VERSION$ZSH_VERSION" \
2115    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2116  as_echo='print -r --'
2117  as_echo_n='print -rn --'
2118elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2119  as_echo='printf %s\n'
2120  as_echo_n='printf %s'
2121else
2122  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2123    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2124    as_echo_n='/usr/ucb/echo -n'
2125  else
2126    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2127    as_echo_n_body='eval
2128      arg=$1;
2129      case $arg in #(
2130      *"$as_nl"*)
2131	expr "X$arg" : "X\\(.*\\)$as_nl";
2132	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2133      esac;
2134      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2135    '
2136    export as_echo_n_body
2137    as_echo_n='sh -c $as_echo_n_body as_echo'
2138  fi
2139  export as_echo_body
2140  as_echo='sh -c $as_echo_body as_echo'
2141fi
2142
2143# The user is always right.
2144if test "${PATH_SEPARATOR+set}" != set; then
2145  PATH_SEPARATOR=:
2146  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2147    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2148      PATH_SEPARATOR=';'
2149  }
2150fi
2151
2152
2153# IFS
2154# We need space, tab and new line, in precisely that order.  Quoting is
2155# there to prevent editors from complaining about space-tab.
2156# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2157# splitting by setting IFS to empty value.)
2158IFS=" ""	$as_nl"
2159
2160# Find who we are.  Look in the path if we contain no directory separator.
2161as_myself=
2162case $0 in #((
2163  *[\\/]* ) as_myself=$0 ;;
2164  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2165for as_dir in $PATH
2166do
2167  IFS=$as_save_IFS
2168  test -z "$as_dir" && as_dir=.
2169    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2170  done
2171IFS=$as_save_IFS
2172
2173     ;;
2174esac
2175# We did not find ourselves, most probably we were run as `sh COMMAND'
2176# in which case we are not to be found in the path.
2177if test "x$as_myself" = x; then
2178  as_myself=$0
2179fi
2180if test ! -f "$as_myself"; then
2181  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2182  exit 1
2183fi
2184
2185# Unset variables that we do not need and which cause bugs (e.g. in
2186# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2187# suppresses any "Segmentation fault" message there.  '((' could
2188# trigger a bug in pdksh 5.2.14.
2189for as_var in BASH_ENV ENV MAIL MAILPATH
2190do eval test x\${$as_var+set} = xset \
2191  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2192done
2193PS1='$ '
2194PS2='> '
2195PS4='+ '
2196
2197# NLS nuisances.
2198LC_ALL=C
2199export LC_ALL
2200LANGUAGE=C
2201export LANGUAGE
2202
2203# CDPATH.
2204(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2205
2206
2207# as_fn_error STATUS ERROR [LINENO LOG_FD]
2208# ----------------------------------------
2209# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2210# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2211# script with STATUS, using 1 if that was 0.
2212as_fn_error ()
2213{
2214  as_status=$1; test $as_status -eq 0 && as_status=1
2215  if test "$4"; then
2216    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2218  fi
2219  $as_echo "$as_me: error: $2" >&2
2220  as_fn_exit $as_status
2221} # as_fn_error
2222
2223
2224# as_fn_set_status STATUS
2225# -----------------------
2226# Set $? to STATUS, without forking.
2227as_fn_set_status ()
2228{
2229  return $1
2230} # as_fn_set_status
2231
2232# as_fn_exit STATUS
2233# -----------------
2234# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2235as_fn_exit ()
2236{
2237  set +e
2238  as_fn_set_status $1
2239  exit $1
2240} # as_fn_exit
2241
2242# as_fn_unset VAR
2243# ---------------
2244# Portably unset VAR.
2245as_fn_unset ()
2246{
2247  { eval $1=; unset $1;}
2248}
2249as_unset=as_fn_unset
2250# as_fn_append VAR VALUE
2251# ----------------------
2252# Append the text in VALUE to the end of the definition contained in VAR. Take
2253# advantage of any shell optimizations that allow amortized linear growth over
2254# repeated appends, instead of the typical quadratic growth present in naive
2255# implementations.
2256if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2257  eval 'as_fn_append ()
2258  {
2259    eval $1+=\$2
2260  }'
2261else
2262  as_fn_append ()
2263  {
2264    eval $1=\$$1\$2
2265  }
2266fi # as_fn_append
2267
2268# as_fn_arith ARG...
2269# ------------------
2270# Perform arithmetic evaluation on the ARGs, and store the result in the
2271# global $as_val. Take advantage of shells that can avoid forks. The arguments
2272# must be portable across $(()) and expr.
2273if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2274  eval 'as_fn_arith ()
2275  {
2276    as_val=$(( $* ))
2277  }'
2278else
2279  as_fn_arith ()
2280  {
2281    as_val=`expr "$@" || test $? -eq 1`
2282  }
2283fi # as_fn_arith
2284
2285
2286if expr a : '\(a\)' >/dev/null 2>&1 &&
2287   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2288  as_expr=expr
2289else
2290  as_expr=false
2291fi
2292
2293if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2294  as_basename=basename
2295else
2296  as_basename=false
2297fi
2298
2299if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2300  as_dirname=dirname
2301else
2302  as_dirname=false
2303fi
2304
2305as_me=`$as_basename -- "$0" ||
2306$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2307	 X"$0" : 'X\(//\)$' \| \
2308	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2309$as_echo X/"$0" |
2310    sed '/^.*\/\([^/][^/]*\)\/*$/{
2311	    s//\1/
2312	    q
2313	  }
2314	  /^X\/\(\/\/\)$/{
2315	    s//\1/
2316	    q
2317	  }
2318	  /^X\/\(\/\).*/{
2319	    s//\1/
2320	    q
2321	  }
2322	  s/.*/./; q'`
2323
2324# Avoid depending upon Character Ranges.
2325as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2326as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2327as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2328as_cr_digits='0123456789'
2329as_cr_alnum=$as_cr_Letters$as_cr_digits
2330
2331ECHO_C= ECHO_N= ECHO_T=
2332case `echo -n x` in #(((((
2333-n*)
2334  case `echo 'xy\c'` in
2335  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2336  xy)  ECHO_C='\c';;
2337  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2338       ECHO_T='	';;
2339  esac;;
2340*)
2341  ECHO_N='-n';;
2342esac
2343
2344rm -f conf$$ conf$$.exe conf$$.file
2345if test -d conf$$.dir; then
2346  rm -f conf$$.dir/conf$$.file
2347else
2348  rm -f conf$$.dir
2349  mkdir conf$$.dir 2>/dev/null
2350fi
2351if (echo >conf$$.file) 2>/dev/null; then
2352  if ln -s conf$$.file conf$$ 2>/dev/null; then
2353    as_ln_s='ln -s'
2354    # ... but there are two gotchas:
2355    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2356    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2357    # In both cases, we have to default to `cp -p'.
2358    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2359      as_ln_s='cp -p'
2360  elif ln conf$$.file conf$$ 2>/dev/null; then
2361    as_ln_s=ln
2362  else
2363    as_ln_s='cp -p'
2364  fi
2365else
2366  as_ln_s='cp -p'
2367fi
2368rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2369rmdir conf$$.dir 2>/dev/null
2370
2371
2372# as_fn_mkdir_p
2373# -------------
2374# Create "$as_dir" as a directory, including parents if necessary.
2375as_fn_mkdir_p ()
2376{
2377
2378  case $as_dir in #(
2379  -*) as_dir=./$as_dir;;
2380  esac
2381  test -d "$as_dir" || eval $as_mkdir_p || {
2382    as_dirs=
2383    while :; do
2384      case $as_dir in #(
2385      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2386      *) as_qdir=$as_dir;;
2387      esac
2388      as_dirs="'$as_qdir' $as_dirs"
2389      as_dir=`$as_dirname -- "$as_dir" ||
2390$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2391	 X"$as_dir" : 'X\(//\)[^/]' \| \
2392	 X"$as_dir" : 'X\(//\)$' \| \
2393	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2394$as_echo X"$as_dir" |
2395    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2396	    s//\1/
2397	    q
2398	  }
2399	  /^X\(\/\/\)[^/].*/{
2400	    s//\1/
2401	    q
2402	  }
2403	  /^X\(\/\/\)$/{
2404	    s//\1/
2405	    q
2406	  }
2407	  /^X\(\/\).*/{
2408	    s//\1/
2409	    q
2410	  }
2411	  s/.*/./; q'`
2412      test -d "$as_dir" && break
2413    done
2414    test -z "$as_dirs" || eval "mkdir $as_dirs"
2415  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2416
2417
2418} # as_fn_mkdir_p
2419if mkdir -p . 2>/dev/null; then
2420  as_mkdir_p='mkdir -p "$as_dir"'
2421else
2422  test -d ./-p && rmdir ./-p
2423  as_mkdir_p=false
2424fi
2425
2426if test -x / >/dev/null 2>&1; then
2427  as_test_x='test -x'
2428else
2429  if ls -dL / >/dev/null 2>&1; then
2430    as_ls_L_option=L
2431  else
2432    as_ls_L_option=
2433  fi
2434  as_test_x='
2435    eval sh -c '\''
2436      if test -d "$1"; then
2437	test -d "$1/.";
2438      else
2439	case $1 in #(
2440	-*)set "./$1";;
2441	esac;
2442	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2443	???[sx]*):;;*)false;;esac;fi
2444    '\'' sh
2445  '
2446fi
2447as_executable_p=$as_test_x
2448
2449# Sed expression to map a string onto a valid CPP name.
2450as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2451
2452# Sed expression to map a string onto a valid variable name.
2453as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2454
2455
2456exec 6>&1
2457## ----------------------------------- ##
2458## Main body of $CONFIG_STATUS script. ##
2459## ----------------------------------- ##
2460_ASEOF
2461test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2462
2463cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2464# Save the log message, to keep $0 and so on meaningful, and to
2465# report actual input values of CONFIG_FILES etc. instead of their
2466# values after options handling.
2467ac_log="
2468This file was extended by $as_me, which was
2469generated by GNU Autoconf 2.68.  Invocation command line was
2470
2471  CONFIG_FILES    = $CONFIG_FILES
2472  CONFIG_HEADERS  = $CONFIG_HEADERS
2473  CONFIG_LINKS    = $CONFIG_LINKS
2474  CONFIG_COMMANDS = $CONFIG_COMMANDS
2475  $ $0 $@
2476
2477on `(hostname || uname -n) 2>/dev/null | sed 1q`
2478"
2479
2480_ACEOF
2481
2482case $ac_config_files in *"
2483"*) set x $ac_config_files; shift; ac_config_files=$*;;
2484esac
2485
2486
2487
2488cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2489# Files that config.status was made for.
2490config_files="$ac_config_files"
2491
2492_ACEOF
2493
2494cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2495ac_cs_usage="\
2496\`$as_me' instantiates files and other configuration actions
2497from templates according to the current configuration.  Unless the files
2498and actions are specified as TAGs, all are instantiated by default.
2499
2500Usage: $0 [OPTION]... [TAG]...
2501
2502  -h, --help       print this help, then exit
2503  -V, --version    print version number and configuration settings, then exit
2504      --config     print configuration, then exit
2505  -q, --quiet, --silent
2506                   do not print progress messages
2507  -d, --debug      don't remove temporary files
2508      --recheck    update $as_me by reconfiguring in the same conditions
2509      --file=FILE[:TEMPLATE]
2510                   instantiate the configuration file FILE
2511
2512Configuration files:
2513$config_files
2514
2515Report bugs to the package provider."
2516
2517_ACEOF
2518cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2519ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2520ac_cs_version="\\
2521config.status
2522configured by $0, generated by GNU Autoconf 2.68,
2523  with options \\"\$ac_cs_config\\"
2524
2525Copyright (C) 2010 Free Software Foundation, Inc.
2526This config.status script is free software; the Free Software Foundation
2527gives unlimited permission to copy, distribute and modify it."
2528
2529ac_pwd='$ac_pwd'
2530srcdir='$srcdir'
2531test -n "\$AWK" || AWK=awk
2532_ACEOF
2533
2534cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2535# The default lists apply if the user does not specify any file.
2536ac_need_defaults=:
2537while test $# != 0
2538do
2539  case $1 in
2540  --*=?*)
2541    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2542    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2543    ac_shift=:
2544    ;;
2545  --*=)
2546    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2547    ac_optarg=
2548    ac_shift=:
2549    ;;
2550  *)
2551    ac_option=$1
2552    ac_optarg=$2
2553    ac_shift=shift
2554    ;;
2555  esac
2556
2557  case $ac_option in
2558  # Handling of the options.
2559  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2560    ac_cs_recheck=: ;;
2561  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2562    $as_echo "$ac_cs_version"; exit ;;
2563  --config | --confi | --conf | --con | --co | --c )
2564    $as_echo "$ac_cs_config"; exit ;;
2565  --debug | --debu | --deb | --de | --d | -d )
2566    debug=: ;;
2567  --file | --fil | --fi | --f )
2568    $ac_shift
2569    case $ac_optarg in
2570    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2571    '') as_fn_error $? "missing file argument" ;;
2572    esac
2573    as_fn_append CONFIG_FILES " '$ac_optarg'"
2574    ac_need_defaults=false;;
2575  --he | --h |  --help | --hel | -h )
2576    $as_echo "$ac_cs_usage"; exit ;;
2577  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2578  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2579    ac_cs_silent=: ;;
2580
2581  # This is an error.
2582  -*) as_fn_error $? "unrecognized option: \`$1'
2583Try \`$0 --help' for more information." ;;
2584
2585  *) as_fn_append ac_config_targets " $1"
2586     ac_need_defaults=false ;;
2587
2588  esac
2589  shift
2590done
2591
2592ac_configure_extra_args=
2593
2594if $ac_cs_silent; then
2595  exec 6>/dev/null
2596  ac_configure_extra_args="$ac_configure_extra_args --silent"
2597fi
2598
2599_ACEOF
2600cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2601if \$ac_cs_recheck; then
2602  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2603  shift
2604  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2605  CONFIG_SHELL='$SHELL'
2606  export CONFIG_SHELL
2607  exec "\$@"
2608fi
2609
2610_ACEOF
2611cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2612exec 5>>config.log
2613{
2614  echo
2615  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2616## Running $as_me. ##
2617_ASBOX
2618  $as_echo "$ac_log"
2619} >&5
2620
2621_ACEOF
2622cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2623_ACEOF
2624
2625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2626
2627# Handling of arguments.
2628for ac_config_target in $ac_config_targets
2629do
2630  case $ac_config_target in
2631    "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;;
2632
2633  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2634  esac
2635done
2636
2637
2638# If the user did not use the arguments to specify the items to instantiate,
2639# then the envvar interface is used.  Set only those that are not.
2640# We use the long form for the default assignment because of an extremely
2641# bizarre bug on SunOS 4.1.3.
2642if $ac_need_defaults; then
2643  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2644fi
2645
2646# Have a temporary directory for convenience.  Make it in the build tree
2647# simply because there is no reason against having it here, and in addition,
2648# creating and moving files from /tmp can sometimes cause problems.
2649# Hook for its removal unless debugging.
2650# Note that there is a small window in which the directory will not be cleaned:
2651# after its creation but before its name has been assigned to `$tmp'.
2652$debug ||
2653{
2654  tmp= ac_tmp=
2655  trap 'exit_status=$?
2656  : "${ac_tmp:=$tmp}"
2657  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2658' 0
2659  trap 'as_fn_exit 1' 1 2 13 15
2660}
2661# Create a (secure) tmp directory for tmp files.
2662
2663{
2664  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2665  test -d "$tmp"
2666}  ||
2667{
2668  tmp=./conf$$-$RANDOM
2669  (umask 077 && mkdir "$tmp")
2670} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2671ac_tmp=$tmp
2672
2673# Set up the scripts for CONFIG_FILES section.
2674# No need to generate them if there are no CONFIG_FILES.
2675# This happens for instance with `./config.status config.h'.
2676if test -n "$CONFIG_FILES"; then
2677
2678
2679ac_cr=`echo X | tr X '\015'`
2680# On cygwin, bash can eat \r inside `` if the user requested igncr.
2681# But we know of no other shell where ac_cr would be empty at this
2682# point, so we can use a bashism as a fallback.
2683if test "x$ac_cr" = x; then
2684  eval ac_cr=\$\'\\r\'
2685fi
2686ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2687if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2688  ac_cs_awk_cr='\\r'
2689else
2690  ac_cs_awk_cr=$ac_cr
2691fi
2692
2693echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2694_ACEOF
2695
2696
2697{
2698  echo "cat >conf$$subs.awk <<_ACEOF" &&
2699  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2700  echo "_ACEOF"
2701} >conf$$subs.sh ||
2702  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2703ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2704ac_delim='%!_!# '
2705for ac_last_try in false false false false false :; do
2706  . ./conf$$subs.sh ||
2707    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2708
2709  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2710  if test $ac_delim_n = $ac_delim_num; then
2711    break
2712  elif $ac_last_try; then
2713    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2714  else
2715    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2716  fi
2717done
2718rm -f conf$$subs.sh
2719
2720cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2721cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2722_ACEOF
2723sed -n '
2724h
2725s/^/S["/; s/!.*/"]=/
2726p
2727g
2728s/^[^!]*!//
2729:repl
2730t repl
2731s/'"$ac_delim"'$//
2732t delim
2733:nl
2734h
2735s/\(.\{148\}\)..*/\1/
2736t more1
2737s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2738p
2739n
2740b repl
2741:more1
2742s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2743p
2744g
2745s/.\{148\}//
2746t nl
2747:delim
2748h
2749s/\(.\{148\}\)..*/\1/
2750t more2
2751s/["\\]/\\&/g; s/^/"/; s/$/"/
2752p
2753b
2754:more2
2755s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2756p
2757g
2758s/.\{148\}//
2759t delim
2760' <conf$$subs.awk | sed '
2761/^[^""]/{
2762  N
2763  s/\n//
2764}
2765' >>$CONFIG_STATUS || ac_write_fail=1
2766rm -f conf$$subs.awk
2767cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2768_ACAWK
2769cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2770  for (key in S) S_is_set[key] = 1
2771  FS = ""
2772
2773}
2774{
2775  line = $ 0
2776  nfields = split(line, field, "@")
2777  substed = 0
2778  len = length(field[1])
2779  for (i = 2; i < nfields; i++) {
2780    key = field[i]
2781    keylen = length(key)
2782    if (S_is_set[key]) {
2783      value = S[key]
2784      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2785      len += length(value) + length(field[++i])
2786      substed = 1
2787    } else
2788      len += 1 + keylen
2789  }
2790
2791  print line
2792}
2793
2794_ACAWK
2795_ACEOF
2796cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2797if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2798  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2799else
2800  cat
2801fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2802  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2803_ACEOF
2804
2805# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2806# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2807# trailing colons and then remove the whole line if VPATH becomes empty
2808# (actually we leave an empty line to preserve line numbers).
2809if test "x$srcdir" = x.; then
2810  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
2811h
2812s///
2813s/^/:/
2814s/[	 ]*$/:/
2815s/:\$(srcdir):/:/g
2816s/:\${srcdir}:/:/g
2817s/:@srcdir@:/:/g
2818s/^:*//
2819s/:*$//
2820x
2821s/\(=[	 ]*\).*/\1/
2822G
2823s/\n//
2824s/^[^=]*=[	 ]*$//
2825}'
2826fi
2827
2828cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2829fi # test -n "$CONFIG_FILES"
2830
2831
2832eval set X "  :F $CONFIG_FILES      "
2833shift
2834for ac_tag
2835do
2836  case $ac_tag in
2837  :[FHLC]) ac_mode=$ac_tag; continue;;
2838  esac
2839  case $ac_mode$ac_tag in
2840  :[FHL]*:*);;
2841  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2842  :[FH]-) ac_tag=-:-;;
2843  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2844  esac
2845  ac_save_IFS=$IFS
2846  IFS=:
2847  set x $ac_tag
2848  IFS=$ac_save_IFS
2849  shift
2850  ac_file=$1
2851  shift
2852
2853  case $ac_mode in
2854  :L) ac_source=$1;;
2855  :[FH])
2856    ac_file_inputs=
2857    for ac_f
2858    do
2859      case $ac_f in
2860      -) ac_f="$ac_tmp/stdin";;
2861      *) # Look for the file first in the build tree, then in the source tree
2862	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
2863	 # because $ac_f cannot contain `:'.
2864	 test -f "$ac_f" ||
2865	   case $ac_f in
2866	   [\\/$]*) false;;
2867	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2868	   esac ||
2869	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2870      esac
2871      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2872      as_fn_append ac_file_inputs " '$ac_f'"
2873    done
2874
2875    # Let's still pretend it is `configure' which instantiates (i.e., don't
2876    # use $as_me), people would be surprised to read:
2877    #    /* config.h.  Generated by config.status.  */
2878    configure_input='Generated from '`
2879	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2880	`' by configure.'
2881    if test x"$ac_file" != x-; then
2882      configure_input="$ac_file.  $configure_input"
2883      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2884$as_echo "$as_me: creating $ac_file" >&6;}
2885    fi
2886    # Neutralize special characters interpreted by sed in replacement strings.
2887    case $configure_input in #(
2888    *\&* | *\|* | *\\* )
2889       ac_sed_conf_input=`$as_echo "$configure_input" |
2890       sed 's/[\\\\&|]/\\\\&/g'`;; #(
2891    *) ac_sed_conf_input=$configure_input;;
2892    esac
2893
2894    case $ac_tag in
2895    *:-:* | *:-) cat >"$ac_tmp/stdin" \
2896      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2897    esac
2898    ;;
2899  esac
2900
2901  ac_dir=`$as_dirname -- "$ac_file" ||
2902$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2903	 X"$ac_file" : 'X\(//\)[^/]' \| \
2904	 X"$ac_file" : 'X\(//\)$' \| \
2905	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2906$as_echo X"$ac_file" |
2907    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2908	    s//\1/
2909	    q
2910	  }
2911	  /^X\(\/\/\)[^/].*/{
2912	    s//\1/
2913	    q
2914	  }
2915	  /^X\(\/\/\)$/{
2916	    s//\1/
2917	    q
2918	  }
2919	  /^X\(\/\).*/{
2920	    s//\1/
2921	    q
2922	  }
2923	  s/.*/./; q'`
2924  as_dir="$ac_dir"; as_fn_mkdir_p
2925  ac_builddir=.
2926
2927case "$ac_dir" in
2928.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2929*)
2930  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2931  # A ".." for each directory in $ac_dir_suffix.
2932  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2933  case $ac_top_builddir_sub in
2934  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2935  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2936  esac ;;
2937esac
2938ac_abs_top_builddir=$ac_pwd
2939ac_abs_builddir=$ac_pwd$ac_dir_suffix
2940# for backward compatibility:
2941ac_top_builddir=$ac_top_build_prefix
2942
2943case $srcdir in
2944  .)  # We are building in place.
2945    ac_srcdir=.
2946    ac_top_srcdir=$ac_top_builddir_sub
2947    ac_abs_top_srcdir=$ac_pwd ;;
2948  [\\/]* | ?:[\\/]* )  # Absolute name.
2949    ac_srcdir=$srcdir$ac_dir_suffix;
2950    ac_top_srcdir=$srcdir
2951    ac_abs_top_srcdir=$srcdir ;;
2952  *) # Relative name.
2953    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2954    ac_top_srcdir=$ac_top_build_prefix$srcdir
2955    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2956esac
2957ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2958
2959
2960  case $ac_mode in
2961  :F)
2962  #
2963  # CONFIG_FILE
2964  #
2965
2966_ACEOF
2967
2968cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2969# If the template does not know about datarootdir, expand it.
2970# FIXME: This hack should be removed a few years after 2.60.
2971ac_datarootdir_hack=; ac_datarootdir_seen=
2972ac_sed_dataroot='
2973/datarootdir/ {
2974  p
2975  q
2976}
2977/@datadir@/p
2978/@docdir@/p
2979/@infodir@/p
2980/@localedir@/p
2981/@mandir@/p'
2982case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2983*datarootdir*) ac_datarootdir_seen=yes;;
2984*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2985  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2986$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2987_ACEOF
2988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2989  ac_datarootdir_hack='
2990  s&@datadir@&$datadir&g
2991  s&@docdir@&$docdir&g
2992  s&@infodir@&$infodir&g
2993  s&@localedir@&$localedir&g
2994  s&@mandir@&$mandir&g
2995  s&\\\${datarootdir}&$datarootdir&g' ;;
2996esac
2997_ACEOF
2998
2999# Neutralize VPATH when `$srcdir' = `.'.
3000# Shell code in configure.ac might set extrasub.
3001# FIXME: do we really want to maintain this feature?
3002cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3003ac_sed_extra="$ac_vpsub
3004$extrasub
3005_ACEOF
3006cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3007:t
3008/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3009s|@configure_input@|$ac_sed_conf_input|;t t
3010s&@top_builddir@&$ac_top_builddir_sub&;t t
3011s&@top_build_prefix@&$ac_top_build_prefix&;t t
3012s&@srcdir@&$ac_srcdir&;t t
3013s&@abs_srcdir@&$ac_abs_srcdir&;t t
3014s&@top_srcdir@&$ac_top_srcdir&;t t
3015s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3016s&@builddir@&$ac_builddir&;t t
3017s&@abs_builddir@&$ac_abs_builddir&;t t
3018s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3019$ac_datarootdir_hack
3020"
3021eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3022  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3023
3024test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3025  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3026  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
3027      "$ac_tmp/out"`; test -z "$ac_out"; } &&
3028  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3029which seems to be undefined.  Please make sure it is defined" >&5
3030$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3031which seems to be undefined.  Please make sure it is defined" >&2;}
3032
3033  rm -f "$ac_tmp/stdin"
3034  case $ac_file in
3035  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3036  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3037  esac \
3038  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3039 ;;
3040
3041
3042
3043  esac
3044
3045done # for ac_tag
3046
3047
3048as_fn_exit 0
3049_ACEOF
3050ac_clean_files=$ac_clean_files_save
3051
3052test $ac_write_fail = 0 ||
3053  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3054
3055
3056# configure is writing to config.log, and then calls config.status.
3057# config.status does its own redirection, appending to config.log.
3058# Unfortunately, on DOS this fails, as config.log is still kept open
3059# by configure, so config.status won't be able to write to it; its
3060# output is simply discarded.  So we exec the FD to /dev/null,
3061# effectively closing config.log, so it can be properly (re)opened and
3062# appended to by config.status.  When coming back to configure, we
3063# need to make the FD available again.
3064if test "$no_create" != yes; then
3065  ac_cs_success=:
3066  ac_config_status_args=
3067  test "$silent" = yes &&
3068    ac_config_status_args="$ac_config_status_args --quiet"
3069  exec 5>/dev/null
3070  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3071  exec 5>>config.log
3072  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3073  # would make configure fail if this is the last instruction.
3074  $ac_cs_success || as_fn_exit 1
3075fi
3076if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3077  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3078$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3079fi
3080
3081
3082
3083
3084
3085