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