OSDN Git Service

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