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