source: trunk/libs/newlib/src/libgloss/ft32/configure

Last change on this file was 444, checked in by satin@…, 8 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 111.1 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.63.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization. ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 setopt NO_GLOB_SUBST
22else
23 case `(set -o) 2>/dev/null` in
24 *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40as_nl='
41'
42export as_nl
43# Printing a long string crashes Solaris 7 /usr/bin/printf.
44as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47if (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'
50else
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'
70fi
71
72# The user is always right.
73if 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 }
79fi
80
81# Support unset when possible.
82if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
83 as_unset=unset
84else
85 as_unset=false
86fi
87
88
89# IFS
90# We need space, tab and new line, in precisely that order. Quoting is
91# there to prevent editors from complaining about space-tab.
92# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93# splitting by setting IFS to empty value.)
94IFS=" "" $as_nl"
95
96# Find who we are. Look in the path if we contain no directory separator.
97case $0 in
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100for as_dir in $PATH
101do
102 IFS=$as_save_IFS
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105done
106IFS=$as_save_IFS
107
108 ;;
109esac
110# We did not find ourselves, most probably we were run as `sh COMMAND'
111# in which case we are not to be found in the path.
112if test "x$as_myself" = x; then
113 as_myself=$0
114fi
115if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
118fi
119
120# Work around bugs in pre-3.0 UWIN ksh.
121for as_var in ENV MAIL MAILPATH
122do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# Required to use basename.
135if expr a : '\(a\)' >/dev/null 2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001; then
137 as_expr=expr
138else
139 as_expr=false
140fi
141
142if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
143 as_basename=basename
144else
145 as_basename=false
146fi
147
148
149# Name of the executable.
150as_me=`$as_basename -- "$0" ||
151$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
154$as_echo X/"$0" |
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 s//\1/
157 q
158 }
159 /^X\/\(\/\/\)$/{
160 s//\1/
161 q
162 }
163 /^X\/\(\/\).*/{
164 s//\1/
165 q
166 }
167 s/.*/./; q'`
168
169# CDPATH.
170$as_unset CDPATH
171
172
173if test "x$CONFIG_SHELL" = x; then
174 if (eval ":") 2>/dev/null; then
175 as_have_required=yes
176else
177 as_have_required=no
178fi
179
180 if test $as_have_required = yes && (eval ":
181(as_func_return () {
182 (exit \$1)
183}
184as_func_success () {
185 as_func_return 0
186}
187as_func_failure () {
188 as_func_return 1
189}
190as_func_ret_success () {
191 return 0
192}
193as_func_ret_failure () {
194 return 1
195}
196
197exitcode=0
198if as_func_success; then
199 :
200else
201 exitcode=1
202 echo as_func_success failed.
203fi
204
205if as_func_failure; then
206 exitcode=1
207 echo as_func_failure succeeded.
208fi
209
210if as_func_ret_success; then
211 :
212else
213 exitcode=1
214 echo as_func_ret_success failed.
215fi
216
217if as_func_ret_failure; then
218 exitcode=1
219 echo as_func_ret_failure succeeded.
220fi
221
222if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
223 :
224else
225 exitcode=1
226 echo positional parameters were not saved.
227fi
228
229test \$exitcode = 0) || { (exit 1); exit 1; }
230
231(
232 as_lineno_1=\$LINENO
233 as_lineno_2=\$LINENO
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236") 2> /dev/null; then
237 :
238else
239 as_candidate_shells=
240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
242do
243 IFS=$as_save_IFS
244 test -z "$as_dir" && as_dir=.
245 case $as_dir in
246 /*)
247 for as_base in sh bash ksh sh5; do
248 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
249 done;;
250 esac
251done
252IFS=$as_save_IFS
253
254
255 for as_shell in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev/null <<\_ASEOF
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in
268 *posix*) set -o posix ;;
269esac
270
271fi
272
273
274:
275_ASEOF
276}; then
277 CONFIG_SHELL=$as_shell
278 as_have_required=yes
279 if { "$as_shell" 2> /dev/null <<\_ASEOF
280if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
281 emulate sh
282 NULLCMD=:
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
286 setopt NO_GLOB_SUBST
287else
288 case `(set -o) 2>/dev/null` in
289 *posix*) set -o posix ;;
290esac
291
292fi
293
294
295:
296(as_func_return () {
297 (exit $1)
298}
299as_func_success () {
300 as_func_return 0
301}
302as_func_failure () {
303 as_func_return 1
304}
305as_func_ret_success () {
306 return 0
307}
308as_func_ret_failure () {
309 return 1
310}
311
312exitcode=0
313if as_func_success; then
314 :
315else
316 exitcode=1
317 echo as_func_success failed.
318fi
319
320if as_func_failure; then
321 exitcode=1
322 echo as_func_failure succeeded.
323fi
324
325if as_func_ret_success; then
326 :
327else
328 exitcode=1
329 echo as_func_ret_success failed.
330fi
331
332if as_func_ret_failure; then
333 exitcode=1
334 echo as_func_ret_failure succeeded.
335fi
336
337if ( set x; as_func_ret_success y && test x = "$1" ); then
338 :
339else
340 exitcode=1
341 echo positional parameters were not saved.
342fi
343
344test $exitcode = 0) || { (exit 1); exit 1; }
345
346(
347 as_lineno_1=$LINENO
348 as_lineno_2=$LINENO
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
351
352_ASEOF
353}; then
354 break
355fi
356
357fi
358
359 done
360
361 if test "x$CONFIG_SHELL" != x; then
362 for as_var in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
364 done
365 export CONFIG_SHELL
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
367fi
368
369
370 if test $as_have_required = no; then
371 echo This script requires a shell more modern than all the
372 echo shells that I found on your system. Please install a
373 echo modern shell, or manually run the script under such a
374 echo shell if you do have one.
375 { (exit 1); exit 1; }
376fi
377
378
379fi
380
381fi
382
383
384
385(eval "as_func_return () {
386 (exit \$1)
387}
388as_func_success () {
389 as_func_return 0
390}
391as_func_failure () {
392 as_func_return 1
393}
394as_func_ret_success () {
395 return 0
396}
397as_func_ret_failure () {
398 return 1
399}
400
401exitcode=0
402if as_func_success; then
403 :
404else
405 exitcode=1
406 echo as_func_success failed.
407fi
408
409if as_func_failure; then
410 exitcode=1
411 echo as_func_failure succeeded.
412fi
413
414if as_func_ret_success; then
415 :
416else
417 exitcode=1
418 echo as_func_ret_success failed.
419fi
420
421if as_func_ret_failure; then
422 exitcode=1
423 echo as_func_ret_failure succeeded.
424fi
425
426if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
427 :
428else
429 exitcode=1
430 echo positional parameters were not saved.
431fi
432
433test \$exitcode = 0") || {
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system,
436 echo including any error possibly output before this message.
437 echo This can help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
439}
440
441
442
443 as_lineno_1=$LINENO
444 as_lineno_2=$LINENO
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
447
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
454 # case at line end.
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
458 sed -n '
459 p
460 /[$]LINENO/=
461 ' <$as_myself |
462 sed '
463 s/[$]LINENO.*/&-/
464 t lineno
465 b
466 :lineno
467 N
468 :loop
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
470 t loop
471 s/-\n.*//
472 ' >$as_me.lineno &&
473 chmod +x "$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
476
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
480 . "./$as_me.lineno"
481 # Exit status is that of the last command.
482 exit
483}
484
485
486if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
487 as_dirname=dirname
488else
489 as_dirname=false
490fi
491
492ECHO_C= ECHO_N= ECHO_T=
493case `echo -n x` in
494-n*)
495 case `echo 'x\c'` in
496 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
497 *) ECHO_C='\c';;
498 esac;;
499*)
500 ECHO_N='-n';;
501esac
502if expr a : '\(a\)' >/dev/null 2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001; then
504 as_expr=expr
505else
506 as_expr=false
507fi
508
509rm -f conf$$ conf$$.exe conf$$.file
510if test -d conf$$.dir; then
511 rm -f conf$$.dir/conf$$.file
512else
513 rm -f conf$$.dir
514 mkdir conf$$.dir 2>/dev/null
515fi
516if (echo >conf$$.file) 2>/dev/null; then
517 if ln -s conf$$.file conf$$ 2>/dev/null; then
518 as_ln_s='ln -s'
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
524 as_ln_s='cp -p'
525 elif ln conf$$.file conf$$ 2>/dev/null; then
526 as_ln_s=ln
527 else
528 as_ln_s='cp -p'
529 fi
530else
531 as_ln_s='cp -p'
532fi
533rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534rmdir conf$$.dir 2>/dev/null
535
536if mkdir -p . 2>/dev/null; then
537 as_mkdir_p=:
538else
539 test -d ./-p && rmdir ./-p
540 as_mkdir_p=false
541fi
542
543if test -x / >/dev/null 2>&1; then
544 as_test_x='test -x'
545else
546 if ls -dL / >/dev/null 2>&1; then
547 as_ls_L_option=L
548 else
549 as_ls_L_option=
550 fi
551 as_test_x='
552 eval sh -c '\''
553 if test -d "$1"; then
554 test -d "$1/.";
555 else
556 case $1 in
557 -*)set "./$1";;
558 esac;
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
561 '\'' sh
562 '
563fi
564as_executable_p=$as_test_x
565
566# Sed expression to map a string onto a valid CPP name.
567as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
569# Sed expression to map a string onto a valid variable name.
570as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
571
572
573
574exec 7<&0 </dev/null 6>&1
575
576# Name of the host.
577# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578# so uname gets run too.
579ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
580
581#
582# Initializations.
583#
584ac_default_prefix=/usr/local
585ac_clean_files=
586ac_config_libobj_dir=.
587LIBOBJS=
588cross_compiling=no
589subdirs=
590MFLAGS=
591MAKEFLAGS=
592SHELL=${CONFIG_SHELL-/bin/sh}
593
594# Identity of this package.
595PACKAGE_NAME=
596PACKAGE_TARNAME=
597PACKAGE_VERSION=
598PACKAGE_STRING=
599PACKAGE_BUGREPORT=
600
601ac_unique_file="crt0.S"
602ac_subst_vars='LTLIBOBJS
603LIBOBJS
604host_makefile_frag_path
605CCASFLAGS
606CCAS
607RANLIB
608LD
609AR
610AS
611am__fastdepCC_FALSE
612am__fastdepCC_TRUE
613CCDEPMODE
614AMDEPBACKSLASH
615AMDEP_FALSE
616AMDEP_TRUE
617am__quote
618am__include
619DEPDIR
620am__leading_dot
621CC
622INSTALL_DATA
623INSTALL_SCRIPT
624INSTALL_PROGRAM
625target_os
626target_vendor
627target_cpu
628target
629host_os
630host_vendor
631host_cpu
632host
633build_os
634build_vendor
635build_cpu
636build
637target_alias
638host_alias
639build_alias
640LIBS
641ECHO_T
642ECHO_N
643ECHO_C
644DEFS
645mandir
646localedir
647libdir
648psdir
649pdfdir
650dvidir
651htmldir
652infodir
653docdir
654oldincludedir
655includedir
656localstatedir
657sharedstatedir
658sysconfdir
659datadir
660datarootdir
661libexecdir
662sbindir
663bindir
664program_transform_name
665prefix
666exec_prefix
667PACKAGE_BUGREPORT
668PACKAGE_STRING
669PACKAGE_VERSION
670PACKAGE_TARNAME
671PACKAGE_NAME
672PATH_SEPARATOR
673SHELL'
674ac_subst_files='host_makefile_frag'
675ac_user_opts='
676enable_option_checking
677enable_dependency_tracking
678'
679 ac_precious_vars='build_alias
680host_alias
681target_alias
682CCAS
683CCASFLAGS'
684
685
686# Initialize some variables set by options.
687ac_init_help=
688ac_init_version=false
689ac_unrecognized_opts=
690ac_unrecognized_sep=
691# The variables have the same names as the options, with
692# dashes changed to underlines.
693cache_file=/dev/null
694exec_prefix=NONE
695no_create=
696no_recursion=
697prefix=NONE
698program_prefix=NONE
699program_suffix=NONE
700program_transform_name=s,x,x,
701silent=
702site=
703srcdir=
704verbose=
705x_includes=NONE
706x_libraries=NONE
707
708# Installation directory options.
709# These are left unexpanded so users can "make install exec_prefix=/foo"
710# and all the variables that are supposed to be based on exec_prefix
711# by default will actually change.
712# Use braces instead of parens because sh, perl, etc. also accept them.
713# (The list follows the same order as the GNU Coding Standards.)
714bindir='${exec_prefix}/bin'
715sbindir='${exec_prefix}/sbin'
716libexecdir='${exec_prefix}/libexec'
717datarootdir='${prefix}/share'
718datadir='${datarootdir}'
719sysconfdir='${prefix}/etc'
720sharedstatedir='${prefix}/com'
721localstatedir='${prefix}/var'
722includedir='${prefix}/include'
723oldincludedir='/usr/include'
724docdir='${datarootdir}/doc/${PACKAGE}'
725infodir='${datarootdir}/info'
726htmldir='${docdir}'
727dvidir='${docdir}'
728pdfdir='${docdir}'
729psdir='${docdir}'
730libdir='${exec_prefix}/lib'
731localedir='${datarootdir}/locale'
732mandir='${datarootdir}/man'
733
734ac_prev=
735ac_dashdash=
736for ac_option
737do
738 # If the previous option needs an argument, assign it.
739 if test -n "$ac_prev"; then
740 eval $ac_prev=\$ac_option
741 ac_prev=
742 continue
743 fi
744
745 case $ac_option in
746 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
747 *) ac_optarg=yes ;;
748 esac
749
750 # Accept the important Cygnus configure options, so we can diagnose typos.
751
752 case $ac_dashdash$ac_option in
753 --)
754 ac_dashdash=yes ;;
755
756 -bindir | --bindir | --bindi | --bind | --bin | --bi)
757 ac_prev=bindir ;;
758 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
759 bindir=$ac_optarg ;;
760
761 -build | --build | --buil | --bui | --bu)
762 ac_prev=build_alias ;;
763 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
764 build_alias=$ac_optarg ;;
765
766 -cache-file | --cache-file | --cache-fil | --cache-fi \
767 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
768 ac_prev=cache_file ;;
769 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
770 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
771 cache_file=$ac_optarg ;;
772
773 --config-cache | -C)
774 cache_file=config.cache ;;
775
776 -datadir | --datadir | --datadi | --datad)
777 ac_prev=datadir ;;
778 -datadir=* | --datadir=* | --datadi=* | --datad=*)
779 datadir=$ac_optarg ;;
780
781 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
782 | --dataroo | --dataro | --datar)
783 ac_prev=datarootdir ;;
784 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
785 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
786 datarootdir=$ac_optarg ;;
787
788 -disable-* | --disable-*)
789 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
790 # Reject names that are not valid shell variable names.
791 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
792 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
793 { (exit 1); exit 1; }; }
794 ac_useropt_orig=$ac_useropt
795 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
796 case $ac_user_opts in
797 *"
798"enable_$ac_useropt"
799"*) ;;
800 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
801 ac_unrecognized_sep=', ';;
802 esac
803 eval enable_$ac_useropt=no ;;
804
805 -docdir | --docdir | --docdi | --doc | --do)
806 ac_prev=docdir ;;
807 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
808 docdir=$ac_optarg ;;
809
810 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
811 ac_prev=dvidir ;;
812 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
813 dvidir=$ac_optarg ;;
814
815 -enable-* | --enable-*)
816 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
817 # Reject names that are not valid shell variable names.
818 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
819 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
820 { (exit 1); exit 1; }; }
821 ac_useropt_orig=$ac_useropt
822 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
823 case $ac_user_opts in
824 *"
825"enable_$ac_useropt"
826"*) ;;
827 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
828 ac_unrecognized_sep=', ';;
829 esac
830 eval enable_$ac_useropt=\$ac_optarg ;;
831
832 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
833 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
834 | --exec | --exe | --ex)
835 ac_prev=exec_prefix ;;
836 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
837 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
838 | --exec=* | --exe=* | --ex=*)
839 exec_prefix=$ac_optarg ;;
840
841 -gas | --gas | --ga | --g)
842 # Obsolete; use --with-gas.
843 with_gas=yes ;;
844
845 -help | --help | --hel | --he | -h)
846 ac_init_help=long ;;
847 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
848 ac_init_help=recursive ;;
849 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
850 ac_init_help=short ;;
851
852 -host | --host | --hos | --ho)
853 ac_prev=host_alias ;;
854 -host=* | --host=* | --hos=* | --ho=*)
855 host_alias=$ac_optarg ;;
856
857 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
858 ac_prev=htmldir ;;
859 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
860 | --ht=*)
861 htmldir=$ac_optarg ;;
862
863 -includedir | --includedir | --includedi | --included | --include \
864 | --includ | --inclu | --incl | --inc)
865 ac_prev=includedir ;;
866 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
867 | --includ=* | --inclu=* | --incl=* | --inc=*)
868 includedir=$ac_optarg ;;
869
870 -infodir | --infodir | --infodi | --infod | --info | --inf)
871 ac_prev=infodir ;;
872 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
873 infodir=$ac_optarg ;;
874
875 -libdir | --libdir | --libdi | --libd)
876 ac_prev=libdir ;;
877 -libdir=* | --libdir=* | --libdi=* | --libd=*)
878 libdir=$ac_optarg ;;
879
880 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
881 | --libexe | --libex | --libe)
882 ac_prev=libexecdir ;;
883 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
884 | --libexe=* | --libex=* | --libe=*)
885 libexecdir=$ac_optarg ;;
886
887 -localedir | --localedir | --localedi | --localed | --locale)
888 ac_prev=localedir ;;
889 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
890 localedir=$ac_optarg ;;
891
892 -localstatedir | --localstatedir | --localstatedi | --localstated \
893 | --localstate | --localstat | --localsta | --localst | --locals)
894 ac_prev=localstatedir ;;
895 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
896 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
897 localstatedir=$ac_optarg ;;
898
899 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
900 ac_prev=mandir ;;
901 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
902 mandir=$ac_optarg ;;
903
904 -nfp | --nfp | --nf)
905 # Obsolete; use --without-fp.
906 with_fp=no ;;
907
908 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
909 | --no-cr | --no-c | -n)
910 no_create=yes ;;
911
912 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
913 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
914 no_recursion=yes ;;
915
916 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
917 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
918 | --oldin | --oldi | --old | --ol | --o)
919 ac_prev=oldincludedir ;;
920 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
921 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
922 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
923 oldincludedir=$ac_optarg ;;
924
925 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
926 ac_prev=prefix ;;
927 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
928 prefix=$ac_optarg ;;
929
930 -program-prefix | --program-prefix | --program-prefi | --program-pref \
931 | --program-pre | --program-pr | --program-p)
932 ac_prev=program_prefix ;;
933 -program-prefix=* | --program-prefix=* | --program-prefi=* \
934 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
935 program_prefix=$ac_optarg ;;
936
937 -program-suffix | --program-suffix | --program-suffi | --program-suff \
938 | --program-suf | --program-su | --program-s)
939 ac_prev=program_suffix ;;
940 -program-suffix=* | --program-suffix=* | --program-suffi=* \
941 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
942 program_suffix=$ac_optarg ;;
943
944 -program-transform-name | --program-transform-name \
945 | --program-transform-nam | --program-transform-na \
946 | --program-transform-n | --program-transform- \
947 | --program-transform | --program-transfor \
948 | --program-transfo | --program-transf \
949 | --program-trans | --program-tran \
950 | --progr-tra | --program-tr | --program-t)
951 ac_prev=program_transform_name ;;
952 -program-transform-name=* | --program-transform-name=* \
953 | --program-transform-nam=* | --program-transform-na=* \
954 | --program-transform-n=* | --program-transform-=* \
955 | --program-transform=* | --program-transfor=* \
956 | --program-transfo=* | --program-transf=* \
957 | --program-trans=* | --program-tran=* \
958 | --progr-tra=* | --program-tr=* | --program-t=*)
959 program_transform_name=$ac_optarg ;;
960
961 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
962 ac_prev=pdfdir ;;
963 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
964 pdfdir=$ac_optarg ;;
965
966 -psdir | --psdir | --psdi | --psd | --ps)
967 ac_prev=psdir ;;
968 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
969 psdir=$ac_optarg ;;
970
971 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
972 | -silent | --silent | --silen | --sile | --sil)
973 silent=yes ;;
974
975 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
976 ac_prev=sbindir ;;
977 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
978 | --sbi=* | --sb=*)
979 sbindir=$ac_optarg ;;
980
981 -sharedstatedir | --sharedstatedir | --sharedstatedi \
982 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
983 | --sharedst | --shareds | --shared | --share | --shar \
984 | --sha | --sh)
985 ac_prev=sharedstatedir ;;
986 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
987 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
988 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
989 | --sha=* | --sh=*)
990 sharedstatedir=$ac_optarg ;;
991
992 -site | --site | --sit)
993 ac_prev=site ;;
994 -site=* | --site=* | --sit=*)
995 site=$ac_optarg ;;
996
997 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
998 ac_prev=srcdir ;;
999 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1000 srcdir=$ac_optarg ;;
1001
1002 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1003 | --syscon | --sysco | --sysc | --sys | --sy)
1004 ac_prev=sysconfdir ;;
1005 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1006 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1007 sysconfdir=$ac_optarg ;;
1008
1009 -target | --target | --targe | --targ | --tar | --ta | --t)
1010 ac_prev=target_alias ;;
1011 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1012 target_alias=$ac_optarg ;;
1013
1014 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1015 verbose=yes ;;
1016
1017 -version | --version | --versio | --versi | --vers | -V)
1018 ac_init_version=: ;;
1019
1020 -with-* | --with-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1025 { (exit 1); exit 1; }; }
1026 ac_useropt_orig=$ac_useropt
1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1029 *"
1030"with_$ac_useropt"
1031"*) ;;
1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1033 ac_unrecognized_sep=', ';;
1034 esac
1035 eval with_$ac_useropt=\$ac_optarg ;;
1036
1037 -without-* | --without-*)
1038 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1039 # Reject names that are not valid shell variable names.
1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1041 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1042 { (exit 1); exit 1; }; }
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1046 *"
1047"with_$ac_useropt"
1048"*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval with_$ac_useropt=no ;;
1053
1054 --x)
1055 # Obsolete; use --with-x.
1056 with_x=yes ;;
1057
1058 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1059 | --x-incl | --x-inc | --x-in | --x-i)
1060 ac_prev=x_includes ;;
1061 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1062 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1063 x_includes=$ac_optarg ;;
1064
1065 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1066 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1067 ac_prev=x_libraries ;;
1068 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1069 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1070 x_libraries=$ac_optarg ;;
1071
1072 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1073Try \`$0 --help' for more information." >&2
1074 { (exit 1); exit 1; }; }
1075 ;;
1076
1077 *=*)
1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1081 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1082 { (exit 1); exit 1; }; }
1083 eval $ac_envvar=\$ac_optarg
1084 export $ac_envvar ;;
1085
1086 *)
1087 # FIXME: should be removed in autoconf 3.0.
1088 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1089 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1090 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1091 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1092 ;;
1093
1094 esac
1095done
1096
1097if test -n "$ac_prev"; then
1098 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1099 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1100 { (exit 1); exit 1; }; }
1101fi
1102
1103if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1105 no) ;;
1106 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1107 { (exit 1); exit 1; }; } ;;
1108 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1109 esac
1110fi
1111
1112# Check all directory arguments for consistency.
1113for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1114 datadir sysconfdir sharedstatedir localstatedir includedir \
1115 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1116 libdir localedir mandir
1117do
1118 eval ac_val=\$$ac_var
1119 # Remove trailing slashes.
1120 case $ac_val in
1121 */ )
1122 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1123 eval $ac_var=\$ac_val;;
1124 esac
1125 # Be sure to have absolute directory names.
1126 case $ac_val in
1127 [\\/$]* | ?:[\\/]* ) continue;;
1128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 esac
1130 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1131 { (exit 1); exit 1; }; }
1132done
1133
1134# There might be people who depend on the old broken behavior: `$host'
1135# used to hold the argument of --host etc.
1136# FIXME: To remove some day.
1137build=$build_alias
1138host=$host_alias
1139target=$target_alias
1140
1141# FIXME: To remove some day.
1142if test "x$host_alias" != x; then
1143 if test "x$build_alias" = x; then
1144 cross_compiling=maybe
1145 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146 If a cross compiler is detected then cross compile mode will be used." >&2
1147 elif test "x$build_alias" != "x$host_alias"; then
1148 cross_compiling=yes
1149 fi
1150fi
1151
1152ac_tool_prefix=
1153test -n "$host_alias" && ac_tool_prefix=$host_alias-
1154
1155test "$silent" = yes && exec 6>/dev/null
1156
1157
1158ac_pwd=`pwd` && test -n "$ac_pwd" &&
1159ac_ls_di=`ls -di .` &&
1160ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1161 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1162 { (exit 1); exit 1; }; }
1163test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1165 { (exit 1); exit 1; }; }
1166
1167
1168# Find the source files, if location was not specified.
1169if test -z "$srcdir"; then
1170 ac_srcdir_defaulted=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir=`$as_dirname -- "$as_myself" ||
1173$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$as_myself" : 'X\(//\)[^/]' \| \
1175 X"$as_myself" : 'X\(//\)$' \| \
1176 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1177$as_echo X"$as_myself" |
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 s//\1/
1180 q
1181 }
1182 /^X\(\/\/\)[^/].*/{
1183 s//\1/
1184 q
1185 }
1186 /^X\(\/\/\)$/{
1187 s//\1/
1188 q
1189 }
1190 /^X\(\/\).*/{
1191 s//\1/
1192 q
1193 }
1194 s/.*/./; q'`
1195 srcdir=$ac_confdir
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 srcdir=..
1198 fi
1199else
1200 ac_srcdir_defaulted=no
1201fi
1202if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1204 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1205 { (exit 1); exit 1; }; }
1206fi
1207ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208ac_abs_confdir=`(
1209 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1210 { (exit 1); exit 1; }; }
1211 pwd)`
1212# When building in place, set srcdir=.
1213if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 srcdir=.
1215fi
1216# Remove unnecessary trailing slashes from srcdir.
1217# Double slashes in file names in object file debugging info
1218# mess up M-x gdb in Emacs.
1219case $srcdir in
1220*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221esac
1222for ac_var in $ac_precious_vars; do
1223 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_${ac_var}_value=\$${ac_var}
1225 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227done
1228
1229#
1230# Report the --help message.
1231#
1232if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1235 cat <<_ACEOF
1236\`configure' configures this package to adapt to many kinds of systems.
1237
1238Usage: $0 [OPTION]... [VAR=VALUE]...
1239
1240To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241VAR=VALUE. See below for descriptions of some of the useful variables.
1242
1243Defaults for the options are specified in brackets.
1244
1245Configuration:
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1255
1256Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 [PREFIX]
1261
1262By default, \`make install' will install all the files in
1263\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265for instance \`--prefix=\$HOME'.
1266
1267For better control, use the options below.
1268
1269Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1289_ACEOF
1290
1291 cat <<\_ACEOF
1292
1293Program names:
1294 --program-prefix=PREFIX prepend PREFIX to installed program names
1295 --program-suffix=SUFFIX append SUFFIX to installed program names
1296 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1297
1298System types:
1299 --build=BUILD configure for building on BUILD [guessed]
1300 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1301 --target=TARGET configure for building compilers for TARGET [HOST]
1302_ACEOF
1303fi
1304
1305if test -n "$ac_init_help"; then
1306
1307 cat <<\_ACEOF
1308
1309Optional Features:
1310 --disable-option-checking ignore unrecognized --enable/--with options
1311 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1312 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1313 --disable-dependency-tracking speeds up one-time build
1314 --enable-dependency-tracking do not reject slow dependency extractors
1315
1316Some influential environment variables:
1317 CCAS assembler compiler command (defaults to CC)
1318 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1319
1320Use these variables to override the choices made by `configure' or to help
1321it to find libraries and programs with nonstandard names/locations.
1322
1323_ACEOF
1324ac_status=$?
1325fi
1326
1327if test "$ac_init_help" = "recursive"; then
1328 # If there are subdirs, report their specific --help.
1329 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1330 test -d "$ac_dir" ||
1331 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1332 continue
1333 ac_builddir=.
1334
1335case "$ac_dir" in
1336.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337*)
1338 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1339 # A ".." for each directory in $ac_dir_suffix.
1340 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1341 case $ac_top_builddir_sub in
1342 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1343 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344 esac ;;
1345esac
1346ac_abs_top_builddir=$ac_pwd
1347ac_abs_builddir=$ac_pwd$ac_dir_suffix
1348# for backward compatibility:
1349ac_top_builddir=$ac_top_build_prefix
1350
1351case $srcdir in
1352 .) # We are building in place.
1353 ac_srcdir=.
1354 ac_top_srcdir=$ac_top_builddir_sub
1355 ac_abs_top_srcdir=$ac_pwd ;;
1356 [\\/]* | ?:[\\/]* ) # Absolute name.
1357 ac_srcdir=$srcdir$ac_dir_suffix;
1358 ac_top_srcdir=$srcdir
1359 ac_abs_top_srcdir=$srcdir ;;
1360 *) # Relative name.
1361 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1362 ac_top_srcdir=$ac_top_build_prefix$srcdir
1363 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364esac
1365ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366
1367 cd "$ac_dir" || { ac_status=$?; continue; }
1368 # Check for guested configure.
1369 if test -f "$ac_srcdir/configure.gnu"; then
1370 echo &&
1371 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1372 elif test -f "$ac_srcdir/configure"; then
1373 echo &&
1374 $SHELL "$ac_srcdir/configure" --help=recursive
1375 else
1376 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 fi || ac_status=$?
1378 cd "$ac_pwd" || { ac_status=$?; break; }
1379 done
1380fi
1381
1382test -n "$ac_init_help" && exit $ac_status
1383if $ac_init_version; then
1384 cat <<\_ACEOF
1385configure
1386generated by GNU Autoconf 2.63
1387
1388Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
13892002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1390This configure script is free software; the Free Software Foundation
1391gives unlimited permission to copy, distribute and modify it.
1392_ACEOF
1393 exit
1394fi
1395cat >config.log <<_ACEOF
1396This file contains any messages produced by compilers while
1397running configure, to aid debugging if configure makes a mistake.
1398
1399It was created by $as_me, which was
1400generated by GNU Autoconf 2.63. Invocation command line was
1401
1402 $ $0 $@
1403
1404_ACEOF
1405exec 5>>config.log
1406{
1407cat <<_ASUNAME
1408## --------- ##
1409## Platform. ##
1410## --------- ##
1411
1412hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1413uname -m = `(uname -m) 2>/dev/null || echo unknown`
1414uname -r = `(uname -r) 2>/dev/null || echo unknown`
1415uname -s = `(uname -s) 2>/dev/null || echo unknown`
1416uname -v = `(uname -v) 2>/dev/null || echo unknown`
1417
1418/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1419/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1420
1421/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1422/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1423/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1424/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1425/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1426/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1427/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1428
1429_ASUNAME
1430
1431as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432for as_dir in $PATH
1433do
1434 IFS=$as_save_IFS
1435 test -z "$as_dir" && as_dir=.
1436 $as_echo "PATH: $as_dir"
1437done
1438IFS=$as_save_IFS
1439
1440} >&5
1441
1442cat >&5 <<_ACEOF
1443
1444
1445## ----------- ##
1446## Core tests. ##
1447## ----------- ##
1448
1449_ACEOF
1450
1451
1452# Keep a trace of the command line.
1453# Strip out --no-create and --no-recursion so they do not pile up.
1454# Strip out --silent because we don't want to record it for future runs.
1455# Also quote any args containing shell meta-characters.
1456# Make two passes to allow for proper duplicate-argument suppression.
1457ac_configure_args=
1458ac_configure_args0=
1459ac_configure_args1=
1460ac_must_keep_next=false
1461for ac_pass in 1 2
1462do
1463 for ac_arg
1464 do
1465 case $ac_arg in
1466 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1467 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1468 | -silent | --silent | --silen | --sile | --sil)
1469 continue ;;
1470 *\'*)
1471 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 esac
1473 case $ac_pass in
1474 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1475 2)
1476 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1477 if test $ac_must_keep_next = true; then
1478 ac_must_keep_next=false # Got value, back to normal.
1479 else
1480 case $ac_arg in
1481 *=* | --config-cache | -C | -disable-* | --disable-* \
1482 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1483 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1484 | -with-* | --with-* | -without-* | --without-* | --x)
1485 case "$ac_configure_args0 " in
1486 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 esac
1488 ;;
1489 -* ) ac_must_keep_next=true ;;
1490 esac
1491 fi
1492 ac_configure_args="$ac_configure_args '$ac_arg'"
1493 ;;
1494 esac
1495 done
1496done
1497$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1498$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1499
1500# When interrupted or exit'd, cleanup temporary files, and complete
1501# config.log. We remove comments because anyway the quotes in there
1502# would cause problems or look ugly.
1503# WARNING: Use '\'' to represent an apostrophe within the trap.
1504# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1505trap 'exit_status=$?
1506 # Save into config.log some information that might help in debugging.
1507 {
1508 echo
1509
1510 cat <<\_ASBOX
1511## ---------------- ##
1512## Cache variables. ##
1513## ---------------- ##
1514_ASBOX
1515 echo
1516 # The following way of writing the cache mishandles newlines in values,
1517(
1518 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1519 eval ac_val=\$$ac_var
1520 case $ac_val in #(
1521 *${as_nl}*)
1522 case $ac_var in #(
1523 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1524$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1525 esac
1526 case $ac_var in #(
1527 _ | IFS | as_nl) ;; #(
1528 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1529 *) $as_unset $ac_var ;;
1530 esac ;;
1531 esac
1532 done
1533 (set) 2>&1 |
1534 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1535 *${as_nl}ac_space=\ *)
1536 sed -n \
1537 "s/'\''/'\''\\\\'\'''\''/g;
1538 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 ;; #(
1540 *)
1541 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1542 ;;
1543 esac |
1544 sort
1545)
1546 echo
1547
1548 cat <<\_ASBOX
1549## ----------------- ##
1550## Output variables. ##
1551## ----------------- ##
1552_ASBOX
1553 echo
1554 for ac_var in $ac_subst_vars
1555 do
1556 eval ac_val=\$$ac_var
1557 case $ac_val in
1558 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1559 esac
1560 $as_echo "$ac_var='\''$ac_val'\''"
1561 done | sort
1562 echo
1563
1564 if test -n "$ac_subst_files"; then
1565 cat <<\_ASBOX
1566## ------------------- ##
1567## File substitutions. ##
1568## ------------------- ##
1569_ASBOX
1570 echo
1571 for ac_var in $ac_subst_files
1572 do
1573 eval ac_val=\$$ac_var
1574 case $ac_val in
1575 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1576 esac
1577 $as_echo "$ac_var='\''$ac_val'\''"
1578 done | sort
1579 echo
1580 fi
1581
1582 if test -s confdefs.h; then
1583 cat <<\_ASBOX
1584## ----------- ##
1585## confdefs.h. ##
1586## ----------- ##
1587_ASBOX
1588 echo
1589 cat confdefs.h
1590 echo
1591 fi
1592 test "$ac_signal" != 0 &&
1593 $as_echo "$as_me: caught signal $ac_signal"
1594 $as_echo "$as_me: exit $exit_status"
1595 } >&5
1596 rm -f core *.core core.conftest.* &&
1597 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 exit $exit_status
1599' 0
1600for ac_signal in 1 2 13 15; do
1601 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602done
1603ac_signal=0
1604
1605# confdefs.h avoids OS command line length limits that DEFS can exceed.
1606rm -f -r conftest* confdefs.h
1607
1608# Predefined preprocessor variables.
1609
1610cat >>confdefs.h <<_ACEOF
1611#define PACKAGE_NAME "$PACKAGE_NAME"
1612_ACEOF
1613
1614
1615cat >>confdefs.h <<_ACEOF
1616#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1617_ACEOF
1618
1619
1620cat >>confdefs.h <<_ACEOF
1621#define PACKAGE_VERSION "$PACKAGE_VERSION"
1622_ACEOF
1623
1624
1625cat >>confdefs.h <<_ACEOF
1626#define PACKAGE_STRING "$PACKAGE_STRING"
1627_ACEOF
1628
1629
1630cat >>confdefs.h <<_ACEOF
1631#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1632_ACEOF
1633
1634
1635# Let the site file select an alternate cache file if it wants to.
1636# Prefer an explicitly selected file to automatically selected ones.
1637ac_site_file1=NONE
1638ac_site_file2=NONE
1639if test -n "$CONFIG_SITE"; then
1640 ac_site_file1=$CONFIG_SITE
1641elif test "x$prefix" != xNONE; then
1642 ac_site_file1=$prefix/share/config.site
1643 ac_site_file2=$prefix/etc/config.site
1644else
1645 ac_site_file1=$ac_default_prefix/share/config.site
1646 ac_site_file2=$ac_default_prefix/etc/config.site
1647fi
1648for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1649do
1650 test "x$ac_site_file" = xNONE && continue
1651 if test -r "$ac_site_file"; then
1652 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1653$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654 sed 's/^/| /' "$ac_site_file" >&5
1655 . "$ac_site_file"
1656 fi
1657done
1658
1659if test -r "$cache_file"; then
1660 # Some versions of bash will fail to source /dev/null (special
1661 # files actually), so we avoid doing that.
1662 if test -f "$cache_file"; then
1663 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1664$as_echo "$as_me: loading cache $cache_file" >&6;}
1665 case $cache_file in
1666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667 *) . "./$cache_file";;
1668 esac
1669 fi
1670else
1671 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1672$as_echo "$as_me: creating cache $cache_file" >&6;}
1673 >$cache_file
1674fi
1675
1676# Check that the precious variables saved in the cache have kept the same
1677# value.
1678ac_cache_corrupted=false
1679for ac_var in $ac_precious_vars; do
1680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681 eval ac_new_set=\$ac_env_${ac_var}_set
1682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683 eval ac_new_val=\$ac_env_${ac_var}_value
1684 case $ac_old_set,$ac_new_set in
1685 set,)
1686 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1689 ,set)
1690 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1691$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1693 ,);;
1694 *)
1695 if test "x$ac_old_val" != "x$ac_new_val"; then
1696 # differences in whitespace do not lead to failure.
1697 ac_old_val_w=`echo x $ac_old_val`
1698 ac_new_val_w=`echo x $ac_new_val`
1699 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1700 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1701$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 ac_cache_corrupted=:
1703 else
1704 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1705$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1706 eval $ac_var=\$ac_old_val
1707 fi
1708 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1709$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1710 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1711$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1712 fi;;
1713 esac
1714 # Pass precious variables to config.status.
1715 if test "$ac_new_set" = set; then
1716 case $ac_new_val in
1717 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1718 *) ac_arg=$ac_var=$ac_new_val ;;
1719 esac
1720 case " $ac_configure_args " in
1721 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1722 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1723 esac
1724 fi
1725done
1726if $ac_cache_corrupted; then
1727 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1728$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1729 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1730$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1732$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1733 { (exit 1); exit 1; }; }
1734fi
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752ac_ext=c
1753ac_cpp='$CPP $CPPFLAGS'
1754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1756ac_compiler_gnu=$ac_cv_c_compiler_gnu
1757
1758
1759
1760if test "${enable_shared}" = "yes" ; then
1761 echo "Shared libraries not supported for cross compiling, ignored"
1762fi
1763
1764if test "$srcdir" = "." ; then
1765 if test "${with_target_subdir}" != "." ; then
1766 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1767 else
1768 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1769 fi
1770else
1771 libgloss_topdir="${srcdir}/../.."
1772fi
1773ac_aux_dir=
1774for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1775 if test -f "$ac_dir/install-sh"; then
1776 ac_aux_dir=$ac_dir
1777 ac_install_sh="$ac_aux_dir/install-sh -c"
1778 break
1779 elif test -f "$ac_dir/install.sh"; then
1780 ac_aux_dir=$ac_dir
1781 ac_install_sh="$ac_aux_dir/install.sh -c"
1782 break
1783 elif test -f "$ac_dir/shtool"; then
1784 ac_aux_dir=$ac_dir
1785 ac_install_sh="$ac_aux_dir/shtool install -c"
1786 break
1787 fi
1788done
1789if test -z "$ac_aux_dir"; then
1790 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&5
1791$as_echo "$as_me: error: cannot find install-sh or install.sh in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" >&2;}
1792 { (exit 1); exit 1; }; }
1793fi
1794
1795# These three variables are undocumented and unsupported,
1796# and are intended to be withdrawn in a future Autoconf release.
1797# They can cause serious problems if a builder's source tree is in a directory
1798# whose full name contains unusual characters.
1799ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1800ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1801ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1802
1803
1804
1805# Make sure we can run config.sub.
1806$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1807 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1808$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1809 { (exit 1); exit 1; }; }
1810
1811{ $as_echo "$as_me:$LINENO: checking build system type" >&5
1812$as_echo_n "checking build system type... " >&6; }
1813if test "${ac_cv_build+set}" = set; then
1814 $as_echo_n "(cached) " >&6
1815else
1816 ac_build_alias=$build_alias
1817test "x$ac_build_alias" = x &&
1818 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1819test "x$ac_build_alias" = x &&
1820 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1821$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1822 { (exit 1); exit 1; }; }
1823ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1824 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1825$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1826 { (exit 1); exit 1; }; }
1827
1828fi
1829{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1830$as_echo "$ac_cv_build" >&6; }
1831case $ac_cv_build in
1832*-*-*) ;;
1833*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1834$as_echo "$as_me: error: invalid value of canonical build" >&2;}
1835 { (exit 1); exit 1; }; };;
1836esac
1837build=$ac_cv_build
1838ac_save_IFS=$IFS; IFS='-'
1839set x $ac_cv_build
1840shift
1841build_cpu=$1
1842build_vendor=$2
1843shift; shift
1844# Remember, the first character of IFS is used to create $*,
1845# except with old shells:
1846build_os=$*
1847IFS=$ac_save_IFS
1848case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1849
1850
1851{ $as_echo "$as_me:$LINENO: checking host system type" >&5
1852$as_echo_n "checking host system type... " >&6; }
1853if test "${ac_cv_host+set}" = set; then
1854 $as_echo_n "(cached) " >&6
1855else
1856 if test "x$host_alias" = x; then
1857 ac_cv_host=$ac_cv_build
1858else
1859 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1860 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1861$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1862 { (exit 1); exit 1; }; }
1863fi
1864
1865fi
1866{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1867$as_echo "$ac_cv_host" >&6; }
1868case $ac_cv_host in
1869*-*-*) ;;
1870*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1871$as_echo "$as_me: error: invalid value of canonical host" >&2;}
1872 { (exit 1); exit 1; }; };;
1873esac
1874host=$ac_cv_host
1875ac_save_IFS=$IFS; IFS='-'
1876set x $ac_cv_host
1877shift
1878host_cpu=$1
1879host_vendor=$2
1880shift; shift
1881# Remember, the first character of IFS is used to create $*,
1882# except with old shells:
1883host_os=$*
1884IFS=$ac_save_IFS
1885case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1886
1887
1888{ $as_echo "$as_me:$LINENO: checking target system type" >&5
1889$as_echo_n "checking target system type... " >&6; }
1890if test "${ac_cv_target+set}" = set; then
1891 $as_echo_n "(cached) " >&6
1892else
1893 if test "x$target_alias" = x; then
1894 ac_cv_target=$ac_cv_host
1895else
1896 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1897 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1898$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1900fi
1901
1902fi
1903{ $as_echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1904$as_echo "$ac_cv_target" >&6; }
1905case $ac_cv_target in
1906*-*-*) ;;
1907*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1908$as_echo "$as_me: error: invalid value of canonical target" >&2;}
1909 { (exit 1); exit 1; }; };;
1910esac
1911target=$ac_cv_target
1912ac_save_IFS=$IFS; IFS='-'
1913set x $ac_cv_target
1914shift
1915target_cpu=$1
1916target_vendor=$2
1917shift; shift
1918# Remember, the first character of IFS is used to create $*,
1919# except with old shells:
1920target_os=$*
1921IFS=$ac_save_IFS
1922case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1923
1924
1925# The aliases save the names the user supplied, while $host etc.
1926# will get canonicalized.
1927test -n "$target_alias" &&
1928 test "$program_prefix$program_suffix$program_transform_name" = \
1929 NONENONEs,x,x, &&
1930 program_prefix=${target_alias}-
1931test "$program_prefix" != NONE &&
1932 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1933# Use a double $ so make ignores it.
1934test "$program_suffix" != NONE &&
1935 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1936# Double any \ or $.
1937# By default was `s,x,x', remove it if useless.
1938ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1939program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1940
1941
1942# Find a good install program. We prefer a C program (faster),
1943# so one script is as good as another. But avoid the broken or
1944# incompatible versions:
1945# SysV /etc/install, /usr/sbin/install
1946# SunOS /usr/etc/install
1947# IRIX /sbin/install
1948# AIX /bin/install
1949# AmigaOS /C/install, which installs bootblocks on floppy discs
1950# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1951# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1952# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1953# OS/2's system install, which has a completely different semantic
1954# ./install, which can be erroneously created by make from ./install.sh.
1955# Reject install programs that cannot install multiple files.
1956{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1957$as_echo_n "checking for a BSD-compatible install... " >&6; }
1958if test -z "$INSTALL"; then
1959if test "${ac_cv_path_install+set}" = set; then
1960 $as_echo_n "(cached) " >&6
1961else
1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1963for as_dir in $PATH
1964do
1965 IFS=$as_save_IFS
1966 test -z "$as_dir" && as_dir=.
1967 # Account for people who put trailing slashes in PATH elements.
1968case $as_dir/ in
1969 ./ | .// | /cC/* | \
1970 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1971 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1972 /usr/ucb/* ) ;;
1973 *)
1974 # OSF1 and SCO ODT 3.0 have their own names for install.
1975 # Don't use installbsd from OSF since it installs stuff as root
1976 # by default.
1977 for ac_prog in ginstall scoinst install; do
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1980 if test $ac_prog = install &&
1981 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1982 # AIX install. It has an incompatible calling convention.
1983 :
1984 elif test $ac_prog = install &&
1985 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1986 # program-specific install script used by HP pwplus--don't use.
1987 :
1988 else
1989 rm -rf conftest.one conftest.two conftest.dir
1990 echo one > conftest.one
1991 echo two > conftest.two
1992 mkdir conftest.dir
1993 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1994 test -s conftest.one && test -s conftest.two &&
1995 test -s conftest.dir/conftest.one &&
1996 test -s conftest.dir/conftest.two
1997 then
1998 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1999 break 3
2000 fi
2001 fi
2002 fi
2003 done
2004 done
2005 ;;
2006esac
2007
2008done
2009IFS=$as_save_IFS
2010
2011rm -rf conftest.one conftest.two conftest.dir
2012
2013fi
2014 if test "${ac_cv_path_install+set}" = set; then
2015 INSTALL=$ac_cv_path_install
2016 else
2017 # As a last resort, use the slow shell script. Don't cache a
2018 # value for INSTALL within a source directory, because that will
2019 # break other packages using the cache if that directory is
2020 # removed, or if the value is a relative name.
2021 INSTALL=$ac_install_sh
2022 fi
2023fi
2024{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2025$as_echo "$INSTALL" >&6; }
2026
2027# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2028# It thinks the first close brace ends the variable substitution.
2029test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2030
2031test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2032
2033test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2034
2035
2036rm -rf .tst 2>/dev/null
2037mkdir .tst 2>/dev/null
2038if test -d .tst; then
2039 am__leading_dot=.
2040else
2041 am__leading_dot=_
2042fi
2043rmdir .tst 2>/dev/null
2044
2045DEPDIR="${am__leading_dot}deps"
2046
2047ac_config_commands="$ac_config_commands depfiles"
2048
2049
2050am_make=${MAKE-make}
2051cat > confinc << 'END'
2052am__doit:
2053 @echo this is the am__doit target
2054.PHONY: am__doit
2055END
2056# If we don't find an include directive, just comment out the code.
2057{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2058$as_echo_n "checking for style of include used by $am_make... " >&6; }
2059am__include="#"
2060am__quote=
2061_am_result=none
2062# First try GNU make style include.
2063echo "include confinc" > confmf
2064# Ignore all kinds of additional output from `make'.
2065case `$am_make -s -f confmf 2> /dev/null` in #(
2066*the\ am__doit\ target*)
2067 am__include=include
2068 am__quote=
2069 _am_result=GNU
2070 ;;
2071esac
2072# Now try BSD make style include.
2073if test "$am__include" = "#"; then
2074 echo '.include "confinc"' > confmf
2075 case `$am_make -s -f confmf 2> /dev/null` in #(
2076 *the\ am__doit\ target*)
2077 am__include=.include
2078 am__quote="\""
2079 _am_result=BSD
2080 ;;
2081 esac
2082fi
2083
2084
2085{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2086$as_echo "$_am_result" >&6; }
2087rm -f confinc confmf
2088
2089# Check whether --enable-dependency-tracking was given.
2090if test "${enable_dependency_tracking+set}" = set; then
2091 enableval=$enable_dependency_tracking;
2092fi
2093
2094if test "x$enable_dependency_tracking" != xno; then
2095 am_depcomp="$ac_aux_dir/depcomp"
2096 AMDEPBACKSLASH='\'
2097fi
2098 if test "x$enable_dependency_tracking" != xno; then
2099 AMDEP_TRUE=
2100 AMDEP_FALSE='#'
2101else
2102 AMDEP_TRUE='#'
2103 AMDEP_FALSE=
2104fi
2105
2106
2107# Extract the first word of "gcc", so it can be a program name with args.
2108set dummy gcc; ac_word=$2
2109{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2110$as_echo_n "checking for $ac_word... " >&6; }
2111if test "${ac_cv_prog_CC+set}" = set; then
2112 $as_echo_n "(cached) " >&6
2113else
2114 if test -n "$CC"; then
2115 ac_cv_prog_CC="$CC" # Let the user override the test.
2116else
2117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118for as_dir in $PATH
2119do
2120 IFS=$as_save_IFS
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_CC="gcc"
2125 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2126 break 2
2127 fi
2128done
2129done
2130IFS=$as_save_IFS
2131
2132fi
2133fi
2134CC=$ac_cv_prog_CC
2135if test -n "$CC"; then
2136 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2137$as_echo "$CC" >&6; }
2138else
2139 { $as_echo "$as_me:$LINENO: result: no" >&5
2140$as_echo "no" >&6; }
2141fi
2142
2143
2144
2145depcc="$CC" am_compiler_list=
2146
2147{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2148$as_echo_n "checking dependency style of $depcc... " >&6; }
2149if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2150 $as_echo_n "(cached) " >&6
2151else
2152 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2153 # We make a subdir and do the tests there. Otherwise we can end up
2154 # making bogus files that we don't know about and never remove. For
2155 # instance it was reported that on HP-UX the gcc test will end up
2156 # making a dummy file named `D' -- because `-MD' means `put the output
2157 # in D'.
2158 mkdir conftest.dir
2159 # Copy depcomp to subdir because otherwise we won't find it if we're
2160 # using a relative directory.
2161 cp "$am_depcomp" conftest.dir
2162 cd conftest.dir
2163 # We will build objects and dependencies in a subdirectory because
2164 # it helps to detect inapplicable dependency modes. For instance
2165 # both Tru64's cc and ICC support -MD to output dependencies as a
2166 # side effect of compilation, but ICC will put the dependencies in
2167 # the current directory while Tru64 will put them in the object
2168 # directory.
2169 mkdir sub
2170
2171 am_cv_CC_dependencies_compiler_type=none
2172 if test "$am_compiler_list" = ""; then
2173 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2174 fi
2175 am__universal=false
2176 case " $depcc " in #(
2177 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2178 esac
2179
2180 for depmode in $am_compiler_list; do
2181 # Setup a source with many dependencies, because some compilers
2182 # like to wrap large dependency lists on column 80 (with \), and
2183 # we should not choose a depcomp mode which is confused by this.
2184 #
2185 # We need to recreate these files for each test, as the compiler may
2186 # overwrite some of them when testing with obscure command lines.
2187 # This happens at least with the AIX C compiler.
2188 : > sub/conftest.c
2189 for i in 1 2 3 4 5 6; do
2190 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2191 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2192 # Solaris 8's {/usr,}/bin/sh.
2193 touch sub/conftst$i.h
2194 done
2195 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2196
2197 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2198 # mode. It turns out that the SunPro C++ compiler does not properly
2199 # handle `-M -o', and we need to detect this. Also, some Intel
2200 # versions had trouble with output in subdirs
2201 am__obj=sub/conftest.${OBJEXT-o}
2202 am__minus_obj="-o $am__obj"
2203 case $depmode in
2204 gcc)
2205 # This depmode causes a compiler race in universal mode.
2206 test "$am__universal" = false || continue
2207 ;;
2208 nosideeffect)
2209 # after this tag, mechanisms are not by side-effect, so they'll
2210 # only be used when explicitly requested
2211 if test "x$enable_dependency_tracking" = xyes; then
2212 continue
2213 else
2214 break
2215 fi
2216 ;;
2217 msvisualcpp | msvcmsys)
2218 # This compiler won't grok `-c -o', but also, the minuso test has
2219 # not run yet. These depmodes are late enough in the game, and
2220 # so weak that their functioning should not be impacted.
2221 am__obj=conftest.${OBJEXT-o}
2222 am__minus_obj=
2223 ;;
2224 none) break ;;
2225 esac
2226 if depmode=$depmode \
2227 source=sub/conftest.c object=$am__obj \
2228 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2229 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2230 >/dev/null 2>conftest.err &&
2231 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2232 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2233 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2234 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2235 # icc doesn't choke on unknown options, it will just issue warnings
2236 # or remarks (even with -Werror). So we grep stderr for any message
2237 # that says an option was ignored or not supported.
2238 # When given -MP, icc 7.0 and 7.1 complain thusly:
2239 # icc: Command line warning: ignoring option '-M'; no argument required
2240 # The diagnosis changed in icc 8.0:
2241 # icc: Command line remark: option '-MP' not supported
2242 if (grep 'ignoring option' conftest.err ||
2243 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2244 am_cv_CC_dependencies_compiler_type=$depmode
2245 break
2246 fi
2247 fi
2248 done
2249
2250 cd ..
2251 rm -rf conftest.dir
2252else
2253 am_cv_CC_dependencies_compiler_type=none
2254fi
2255
2256fi
2257{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2258$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2259CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2260
2261 if
2262 test "x$enable_dependency_tracking" != xno \
2263 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2264 am__fastdepCC_TRUE=
2265 am__fastdepCC_FALSE='#'
2266else
2267 am__fastdepCC_TRUE='#'
2268 am__fastdepCC_FALSE=
2269fi
2270
2271
2272if test -z "$CC"; then
2273 # Extract the first word of "cc", so it can be a program name with args.
2274set dummy cc; ac_word=$2
2275{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2276$as_echo_n "checking for $ac_word... " >&6; }
2277if test "${ac_cv_prog_CC+set}" = set; then
2278 $as_echo_n "(cached) " >&6
2279else
2280 if test -n "$CC"; then
2281 ac_cv_prog_CC="$CC" # Let the user override the test.
2282else
2283 ac_prog_rejected=no
2284as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2285for as_dir in $PATH
2286do
2287 IFS=$as_save_IFS
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2292 ac_prog_rejected=yes
2293 continue
2294 fi
2295 ac_cv_prog_CC="cc"
2296 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2298 fi
2299done
2300done
2301IFS=$as_save_IFS
2302
2303if test $ac_prog_rejected = yes; then
2304 # We found a bogon in the path, so make sure we never use it.
2305 set dummy $ac_cv_prog_CC
2306 shift
2307 if test $# != 0; then
2308 # We chose a different compiler from the bogus one.
2309 # However, it has the same basename, so the bogon will be chosen
2310 # first if we set CC to just the basename; use the full file name.
2311 shift
2312 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2313 fi
2314fi
2315fi
2316fi
2317CC=$ac_cv_prog_CC
2318if test -n "$CC"; then
2319 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2320$as_echo "$CC" >&6; }
2321else
2322 { $as_echo "$as_me:$LINENO: result: no" >&5
2323$as_echo "no" >&6; }
2324fi
2325
2326
2327 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2328$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2329 { (exit 1); exit 1; }; }
2330fi
2331
2332{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2333$as_echo_n "checking whether we are using GNU C... " >&6; }
2334if test "${ac_cv_c_compiler_gnu+set}" = set; then
2335 $as_echo_n "(cached) " >&6
2336else
2337 cat > conftest.c <<EOF
2338#ifdef __GNUC__
2339 yes;
2340#endif
2341EOF
2342if { ac_try='${CC-cc} -E conftest.c'
2343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2344 (eval $ac_try) 2>&5
2345 ac_status=$?
2346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2348 ac_cv_c_compiler_gnu=yes
2349else
2350 ac_cv_c_compiler_gnu=no
2351fi
2352fi
2353{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2354$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2355
2356if test $ac_cv_c_compiler_gnu = yes; then
2357 GCC=yes
2358 ac_test_CFLAGS="${CFLAGS+set}"
2359 ac_save_CFLAGS="$CFLAGS"
2360 CFLAGS=
2361 ac_test_CFLAGS=${CFLAGS+set}
2362ac_save_CFLAGS=$CFLAGS
2363{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2364$as_echo_n "checking whether $CC accepts -g... " >&6; }
2365if test "${ac_cv_prog_cc_g+set}" = set; then
2366 $as_echo_n "(cached) " >&6
2367else
2368 ac_save_c_werror_flag=$ac_c_werror_flag
2369 ac_c_werror_flag=yes
2370 ac_cv_prog_cc_g=no
2371 CFLAGS="-g"
2372 cat >conftest.$ac_ext <<_ACEOF
2373/* confdefs.h. */
2374_ACEOF
2375cat confdefs.h >>conftest.$ac_ext
2376cat >>conftest.$ac_ext <<_ACEOF
2377/* end confdefs.h. */
2378
2379int
2380main ()
2381{
2382
2383 ;
2384 return 0;
2385}
2386_ACEOF
2387rm -f conftest.$ac_objext
2388if { (ac_try="$ac_compile"
2389case "(($ac_try" in
2390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2391 *) ac_try_echo=$ac_try;;
2392esac
2393eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2394$as_echo "$ac_try_echo") >&5
2395 (eval "$ac_compile") 2>conftest.er1
2396 ac_status=$?
2397 grep -v '^ *+' conftest.er1 >conftest.err
2398 rm -f conftest.er1
2399 cat conftest.err >&5
2400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); } && {
2402 test -z "$ac_c_werror_flag" ||
2403 test ! -s conftest.err
2404 } && test -s conftest.$ac_objext; then
2405 ac_cv_prog_cc_g=yes
2406else
2407 $as_echo "$as_me: failed program was:" >&5
2408sed 's/^/| /' conftest.$ac_ext >&5
2409
2410 CFLAGS=""
2411 cat >conftest.$ac_ext <<_ACEOF
2412/* confdefs.h. */
2413_ACEOF
2414cat confdefs.h >>conftest.$ac_ext
2415cat >>conftest.$ac_ext <<_ACEOF
2416/* end confdefs.h. */
2417
2418int
2419main ()
2420{
2421
2422 ;
2423 return 0;
2424}
2425_ACEOF
2426rm -f conftest.$ac_objext
2427if { (ac_try="$ac_compile"
2428case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431esac
2432eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2433$as_echo "$ac_try_echo") >&5
2434 (eval "$ac_compile") 2>conftest.er1
2435 ac_status=$?
2436 grep -v '^ *+' conftest.er1 >conftest.err
2437 rm -f conftest.er1
2438 cat conftest.err >&5
2439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); } && {
2441 test -z "$ac_c_werror_flag" ||
2442 test ! -s conftest.err
2443 } && test -s conftest.$ac_objext; then
2444 :
2445else
2446 $as_echo "$as_me: failed program was:" >&5
2447sed 's/^/| /' conftest.$ac_ext >&5
2448
2449 ac_c_werror_flag=$ac_save_c_werror_flag
2450 CFLAGS="-g"
2451 cat >conftest.$ac_ext <<_ACEOF
2452/* confdefs.h. */
2453_ACEOF
2454cat confdefs.h >>conftest.$ac_ext
2455cat >>conftest.$ac_ext <<_ACEOF
2456/* end confdefs.h. */
2457
2458int
2459main ()
2460{
2461
2462 ;
2463 return 0;
2464}
2465_ACEOF
2466rm -f conftest.$ac_objext
2467if { (ac_try="$ac_compile"
2468case "(($ac_try" in
2469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2470 *) ac_try_echo=$ac_try;;
2471esac
2472eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2473$as_echo "$ac_try_echo") >&5
2474 (eval "$ac_compile") 2>conftest.er1
2475 ac_status=$?
2476 grep -v '^ *+' conftest.er1 >conftest.err
2477 rm -f conftest.er1
2478 cat conftest.err >&5
2479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } && {
2481 test -z "$ac_c_werror_flag" ||
2482 test ! -s conftest.err
2483 } && test -s conftest.$ac_objext; then
2484 ac_cv_prog_cc_g=yes
2485else
2486 $as_echo "$as_me: failed program was:" >&5
2487sed 's/^/| /' conftest.$ac_ext >&5
2488
2489
2490fi
2491
2492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493fi
2494
2495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496fi
2497
2498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 ac_c_werror_flag=$ac_save_c_werror_flag
2500fi
2501{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2502$as_echo "$ac_cv_prog_cc_g" >&6; }
2503if test "$ac_test_CFLAGS" = set; then
2504 CFLAGS=$ac_save_CFLAGS
2505elif test $ac_cv_prog_cc_g = yes; then
2506 if test "$GCC" = yes; then
2507 CFLAGS="-g -O2"
2508 else
2509 CFLAGS="-g"
2510 fi
2511else
2512 if test "$GCC" = yes; then
2513 CFLAGS="-O2"
2514 else
2515 CFLAGS=
2516 fi
2517fi
2518 if test "$ac_test_CFLAGS" = set; then
2519 CFLAGS="$ac_save_CFLAGS"
2520 elif test $ac_cv_prog_cc_g = yes; then
2521 CFLAGS="-g -O2"
2522 else
2523 CFLAGS="-O2"
2524 fi
2525else
2526 GCC=
2527 test "${CFLAGS+set}" = set || CFLAGS="-g"
2528fi
2529
2530
2531AS=${AS-as}
2532
2533AR=${AR-ar}
2534
2535LD=${LD-ld}
2536
2537if test -n "$ac_tool_prefix"; then
2538 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2539set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2540{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2541$as_echo_n "checking for $ac_word... " >&6; }
2542if test "${ac_cv_prog_RANLIB+set}" = set; then
2543 $as_echo_n "(cached) " >&6
2544else
2545 if test -n "$RANLIB"; then
2546 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2547else
2548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2549for as_dir in $PATH
2550do
2551 IFS=$as_save_IFS
2552 test -z "$as_dir" && as_dir=.
2553 for ac_exec_ext in '' $ac_executable_extensions; do
2554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 break 2
2558 fi
2559done
2560done
2561IFS=$as_save_IFS
2562
2563fi
2564fi
2565RANLIB=$ac_cv_prog_RANLIB
2566if test -n "$RANLIB"; then
2567 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
2568$as_echo "$RANLIB" >&6; }
2569else
2570 { $as_echo "$as_me:$LINENO: result: no" >&5
2571$as_echo "no" >&6; }
2572fi
2573
2574
2575fi
2576if test -z "$ac_cv_prog_RANLIB"; then
2577 ac_ct_RANLIB=$RANLIB
2578 # Extract the first word of "ranlib", so it can be a program name with args.
2579set dummy ranlib; ac_word=$2
2580{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2581$as_echo_n "checking for $ac_word... " >&6; }
2582if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2583 $as_echo_n "(cached) " >&6
2584else
2585 if test -n "$ac_ct_RANLIB"; then
2586 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2587else
2588as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2589for as_dir in $PATH
2590do
2591 IFS=$as_save_IFS
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595 ac_cv_prog_ac_ct_RANLIB="ranlib"
2596 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2597 break 2
2598 fi
2599done
2600done
2601IFS=$as_save_IFS
2602
2603fi
2604fi
2605ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2606if test -n "$ac_ct_RANLIB"; then
2607 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2608$as_echo "$ac_ct_RANLIB" >&6; }
2609else
2610 { $as_echo "$as_me:$LINENO: result: no" >&5
2611$as_echo "no" >&6; }
2612fi
2613
2614 if test "x$ac_ct_RANLIB" = x; then
2615 RANLIB=":"
2616 else
2617 case $cross_compiling:$ac_tool_warned in
2618yes:)
2619{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2620$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621ac_tool_warned=yes ;;
2622esac
2623 RANLIB=$ac_ct_RANLIB
2624 fi
2625else
2626 RANLIB="$ac_cv_prog_RANLIB"
2627fi
2628
2629# By default we simply use the C compiler to build assembly code.
2630
2631test "${CCAS+set}" = set || CCAS=$CC
2632test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2633
2634
2635
2636
2637host_makefile_frag=${srcdir}/../config/default.mh
2638
2639host_makefile_frag_path=$host_makefile_frag
2640
2641
2642
2643ac_config_files="$ac_config_files Makefile"
2644
2645cat >confcache <<\_ACEOF
2646# This file is a shell script that caches the results of configure
2647# tests run on this system so they can be shared between configure
2648# scripts and configure runs, see configure's option --config-cache.
2649# It is not useful on other systems. If it contains results you don't
2650# want to keep, you may remove or edit it.
2651#
2652# config.status only pays attention to the cache file if you give it
2653# the --recheck option to rerun configure.
2654#
2655# `ac_cv_env_foo' variables (set or unset) will be overridden when
2656# loading this file, other *unset* `ac_cv_foo' will be assigned the
2657# following values.
2658
2659_ACEOF
2660
2661# The following way of writing the cache mishandles newlines in values,
2662# but we know of no workaround that is simple, portable, and efficient.
2663# So, we kill variables containing newlines.
2664# Ultrix sh set writes to stderr and can't be redirected directly,
2665# and sets the high bit in the cache file unless we assign to the vars.
2666(
2667 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2668 eval ac_val=\$$ac_var
2669 case $ac_val in #(
2670 *${as_nl}*)
2671 case $ac_var in #(
2672 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2673$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2674 esac
2675 case $ac_var in #(
2676 _ | IFS | as_nl) ;; #(
2677 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2678 *) $as_unset $ac_var ;;
2679 esac ;;
2680 esac
2681 done
2682
2683 (set) 2>&1 |
2684 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2685 *${as_nl}ac_space=\ *)
2686 # `set' does not quote correctly, so add quotes (double-quote
2687 # substitution turns \\\\ into \\, and sed turns \\ into \).
2688 sed -n \
2689 "s/'/'\\\\''/g;
2690 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2691 ;; #(
2692 *)
2693 # `set' quotes correctly as required by POSIX, so do not add quotes.
2694 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2695 ;;
2696 esac |
2697 sort
2698) |
2699 sed '
2700 /^ac_cv_env_/b end
2701 t clear
2702 :clear
2703 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2704 t end
2705 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2706 :end' >>confcache
2707if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2708 if test -w "$cache_file"; then
2709 test "x$cache_file" != "x/dev/null" &&
2710 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2711$as_echo "$as_me: updating cache $cache_file" >&6;}
2712 cat confcache >$cache_file
2713 else
2714 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2715$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2716 fi
2717fi
2718rm -f confcache
2719
2720test "x$prefix" = xNONE && prefix=$ac_default_prefix
2721# Let make expand exec_prefix.
2722test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2723
2724# Transform confdefs.h into DEFS.
2725# Protect against shell expansion while executing Makefile rules.
2726# Protect against Makefile macro expansion.
2727#
2728# If the first sed substitution is executed (which looks for macros that
2729# take arguments), then branch to the quote section. Otherwise,
2730# look for a macro that doesn't take arguments.
2731ac_script='
2732:mline
2733/\\$/{
2734 N
2735 s,\\\n,,
2736 b mline
2737}
2738t clear
2739:clear
2740s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2741t quote
2742s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2743t quote
2744b any
2745:quote
2746s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2747s/\[/\\&/g
2748s/\]/\\&/g
2749s/\$/$$/g
2750H
2751:any
2752${
2753 g
2754 s/^\n//
2755 s/\n/ /g
2756 p
2757}
2758'
2759DEFS=`sed -n "$ac_script" confdefs.h`
2760
2761
2762ac_libobjs=
2763ac_ltlibobjs=
2764for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2765 # 1. Remove the extension, and $U if already installed.
2766 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2767 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2768 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2769 # will be set to the directory where LIBOBJS objects are built.
2770 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2771 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2772done
2773LIBOBJS=$ac_libobjs
2774
2775LTLIBOBJS=$ac_ltlibobjs
2776
2777
2778if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2779 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2780Usually this means the macro was only invoked conditionally." >&5
2781$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
2782Usually this means the macro was only invoked conditionally." >&2;}
2783 { (exit 1); exit 1; }; }
2784fi
2785if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2786 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2787Usually this means the macro was only invoked conditionally." >&5
2788$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2789Usually this means the macro was only invoked conditionally." >&2;}
2790 { (exit 1); exit 1; }; }
2791fi
2792
2793: ${CONFIG_STATUS=./config.status}
2794ac_write_fail=0
2795ac_clean_files_save=$ac_clean_files
2796ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2797{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2798$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2799cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2800#! $SHELL
2801# Generated by $as_me.
2802# Run this file to recreate the current configuration.
2803# Compiler output produced by configure, useful for debugging
2804# configure, is in config.log if it exists.
2805
2806debug=false
2807ac_cs_recheck=false
2808ac_cs_silent=false
2809SHELL=\${CONFIG_SHELL-$SHELL}
2810_ACEOF
2811
2812cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2813## --------------------- ##
2814## M4sh Initialization. ##
2815## --------------------- ##
2816
2817# Be more Bourne compatible
2818DUALCASE=1; export DUALCASE # for MKS sh
2819if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2820 emulate sh
2821 NULLCMD=:
2822 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2823 # is contrary to our usage. Disable this feature.
2824 alias -g '${1+"$@"}'='"$@"'
2825 setopt NO_GLOB_SUBST
2826else
2827 case `(set -o) 2>/dev/null` in
2828 *posix*) set -o posix ;;
2829esac
2830
2831fi
2832
2833
2834
2835
2836# PATH needs CR
2837# Avoid depending upon Character Ranges.
2838as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2839as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2840as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2841as_cr_digits='0123456789'
2842as_cr_alnum=$as_cr_Letters$as_cr_digits
2843
2844as_nl='
2845'
2846export as_nl
2847# Printing a long string crashes Solaris 7 /usr/bin/printf.
2848as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2849as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2850as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2851if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2852 as_echo='printf %s\n'
2853 as_echo_n='printf %s'
2854else
2855 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2856 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2857 as_echo_n='/usr/ucb/echo -n'
2858 else
2859 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2860 as_echo_n_body='eval
2861 arg=$1;
2862 case $arg in
2863 *"$as_nl"*)
2864 expr "X$arg" : "X\\(.*\\)$as_nl";
2865 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2866 esac;
2867 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2868 '
2869 export as_echo_n_body
2870 as_echo_n='sh -c $as_echo_n_body as_echo'
2871 fi
2872 export as_echo_body
2873 as_echo='sh -c $as_echo_body as_echo'
2874fi
2875
2876# The user is always right.
2877if test "${PATH_SEPARATOR+set}" != set; then
2878 PATH_SEPARATOR=:
2879 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2880 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2881 PATH_SEPARATOR=';'
2882 }
2883fi
2884
2885# Support unset when possible.
2886if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2887 as_unset=unset
2888else
2889 as_unset=false
2890fi
2891
2892
2893# IFS
2894# We need space, tab and new line, in precisely that order. Quoting is
2895# there to prevent editors from complaining about space-tab.
2896# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2897# splitting by setting IFS to empty value.)
2898IFS=" "" $as_nl"
2899
2900# Find who we are. Look in the path if we contain no directory separator.
2901case $0 in
2902 *[\\/]* ) as_myself=$0 ;;
2903 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904for as_dir in $PATH
2905do
2906 IFS=$as_save_IFS
2907 test -z "$as_dir" && as_dir=.
2908 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2909done
2910IFS=$as_save_IFS
2911
2912 ;;
2913esac
2914# We did not find ourselves, most probably we were run as `sh COMMAND'
2915# in which case we are not to be found in the path.
2916if test "x$as_myself" = x; then
2917 as_myself=$0
2918fi
2919if test ! -f "$as_myself"; then
2920 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2921 { (exit 1); exit 1; }
2922fi
2923
2924# Work around bugs in pre-3.0 UWIN ksh.
2925for as_var in ENV MAIL MAILPATH
2926do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2927done
2928PS1='$ '
2929PS2='> '
2930PS4='+ '
2931
2932# NLS nuisances.
2933LC_ALL=C
2934export LC_ALL
2935LANGUAGE=C
2936export LANGUAGE
2937
2938# Required to use basename.
2939if expr a : '\(a\)' >/dev/null 2>&1 &&
2940 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2941 as_expr=expr
2942else
2943 as_expr=false
2944fi
2945
2946if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2947 as_basename=basename
2948else
2949 as_basename=false
2950fi
2951
2952
2953# Name of the executable.
2954as_me=`$as_basename -- "$0" ||
2955$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2956 X"$0" : 'X\(//\)$' \| \
2957 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2958$as_echo X/"$0" |
2959 sed '/^.*\/\([^/][^/]*\)\/*$/{
2960 s//\1/
2961 q
2962 }
2963 /^X\/\(\/\/\)$/{
2964 s//\1/
2965 q
2966 }
2967 /^X\/\(\/\).*/{
2968 s//\1/
2969 q
2970 }
2971 s/.*/./; q'`
2972
2973# CDPATH.
2974$as_unset CDPATH
2975
2976
2977
2978 as_lineno_1=$LINENO
2979 as_lineno_2=$LINENO
2980 test "x$as_lineno_1" != "x$as_lineno_2" &&
2981 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2982
2983 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2984 # uniformly replaced by the line number. The first 'sed' inserts a
2985 # line-number line after each line using $LINENO; the second 'sed'
2986 # does the real work. The second script uses 'N' to pair each
2987 # line-number line with the line containing $LINENO, and appends
2988 # trailing '-' during substitution so that $LINENO is not a special
2989 # case at line end.
2990 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2991 # scripts with optimization help from Paolo Bonzini. Blame Lee
2992 # E. McMahon (1931-1989) for sed's syntax. :-)
2993 sed -n '
2994 p
2995 /[$]LINENO/=
2996 ' <$as_myself |
2997 sed '
2998 s/[$]LINENO.*/&-/
2999 t lineno
3000 b
3001 :lineno
3002 N
3003 :loop
3004 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3005 t loop
3006 s/-\n.*//
3007 ' >$as_me.lineno &&
3008 chmod +x "$as_me.lineno" ||
3009 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3010 { (exit 1); exit 1; }; }
3011
3012 # Don't try to exec as it changes $[0], causing all sort of problems
3013 # (the dirname of $[0] is not the place where we might find the
3014 # original and so on. Autoconf is especially sensitive to this).
3015 . "./$as_me.lineno"
3016 # Exit status is that of the last command.
3017 exit
3018}
3019
3020
3021if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3022 as_dirname=dirname
3023else
3024 as_dirname=false
3025fi
3026
3027ECHO_C= ECHO_N= ECHO_T=
3028case `echo -n x` in
3029-n*)
3030 case `echo 'x\c'` in
3031 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3032 *) ECHO_C='\c';;
3033 esac;;
3034*)
3035 ECHO_N='-n';;
3036esac
3037if expr a : '\(a\)' >/dev/null 2>&1 &&
3038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3039 as_expr=expr
3040else
3041 as_expr=false
3042fi
3043
3044rm -f conf$$ conf$$.exe conf$$.file
3045if test -d conf$$.dir; then
3046 rm -f conf$$.dir/conf$$.file
3047else
3048 rm -f conf$$.dir
3049 mkdir conf$$.dir 2>/dev/null
3050fi
3051if (echo >conf$$.file) 2>/dev/null; then
3052 if ln -s conf$$.file conf$$ 2>/dev/null; then
3053 as_ln_s='ln -s'
3054 # ... but there are two gotchas:
3055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3057 # In both cases, we have to default to `cp -p'.
3058 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3059 as_ln_s='cp -p'
3060 elif ln conf$$.file conf$$ 2>/dev/null; then
3061 as_ln_s=ln
3062 else
3063 as_ln_s='cp -p'
3064 fi
3065else
3066 as_ln_s='cp -p'
3067fi
3068rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3069rmdir conf$$.dir 2>/dev/null
3070
3071if mkdir -p . 2>/dev/null; then
3072 as_mkdir_p=:
3073else
3074 test -d ./-p && rmdir ./-p
3075 as_mkdir_p=false
3076fi
3077
3078if test -x / >/dev/null 2>&1; then
3079 as_test_x='test -x'
3080else
3081 if ls -dL / >/dev/null 2>&1; then
3082 as_ls_L_option=L
3083 else
3084 as_ls_L_option=
3085 fi
3086 as_test_x='
3087 eval sh -c '\''
3088 if test -d "$1"; then
3089 test -d "$1/.";
3090 else
3091 case $1 in
3092 -*)set "./$1";;
3093 esac;
3094 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3095 ???[sx]*):;;*)false;;esac;fi
3096 '\'' sh
3097 '
3098fi
3099as_executable_p=$as_test_x
3100
3101# Sed expression to map a string onto a valid CPP name.
3102as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3103
3104# Sed expression to map a string onto a valid variable name.
3105as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3106
3107
3108exec 6>&1
3109
3110# Save the log message, to keep $[0] and so on meaningful, and to
3111# report actual input values of CONFIG_FILES etc. instead of their
3112# values after options handling.
3113ac_log="
3114This file was extended by $as_me, which was
3115generated by GNU Autoconf 2.63. Invocation command line was
3116
3117 CONFIG_FILES = $CONFIG_FILES
3118 CONFIG_HEADERS = $CONFIG_HEADERS
3119 CONFIG_LINKS = $CONFIG_LINKS
3120 CONFIG_COMMANDS = $CONFIG_COMMANDS
3121 $ $0 $@
3122
3123on `(hostname || uname -n) 2>/dev/null | sed 1q`
3124"
3125
3126_ACEOF
3127
3128case $ac_config_files in *"
3129"*) set x $ac_config_files; shift; ac_config_files=$*;;
3130esac
3131
3132
3133
3134cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3135# Files that config.status was made for.
3136config_files="$ac_config_files"
3137config_commands="$ac_config_commands"
3138
3139_ACEOF
3140
3141cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3142ac_cs_usage="\
3143\`$as_me' instantiates files from templates according to the
3144current configuration.
3145
3146Usage: $0 [OPTION]... [FILE]...
3147
3148 -h, --help print this help, then exit
3149 -V, --version print version number and configuration settings, then exit
3150 -q, --quiet, --silent
3151 do not print progress messages
3152 -d, --debug don't remove temporary files
3153 --recheck update $as_me by reconfiguring in the same conditions
3154 --file=FILE[:TEMPLATE]
3155 instantiate the configuration file FILE
3156
3157Configuration files:
3158$config_files
3159
3160Configuration commands:
3161$config_commands
3162
3163Report bugs to <bug-autoconf@gnu.org>."
3164
3165_ACEOF
3166cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3167ac_cs_version="\\
3168config.status
3169configured by $0, generated by GNU Autoconf 2.63,
3170 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3171
3172Copyright (C) 2008 Free Software Foundation, Inc.
3173This config.status script is free software; the Free Software Foundation
3174gives unlimited permission to copy, distribute and modify it."
3175
3176ac_pwd='$ac_pwd'
3177srcdir='$srcdir'
3178INSTALL='$INSTALL'
3179test -n "\$AWK" || AWK=awk
3180_ACEOF
3181
3182cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3183# The default lists apply if the user does not specify any file.
3184ac_need_defaults=:
3185while test $# != 0
3186do
3187 case $1 in
3188 --*=*)
3189 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3190 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3191 ac_shift=:
3192 ;;
3193 *)
3194 ac_option=$1
3195 ac_optarg=$2
3196 ac_shift=shift
3197 ;;
3198 esac
3199
3200 case $ac_option in
3201 # Handling of the options.
3202 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3203 ac_cs_recheck=: ;;
3204 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3205 $as_echo "$ac_cs_version"; exit ;;
3206 --debug | --debu | --deb | --de | --d | -d )
3207 debug=: ;;
3208 --file | --fil | --fi | --f )
3209 $ac_shift
3210 case $ac_optarg in
3211 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3212 esac
3213 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3214 ac_need_defaults=false;;
3215 --he | --h | --help | --hel | -h )
3216 $as_echo "$ac_cs_usage"; exit ;;
3217 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3218 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3219 ac_cs_silent=: ;;
3220
3221 # This is an error.
3222 -*) { $as_echo "$as_me: error: unrecognized option: $1
3223Try \`$0 --help' for more information." >&2
3224 { (exit 1); exit 1; }; } ;;
3225
3226 *) ac_config_targets="$ac_config_targets $1"
3227 ac_need_defaults=false ;;
3228
3229 esac
3230 shift
3231done
3232
3233ac_configure_extra_args=
3234
3235if $ac_cs_silent; then
3236 exec 6>/dev/null
3237 ac_configure_extra_args="$ac_configure_extra_args --silent"
3238fi
3239
3240_ACEOF
3241cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3242if \$ac_cs_recheck; then
3243 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3244 shift
3245 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3246 CONFIG_SHELL='$SHELL'
3247 export CONFIG_SHELL
3248 exec "\$@"
3249fi
3250
3251_ACEOF
3252cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3253exec 5>>config.log
3254{
3255 echo
3256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3257## Running $as_me. ##
3258_ASBOX
3259 $as_echo "$ac_log"
3260} >&5
3261
3262_ACEOF
3263cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3264#
3265# INIT-COMMANDS
3266#
3267AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3268srcdir=${srcdir}
3269target=${target}
3270with_multisubdir=${with_multisubdir}
3271ac_configure_args="${ac_configure_args} --enable-multilib"
3272CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3273libgloss_topdir=${libgloss_topdir}
3274
3275
3276_ACEOF
3277
3278cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3279
3280# Handling of arguments.
3281for ac_config_target in $ac_config_targets
3282do
3283 case $ac_config_target in
3284 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3285 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3286
3287 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3288$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3289 { (exit 1); exit 1; }; };;
3290 esac
3291done
3292
3293
3294# If the user did not use the arguments to specify the items to instantiate,
3295# then the envvar interface is used. Set only those that are not.
3296# We use the long form for the default assignment because of an extremely
3297# bizarre bug on SunOS 4.1.3.
3298if $ac_need_defaults; then
3299 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3300 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3301fi
3302
3303# Have a temporary directory for convenience. Make it in the build tree
3304# simply because there is no reason against having it here, and in addition,
3305# creating and moving files from /tmp can sometimes cause problems.
3306# Hook for its removal unless debugging.
3307# Note that there is a small window in which the directory will not be cleaned:
3308# after its creation but before its name has been assigned to `$tmp'.
3309$debug ||
3310{
3311 tmp=
3312 trap 'exit_status=$?
3313 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3314' 0
3315 trap '{ (exit 1); exit 1; }' 1 2 13 15
3316}
3317# Create a (secure) tmp directory for tmp files.
3318
3319{
3320 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3321 test -n "$tmp" && test -d "$tmp"
3322} ||
3323{
3324 tmp=./conf$$-$RANDOM
3325 (umask 077 && mkdir "$tmp")
3326} ||
3327{
3328 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3329 { (exit 1); exit 1; }
3330}
3331
3332# Set up the scripts for CONFIG_FILES section.
3333# No need to generate them if there are no CONFIG_FILES.
3334# This happens for instance with `./config.status config.h'.
3335if test -n "$CONFIG_FILES"; then
3336
3337if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3338 ac_cs_awk_getline=:
3339 ac_cs_awk_pipe_init=
3340 ac_cs_awk_read_file='
3341 while ((getline aline < (F[key])) > 0)
3342 print(aline)
3343 close(F[key])'
3344 ac_cs_awk_pipe_fini=
3345else
3346 ac_cs_awk_getline=false
3347 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3348 ac_cs_awk_read_file='
3349 print "|#_!!_#|"
3350 print "cat " F[key] " &&"
3351 '$ac_cs_awk_pipe_init
3352 # The final `:' finishes the AND list.
3353 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3354fi
3355ac_cr='
3356'
3357ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3358if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3359 ac_cs_awk_cr='\\r'
3360else
3361 ac_cs_awk_cr=$ac_cr
3362fi
3363
3364echo 'BEGIN {' >"$tmp/subs1.awk" &&
3365_ACEOF
3366
3367# Create commands to substitute file output variables.
3368{
3369 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3370 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
3371 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3372 echo "_ACAWK" &&
3373 echo "_ACEOF"
3374} >conf$$files.sh &&
3375. ./conf$$files.sh ||
3376 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3377$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3378 { (exit 1); exit 1; }; }
3379rm -f conf$$files.sh
3380
3381{
3382 echo "cat >conf$$subs.awk <<_ACEOF" &&
3383 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3384 echo "_ACEOF"
3385} >conf$$subs.sh ||
3386 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3387$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3388 { (exit 1); exit 1; }; }
3389ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3390ac_delim='%!_!# '
3391for ac_last_try in false false false false false :; do
3392 . ./conf$$subs.sh ||
3393 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3394$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3395 { (exit 1); exit 1; }; }
3396
3397 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3398 if test $ac_delim_n = $ac_delim_num; then
3399 break
3400 elif $ac_last_try; then
3401 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3402$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3403 { (exit 1); exit 1; }; }
3404 else
3405 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3406 fi
3407done
3408rm -f conf$$subs.sh
3409
3410cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3411cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3412_ACEOF
3413sed -n '
3414h
3415s/^/S["/; s/!.*/"]=/
3416p
3417g
3418s/^[^!]*!//
3419:repl
3420t repl
3421s/'"$ac_delim"'$//
3422t delim
3423:nl
3424h
3425s/\(.\{148\}\).*/\1/
3426t more1
3427s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3428p
3429n
3430b repl
3431:more1
3432s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3433p
3434g
3435s/.\{148\}//
3436t nl
3437:delim
3438h
3439s/\(.\{148\}\).*/\1/
3440t more2
3441s/["\\]/\\&/g; s/^/"/; s/$/"/
3442p
3443b
3444:more2
3445s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3446p
3447g
3448s/.\{148\}//
3449t delim
3450' <conf$$subs.awk | sed '
3451/^[^""]/{
3452 N
3453 s/\n//
3454}
3455' >>$CONFIG_STATUS || ac_write_fail=1
3456rm -f conf$$subs.awk
3457cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3458_ACAWK
3459cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3460 for (key in S) S_is_set[key] = 1
3461 FS = ""
3462 \$ac_cs_awk_pipe_init
3463}
3464{
3465 line = $ 0
3466 nfields = split(line, field, "@")
3467 substed = 0
3468 len = length(field[1])
3469 for (i = 2; i < nfields; i++) {
3470 key = field[i]
3471 keylen = length(key)
3472 if (S_is_set[key]) {
3473 value = S[key]
3474 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3475 len += length(value) + length(field[++i])
3476 substed = 1
3477 } else
3478 len += 1 + keylen
3479 }
3480 if (nfields == 3 && !substed) {
3481 key = field[2]
3482 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
3483 \$ac_cs_awk_read_file
3484 next
3485 }
3486 }
3487 print line
3488}
3489\$ac_cs_awk_pipe_fini
3490_ACAWK
3491_ACEOF
3492cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3493if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3494 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3495else
3496 cat
3497fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3498 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3499$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3500 { (exit 1); exit 1; }; }
3501_ACEOF
3502
3503# VPATH may cause trouble with some makes, so we remove $(srcdir),
3504# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3505# trailing colons and then remove the whole line if VPATH becomes empty
3506# (actually we leave an empty line to preserve line numbers).
3507if test "x$srcdir" = x.; then
3508 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3509s/:*\$(srcdir):*/:/
3510s/:*\${srcdir}:*/:/
3511s/:*@srcdir@:*/:/
3512s/^\([^=]*=[ ]*\):*/\1/
3513s/:*$//
3514s/^[^=]*=[ ]*$//
3515}'
3516fi
3517
3518cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3519fi # test -n "$CONFIG_FILES"
3520
3521
3522eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3523shift
3524for ac_tag
3525do
3526 case $ac_tag in
3527 :[FHLC]) ac_mode=$ac_tag; continue;;
3528 esac
3529 case $ac_mode$ac_tag in
3530 :[FHL]*:*);;
3531 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3532$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3533 { (exit 1); exit 1; }; };;
3534 :[FH]-) ac_tag=-:-;;
3535 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3536 esac
3537 ac_save_IFS=$IFS
3538 IFS=:
3539 set x $ac_tag
3540 IFS=$ac_save_IFS
3541 shift
3542 ac_file=$1
3543 shift
3544
3545 case $ac_mode in
3546 :L) ac_source=$1;;
3547 :[FH])
3548 ac_file_inputs=
3549 for ac_f
3550 do
3551 case $ac_f in
3552 -) ac_f="$tmp/stdin";;
3553 *) # Look for the file first in the build tree, then in the source tree
3554 # (if the path is not absolute). The absolute path cannot be DOS-style,
3555 # because $ac_f cannot contain `:'.
3556 test -f "$ac_f" ||
3557 case $ac_f in
3558 [\\/$]*) false;;
3559 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3560 esac ||
3561 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3562$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3563 { (exit 1); exit 1; }; };;
3564 esac
3565 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3566 ac_file_inputs="$ac_file_inputs '$ac_f'"
3567 done
3568
3569 # Let's still pretend it is `configure' which instantiates (i.e., don't
3570 # use $as_me), people would be surprised to read:
3571 # /* config.h. Generated by config.status. */
3572 configure_input='Generated from '`
3573 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3574 `' by configure.'
3575 if test x"$ac_file" != x-; then
3576 configure_input="$ac_file. $configure_input"
3577 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3578$as_echo "$as_me: creating $ac_file" >&6;}
3579 fi
3580 # Neutralize special characters interpreted by sed in replacement strings.
3581 case $configure_input in #(
3582 *\&* | *\|* | *\\* )
3583 ac_sed_conf_input=`$as_echo "$configure_input" |
3584 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3585 *) ac_sed_conf_input=$configure_input;;
3586 esac
3587
3588 case $ac_tag in
3589 *:-:* | *:-) cat >"$tmp/stdin" \
3590 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3591$as_echo "$as_me: error: could not create $ac_file" >&2;}
3592 { (exit 1); exit 1; }; } ;;
3593 esac
3594 ;;
3595 esac
3596
3597 ac_dir=`$as_dirname -- "$ac_file" ||
3598$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3599 X"$ac_file" : 'X\(//\)[^/]' \| \
3600 X"$ac_file" : 'X\(//\)$' \| \
3601 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3602$as_echo X"$ac_file" |
3603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3604 s//\1/
3605 q
3606 }
3607 /^X\(\/\/\)[^/].*/{
3608 s//\1/
3609 q
3610 }
3611 /^X\(\/\/\)$/{
3612 s//\1/
3613 q
3614 }
3615 /^X\(\/\).*/{
3616 s//\1/
3617 q
3618 }
3619 s/.*/./; q'`
3620 { as_dir="$ac_dir"
3621 case $as_dir in #(
3622 -*) as_dir=./$as_dir;;
3623 esac
3624 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3625 as_dirs=
3626 while :; do
3627 case $as_dir in #(
3628 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3629 *) as_qdir=$as_dir;;
3630 esac
3631 as_dirs="'$as_qdir' $as_dirs"
3632 as_dir=`$as_dirname -- "$as_dir" ||
3633$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3634 X"$as_dir" : 'X\(//\)[^/]' \| \
3635 X"$as_dir" : 'X\(//\)$' \| \
3636 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3637$as_echo X"$as_dir" |
3638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3639 s//\1/
3640 q
3641 }
3642 /^X\(\/\/\)[^/].*/{
3643 s//\1/
3644 q
3645 }
3646 /^X\(\/\/\)$/{
3647 s//\1/
3648 q
3649 }
3650 /^X\(\/\).*/{
3651 s//\1/
3652 q
3653 }
3654 s/.*/./; q'`
3655 test -d "$as_dir" && break
3656 done
3657 test -z "$as_dirs" || eval "mkdir $as_dirs"
3658 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3659$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3660 { (exit 1); exit 1; }; }; }
3661 ac_builddir=.
3662
3663case "$ac_dir" in
3664.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3665*)
3666 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3667 # A ".." for each directory in $ac_dir_suffix.
3668 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3669 case $ac_top_builddir_sub in
3670 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3671 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3672 esac ;;
3673esac
3674ac_abs_top_builddir=$ac_pwd
3675ac_abs_builddir=$ac_pwd$ac_dir_suffix
3676# for backward compatibility:
3677ac_top_builddir=$ac_top_build_prefix
3678
3679case $srcdir in
3680 .) # We are building in place.
3681 ac_srcdir=.
3682 ac_top_srcdir=$ac_top_builddir_sub
3683 ac_abs_top_srcdir=$ac_pwd ;;
3684 [\\/]* | ?:[\\/]* ) # Absolute name.
3685 ac_srcdir=$srcdir$ac_dir_suffix;
3686 ac_top_srcdir=$srcdir
3687 ac_abs_top_srcdir=$srcdir ;;
3688 *) # Relative name.
3689 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3690 ac_top_srcdir=$ac_top_build_prefix$srcdir
3691 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3692esac
3693ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3694
3695
3696 case $ac_mode in
3697 :F)
3698 #
3699 # CONFIG_FILE
3700 #
3701
3702 case $INSTALL in
3703 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3704 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3705 esac
3706_ACEOF
3707
3708cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3709# If the template does not know about datarootdir, expand it.
3710# FIXME: This hack should be removed a few years after 2.60.
3711ac_datarootdir_hack=; ac_datarootdir_seen=
3712
3713ac_sed_dataroot='
3714/datarootdir/ {
3715 p
3716 q
3717}
3718/@datadir@/p
3719/@docdir@/p
3720/@infodir@/p
3721/@localedir@/p
3722/@mandir@/p
3723'
3724case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3725*datarootdir*) ac_datarootdir_seen=yes;;
3726*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3727 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3728$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3729_ACEOF
3730cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3731 ac_datarootdir_hack='
3732 s&@datadir@&$datadir&g
3733 s&@docdir@&$docdir&g
3734 s&@infodir@&$infodir&g
3735 s&@localedir@&$localedir&g
3736 s&@mandir@&$mandir&g
3737 s&\\\${datarootdir}&$datarootdir&g' ;;
3738esac
3739_ACEOF
3740
3741# Neutralize VPATH when `$srcdir' = `.'.
3742# Shell code in configure.ac might set extrasub.
3743# FIXME: do we really want to maintain this feature?
3744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3745ac_sed_extra="$ac_vpsub
3746$extrasub
3747_ACEOF
3748cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3749:t
3750/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3751s|@configure_input@|$ac_sed_conf_input|;t t
3752s&@top_builddir@&$ac_top_builddir_sub&;t t
3753s&@top_build_prefix@&$ac_top_build_prefix&;t t
3754s&@srcdir@&$ac_srcdir&;t t
3755s&@abs_srcdir@&$ac_abs_srcdir&;t t
3756s&@top_srcdir@&$ac_top_srcdir&;t t
3757s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3758s&@builddir@&$ac_builddir&;t t
3759s&@abs_builddir@&$ac_abs_builddir&;t t
3760s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3761s&@INSTALL@&$ac_INSTALL&;t t
3762$ac_datarootdir_hack
3763"
3764eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3765if $ac_cs_awk_getline; then
3766 $AWK -f "$tmp/subs.awk"
3767else
3768 $AWK -f "$tmp/subs.awk" | $SHELL
3769fi >$tmp/out \
3770 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3771$as_echo "$as_me: error: could not create $ac_file" >&2;}
3772 { (exit 1); exit 1; }; }
3773
3774test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3775 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3776 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3777 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3778which seems to be undefined. Please make sure it is defined." >&5
3779$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3780which seems to be undefined. Please make sure it is defined." >&2;}
3781
3782 rm -f "$tmp/stdin"
3783 case $ac_file in
3784 -) cat "$tmp/out" && rm -f "$tmp/out";;
3785 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3786 esac \
3787 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3788$as_echo "$as_me: error: could not create $ac_file" >&2;}
3789 { (exit 1); exit 1; }; }
3790 ;;
3791
3792
3793 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3794$as_echo "$as_me: executing $ac_file commands" >&6;}
3795 ;;
3796 esac
3797
3798
3799 case $ac_file$ac_mode in
3800 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
3801 # Autoconf 2.62 quotes --file arguments for eval, but not when files
3802 # are listed without --file. Let's play safe and only enable the eval
3803 # if we detect the quoting.
3804 case $CONFIG_FILES in
3805 *\'*) eval set x "$CONFIG_FILES" ;;
3806 *) set x $CONFIG_FILES ;;
3807 esac
3808 shift
3809 for mf
3810 do
3811 # Strip MF so we end up with the name of the file.
3812 mf=`echo "$mf" | sed -e 's/:.*$//'`
3813 # Check whether this is an Automake generated Makefile or not.
3814 # We used to match only the files named `Makefile.in', but
3815 # some people rename them; so instead we look at the file content.
3816 # Grep'ing the first line is not enough: some people post-process
3817 # each Makefile.in and add a new line on top of each file to say so.
3818 # Grep'ing the whole file is not good either: AIX grep has a line
3819 # limit of 2048, but all sed's we know have understand at least 4000.
3820 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3821 dirpart=`$as_dirname -- "$mf" ||
3822$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3823 X"$mf" : 'X\(//\)[^/]' \| \
3824 X"$mf" : 'X\(//\)$' \| \
3825 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3826$as_echo X"$mf" |
3827 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3828 s//\1/
3829 q
3830 }
3831 /^X\(\/\/\)[^/].*/{
3832 s//\1/
3833 q
3834 }
3835 /^X\(\/\/\)$/{
3836 s//\1/
3837 q
3838 }
3839 /^X\(\/\).*/{
3840 s//\1/
3841 q
3842 }
3843 s/.*/./; q'`
3844 else
3845 continue
3846 fi
3847 # Extract the definition of DEPDIR, am__include, and am__quote
3848 # from the Makefile without running `make'.
3849 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3850 test -z "$DEPDIR" && continue
3851 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3852 test -z "am__include" && continue
3853 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3854 # When using ansi2knr, U may be empty or an underscore; expand it
3855 U=`sed -n 's/^U = //p' < "$mf"`
3856 # Find all dependency output files, they are included files with
3857 # $(DEPDIR) in their names. We invoke sed twice because it is the
3858 # simplest approach to changing $(DEPDIR) to its actual value in the
3859 # expansion.
3860 for file in `sed -n "
3861 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3862 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3863 # Make sure the directory exists.
3864 test -f "$dirpart/$file" && continue
3865 fdir=`$as_dirname -- "$file" ||
3866$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3867 X"$file" : 'X\(//\)[^/]' \| \
3868 X"$file" : 'X\(//\)$' \| \
3869 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3870$as_echo X"$file" |
3871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3872 s//\1/
3873 q
3874 }
3875 /^X\(\/\/\)[^/].*/{
3876 s//\1/
3877 q
3878 }
3879 /^X\(\/\/\)$/{
3880 s//\1/
3881 q
3882 }
3883 /^X\(\/\).*/{
3884 s//\1/
3885 q
3886 }
3887 s/.*/./; q'`
3888 { as_dir=$dirpart/$fdir
3889 case $as_dir in #(
3890 -*) as_dir=./$as_dir;;
3891 esac
3892 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3893 as_dirs=
3894 while :; do
3895 case $as_dir in #(
3896 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3897 *) as_qdir=$as_dir;;
3898 esac
3899 as_dirs="'$as_qdir' $as_dirs"
3900 as_dir=`$as_dirname -- "$as_dir" ||
3901$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3902 X"$as_dir" : 'X\(//\)[^/]' \| \
3903 X"$as_dir" : 'X\(//\)$' \| \
3904 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3905$as_echo X"$as_dir" |
3906 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3907 s//\1/
3908 q
3909 }
3910 /^X\(\/\/\)[^/].*/{
3911 s//\1/
3912 q
3913 }
3914 /^X\(\/\/\)$/{
3915 s//\1/
3916 q
3917 }
3918 /^X\(\/\).*/{
3919 s//\1/
3920 q
3921 }
3922 s/.*/./; q'`
3923 test -d "$as_dir" && break
3924 done
3925 test -z "$as_dirs" || eval "mkdir $as_dirs"
3926 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3927$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3928 { (exit 1); exit 1; }; }; }
3929 # echo "creating $dirpart/$file"
3930 echo '# dummy' > "$dirpart/$file"
3931 done
3932 done
3933}
3934 ;;
3935 "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
3936
3937 esac
3938done # for ac_tag
3939
3940
3941{ (exit 0); exit 0; }
3942_ACEOF
3943chmod +x $CONFIG_STATUS
3944ac_clean_files=$ac_clean_files_save
3945
3946test $ac_write_fail = 0 ||
3947 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3948$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3949 { (exit 1); exit 1; }; }
3950
3951
3952# configure is writing to config.log, and then calls config.status.
3953# config.status does its own redirection, appending to config.log.
3954# Unfortunately, on DOS this fails, as config.log is still kept open
3955# by configure, so config.status won't be able to write to it; its
3956# output is simply discarded. So we exec the FD to /dev/null,
3957# effectively closing config.log, so it can be properly (re)opened and
3958# appended to by config.status. When coming back to configure, we
3959# need to make the FD available again.
3960if test "$no_create" != yes; then
3961 ac_cs_success=:
3962 ac_config_status_args=
3963 test "$silent" = yes &&
3964 ac_config_status_args="$ac_config_status_args --quiet"
3965 exec 5>/dev/null
3966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3967 exec 5>>config.log
3968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3969 # would make configure fail if this is the last instruction.
3970 $ac_cs_success || { (exit 1); exit 1; }
3971fi
3972if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3973 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3974$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3975fi
3976
Note: See TracBrowser for help on using the repository browser.