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