auto-generate most target debug methods
[platform/upstream/binutils.git] / sim / testsuite / 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="common/bits-tst.c"
554 enable_option_checking=no
555 ac_subst_vars='LTLIBOBJS
556 LIBOBJS
557 sim_arch
558 subdirs
559 target_os
560 target_vendor
561 target_cpu
562 target
563 host_os
564 host_vendor
565 host_cpu
566 host
567 build_os
568 build_vendor
569 build_cpu
570 build
571 CC
572 target_alias
573 host_alias
574 build_alias
575 LIBS
576 ECHO_T
577 ECHO_N
578 ECHO_C
579 DEFS
580 mandir
581 localedir
582 libdir
583 psdir
584 pdfdir
585 dvidir
586 htmldir
587 infodir
588 docdir
589 oldincludedir
590 includedir
591 localstatedir
592 sharedstatedir
593 sysconfdir
594 datadir
595 datarootdir
596 libexecdir
597 sbindir
598 bindir
599 program_transform_name
600 prefix
601 exec_prefix
602 PACKAGE_URL
603 PACKAGE_BUGREPORT
604 PACKAGE_STRING
605 PACKAGE_VERSION
606 PACKAGE_TARNAME
607 PACKAGE_NAME
608 PATH_SEPARATOR
609 SHELL'
610 ac_subst_files=''
611 ac_user_opts='
612 enable_option_checking
613 '
614       ac_precious_vars='build_alias
615 host_alias
616 target_alias'
617 ac_subdirs_all='frv-elf
618 m32r-elf
619 mips64el-elf'
620
621 # Initialize some variables set by options.
622 ac_init_help=
623 ac_init_version=false
624 ac_unrecognized_opts=
625 ac_unrecognized_sep=
626 # The variables have the same names as the options, with
627 # dashes changed to underlines.
628 cache_file=/dev/null
629 exec_prefix=NONE
630 no_create=
631 no_recursion=
632 prefix=NONE
633 program_prefix=NONE
634 program_suffix=NONE
635 program_transform_name=s,x,x,
636 silent=
637 site=
638 srcdir=
639 verbose=
640 x_includes=NONE
641 x_libraries=NONE
642
643 # Installation directory options.
644 # These are left unexpanded so users can "make install exec_prefix=/foo"
645 # and all the variables that are supposed to be based on exec_prefix
646 # by default will actually change.
647 # Use braces instead of parens because sh, perl, etc. also accept them.
648 # (The list follows the same order as the GNU Coding Standards.)
649 bindir='${exec_prefix}/bin'
650 sbindir='${exec_prefix}/sbin'
651 libexecdir='${exec_prefix}/libexec'
652 datarootdir='${prefix}/share'
653 datadir='${datarootdir}'
654 sysconfdir='${prefix}/etc'
655 sharedstatedir='${prefix}/com'
656 localstatedir='${prefix}/var'
657 includedir='${prefix}/include'
658 oldincludedir='/usr/include'
659 docdir='${datarootdir}/doc/${PACKAGE}'
660 infodir='${datarootdir}/info'
661 htmldir='${docdir}'
662 dvidir='${docdir}'
663 pdfdir='${docdir}'
664 psdir='${docdir}'
665 libdir='${exec_prefix}/lib'
666 localedir='${datarootdir}/locale'
667 mandir='${datarootdir}/man'
668
669 ac_prev=
670 ac_dashdash=
671 for ac_option
672 do
673   # If the previous option needs an argument, assign it.
674   if test -n "$ac_prev"; then
675     eval $ac_prev=\$ac_option
676     ac_prev=
677     continue
678   fi
679
680   case $ac_option in
681   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
682   *)    ac_optarg=yes ;;
683   esac
684
685   # Accept the important Cygnus configure options, so we can diagnose typos.
686
687   case $ac_dashdash$ac_option in
688   --)
689     ac_dashdash=yes ;;
690
691   -bindir | --bindir | --bindi | --bind | --bin | --bi)
692     ac_prev=bindir ;;
693   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
694     bindir=$ac_optarg ;;
695
696   -build | --build | --buil | --bui | --bu)
697     ac_prev=build_alias ;;
698   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
699     build_alias=$ac_optarg ;;
700
701   -cache-file | --cache-file | --cache-fil | --cache-fi \
702   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
703     ac_prev=cache_file ;;
704   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
705   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
706     cache_file=$ac_optarg ;;
707
708   --config-cache | -C)
709     cache_file=config.cache ;;
710
711   -datadir | --datadir | --datadi | --datad)
712     ac_prev=datadir ;;
713   -datadir=* | --datadir=* | --datadi=* | --datad=*)
714     datadir=$ac_optarg ;;
715
716   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
717   | --dataroo | --dataro | --datar)
718     ac_prev=datarootdir ;;
719   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
720   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
721     datarootdir=$ac_optarg ;;
722
723   -disable-* | --disable-*)
724     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
725     # Reject names that are not valid shell variable names.
726     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
727       as_fn_error "invalid feature name: $ac_useropt"
728     ac_useropt_orig=$ac_useropt
729     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
730     case $ac_user_opts in
731       *"
732 "enable_$ac_useropt"
733 "*) ;;
734       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
735          ac_unrecognized_sep=', ';;
736     esac
737     eval enable_$ac_useropt=no ;;
738
739   -docdir | --docdir | --docdi | --doc | --do)
740     ac_prev=docdir ;;
741   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
742     docdir=$ac_optarg ;;
743
744   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
745     ac_prev=dvidir ;;
746   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
747     dvidir=$ac_optarg ;;
748
749   -enable-* | --enable-*)
750     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
751     # Reject names that are not valid shell variable names.
752     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
753       as_fn_error "invalid feature name: $ac_useropt"
754     ac_useropt_orig=$ac_useropt
755     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
756     case $ac_user_opts in
757       *"
758 "enable_$ac_useropt"
759 "*) ;;
760       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
761          ac_unrecognized_sep=', ';;
762     esac
763     eval enable_$ac_useropt=\$ac_optarg ;;
764
765   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767   | --exec | --exe | --ex)
768     ac_prev=exec_prefix ;;
769   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
770   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
771   | --exec=* | --exe=* | --ex=*)
772     exec_prefix=$ac_optarg ;;
773
774   -gas | --gas | --ga | --g)
775     # Obsolete; use --with-gas.
776     with_gas=yes ;;
777
778   -help | --help | --hel | --he | -h)
779     ac_init_help=long ;;
780   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
781     ac_init_help=recursive ;;
782   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
783     ac_init_help=short ;;
784
785   -host | --host | --hos | --ho)
786     ac_prev=host_alias ;;
787   -host=* | --host=* | --hos=* | --ho=*)
788     host_alias=$ac_optarg ;;
789
790   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
791     ac_prev=htmldir ;;
792   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
793   | --ht=*)
794     htmldir=$ac_optarg ;;
795
796   -includedir | --includedir | --includedi | --included | --include \
797   | --includ | --inclu | --incl | --inc)
798     ac_prev=includedir ;;
799   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
800   | --includ=* | --inclu=* | --incl=* | --inc=*)
801     includedir=$ac_optarg ;;
802
803   -infodir | --infodir | --infodi | --infod | --info | --inf)
804     ac_prev=infodir ;;
805   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
806     infodir=$ac_optarg ;;
807
808   -libdir | --libdir | --libdi | --libd)
809     ac_prev=libdir ;;
810   -libdir=* | --libdir=* | --libdi=* | --libd=*)
811     libdir=$ac_optarg ;;
812
813   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
814   | --libexe | --libex | --libe)
815     ac_prev=libexecdir ;;
816   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
817   | --libexe=* | --libex=* | --libe=*)
818     libexecdir=$ac_optarg ;;
819
820   -localedir | --localedir | --localedi | --localed | --locale)
821     ac_prev=localedir ;;
822   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
823     localedir=$ac_optarg ;;
824
825   -localstatedir | --localstatedir | --localstatedi | --localstated \
826   | --localstate | --localstat | --localsta | --localst | --locals)
827     ac_prev=localstatedir ;;
828   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
829   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
830     localstatedir=$ac_optarg ;;
831
832   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
833     ac_prev=mandir ;;
834   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
835     mandir=$ac_optarg ;;
836
837   -nfp | --nfp | --nf)
838     # Obsolete; use --without-fp.
839     with_fp=no ;;
840
841   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
842   | --no-cr | --no-c | -n)
843     no_create=yes ;;
844
845   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
846   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
847     no_recursion=yes ;;
848
849   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
850   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
851   | --oldin | --oldi | --old | --ol | --o)
852     ac_prev=oldincludedir ;;
853   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
854   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
855   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
856     oldincludedir=$ac_optarg ;;
857
858   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
859     ac_prev=prefix ;;
860   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
861     prefix=$ac_optarg ;;
862
863   -program-prefix | --program-prefix | --program-prefi | --program-pref \
864   | --program-pre | --program-pr | --program-p)
865     ac_prev=program_prefix ;;
866   -program-prefix=* | --program-prefix=* | --program-prefi=* \
867   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
868     program_prefix=$ac_optarg ;;
869
870   -program-suffix | --program-suffix | --program-suffi | --program-suff \
871   | --program-suf | --program-su | --program-s)
872     ac_prev=program_suffix ;;
873   -program-suffix=* | --program-suffix=* | --program-suffi=* \
874   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
875     program_suffix=$ac_optarg ;;
876
877   -program-transform-name | --program-transform-name \
878   | --program-transform-nam | --program-transform-na \
879   | --program-transform-n | --program-transform- \
880   | --program-transform | --program-transfor \
881   | --program-transfo | --program-transf \
882   | --program-trans | --program-tran \
883   | --progr-tra | --program-tr | --program-t)
884     ac_prev=program_transform_name ;;
885   -program-transform-name=* | --program-transform-name=* \
886   | --program-transform-nam=* | --program-transform-na=* \
887   | --program-transform-n=* | --program-transform-=* \
888   | --program-transform=* | --program-transfor=* \
889   | --program-transfo=* | --program-transf=* \
890   | --program-trans=* | --program-tran=* \
891   | --progr-tra=* | --program-tr=* | --program-t=*)
892     program_transform_name=$ac_optarg ;;
893
894   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
895     ac_prev=pdfdir ;;
896   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
897     pdfdir=$ac_optarg ;;
898
899   -psdir | --psdir | --psdi | --psd | --ps)
900     ac_prev=psdir ;;
901   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
902     psdir=$ac_optarg ;;
903
904   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
905   | -silent | --silent | --silen | --sile | --sil)
906     silent=yes ;;
907
908   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
909     ac_prev=sbindir ;;
910   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
911   | --sbi=* | --sb=*)
912     sbindir=$ac_optarg ;;
913
914   -sharedstatedir | --sharedstatedir | --sharedstatedi \
915   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
916   | --sharedst | --shareds | --shared | --share | --shar \
917   | --sha | --sh)
918     ac_prev=sharedstatedir ;;
919   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
920   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
921   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
922   | --sha=* | --sh=*)
923     sharedstatedir=$ac_optarg ;;
924
925   -site | --site | --sit)
926     ac_prev=site ;;
927   -site=* | --site=* | --sit=*)
928     site=$ac_optarg ;;
929
930   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
931     ac_prev=srcdir ;;
932   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
933     srcdir=$ac_optarg ;;
934
935   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
936   | --syscon | --sysco | --sysc | --sys | --sy)
937     ac_prev=sysconfdir ;;
938   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
939   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
940     sysconfdir=$ac_optarg ;;
941
942   -target | --target | --targe | --targ | --tar | --ta | --t)
943     ac_prev=target_alias ;;
944   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
945     target_alias=$ac_optarg ;;
946
947   -v | -verbose | --verbose | --verbos | --verbo | --verb)
948     verbose=yes ;;
949
950   -version | --version | --versio | --versi | --vers | -V)
951     ac_init_version=: ;;
952
953   -with-* | --with-*)
954     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955     # Reject names that are not valid shell variable names.
956     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957       as_fn_error "invalid package name: $ac_useropt"
958     ac_useropt_orig=$ac_useropt
959     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960     case $ac_user_opts in
961       *"
962 "with_$ac_useropt"
963 "*) ;;
964       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
965          ac_unrecognized_sep=', ';;
966     esac
967     eval with_$ac_useropt=\$ac_optarg ;;
968
969   -without-* | --without-*)
970     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
971     # Reject names that are not valid shell variable names.
972     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973       as_fn_error "invalid package name: $ac_useropt"
974     ac_useropt_orig=$ac_useropt
975     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976     case $ac_user_opts in
977       *"
978 "with_$ac_useropt"
979 "*) ;;
980       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
981          ac_unrecognized_sep=', ';;
982     esac
983     eval with_$ac_useropt=no ;;
984
985   --x)
986     # Obsolete; use --with-x.
987     with_x=yes ;;
988
989   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
990   | --x-incl | --x-inc | --x-in | --x-i)
991     ac_prev=x_includes ;;
992   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
993   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
994     x_includes=$ac_optarg ;;
995
996   -x-libraries | --x-libraries | --x-librarie | --x-librari \
997   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
998     ac_prev=x_libraries ;;
999   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1000   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1001     x_libraries=$ac_optarg ;;
1002
1003   -*) as_fn_error "unrecognized option: \`$ac_option'
1004 Try \`$0 --help' for more information."
1005     ;;
1006
1007   *=*)
1008     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1009     # Reject names that are not valid shell variable names.
1010     case $ac_envvar in #(
1011       '' | [0-9]* | *[!_$as_cr_alnum]* )
1012       as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1013     esac
1014     eval $ac_envvar=\$ac_optarg
1015     export $ac_envvar ;;
1016
1017   *)
1018     # FIXME: should be removed in autoconf 3.0.
1019     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1020     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1021       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1022     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1023     ;;
1024
1025   esac
1026 done
1027
1028 if test -n "$ac_prev"; then
1029   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1030   as_fn_error "missing argument to $ac_option"
1031 fi
1032
1033 if test -n "$ac_unrecognized_opts"; then
1034   case $enable_option_checking in
1035     no) ;;
1036     fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1037     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1038   esac
1039 fi
1040
1041 # Check all directory arguments for consistency.
1042 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1043                 datadir sysconfdir sharedstatedir localstatedir includedir \
1044                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1045                 libdir localedir mandir
1046 do
1047   eval ac_val=\$$ac_var
1048   # Remove trailing slashes.
1049   case $ac_val in
1050     */ )
1051       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1052       eval $ac_var=\$ac_val;;
1053   esac
1054   # Be sure to have absolute directory names.
1055   case $ac_val in
1056     [\\/$]* | ?:[\\/]* )  continue;;
1057     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1058   esac
1059   as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1060 done
1061
1062 # There might be people who depend on the old broken behavior: `$host'
1063 # used to hold the argument of --host etc.
1064 # FIXME: To remove some day.
1065 build=$build_alias
1066 host=$host_alias
1067 target=$target_alias
1068
1069 # FIXME: To remove some day.
1070 if test "x$host_alias" != x; then
1071   if test "x$build_alias" = x; then
1072     cross_compiling=maybe
1073     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1074     If a cross compiler is detected then cross compile mode will be used." >&2
1075   elif test "x$build_alias" != "x$host_alias"; then
1076     cross_compiling=yes
1077   fi
1078 fi
1079
1080 ac_tool_prefix=
1081 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1082
1083 test "$silent" = yes && exec 6>/dev/null
1084
1085
1086 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1087 ac_ls_di=`ls -di .` &&
1088 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1089   as_fn_error "working directory cannot be determined"
1090 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1091   as_fn_error "pwd does not report name of working directory"
1092
1093
1094 # Find the source files, if location was not specified.
1095 if test -z "$srcdir"; then
1096   ac_srcdir_defaulted=yes
1097   # Try the directory containing this script, then the parent directory.
1098   ac_confdir=`$as_dirname -- "$as_myself" ||
1099 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1100          X"$as_myself" : 'X\(//\)[^/]' \| \
1101          X"$as_myself" : 'X\(//\)$' \| \
1102          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1103 $as_echo X"$as_myself" |
1104     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1105             s//\1/
1106             q
1107           }
1108           /^X\(\/\/\)[^/].*/{
1109             s//\1/
1110             q
1111           }
1112           /^X\(\/\/\)$/{
1113             s//\1/
1114             q
1115           }
1116           /^X\(\/\).*/{
1117             s//\1/
1118             q
1119           }
1120           s/.*/./; q'`
1121   srcdir=$ac_confdir
1122   if test ! -r "$srcdir/$ac_unique_file"; then
1123     srcdir=..
1124   fi
1125 else
1126   ac_srcdir_defaulted=no
1127 fi
1128 if test ! -r "$srcdir/$ac_unique_file"; then
1129   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1130   as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1131 fi
1132 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1133 ac_abs_confdir=`(
1134         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1135         pwd)`
1136 # When building in place, set srcdir=.
1137 if test "$ac_abs_confdir" = "$ac_pwd"; then
1138   srcdir=.
1139 fi
1140 # Remove unnecessary trailing slashes from srcdir.
1141 # Double slashes in file names in object file debugging info
1142 # mess up M-x gdb in Emacs.
1143 case $srcdir in
1144 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1145 esac
1146 for ac_var in $ac_precious_vars; do
1147   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1148   eval ac_env_${ac_var}_value=\$${ac_var}
1149   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1150   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1151 done
1152
1153 #
1154 # Report the --help message.
1155 #
1156 if test "$ac_init_help" = "long"; then
1157   # Omit some internal or obsolete options to make the list less imposing.
1158   # This message is too long to be a string in the A/UX 3.1 sh.
1159   cat <<_ACEOF
1160 \`configure' configures this package to adapt to many kinds of systems.
1161
1162 Usage: $0 [OPTION]... [VAR=VALUE]...
1163
1164 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1165 VAR=VALUE.  See below for descriptions of some of the useful variables.
1166
1167 Defaults for the options are specified in brackets.
1168
1169 Configuration:
1170   -h, --help              display this help and exit
1171       --help=short        display options specific to this package
1172       --help=recursive    display the short help of all the included packages
1173   -V, --version           display version information and exit
1174   -q, --quiet, --silent   do not print \`checking...' messages
1175       --cache-file=FILE   cache test results in FILE [disabled]
1176   -C, --config-cache      alias for \`--cache-file=config.cache'
1177   -n, --no-create         do not create output files
1178       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1179
1180 Installation directories:
1181   --prefix=PREFIX         install architecture-independent files in PREFIX
1182                           [$ac_default_prefix]
1183   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1184                           [PREFIX]
1185
1186 By default, \`make install' will install all the files in
1187 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1188 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1189 for instance \`--prefix=\$HOME'.
1190
1191 For better control, use the options below.
1192
1193 Fine tuning of the installation directories:
1194   --bindir=DIR            user executables [EPREFIX/bin]
1195   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1196   --libexecdir=DIR        program executables [EPREFIX/libexec]
1197   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1198   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1199   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1200   --libdir=DIR            object code libraries [EPREFIX/lib]
1201   --includedir=DIR        C header files [PREFIX/include]
1202   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1203   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1204   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1205   --infodir=DIR           info documentation [DATAROOTDIR/info]
1206   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1207   --mandir=DIR            man documentation [DATAROOTDIR/man]
1208   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1209   --htmldir=DIR           html documentation [DOCDIR]
1210   --dvidir=DIR            dvi documentation [DOCDIR]
1211   --pdfdir=DIR            pdf documentation [DOCDIR]
1212   --psdir=DIR             ps documentation [DOCDIR]
1213 _ACEOF
1214
1215   cat <<\_ACEOF
1216
1217 System types:
1218   --build=BUILD     configure for building on BUILD [guessed]
1219   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1220   --target=TARGET   configure for building compilers for TARGET [HOST]
1221 _ACEOF
1222 fi
1223
1224 if test -n "$ac_init_help"; then
1225
1226   cat <<\_ACEOF
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
1656 CC=${CC-cc}
1657
1658 ac_aux_dir=
1659 for ac_dir in `cd $srcdir;pwd`/../.. "$srcdir"/`cd $srcdir;pwd`/../..; do
1660   for ac_t in install-sh install.sh shtool; do
1661     if test -f "$ac_dir/$ac_t"; then
1662       ac_aux_dir=$ac_dir
1663       ac_install_sh="$ac_aux_dir/$ac_t -c"
1664       break 2
1665     fi
1666   done
1667 done
1668 if test -z "$ac_aux_dir"; then
1669   as_fn_error "cannot find install-sh, install.sh, or shtool in \`cd $srcdir;pwd\`/../.. \"$srcdir\"/\`cd $srcdir;pwd\`/../.." "$LINENO" 5
1670 fi
1671
1672 # These three variables are undocumented and unsupported,
1673 # and are intended to be withdrawn in a future Autoconf release.
1674 # They can cause serious problems if a builder's source tree is in a directory
1675 # whose full name contains unusual characters.
1676 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1677 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1678 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1679
1680
1681 # Make sure we can run config.sub.
1682 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1683   as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1684
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1686 $as_echo_n "checking build system type... " >&6; }
1687 if test "${ac_cv_build+set}" = set; then :
1688   $as_echo_n "(cached) " >&6
1689 else
1690   ac_build_alias=$build_alias
1691 test "x$ac_build_alias" = x &&
1692   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1693 test "x$ac_build_alias" = x &&
1694   as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
1695 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1696   as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1697
1698 fi
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1700 $as_echo "$ac_cv_build" >&6; }
1701 case $ac_cv_build in
1702 *-*-*) ;;
1703 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
1704 esac
1705 build=$ac_cv_build
1706 ac_save_IFS=$IFS; IFS='-'
1707 set x $ac_cv_build
1708 shift
1709 build_cpu=$1
1710 build_vendor=$2
1711 shift; shift
1712 # Remember, the first character of IFS is used to create $*,
1713 # except with old shells:
1714 build_os=$*
1715 IFS=$ac_save_IFS
1716 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1717
1718
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1720 $as_echo_n "checking host system type... " >&6; }
1721 if test "${ac_cv_host+set}" = set; then :
1722   $as_echo_n "(cached) " >&6
1723 else
1724   if test "x$host_alias" = x; then
1725   ac_cv_host=$ac_cv_build
1726 else
1727   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1728     as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1729 fi
1730
1731 fi
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1733 $as_echo "$ac_cv_host" >&6; }
1734 case $ac_cv_host in
1735 *-*-*) ;;
1736 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
1737 esac
1738 host=$ac_cv_host
1739 ac_save_IFS=$IFS; IFS='-'
1740 set x $ac_cv_host
1741 shift
1742 host_cpu=$1
1743 host_vendor=$2
1744 shift; shift
1745 # Remember, the first character of IFS is used to create $*,
1746 # except with old shells:
1747 host_os=$*
1748 IFS=$ac_save_IFS
1749 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1750
1751
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1753 $as_echo_n "checking target system type... " >&6; }
1754 if test "${ac_cv_target+set}" = set; then :
1755   $as_echo_n "(cached) " >&6
1756 else
1757   if test "x$target_alias" = x; then
1758   ac_cv_target=$ac_cv_host
1759 else
1760   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1761     as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1762 fi
1763
1764 fi
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1766 $as_echo "$ac_cv_target" >&6; }
1767 case $ac_cv_target in
1768 *-*-*) ;;
1769 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
1770 esac
1771 target=$ac_cv_target
1772 ac_save_IFS=$IFS; IFS='-'
1773 set x $ac_cv_target
1774 shift
1775 target_cpu=$1
1776 target_vendor=$2
1777 shift; shift
1778 # Remember, the first character of IFS is used to create $*,
1779 # except with old shells:
1780 target_os=$*
1781 IFS=$ac_save_IFS
1782 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1783
1784
1785 # The aliases save the names the user supplied, while $host etc.
1786 # will get canonicalized.
1787 test -n "$target_alias" &&
1788   test "$program_prefix$program_suffix$program_transform_name" = \
1789     NONENONEs,x,x, &&
1790   program_prefix=${target_alias}-
1791
1792
1793 # Configure sub-directory for appropriate targets
1794 case ${target} in
1795     frv-*-elf )
1796
1797
1798 subdirs="$subdirs frv-elf"
1799
1800         ;;
1801     m32r-*-elf )
1802         subdirs="$subdirs m32r-elf"
1803
1804         ;;
1805     mips64el-*-elf )
1806         subdirs="$subdirs mips64el-elf"
1807
1808         ;;
1809 esac
1810
1811
1812 # WHEN ADDING ENTRIES TO THIS MATRIX:
1813
1814 # Make sure that the left side always has two dashes.  Otherwise you
1815 # can get spurious matches.  Even for unambiguous cases, do this as a
1816 # convention, else the table becomes a real mess to understand and
1817 # maintain.
1818
1819
1820
1821 sim_testsuite=no
1822 sim_common=yes
1823 sim_igen=no
1824 sim_arch=
1825 case "${target}" in
1826    arm*-*-*)
1827        sim_arch=arm
1828        sim_testsuite=yes
1829        ;;
1830    avr*-*-*)
1831        sim_arch=avr
1832        ;;
1833    bfin-*-*)
1834        sim_arch=bfin
1835        sim_testsuite=yes
1836        ;;
1837    cr16*-*-*)
1838        sim_arch=cr16
1839        sim_testsuite=yes
1840        ;;
1841    cris-*-* | crisv32-*-*)
1842        sim_arch=cris
1843        sim_testsuite=yes
1844        ;;
1845    d10v-*-*)
1846        sim_arch=d10v
1847        ;;
1848    frv-*-*)
1849        sim_arch=frv
1850        sim_testsuite=yes
1851        ;;
1852    h8300*-*-*)
1853        sim_arch=h8300
1854        sim_testsuite=yes
1855        ;;
1856    iq2000-*-*)
1857        sim_arch=iq2000
1858        sim_testsuite=yes
1859        ;;
1860    lm32-*-*)
1861        sim_arch=lm32
1862        sim_testsuite=yes
1863        ;;
1864    m32c-*-*)
1865        sim_arch=m32c
1866        ;;
1867    m32r-*-*)
1868        sim_arch=m32r
1869        sim_testsuite=yes
1870        ;;
1871    m68hc11-*-*|m6811-*-*)
1872        sim_arch=m68hc11
1873        sim_testsuite=yes
1874        ;;
1875    mcore-*-*)
1876        sim_arch=mcore
1877        sim_testsuite=yes
1878        ;;
1879    microblaze-*-*)
1880        sim_arch=microblaze
1881        sim_testsuite=yes
1882        ;;
1883    mips*-*-*)
1884        sim_arch=mips
1885        sim_testsuite=yes
1886        sim_igen=yes
1887        ;;
1888    mn10300*-*-*)
1889        sim_arch=mn10300
1890        sim_igen=yes
1891        ;;
1892    moxie-*-*)
1893        sim_arch=moxie
1894        sim_testsuite=yes
1895        ;;
1896    msp430*-*-*)
1897        sim_arch=msp430
1898        sim_testsuite=yes
1899        ;;
1900    rl78-*-*)
1901        sim_arch=rl78
1902        ;;
1903    rx-*-*)
1904        sim_arch=rx
1905        ;;
1906    sh64*-*-*)
1907        sim_arch=sh64
1908        sim_testsuite=yes
1909        ;;
1910    sh*-*-*)
1911        sim_arch=sh
1912        sim_testsuite=yes
1913        ;;
1914    sparc-*-rtems*|sparc-*-elf*)
1915        sim_arch=erc32
1916        sim_testsuite=yes
1917        ;;
1918    powerpc*-*-*)
1919        sim_arch=ppc
1920        ;;
1921    v850*-*-*)
1922        sim_arch=v850
1923        sim_igen=yes
1924        sim_testsuite=yes
1925        ;;
1926    *)
1927        # No simulator subdir, so the subdir "common" isn't needed.
1928        sim_common=no
1929        ;;
1930 esac
1931
1932
1933
1934 ac_config_files="$ac_config_files Makefile"
1935
1936 cat >confcache <<\_ACEOF
1937 # This file is a shell script that caches the results of configure
1938 # tests run on this system so they can be shared between configure
1939 # scripts and configure runs, see configure's option --config-cache.
1940 # It is not useful on other systems.  If it contains results you don't
1941 # want to keep, you may remove or edit it.
1942 #
1943 # config.status only pays attention to the cache file if you give it
1944 # the --recheck option to rerun configure.
1945 #
1946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1948 # following values.
1949
1950 _ACEOF
1951
1952 # The following way of writing the cache mishandles newlines in values,
1953 # but we know of no workaround that is simple, portable, and efficient.
1954 # So, we kill variables containing newlines.
1955 # Ultrix sh set writes to stderr and can't be redirected directly,
1956 # and sets the high bit in the cache file unless we assign to the vars.
1957 (
1958   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1959     eval ac_val=\$$ac_var
1960     case $ac_val in #(
1961     *${as_nl}*)
1962       case $ac_var in #(
1963       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1964 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1965       esac
1966       case $ac_var in #(
1967       _ | IFS | as_nl) ;; #(
1968       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1969       *) { eval $ac_var=; unset $ac_var;} ;;
1970       esac ;;
1971     esac
1972   done
1973
1974   (set) 2>&1 |
1975     case $as_nl`(ac_space=' '; set) 2>&1` in #(
1976     *${as_nl}ac_space=\ *)
1977       # `set' does not quote correctly, so add quotes: double-quote
1978       # substitution turns \\\\ into \\, and sed turns \\ into \.
1979       sed -n \
1980         "s/'/'\\\\''/g;
1981           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1982       ;; #(
1983     *)
1984       # `set' quotes correctly as required by POSIX, so do not add quotes.
1985       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1986       ;;
1987     esac |
1988     sort
1989 ) |
1990   sed '
1991      /^ac_cv_env_/b end
1992      t clear
1993      :clear
1994      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1995      t end
1996      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1997      :end' >>confcache
1998 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1999   if test -w "$cache_file"; then
2000     test "x$cache_file" != "x/dev/null" &&
2001       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2002 $as_echo "$as_me: updating cache $cache_file" >&6;}
2003     cat confcache >$cache_file
2004   else
2005     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2006 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2007   fi
2008 fi
2009 rm -f confcache
2010
2011 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2012 # Let make expand exec_prefix.
2013 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2014
2015 # Transform confdefs.h into DEFS.
2016 # Protect against shell expansion while executing Makefile rules.
2017 # Protect against Makefile macro expansion.
2018 #
2019 # If the first sed substitution is executed (which looks for macros that
2020 # take arguments), then branch to the quote section.  Otherwise,
2021 # look for a macro that doesn't take arguments.
2022 ac_script='
2023 :mline
2024 /\\$/{
2025  N
2026  s,\\\n,,
2027  b mline
2028 }
2029 t clear
2030 :clear
2031 s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
2032 t quote
2033 s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
2034 t quote
2035 b any
2036 :quote
2037 s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2038 s/\[/\\&/g
2039 s/\]/\\&/g
2040 s/\$/$$/g
2041 H
2042 :any
2043 ${
2044         g
2045         s/^\n//
2046         s/\n/ /g
2047         p
2048 }
2049 '
2050 DEFS=`sed -n "$ac_script" confdefs.h`
2051
2052
2053 ac_libobjs=
2054 ac_ltlibobjs=
2055 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2056   # 1. Remove the extension, and $U if already installed.
2057   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2058   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2059   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2060   #    will be set to the directory where LIBOBJS objects are built.
2061   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2062   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2063 done
2064 LIBOBJS=$ac_libobjs
2065
2066 LTLIBOBJS=$ac_ltlibobjs
2067
2068
2069
2070 : ${CONFIG_STATUS=./config.status}
2071 ac_write_fail=0
2072 ac_clean_files_save=$ac_clean_files
2073 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2075 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2076 as_write_fail=0
2077 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2078 #! $SHELL
2079 # Generated by $as_me.
2080 # Run this file to recreate the current configuration.
2081 # Compiler output produced by configure, useful for debugging
2082 # configure, is in config.log if it exists.
2083
2084 debug=false
2085 ac_cs_recheck=false
2086 ac_cs_silent=false
2087
2088 SHELL=\${CONFIG_SHELL-$SHELL}
2089 export SHELL
2090 _ASEOF
2091 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2092 ## -------------------- ##
2093 ## M4sh Initialization. ##
2094 ## -------------------- ##
2095
2096 # Be more Bourne compatible
2097 DUALCASE=1; export DUALCASE # for MKS sh
2098 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2099   emulate sh
2100   NULLCMD=:
2101   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2102   # is contrary to our usage.  Disable this feature.
2103   alias -g '${1+"$@"}'='"$@"'
2104   setopt NO_GLOB_SUBST
2105 else
2106   case `(set -o) 2>/dev/null` in #(
2107   *posix*) :
2108     set -o posix ;; #(
2109   *) :
2110      ;;
2111 esac
2112 fi
2113
2114
2115 as_nl='
2116 '
2117 export as_nl
2118 # Printing a long string crashes Solaris 7 /usr/bin/printf.
2119 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2120 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2121 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2122 # Prefer a ksh shell builtin over an external printf program on Solaris,
2123 # but without wasting forks for bash or zsh.
2124 if test -z "$BASH_VERSION$ZSH_VERSION" \
2125     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2126   as_echo='print -r --'
2127   as_echo_n='print -rn --'
2128 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2129   as_echo='printf %s\n'
2130   as_echo_n='printf %s'
2131 else
2132   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2133     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2134     as_echo_n='/usr/ucb/echo -n'
2135   else
2136     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2137     as_echo_n_body='eval
2138       arg=$1;
2139       case $arg in #(
2140       *"$as_nl"*)
2141         expr "X$arg" : "X\\(.*\\)$as_nl";
2142         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2143       esac;
2144       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2145     '
2146     export as_echo_n_body
2147     as_echo_n='sh -c $as_echo_n_body as_echo'
2148   fi
2149   export as_echo_body
2150   as_echo='sh -c $as_echo_body as_echo'
2151 fi
2152
2153 # The user is always right.
2154 if test "${PATH_SEPARATOR+set}" != set; then
2155   PATH_SEPARATOR=:
2156   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2157     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2158       PATH_SEPARATOR=';'
2159   }
2160 fi
2161
2162
2163 # IFS
2164 # We need space, tab and new line, in precisely that order.  Quoting is
2165 # there to prevent editors from complaining about space-tab.
2166 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2167 # splitting by setting IFS to empty value.)
2168 IFS=" ""        $as_nl"
2169
2170 # Find who we are.  Look in the path if we contain no directory separator.
2171 case $0 in #((
2172   *[\\/]* ) as_myself=$0 ;;
2173   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2174 for as_dir in $PATH
2175 do
2176   IFS=$as_save_IFS
2177   test -z "$as_dir" && as_dir=.
2178     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2179   done
2180 IFS=$as_save_IFS
2181
2182      ;;
2183 esac
2184 # We did not find ourselves, most probably we were run as `sh COMMAND'
2185 # in which case we are not to be found in the path.
2186 if test "x$as_myself" = x; then
2187   as_myself=$0
2188 fi
2189 if test ! -f "$as_myself"; then
2190   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2191   exit 1
2192 fi
2193
2194 # Unset variables that we do not need and which cause bugs (e.g. in
2195 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2196 # suppresses any "Segmentation fault" message there.  '((' could
2197 # trigger a bug in pdksh 5.2.14.
2198 for as_var in BASH_ENV ENV MAIL MAILPATH
2199 do eval test x\${$as_var+set} = xset \
2200   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2201 done
2202 PS1='$ '
2203 PS2='> '
2204 PS4='+ '
2205
2206 # NLS nuisances.
2207 LC_ALL=C
2208 export LC_ALL
2209 LANGUAGE=C
2210 export LANGUAGE
2211
2212 # CDPATH.
2213 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2214
2215
2216 # as_fn_error ERROR [LINENO LOG_FD]
2217 # ---------------------------------
2218 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2219 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2220 # script with status $?, using 1 if that was 0.
2221 as_fn_error ()
2222 {
2223   as_status=$?; test $as_status -eq 0 && as_status=1
2224   if test "$3"; then
2225     as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2226     $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2227   fi
2228   $as_echo "$as_me: error: $1" >&2
2229   as_fn_exit $as_status
2230 } # as_fn_error
2231
2232
2233 # as_fn_set_status STATUS
2234 # -----------------------
2235 # Set $? to STATUS, without forking.
2236 as_fn_set_status ()
2237 {
2238   return $1
2239 } # as_fn_set_status
2240
2241 # as_fn_exit STATUS
2242 # -----------------
2243 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2244 as_fn_exit ()
2245 {
2246   set +e
2247   as_fn_set_status $1
2248   exit $1
2249 } # as_fn_exit
2250
2251 # as_fn_unset VAR
2252 # ---------------
2253 # Portably unset VAR.
2254 as_fn_unset ()
2255 {
2256   { eval $1=; unset $1;}
2257 }
2258 as_unset=as_fn_unset
2259 # as_fn_append VAR VALUE
2260 # ----------------------
2261 # Append the text in VALUE to the end of the definition contained in VAR. Take
2262 # advantage of any shell optimizations that allow amortized linear growth over
2263 # repeated appends, instead of the typical quadratic growth present in naive
2264 # implementations.
2265 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2266   eval 'as_fn_append ()
2267   {
2268     eval $1+=\$2
2269   }'
2270 else
2271   as_fn_append ()
2272   {
2273     eval $1=\$$1\$2
2274   }
2275 fi # as_fn_append
2276
2277 # as_fn_arith ARG...
2278 # ------------------
2279 # Perform arithmetic evaluation on the ARGs, and store the result in the
2280 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2281 # must be portable across $(()) and expr.
2282 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2283   eval 'as_fn_arith ()
2284   {
2285     as_val=$(( $* ))
2286   }'
2287 else
2288   as_fn_arith ()
2289   {
2290     as_val=`expr "$@" || test $? -eq 1`
2291   }
2292 fi # as_fn_arith
2293
2294
2295 if expr a : '\(a\)' >/dev/null 2>&1 &&
2296    test "X`expr 00001 : '.*\(...\)'`" = X001; then
2297   as_expr=expr
2298 else
2299   as_expr=false
2300 fi
2301
2302 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2303   as_basename=basename
2304 else
2305   as_basename=false
2306 fi
2307
2308 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2309   as_dirname=dirname
2310 else
2311   as_dirname=false
2312 fi
2313
2314 as_me=`$as_basename -- "$0" ||
2315 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2316          X"$0" : 'X\(//\)$' \| \
2317          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2318 $as_echo X/"$0" |
2319     sed '/^.*\/\([^/][^/]*\)\/*$/{
2320             s//\1/
2321             q
2322           }
2323           /^X\/\(\/\/\)$/{
2324             s//\1/
2325             q
2326           }
2327           /^X\/\(\/\).*/{
2328             s//\1/
2329             q
2330           }
2331           s/.*/./; q'`
2332
2333 # Avoid depending upon Character Ranges.
2334 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2335 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2336 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2337 as_cr_digits='0123456789'
2338 as_cr_alnum=$as_cr_Letters$as_cr_digits
2339
2340 ECHO_C= ECHO_N= ECHO_T=
2341 case `echo -n x` in #(((((
2342 -n*)
2343   case `echo 'xy\c'` in
2344   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2345   xy)  ECHO_C='\c';;
2346   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2347        ECHO_T=' ';;
2348   esac;;
2349 *)
2350   ECHO_N='-n';;
2351 esac
2352
2353 rm -f conf$$ conf$$.exe conf$$.file
2354 if test -d conf$$.dir; then
2355   rm -f conf$$.dir/conf$$.file
2356 else
2357   rm -f conf$$.dir
2358   mkdir conf$$.dir 2>/dev/null
2359 fi
2360 if (echo >conf$$.file) 2>/dev/null; then
2361   if ln -s conf$$.file conf$$ 2>/dev/null; then
2362     as_ln_s='ln -s'
2363     # ... but there are two gotchas:
2364     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2365     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2366     # In both cases, we have to default to `cp -p'.
2367     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2368       as_ln_s='cp -p'
2369   elif ln conf$$.file conf$$ 2>/dev/null; then
2370     as_ln_s=ln
2371   else
2372     as_ln_s='cp -p'
2373   fi
2374 else
2375   as_ln_s='cp -p'
2376 fi
2377 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2378 rmdir conf$$.dir 2>/dev/null
2379
2380
2381 # as_fn_mkdir_p
2382 # -------------
2383 # Create "$as_dir" as a directory, including parents if necessary.
2384 as_fn_mkdir_p ()
2385 {
2386
2387   case $as_dir in #(
2388   -*) as_dir=./$as_dir;;
2389   esac
2390   test -d "$as_dir" || eval $as_mkdir_p || {
2391     as_dirs=
2392     while :; do
2393       case $as_dir in #(
2394       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2395       *) as_qdir=$as_dir;;
2396       esac
2397       as_dirs="'$as_qdir' $as_dirs"
2398       as_dir=`$as_dirname -- "$as_dir" ||
2399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2400          X"$as_dir" : 'X\(//\)[^/]' \| \
2401          X"$as_dir" : 'X\(//\)$' \| \
2402          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2403 $as_echo X"$as_dir" |
2404     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2405             s//\1/
2406             q
2407           }
2408           /^X\(\/\/\)[^/].*/{
2409             s//\1/
2410             q
2411           }
2412           /^X\(\/\/\)$/{
2413             s//\1/
2414             q
2415           }
2416           /^X\(\/\).*/{
2417             s//\1/
2418             q
2419           }
2420           s/.*/./; q'`
2421       test -d "$as_dir" && break
2422     done
2423     test -z "$as_dirs" || eval "mkdir $as_dirs"
2424   } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2425
2426
2427 } # as_fn_mkdir_p
2428 if mkdir -p . 2>/dev/null; then
2429   as_mkdir_p='mkdir -p "$as_dir"'
2430 else
2431   test -d ./-p && rmdir ./-p
2432   as_mkdir_p=false
2433 fi
2434
2435 if test -x / >/dev/null 2>&1; then
2436   as_test_x='test -x'
2437 else
2438   if ls -dL / >/dev/null 2>&1; then
2439     as_ls_L_option=L
2440   else
2441     as_ls_L_option=
2442   fi
2443   as_test_x='
2444     eval sh -c '\''
2445       if test -d "$1"; then
2446         test -d "$1/.";
2447       else
2448         case $1 in #(
2449         -*)set "./$1";;
2450         esac;
2451         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2452         ???[sx]*):;;*)false;;esac;fi
2453     '\'' sh
2454   '
2455 fi
2456 as_executable_p=$as_test_x
2457
2458 # Sed expression to map a string onto a valid CPP name.
2459 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2460
2461 # Sed expression to map a string onto a valid variable name.
2462 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2463
2464
2465 exec 6>&1
2466 ## ----------------------------------- ##
2467 ## Main body of $CONFIG_STATUS script. ##
2468 ## ----------------------------------- ##
2469 _ASEOF
2470 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2471
2472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2473 # Save the log message, to keep $0 and so on meaningful, and to
2474 # report actual input values of CONFIG_FILES etc. instead of their
2475 # values after options handling.
2476 ac_log="
2477 This file was extended by $as_me, which was
2478 generated by GNU Autoconf 2.64.  Invocation command line was
2479
2480   CONFIG_FILES    = $CONFIG_FILES
2481   CONFIG_HEADERS  = $CONFIG_HEADERS
2482   CONFIG_LINKS    = $CONFIG_LINKS
2483   CONFIG_COMMANDS = $CONFIG_COMMANDS
2484   $ $0 $@
2485
2486 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2487 "
2488
2489 _ACEOF
2490
2491 case $ac_config_files in *"
2492 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2493 esac
2494
2495
2496
2497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2498 # Files that config.status was made for.
2499 config_files="$ac_config_files"
2500
2501 _ACEOF
2502
2503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2504 ac_cs_usage="\
2505 \`$as_me' instantiates files and other configuration actions
2506 from templates according to the current configuration.  Unless the files
2507 and actions are specified as TAGs, all are instantiated by default.
2508
2509 Usage: $0 [OPTION]... [TAG]...
2510
2511   -h, --help       print this help, then exit
2512   -V, --version    print version number and configuration settings, then exit
2513   -q, --quiet, --silent
2514                    do not print progress messages
2515   -d, --debug      don't remove temporary files
2516       --recheck    update $as_me by reconfiguring in the same conditions
2517       --file=FILE[:TEMPLATE]
2518                    instantiate the configuration file FILE
2519
2520 Configuration files:
2521 $config_files
2522
2523 Report bugs to the package provider."
2524
2525 _ACEOF
2526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2527 ac_cs_version="\\
2528 config.status
2529 configured by $0, generated by GNU Autoconf 2.64,
2530   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2531
2532 Copyright (C) 2009 Free Software Foundation, Inc.
2533 This config.status script is free software; the Free Software Foundation
2534 gives unlimited permission to copy, distribute and modify it."
2535
2536 ac_pwd='$ac_pwd'
2537 srcdir='$srcdir'
2538 test -n "\$AWK" || AWK=awk
2539 _ACEOF
2540
2541 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2542 # The default lists apply if the user does not specify any file.
2543 ac_need_defaults=:
2544 while test $# != 0
2545 do
2546   case $1 in
2547   --*=*)
2548     ac_option=`expr "X$1" : 'X\([^=]*\)='`
2549     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2550     ac_shift=:
2551     ;;
2552   *)
2553     ac_option=$1
2554     ac_optarg=$2
2555     ac_shift=shift
2556     ;;
2557   esac
2558
2559   case $ac_option in
2560   # Handling of the options.
2561   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2562     ac_cs_recheck=: ;;
2563   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2564     $as_echo "$ac_cs_version"; exit ;;
2565   --debug | --debu | --deb | --de | --d | -d )
2566     debug=: ;;
2567   --file | --fil | --fi | --f )
2568     $ac_shift
2569     case $ac_optarg in
2570     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2571     esac
2572     as_fn_append CONFIG_FILES " '$ac_optarg'"
2573     ac_need_defaults=false;;
2574   --he | --h |  --help | --hel | -h )
2575     $as_echo "$ac_cs_usage"; exit ;;
2576   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2577   | -silent | --silent | --silen | --sile | --sil | --si | --s)
2578     ac_cs_silent=: ;;
2579
2580   # This is an error.
2581   -*) as_fn_error "unrecognized option: \`$1'
2582 Try \`$0 --help' for more information." ;;
2583
2584   *) as_fn_append ac_config_targets " $1"
2585      ac_need_defaults=false ;;
2586
2587   esac
2588   shift
2589 done
2590
2591 ac_configure_extra_args=
2592
2593 if $ac_cs_silent; then
2594   exec 6>/dev/null
2595   ac_configure_extra_args="$ac_configure_extra_args --silent"
2596 fi
2597
2598 _ACEOF
2599 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2600 if \$ac_cs_recheck; then
2601   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2602   shift
2603   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2604   CONFIG_SHELL='$SHELL'
2605   export CONFIG_SHELL
2606   exec "\$@"
2607 fi
2608
2609 _ACEOF
2610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2611 exec 5>>config.log
2612 {
2613   echo
2614   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2615 ## Running $as_me. ##
2616 _ASBOX
2617   $as_echo "$ac_log"
2618 } >&5
2619
2620 _ACEOF
2621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2622 _ACEOF
2623
2624 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2625
2626 # Handling of arguments.
2627 for ac_config_target in $ac_config_targets
2628 do
2629   case $ac_config_target in
2630     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2631
2632   *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2633   esac
2634 done
2635
2636
2637 # If the user did not use the arguments to specify the items to instantiate,
2638 # then the envvar interface is used.  Set only those that are not.
2639 # We use the long form for the default assignment because of an extremely
2640 # bizarre bug on SunOS 4.1.3.
2641 if $ac_need_defaults; then
2642   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2643 fi
2644
2645 # Have a temporary directory for convenience.  Make it in the build tree
2646 # simply because there is no reason against having it here, and in addition,
2647 # creating and moving files from /tmp can sometimes cause problems.
2648 # Hook for its removal unless debugging.
2649 # Note that there is a small window in which the directory will not be cleaned:
2650 # after its creation but before its name has been assigned to `$tmp'.
2651 $debug ||
2652 {
2653   tmp=
2654   trap 'exit_status=$?
2655   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2656 ' 0
2657   trap 'as_fn_exit 1' 1 2 13 15
2658 }
2659 # Create a (secure) tmp directory for tmp files.
2660
2661 {
2662   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2663   test -n "$tmp" && test -d "$tmp"
2664 }  ||
2665 {
2666   tmp=./conf$$-$RANDOM
2667   (umask 077 && mkdir "$tmp")
2668 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2669
2670 # Set up the scripts for CONFIG_FILES section.
2671 # No need to generate them if there are no CONFIG_FILES.
2672 # This happens for instance with `./config.status config.h'.
2673 if test -n "$CONFIG_FILES"; then
2674
2675
2676 ac_cr=`echo X | tr X '\015'`
2677 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2678 # But we know of no other shell where ac_cr would be empty at this
2679 # point, so we can use a bashism as a fallback.
2680 if test "x$ac_cr" = x; then
2681   eval ac_cr=\$\'\\r\'
2682 fi
2683 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2684 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2685   ac_cs_awk_cr='\r'
2686 else
2687   ac_cs_awk_cr=$ac_cr
2688 fi
2689
2690 echo 'BEGIN {' >"$tmp/subs1.awk" &&
2691 _ACEOF
2692
2693
2694 {
2695   echo "cat >conf$$subs.awk <<_ACEOF" &&
2696   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2697   echo "_ACEOF"
2698 } >conf$$subs.sh ||
2699   as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2700 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2701 ac_delim='%!_!# '
2702 for ac_last_try in false false false false false :; do
2703   . ./conf$$subs.sh ||
2704     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2705
2706   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2707   if test $ac_delim_n = $ac_delim_num; then
2708     break
2709   elif $ac_last_try; then
2710     as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2711   else
2712     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2713   fi
2714 done
2715 rm -f conf$$subs.sh
2716
2717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2718 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2719 _ACEOF
2720 sed -n '
2721 h
2722 s/^/S["/; s/!.*/"]=/
2723 p
2724 g
2725 s/^[^!]*!//
2726 :repl
2727 t repl
2728 s/'"$ac_delim"'$//
2729 t delim
2730 :nl
2731 h
2732 s/\(.\{148\}\).*/\1/
2733 t more1
2734 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2735 p
2736 n
2737 b repl
2738 :more1
2739 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2740 p
2741 g
2742 s/.\{148\}//
2743 t nl
2744 :delim
2745 h
2746 s/\(.\{148\}\).*/\1/
2747 t more2
2748 s/["\\]/\\&/g; s/^/"/; s/$/"/
2749 p
2750 b
2751 :more2
2752 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2753 p
2754 g
2755 s/.\{148\}//
2756 t delim
2757 ' <conf$$subs.awk | sed '
2758 /^[^""]/{
2759   N
2760   s/\n//
2761 }
2762 ' >>$CONFIG_STATUS || ac_write_fail=1
2763 rm -f conf$$subs.awk
2764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2765 _ACAWK
2766 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2767   for (key in S) S_is_set[key] = 1
2768   FS = "\a"
2769
2770 }
2771 {
2772   line = $ 0
2773   nfields = split(line, field, "@")
2774   substed = 0
2775   len = length(field[1])
2776   for (i = 2; i < nfields; i++) {
2777     key = field[i]
2778     keylen = length(key)
2779     if (S_is_set[key]) {
2780       value = S[key]
2781       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2782       len += length(value) + length(field[++i])
2783       substed = 1
2784     } else
2785       len += 1 + keylen
2786   }
2787
2788   print line
2789 }
2790
2791 _ACAWK
2792 _ACEOF
2793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2794 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2795   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2796 else
2797   cat
2798 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2799   || as_fn_error "could not setup config files machinery" "$LINENO" 5
2800 _ACEOF
2801
2802 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2803 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2804 # trailing colons and then remove the whole line if VPATH becomes empty
2805 # (actually we leave an empty line to preserve line numbers).
2806 if test "x$srcdir" = x.; then
2807   ac_vpsub='/^[  ]*VPATH[        ]*=/{
2808 s/:*\$(srcdir):*/:/
2809 s/:*\${srcdir}:*/:/
2810 s/:*@srcdir@:*/:/
2811 s/^\([^=]*=[     ]*\):*/\1/
2812 s/:*$//
2813 s/^[^=]*=[       ]*$//
2814 }'
2815 fi
2816
2817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2818 fi # test -n "$CONFIG_FILES"
2819
2820
2821 eval set X "  :F $CONFIG_FILES      "
2822 shift
2823 for ac_tag
2824 do
2825   case $ac_tag in
2826   :[FHLC]) ac_mode=$ac_tag; continue;;
2827   esac
2828   case $ac_mode$ac_tag in
2829   :[FHL]*:*);;
2830   :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2831   :[FH]-) ac_tag=-:-;;
2832   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2833   esac
2834   ac_save_IFS=$IFS
2835   IFS=:
2836   set x $ac_tag
2837   IFS=$ac_save_IFS
2838   shift
2839   ac_file=$1
2840   shift
2841
2842   case $ac_mode in
2843   :L) ac_source=$1;;
2844   :[FH])
2845     ac_file_inputs=
2846     for ac_f
2847     do
2848       case $ac_f in
2849       -) ac_f="$tmp/stdin";;
2850       *) # Look for the file first in the build tree, then in the source tree
2851          # (if the path is not absolute).  The absolute path cannot be DOS-style,
2852          # because $ac_f cannot contain `:'.
2853          test -f "$ac_f" ||
2854            case $ac_f in
2855            [\\/$]*) false;;
2856            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2857            esac ||
2858            as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2859       esac
2860       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2861       as_fn_append ac_file_inputs " '$ac_f'"
2862     done
2863
2864     # Let's still pretend it is `configure' which instantiates (i.e., don't
2865     # use $as_me), people would be surprised to read:
2866     #    /* config.h.  Generated by config.status.  */
2867     configure_input='Generated from '`
2868           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2869         `' by configure.'
2870     if test x"$ac_file" != x-; then
2871       configure_input="$ac_file.  $configure_input"
2872       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2873 $as_echo "$as_me: creating $ac_file" >&6;}
2874     fi
2875     # Neutralize special characters interpreted by sed in replacement strings.
2876     case $configure_input in #(
2877     *\&* | *\|* | *\\* )
2878        ac_sed_conf_input=`$as_echo "$configure_input" |
2879        sed 's/[\\\\&|]/\\\\&/g'`;; #(
2880     *) ac_sed_conf_input=$configure_input;;
2881     esac
2882
2883     case $ac_tag in
2884     *:-:* | *:-) cat >"$tmp/stdin" \
2885       || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2886     esac
2887     ;;
2888   esac
2889
2890   ac_dir=`$as_dirname -- "$ac_file" ||
2891 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2892          X"$ac_file" : 'X\(//\)[^/]' \| \
2893          X"$ac_file" : 'X\(//\)$' \| \
2894          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2895 $as_echo X"$ac_file" |
2896     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2897             s//\1/
2898             q
2899           }
2900           /^X\(\/\/\)[^/].*/{
2901             s//\1/
2902             q
2903           }
2904           /^X\(\/\/\)$/{
2905             s//\1/
2906             q
2907           }
2908           /^X\(\/\).*/{
2909             s//\1/
2910             q
2911           }
2912           s/.*/./; q'`
2913   as_dir="$ac_dir"; as_fn_mkdir_p
2914   ac_builddir=.
2915
2916 case "$ac_dir" in
2917 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2918 *)
2919   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2920   # A ".." for each directory in $ac_dir_suffix.
2921   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2922   case $ac_top_builddir_sub in
2923   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2924   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2925   esac ;;
2926 esac
2927 ac_abs_top_builddir=$ac_pwd
2928 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2929 # for backward compatibility:
2930 ac_top_builddir=$ac_top_build_prefix
2931
2932 case $srcdir in
2933   .)  # We are building in place.
2934     ac_srcdir=.
2935     ac_top_srcdir=$ac_top_builddir_sub
2936     ac_abs_top_srcdir=$ac_pwd ;;
2937   [\\/]* | ?:[\\/]* )  # Absolute name.
2938     ac_srcdir=$srcdir$ac_dir_suffix;
2939     ac_top_srcdir=$srcdir
2940     ac_abs_top_srcdir=$srcdir ;;
2941   *) # Relative name.
2942     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2943     ac_top_srcdir=$ac_top_build_prefix$srcdir
2944     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2945 esac
2946 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2947
2948
2949   case $ac_mode in
2950   :F)
2951   #
2952   # CONFIG_FILE
2953   #
2954
2955 _ACEOF
2956
2957 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2958 # If the template does not know about datarootdir, expand it.
2959 # FIXME: This hack should be removed a few years after 2.60.
2960 ac_datarootdir_hack=; ac_datarootdir_seen=
2961 ac_sed_dataroot='
2962 /datarootdir/ {
2963   p
2964   q
2965 }
2966 /@datadir@/p
2967 /@docdir@/p
2968 /@infodir@/p
2969 /@localedir@/p
2970 /@mandir@/p'
2971 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2972 *datarootdir*) ac_datarootdir_seen=yes;;
2973 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2974   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2975 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2976 _ACEOF
2977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2978   ac_datarootdir_hack='
2979   s&@datadir@&$datadir&g
2980   s&@docdir@&$docdir&g
2981   s&@infodir@&$infodir&g
2982   s&@localedir@&$localedir&g
2983   s&@mandir@&$mandir&g
2984   s&\\\${datarootdir}&$datarootdir&g' ;;
2985 esac
2986 _ACEOF
2987
2988 # Neutralize VPATH when `$srcdir' = `.'.
2989 # Shell code in configure.ac might set extrasub.
2990 # FIXME: do we really want to maintain this feature?
2991 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2992 ac_sed_extra="$ac_vpsub
2993 $extrasub
2994 _ACEOF
2995 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2996 :t
2997 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2998 s|@configure_input@|$ac_sed_conf_input|;t t
2999 s&@top_builddir@&$ac_top_builddir_sub&;t t
3000 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3001 s&@srcdir@&$ac_srcdir&;t t
3002 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3003 s&@top_srcdir@&$ac_top_srcdir&;t t
3004 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3005 s&@builddir@&$ac_builddir&;t t
3006 s&@abs_builddir@&$ac_abs_builddir&;t t
3007 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3008 $ac_datarootdir_hack
3009 "
3010 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3011   || as_fn_error "could not create $ac_file" "$LINENO" 5
3012
3013 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3014   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3015   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3016   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3017 which seems to be undefined.  Please make sure it is defined." >&5
3018 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3019 which seems to be undefined.  Please make sure it is defined." >&2;}
3020
3021   rm -f "$tmp/stdin"
3022   case $ac_file in
3023   -) cat "$tmp/out" && rm -f "$tmp/out";;
3024   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3025   esac \
3026   || as_fn_error "could not create $ac_file" "$LINENO" 5
3027  ;;
3028
3029
3030
3031   esac
3032
3033 done # for ac_tag
3034
3035
3036 as_fn_exit 0
3037 _ACEOF
3038 ac_clean_files=$ac_clean_files_save
3039
3040 test $ac_write_fail = 0 ||
3041   as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3042
3043
3044 # configure is writing to config.log, and then calls config.status.
3045 # config.status does its own redirection, appending to config.log.
3046 # Unfortunately, on DOS this fails, as config.log is still kept open
3047 # by configure, so config.status won't be able to write to it; its
3048 # output is simply discarded.  So we exec the FD to /dev/null,
3049 # effectively closing config.log, so it can be properly (re)opened and
3050 # appended to by config.status.  When coming back to configure, we
3051 # need to make the FD available again.
3052 if test "$no_create" != yes; then
3053   ac_cs_success=:
3054   ac_config_status_args=
3055   test "$silent" = yes &&
3056     ac_config_status_args="$ac_config_status_args --quiet"
3057   exec 5>/dev/null
3058   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3059   exec 5>>config.log
3060   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3061   # would make configure fail if this is the last instruction.
3062   $ac_cs_success || as_fn_exit $?
3063 fi
3064
3065 #
3066 # CONFIG_SUBDIRS section.
3067 #
3068 if test "$no_recursion" != yes; then
3069
3070   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
3071   # so they do not pile up.
3072   ac_sub_configure_args=
3073   ac_prev=
3074   eval "set x $ac_configure_args"
3075   shift
3076   for ac_arg
3077   do
3078     if test -n "$ac_prev"; then
3079       ac_prev=
3080       continue
3081     fi
3082     case $ac_arg in
3083     -cache-file | --cache-file | --cache-fil | --cache-fi \
3084     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
3085       ac_prev=cache_file ;;
3086     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
3087     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
3088     | --c=*)
3089       ;;
3090     --config-cache | -C)
3091       ;;
3092     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3093       ac_prev=srcdir ;;
3094     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3095       ;;
3096     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3097       ac_prev=prefix ;;
3098     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3099       ;;
3100     --disable-option-checking)
3101       ;;
3102     *)
3103       case $ac_arg in
3104       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3105       esac
3106       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
3107     esac
3108   done
3109
3110   # Always prepend --prefix to ensure using the same prefix
3111   # in subdir configurations.
3112   ac_arg="--prefix=$prefix"
3113   case $ac_arg in
3114   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3115   esac
3116   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
3117
3118   # Pass --silent
3119   if test "$silent" = yes; then
3120     ac_sub_configure_args="--silent $ac_sub_configure_args"
3121   fi
3122
3123   # Always prepend --disable-option-checking to silence warnings, since
3124   # different subdirs can have different --enable and --with options.
3125   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
3126
3127   ac_popdir=`pwd`
3128   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
3129
3130     # Do not complain, so a configure script can configure whichever
3131     # parts of a large source tree are present.
3132     test -d "$srcdir/$ac_dir" || continue
3133
3134     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
3135     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
3136     $as_echo "$ac_msg" >&6
3137     as_dir="$ac_dir"; as_fn_mkdir_p
3138     ac_builddir=.
3139
3140 case "$ac_dir" in
3141 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3142 *)
3143   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3144   # A ".." for each directory in $ac_dir_suffix.
3145   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3146   case $ac_top_builddir_sub in
3147   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3148   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3149   esac ;;
3150 esac
3151 ac_abs_top_builddir=$ac_pwd
3152 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3153 # for backward compatibility:
3154 ac_top_builddir=$ac_top_build_prefix
3155
3156 case $srcdir in
3157   .)  # We are building in place.
3158     ac_srcdir=.
3159     ac_top_srcdir=$ac_top_builddir_sub
3160     ac_abs_top_srcdir=$ac_pwd ;;
3161   [\\/]* | ?:[\\/]* )  # Absolute name.
3162     ac_srcdir=$srcdir$ac_dir_suffix;
3163     ac_top_srcdir=$srcdir
3164     ac_abs_top_srcdir=$srcdir ;;
3165   *) # Relative name.
3166     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3167     ac_top_srcdir=$ac_top_build_prefix$srcdir
3168     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3169 esac
3170 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3171
3172
3173     cd "$ac_dir"
3174
3175     # Check for guested configure; otherwise get Cygnus style configure.
3176     if test -f "$ac_srcdir/configure.gnu"; then
3177       ac_sub_configure=$ac_srcdir/configure.gnu
3178     elif test -f "$ac_srcdir/configure"; then
3179       ac_sub_configure=$ac_srcdir/configure
3180     elif test -f "$ac_srcdir/configure.in"; then
3181       # This should be Cygnus configure.
3182       ac_sub_configure=$ac_aux_dir/configure
3183     else
3184       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
3185 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
3186       ac_sub_configure=
3187     fi
3188
3189     # The recursion is here.
3190     if test -n "$ac_sub_configure"; then
3191       # Make the cache file name correct relative to the subdirectory.
3192       case $cache_file in
3193       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
3194       *) # Relative name.
3195         ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
3196       esac
3197
3198       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
3199 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
3200       # The eval makes quoting arguments work.
3201       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
3202            --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
3203         as_fn_error "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
3204     fi
3205
3206     cd "$ac_popdir"
3207   done
3208 fi
3209 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3210   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3211 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3212 fi
3213