source: trunk/libs/newlib/src/libgloss/tic6x/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
2530AS=${AS-as}
2531
2532AR=${AR-ar}
2533
2534LD=${LD-ld}
2535
2536if test -n "$ac_tool_prefix"; then
2537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2538set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2539{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2540$as_echo_n "checking for $ac_word... " >&6; }
2541if test "${ac_cv_prog_RANLIB+set}" = set; then
2542 $as_echo_n "(cached) " >&6
2543else
2544 if test -n "$RANLIB"; then
2545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2546else
2547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH
2549do
2550 IFS=$as_save_IFS
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2555 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2556 break 2
2557 fi
2558done
2559done
2560IFS=$as_save_IFS
2561
2562fi
2563fi
2564RANLIB=$ac_cv_prog_RANLIB
2565if test -n "$RANLIB"; then
2566 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
2567$as_echo "$RANLIB" >&6; }
2568else
2569 { $as_echo "$as_me:$LINENO: result: no" >&5
2570$as_echo "no" >&6; }
2571fi
2572
2573
2574fi
2575if test -z "$ac_cv_prog_RANLIB"; then
2576 ac_ct_RANLIB=$RANLIB
2577 # Extract the first word of "ranlib", so it can be a program name with args.
2578set dummy ranlib; ac_word=$2
2579{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2580$as_echo_n "checking for $ac_word... " >&6; }
2581if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2582 $as_echo_n "(cached) " >&6
2583else
2584 if test -n "$ac_ct_RANLIB"; then
2585 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2586else
2587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2588for as_dir in $PATH
2589do
2590 IFS=$as_save_IFS
2591 test -z "$as_dir" && as_dir=.
2592 for ac_exec_ext in '' $ac_executable_extensions; do
2593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2594 ac_cv_prog_ac_ct_RANLIB="ranlib"
2595 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2596 break 2
2597 fi
2598done
2599done
2600IFS=$as_save_IFS
2601
2602fi
2603fi
2604ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2605if test -n "$ac_ct_RANLIB"; then
2606 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2607$as_echo "$ac_ct_RANLIB" >&6; }
2608else
2609 { $as_echo "$as_me:$LINENO: result: no" >&5
2610$as_echo "no" >&6; }
2611fi
2612
2613 if test "x$ac_ct_RANLIB" = x; then
2614 RANLIB=":"
2615 else
2616 case $cross_compiling:$ac_tool_warned in
2617yes:)
2618{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620ac_tool_warned=yes ;;
2621esac
2622 RANLIB=$ac_ct_RANLIB
2623 fi
2624else
2625 RANLIB="$ac_cv_prog_RANLIB"
2626fi
2627
2628# By default we simply use the C compiler to build assembly code.
2629
2630test "${CCAS+set}" = set || CCAS=$CC
2631test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2632
2633
2634
2635
2636host_makefile_frag=${srcdir}/../config/default.mh
2637
2638host_makefile_frag_path=$host_makefile_frag
2639
2640
2641
2642ac_config_files="$ac_config_files Makefile"
2643
2644cat >confcache <<\_ACEOF
2645# This file is a shell script that caches the results of configure
2646# tests run on this system so they can be shared between configure
2647# scripts and configure runs, see configure's option --config-cache.
2648# It is not useful on other systems. If it contains results you don't
2649# want to keep, you may remove or edit it.
2650#
2651# config.status only pays attention to the cache file if you give it
2652# the --recheck option to rerun configure.
2653#
2654# `ac_cv_env_foo' variables (set or unset) will be overridden when
2655# loading this file, other *unset* `ac_cv_foo' will be assigned the
2656# following values.
2657
2658_ACEOF
2659
2660# The following way of writing the cache mishandles newlines in values,
2661# but we know of no workaround that is simple, portable, and efficient.
2662# So, we kill variables containing newlines.
2663# Ultrix sh set writes to stderr and can't be redirected directly,
2664# and sets the high bit in the cache file unless we assign to the vars.
2665(
2666 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2667 eval ac_val=\$$ac_var
2668 case $ac_val in #(
2669 *${as_nl}*)
2670 case $ac_var in #(
2671 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2672$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2673 esac
2674 case $ac_var in #(
2675 _ | IFS | as_nl) ;; #(
2676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2677 *) $as_unset $ac_var ;;
2678 esac ;;
2679 esac
2680 done
2681
2682 (set) 2>&1 |
2683 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2684 *${as_nl}ac_space=\ *)
2685 # `set' does not quote correctly, so add quotes (double-quote
2686 # substitution turns \\\\ into \\, and sed turns \\ into \).
2687 sed -n \
2688 "s/'/'\\\\''/g;
2689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2690 ;; #(
2691 *)
2692 # `set' quotes correctly as required by POSIX, so do not add quotes.
2693 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2694 ;;
2695 esac |
2696 sort
2697) |
2698 sed '
2699 /^ac_cv_env_/b end
2700 t clear
2701 :clear
2702 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2703 t end
2704 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2705 :end' >>confcache
2706if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2707 if test -w "$cache_file"; then
2708 test "x$cache_file" != "x/dev/null" &&
2709 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2710$as_echo "$as_me: updating cache $cache_file" >&6;}
2711 cat confcache >$cache_file
2712 else
2713 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2714$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2715 fi
2716fi
2717rm -f confcache
2718
2719test "x$prefix" = xNONE && prefix=$ac_default_prefix
2720# Let make expand exec_prefix.
2721test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2722
2723# Transform confdefs.h into DEFS.
2724# Protect against shell expansion while executing Makefile rules.
2725# Protect against Makefile macro expansion.
2726#
2727# If the first sed substitution is executed (which looks for macros that
2728# take arguments), then branch to the quote section. Otherwise,
2729# look for a macro that doesn't take arguments.
2730ac_script='
2731:mline
2732/\\$/{
2733 N
2734 s,\\\n,,
2735 b mline
2736}
2737t clear
2738:clear
2739s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2740t quote
2741s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2742t quote
2743b any
2744:quote
2745s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2746s/\[/\\&/g
2747s/\]/\\&/g
2748s/\$/$$/g
2749H
2750:any
2751${
2752 g
2753 s/^\n//
2754 s/\n/ /g
2755 p
2756}
2757'
2758DEFS=`sed -n "$ac_script" confdefs.h`
2759
2760
2761ac_libobjs=
2762ac_ltlibobjs=
2763for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2764 # 1. Remove the extension, and $U if already installed.
2765 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2766 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2767 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2768 # will be set to the directory where LIBOBJS objects are built.
2769 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2770 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2771done
2772LIBOBJS=$ac_libobjs
2773
2774LTLIBOBJS=$ac_ltlibobjs
2775
2776
2777if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2778 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2779Usually this means the macro was only invoked conditionally." >&5
2780$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
2781Usually this means the macro was only invoked conditionally." >&2;}
2782 { (exit 1); exit 1; }; }
2783fi
2784if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2785 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2786Usually this means the macro was only invoked conditionally." >&5
2787$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2788Usually this means the macro was only invoked conditionally." >&2;}
2789 { (exit 1); exit 1; }; }
2790fi
2791
2792: ${CONFIG_STATUS=./config.status}
2793ac_write_fail=0
2794ac_clean_files_save=$ac_clean_files
2795ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2796{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2797$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2798cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2799#! $SHELL
2800# Generated by $as_me.
2801# Run this file to recreate the current configuration.
2802# Compiler output produced by configure, useful for debugging
2803# configure, is in config.log if it exists.
2804
2805debug=false
2806ac_cs_recheck=false
2807ac_cs_silent=false
2808SHELL=\${CONFIG_SHELL-$SHELL}
2809_ACEOF
2810
2811cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2812## --------------------- ##
2813## M4sh Initialization. ##
2814## --------------------- ##
2815
2816# Be more Bourne compatible
2817DUALCASE=1; export DUALCASE # for MKS sh
2818if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2819 emulate sh
2820 NULLCMD=:
2821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2822 # is contrary to our usage. Disable this feature.
2823 alias -g '${1+"$@"}'='"$@"'
2824 setopt NO_GLOB_SUBST
2825else
2826 case `(set -o) 2>/dev/null` in
2827 *posix*) set -o posix ;;
2828esac
2829
2830fi
2831
2832
2833
2834
2835# PATH needs CR
2836# Avoid depending upon Character Ranges.
2837as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2838as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2839as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2840as_cr_digits='0123456789'
2841as_cr_alnum=$as_cr_Letters$as_cr_digits
2842
2843as_nl='
2844'
2845export as_nl
2846# Printing a long string crashes Solaris 7 /usr/bin/printf.
2847as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2848as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2849as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2850if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2851 as_echo='printf %s\n'
2852 as_echo_n='printf %s'
2853else
2854 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2855 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2856 as_echo_n='/usr/ucb/echo -n'
2857 else
2858 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2859 as_echo_n_body='eval
2860 arg=$1;
2861 case $arg in
2862 *"$as_nl"*)
2863 expr "X$arg" : "X\\(.*\\)$as_nl";
2864 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2865 esac;
2866 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2867 '
2868 export as_echo_n_body
2869 as_echo_n='sh -c $as_echo_n_body as_echo'
2870 fi
2871 export as_echo_body
2872 as_echo='sh -c $as_echo_body as_echo'
2873fi
2874
2875# The user is always right.
2876if test "${PATH_SEPARATOR+set}" != set; then
2877 PATH_SEPARATOR=:
2878 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2879 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2880 PATH_SEPARATOR=';'
2881 }
2882fi
2883
2884# Support unset when possible.
2885if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2886 as_unset=unset
2887else
2888 as_unset=false
2889fi
2890
2891
2892# IFS
2893# We need space, tab and new line, in precisely that order. Quoting is
2894# there to prevent editors from complaining about space-tab.
2895# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2896# splitting by setting IFS to empty value.)
2897IFS=" "" $as_nl"
2898
2899# Find who we are. Look in the path if we contain no directory separator.
2900case $0 in
2901 *[\\/]* ) as_myself=$0 ;;
2902 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903for as_dir in $PATH
2904do
2905 IFS=$as_save_IFS
2906 test -z "$as_dir" && as_dir=.
2907 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2908done
2909IFS=$as_save_IFS
2910
2911 ;;
2912esac
2913# We did not find ourselves, most probably we were run as `sh COMMAND'
2914# in which case we are not to be found in the path.
2915if test "x$as_myself" = x; then
2916 as_myself=$0
2917fi
2918if test ! -f "$as_myself"; then
2919 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2920 { (exit 1); exit 1; }
2921fi
2922
2923# Work around bugs in pre-3.0 UWIN ksh.
2924for as_var in ENV MAIL MAILPATH
2925do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2926done
2927PS1='$ '
2928PS2='> '
2929PS4='+ '
2930
2931# NLS nuisances.
2932LC_ALL=C
2933export LC_ALL
2934LANGUAGE=C
2935export LANGUAGE
2936
2937# Required to use basename.
2938if expr a : '\(a\)' >/dev/null 2>&1 &&
2939 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2940 as_expr=expr
2941else
2942 as_expr=false
2943fi
2944
2945if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2946 as_basename=basename
2947else
2948 as_basename=false
2949fi
2950
2951
2952# Name of the executable.
2953as_me=`$as_basename -- "$0" ||
2954$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2955 X"$0" : 'X\(//\)$' \| \
2956 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2957$as_echo X/"$0" |
2958 sed '/^.*\/\([^/][^/]*\)\/*$/{
2959 s//\1/
2960 q
2961 }
2962 /^X\/\(\/\/\)$/{
2963 s//\1/
2964 q
2965 }
2966 /^X\/\(\/\).*/{
2967 s//\1/
2968 q
2969 }
2970 s/.*/./; q'`
2971
2972# CDPATH.
2973$as_unset CDPATH
2974
2975
2976
2977 as_lineno_1=$LINENO
2978 as_lineno_2=$LINENO
2979 test "x$as_lineno_1" != "x$as_lineno_2" &&
2980 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2981
2982 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2983 # uniformly replaced by the line number. The first 'sed' inserts a
2984 # line-number line after each line using $LINENO; the second 'sed'
2985 # does the real work. The second script uses 'N' to pair each
2986 # line-number line with the line containing $LINENO, and appends
2987 # trailing '-' during substitution so that $LINENO is not a special
2988 # case at line end.
2989 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2990 # scripts with optimization help from Paolo Bonzini. Blame Lee
2991 # E. McMahon (1931-1989) for sed's syntax. :-)
2992 sed -n '
2993 p
2994 /[$]LINENO/=
2995 ' <$as_myself |
2996 sed '
2997 s/[$]LINENO.*/&-/
2998 t lineno
2999 b
3000 :lineno
3001 N
3002 :loop
3003 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3004 t loop
3005 s/-\n.*//
3006 ' >$as_me.lineno &&
3007 chmod +x "$as_me.lineno" ||
3008 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3009 { (exit 1); exit 1; }; }
3010
3011 # Don't try to exec as it changes $[0], causing all sort of problems
3012 # (the dirname of $[0] is not the place where we might find the
3013 # original and so on. Autoconf is especially sensitive to this).
3014 . "./$as_me.lineno"
3015 # Exit status is that of the last command.
3016 exit
3017}
3018
3019
3020if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3021 as_dirname=dirname
3022else
3023 as_dirname=false
3024fi
3025
3026ECHO_C= ECHO_N= ECHO_T=
3027case `echo -n x` in
3028-n*)
3029 case `echo 'x\c'` in
3030 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3031 *) ECHO_C='\c';;
3032 esac;;
3033*)
3034 ECHO_N='-n';;
3035esac
3036if expr a : '\(a\)' >/dev/null 2>&1 &&
3037 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3038 as_expr=expr
3039else
3040 as_expr=false
3041fi
3042
3043rm -f conf$$ conf$$.exe conf$$.file
3044if test -d conf$$.dir; then
3045 rm -f conf$$.dir/conf$$.file
3046else
3047 rm -f conf$$.dir
3048 mkdir conf$$.dir 2>/dev/null
3049fi
3050if (echo >conf$$.file) 2>/dev/null; then
3051 if ln -s conf$$.file conf$$ 2>/dev/null; then
3052 as_ln_s='ln -s'
3053 # ... but there are two gotchas:
3054 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3055 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3056 # In both cases, we have to default to `cp -p'.
3057 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3058 as_ln_s='cp -p'
3059 elif ln conf$$.file conf$$ 2>/dev/null; then
3060 as_ln_s=ln
3061 else
3062 as_ln_s='cp -p'
3063 fi
3064else
3065 as_ln_s='cp -p'
3066fi
3067rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3068rmdir conf$$.dir 2>/dev/null
3069
3070if mkdir -p . 2>/dev/null; then
3071 as_mkdir_p=:
3072else
3073 test -d ./-p && rmdir ./-p
3074 as_mkdir_p=false
3075fi
3076
3077if test -x / >/dev/null 2>&1; then
3078 as_test_x='test -x'
3079else
3080 if ls -dL / >/dev/null 2>&1; then
3081 as_ls_L_option=L
3082 else
3083 as_ls_L_option=
3084 fi
3085 as_test_x='
3086 eval sh -c '\''
3087 if test -d "$1"; then
3088 test -d "$1/.";
3089 else
3090 case $1 in
3091 -*)set "./$1";;
3092 esac;
3093 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3094 ???[sx]*):;;*)false;;esac;fi
3095 '\'' sh
3096 '
3097fi
3098as_executable_p=$as_test_x
3099
3100# Sed expression to map a string onto a valid CPP name.
3101as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3102
3103# Sed expression to map a string onto a valid variable name.
3104as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3105
3106
3107exec 6>&1
3108
3109# Save the log message, to keep $[0] and so on meaningful, and to
3110# report actual input values of CONFIG_FILES etc. instead of their
3111# values after options handling.
3112ac_log="
3113This file was extended by $as_me, which was
3114generated by GNU Autoconf 2.63. Invocation command line was
3115
3116 CONFIG_FILES = $CONFIG_FILES
3117 CONFIG_HEADERS = $CONFIG_HEADERS
3118 CONFIG_LINKS = $CONFIG_LINKS
3119 CONFIG_COMMANDS = $CONFIG_COMMANDS
3120 $ $0 $@
3121
3122on `(hostname || uname -n) 2>/dev/null | sed 1q`
3123"
3124
3125_ACEOF
3126
3127case $ac_config_files in *"
3128"*) set x $ac_config_files; shift; ac_config_files=$*;;
3129esac
3130
3131
3132
3133cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3134# Files that config.status was made for.
3135config_files="$ac_config_files"
3136config_commands="$ac_config_commands"
3137
3138_ACEOF
3139
3140cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3141ac_cs_usage="\
3142\`$as_me' instantiates files from templates according to the
3143current configuration.
3144
3145Usage: $0 [OPTION]... [FILE]...
3146
3147 -h, --help print this help, then exit
3148 -V, --version print version number and configuration settings, then exit
3149 -q, --quiet, --silent
3150 do not print progress messages
3151 -d, --debug don't remove temporary files
3152 --recheck update $as_me by reconfiguring in the same conditions
3153 --file=FILE[:TEMPLATE]
3154 instantiate the configuration file FILE
3155
3156Configuration files:
3157$config_files
3158
3159Configuration commands:
3160$config_commands
3161
3162Report bugs to <bug-autoconf@gnu.org>."
3163
3164_ACEOF
3165cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3166ac_cs_version="\\
3167config.status
3168configured by $0, generated by GNU Autoconf 2.63,
3169 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3170
3171Copyright (C) 2008 Free Software Foundation, Inc.
3172This config.status script is free software; the Free Software Foundation
3173gives unlimited permission to copy, distribute and modify it."
3174
3175ac_pwd='$ac_pwd'
3176srcdir='$srcdir'
3177INSTALL='$INSTALL'
3178test -n "\$AWK" || AWK=awk
3179_ACEOF
3180
3181cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3182# The default lists apply if the user does not specify any file.
3183ac_need_defaults=:
3184while test $# != 0
3185do
3186 case $1 in
3187 --*=*)
3188 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3189 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3190 ac_shift=:
3191 ;;
3192 *)
3193 ac_option=$1
3194 ac_optarg=$2
3195 ac_shift=shift
3196 ;;
3197 esac
3198
3199 case $ac_option in
3200 # Handling of the options.
3201 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3202 ac_cs_recheck=: ;;
3203 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3204 $as_echo "$ac_cs_version"; exit ;;
3205 --debug | --debu | --deb | --de | --d | -d )
3206 debug=: ;;
3207 --file | --fil | --fi | --f )
3208 $ac_shift
3209 case $ac_optarg in
3210 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3211 esac
3212 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3213 ac_need_defaults=false;;
3214 --he | --h | --help | --hel | -h )
3215 $as_echo "$ac_cs_usage"; exit ;;
3216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3218 ac_cs_silent=: ;;
3219
3220 # This is an error.
3221 -*) { $as_echo "$as_me: error: unrecognized option: $1
3222Try \`$0 --help' for more information." >&2
3223 { (exit 1); exit 1; }; } ;;
3224
3225 *) ac_config_targets="$ac_config_targets $1"
3226 ac_need_defaults=false ;;
3227
3228 esac
3229 shift
3230done
3231
3232ac_configure_extra_args=
3233
3234if $ac_cs_silent; then
3235 exec 6>/dev/null
3236 ac_configure_extra_args="$ac_configure_extra_args --silent"
3237fi
3238
3239_ACEOF
3240cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3241if \$ac_cs_recheck; then
3242 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3243 shift
3244 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3245 CONFIG_SHELL='$SHELL'
3246 export CONFIG_SHELL
3247 exec "\$@"
3248fi
3249
3250_ACEOF
3251cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3252exec 5>>config.log
3253{
3254 echo
3255 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3256## Running $as_me. ##
3257_ASBOX
3258 $as_echo "$ac_log"
3259} >&5
3260
3261_ACEOF
3262cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3263#
3264# INIT-COMMANDS
3265#
3266AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3267srcdir=${srcdir}
3268target=${target}
3269with_multisubdir=${with_multisubdir}
3270ac_configure_args="${ac_configure_args} --enable-multilib"
3271CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3272libgloss_topdir=${libgloss_topdir}
3273
3274
3275_ACEOF
3276
3277cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3278
3279# Handling of arguments.
3280for ac_config_target in $ac_config_targets
3281do
3282 case $ac_config_target in
3283 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3284 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3285
3286 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3287$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3288 { (exit 1); exit 1; }; };;
3289 esac
3290done
3291
3292
3293# If the user did not use the arguments to specify the items to instantiate,
3294# then the envvar interface is used. Set only those that are not.
3295# We use the long form for the default assignment because of an extremely
3296# bizarre bug on SunOS 4.1.3.
3297if $ac_need_defaults; then
3298 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3299 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3300fi
3301
3302# Have a temporary directory for convenience. Make it in the build tree
3303# simply because there is no reason against having it here, and in addition,
3304# creating and moving files from /tmp can sometimes cause problems.
3305# Hook for its removal unless debugging.
3306# Note that there is a small window in which the directory will not be cleaned:
3307# after its creation but before its name has been assigned to `$tmp'.
3308$debug ||
3309{
3310 tmp=
3311 trap 'exit_status=$?
3312 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3313' 0
3314 trap '{ (exit 1); exit 1; }' 1 2 13 15
3315}
3316# Create a (secure) tmp directory for tmp files.
3317
3318{
3319 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3320 test -n "$tmp" && test -d "$tmp"
3321} ||
3322{
3323 tmp=./conf$$-$RANDOM
3324 (umask 077 && mkdir "$tmp")
3325} ||
3326{
3327 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3328 { (exit 1); exit 1; }
3329}
3330
3331# Set up the scripts for CONFIG_FILES section.
3332# No need to generate them if there are no CONFIG_FILES.
3333# This happens for instance with `./config.status config.h'.
3334if test -n "$CONFIG_FILES"; then
3335
3336if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3337 ac_cs_awk_getline=:
3338 ac_cs_awk_pipe_init=
3339 ac_cs_awk_read_file='
3340 while ((getline aline < (F[key])) > 0)
3341 print(aline)
3342 close(F[key])'
3343 ac_cs_awk_pipe_fini=
3344else
3345 ac_cs_awk_getline=false
3346 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3347 ac_cs_awk_read_file='
3348 print "|#_!!_#|"
3349 print "cat " F[key] " &&"
3350 '$ac_cs_awk_pipe_init
3351 # The final `:' finishes the AND list.
3352 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3353fi
3354ac_cr='
3355'
3356ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3357if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3358 ac_cs_awk_cr='\\r'
3359else
3360 ac_cs_awk_cr=$ac_cr
3361fi
3362
3363echo 'BEGIN {' >"$tmp/subs1.awk" &&
3364_ACEOF
3365
3366# Create commands to substitute file output variables.
3367{
3368 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3369 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
3370 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3371 echo "_ACAWK" &&
3372 echo "_ACEOF"
3373} >conf$$files.sh &&
3374. ./conf$$files.sh ||
3375 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3376$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3377 { (exit 1); exit 1; }; }
3378rm -f conf$$files.sh
3379
3380{
3381 echo "cat >conf$$subs.awk <<_ACEOF" &&
3382 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3383 echo "_ACEOF"
3384} >conf$$subs.sh ||
3385 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3386$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3387 { (exit 1); exit 1; }; }
3388ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3389ac_delim='%!_!# '
3390for ac_last_try in false false false false false :; do
3391 . ./conf$$subs.sh ||
3392 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3393$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3394 { (exit 1); exit 1; }; }
3395
3396 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3397 if test $ac_delim_n = $ac_delim_num; then
3398 break
3399 elif $ac_last_try; then
3400 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3401$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3402 { (exit 1); exit 1; }; }
3403 else
3404 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3405 fi
3406done
3407rm -f conf$$subs.sh
3408
3409cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3410cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3411_ACEOF
3412sed -n '
3413h
3414s/^/S["/; s/!.*/"]=/
3415p
3416g
3417s/^[^!]*!//
3418:repl
3419t repl
3420s/'"$ac_delim"'$//
3421t delim
3422:nl
3423h
3424s/\(.\{148\}\).*/\1/
3425t more1
3426s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3427p
3428n
3429b repl
3430:more1
3431s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3432p
3433g
3434s/.\{148\}//
3435t nl
3436:delim
3437h
3438s/\(.\{148\}\).*/\1/
3439t more2
3440s/["\\]/\\&/g; s/^/"/; s/$/"/
3441p
3442b
3443:more2
3444s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3445p
3446g
3447s/.\{148\}//
3448t delim
3449' <conf$$subs.awk | sed '
3450/^[^""]/{
3451 N
3452 s/\n//
3453}
3454' >>$CONFIG_STATUS || ac_write_fail=1
3455rm -f conf$$subs.awk
3456cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3457_ACAWK
3458cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3459 for (key in S) S_is_set[key] = 1
3460 FS = ""
3461 \$ac_cs_awk_pipe_init
3462}
3463{
3464 line = $ 0
3465 nfields = split(line, field, "@")
3466 substed = 0
3467 len = length(field[1])
3468 for (i = 2; i < nfields; i++) {
3469 key = field[i]
3470 keylen = length(key)
3471 if (S_is_set[key]) {
3472 value = S[key]
3473 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3474 len += length(value) + length(field[++i])
3475 substed = 1
3476 } else
3477 len += 1 + keylen
3478 }
3479 if (nfields == 3 && !substed) {
3480 key = field[2]
3481 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
3482 \$ac_cs_awk_read_file
3483 next
3484 }
3485 }
3486 print line
3487}
3488\$ac_cs_awk_pipe_fini
3489_ACAWK
3490_ACEOF
3491cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3492if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3493 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3494else
3495 cat
3496fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3497 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3498$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3499 { (exit 1); exit 1; }; }
3500_ACEOF
3501
3502# VPATH may cause trouble with some makes, so we remove $(srcdir),
3503# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3504# trailing colons and then remove the whole line if VPATH becomes empty
3505# (actually we leave an empty line to preserve line numbers).
3506if test "x$srcdir" = x.; then
3507 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3508s/:*\$(srcdir):*/:/
3509s/:*\${srcdir}:*/:/
3510s/:*@srcdir@:*/:/
3511s/^\([^=]*=[ ]*\):*/\1/
3512s/:*$//
3513s/^[^=]*=[ ]*$//
3514}'
3515fi
3516
3517cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3518fi # test -n "$CONFIG_FILES"
3519
3520
3521eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3522shift
3523for ac_tag
3524do
3525 case $ac_tag in
3526 :[FHLC]) ac_mode=$ac_tag; continue;;
3527 esac
3528 case $ac_mode$ac_tag in
3529 :[FHL]*:*);;
3530 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3531$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3532 { (exit 1); exit 1; }; };;
3533 :[FH]-) ac_tag=-:-;;
3534 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3535 esac
3536 ac_save_IFS=$IFS
3537 IFS=:
3538 set x $ac_tag
3539 IFS=$ac_save_IFS
3540 shift
3541 ac_file=$1
3542 shift
3543
3544 case $ac_mode in
3545 :L) ac_source=$1;;
3546 :[FH])
3547 ac_file_inputs=
3548 for ac_f
3549 do
3550 case $ac_f in
3551 -) ac_f="$tmp/stdin";;
3552 *) # Look for the file first in the build tree, then in the source tree
3553 # (if the path is not absolute). The absolute path cannot be DOS-style,
3554 # because $ac_f cannot contain `:'.
3555 test -f "$ac_f" ||
3556 case $ac_f in
3557 [\\/$]*) false;;
3558 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3559 esac ||
3560 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3561$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3562 { (exit 1); exit 1; }; };;
3563 esac
3564 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3565 ac_file_inputs="$ac_file_inputs '$ac_f'"
3566 done
3567
3568 # Let's still pretend it is `configure' which instantiates (i.e., don't
3569 # use $as_me), people would be surprised to read:
3570 # /* config.h. Generated by config.status. */
3571 configure_input='Generated from '`
3572 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3573 `' by configure.'
3574 if test x"$ac_file" != x-; then
3575 configure_input="$ac_file. $configure_input"
3576 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3577$as_echo "$as_me: creating $ac_file" >&6;}
3578 fi
3579 # Neutralize special characters interpreted by sed in replacement strings.
3580 case $configure_input in #(
3581 *\&* | *\|* | *\\* )
3582 ac_sed_conf_input=`$as_echo "$configure_input" |
3583 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3584 *) ac_sed_conf_input=$configure_input;;
3585 esac
3586
3587 case $ac_tag in
3588 *:-:* | *:-) cat >"$tmp/stdin" \
3589 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3590$as_echo "$as_me: error: could not create $ac_file" >&2;}
3591 { (exit 1); exit 1; }; } ;;
3592 esac
3593 ;;
3594 esac
3595
3596 ac_dir=`$as_dirname -- "$ac_file" ||
3597$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3598 X"$ac_file" : 'X\(//\)[^/]' \| \
3599 X"$ac_file" : 'X\(//\)$' \| \
3600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3601$as_echo X"$ac_file" |
3602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3603 s//\1/
3604 q
3605 }
3606 /^X\(\/\/\)[^/].*/{
3607 s//\1/
3608 q
3609 }
3610 /^X\(\/\/\)$/{
3611 s//\1/
3612 q
3613 }
3614 /^X\(\/\).*/{
3615 s//\1/
3616 q
3617 }
3618 s/.*/./; q'`
3619 { as_dir="$ac_dir"
3620 case $as_dir in #(
3621 -*) as_dir=./$as_dir;;
3622 esac
3623 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3624 as_dirs=
3625 while :; do
3626 case $as_dir in #(
3627 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3628 *) as_qdir=$as_dir;;
3629 esac
3630 as_dirs="'$as_qdir' $as_dirs"
3631 as_dir=`$as_dirname -- "$as_dir" ||
3632$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3633 X"$as_dir" : 'X\(//\)[^/]' \| \
3634 X"$as_dir" : 'X\(//\)$' \| \
3635 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3636$as_echo X"$as_dir" |
3637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3638 s//\1/
3639 q
3640 }
3641 /^X\(\/\/\)[^/].*/{
3642 s//\1/
3643 q
3644 }
3645 /^X\(\/\/\)$/{
3646 s//\1/
3647 q
3648 }
3649 /^X\(\/\).*/{
3650 s//\1/
3651 q
3652 }
3653 s/.*/./; q'`
3654 test -d "$as_dir" && break
3655 done
3656 test -z "$as_dirs" || eval "mkdir $as_dirs"
3657 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3658$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3659 { (exit 1); exit 1; }; }; }
3660 ac_builddir=.
3661
3662case "$ac_dir" in
3663.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3664*)
3665 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3666 # A ".." for each directory in $ac_dir_suffix.
3667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3668 case $ac_top_builddir_sub in
3669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3671 esac ;;
3672esac
3673ac_abs_top_builddir=$ac_pwd
3674ac_abs_builddir=$ac_pwd$ac_dir_suffix
3675# for backward compatibility:
3676ac_top_builddir=$ac_top_build_prefix
3677
3678case $srcdir in
3679 .) # We are building in place.
3680 ac_srcdir=.
3681 ac_top_srcdir=$ac_top_builddir_sub
3682 ac_abs_top_srcdir=$ac_pwd ;;
3683 [\\/]* | ?:[\\/]* ) # Absolute name.
3684 ac_srcdir=$srcdir$ac_dir_suffix;
3685 ac_top_srcdir=$srcdir
3686 ac_abs_top_srcdir=$srcdir ;;
3687 *) # Relative name.
3688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3689 ac_top_srcdir=$ac_top_build_prefix$srcdir
3690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3691esac
3692ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3693
3694
3695 case $ac_mode in
3696 :F)
3697 #
3698 # CONFIG_FILE
3699 #
3700
3701 case $INSTALL in
3702 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3703 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3704 esac
3705_ACEOF
3706
3707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3708# If the template does not know about datarootdir, expand it.
3709# FIXME: This hack should be removed a few years after 2.60.
3710ac_datarootdir_hack=; ac_datarootdir_seen=
3711
3712ac_sed_dataroot='
3713/datarootdir/ {
3714 p
3715 q
3716}
3717/@datadir@/p
3718/@docdir@/p
3719/@infodir@/p
3720/@localedir@/p
3721/@mandir@/p
3722'
3723case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3724*datarootdir*) ac_datarootdir_seen=yes;;
3725*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3726 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3727$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3728_ACEOF
3729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3730 ac_datarootdir_hack='
3731 s&@datadir@&$datadir&g
3732 s&@docdir@&$docdir&g
3733 s&@infodir@&$infodir&g
3734 s&@localedir@&$localedir&g
3735 s&@mandir@&$mandir&g
3736 s&\\\${datarootdir}&$datarootdir&g' ;;
3737esac
3738_ACEOF
3739
3740# Neutralize VPATH when `$srcdir' = `.'.
3741# Shell code in configure.ac might set extrasub.
3742# FIXME: do we really want to maintain this feature?
3743cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3744ac_sed_extra="$ac_vpsub
3745$extrasub
3746_ACEOF
3747cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3748:t
3749/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3750s|@configure_input@|$ac_sed_conf_input|;t t
3751s&@top_builddir@&$ac_top_builddir_sub&;t t
3752s&@top_build_prefix@&$ac_top_build_prefix&;t t
3753s&@srcdir@&$ac_srcdir&;t t
3754s&@abs_srcdir@&$ac_abs_srcdir&;t t
3755s&@top_srcdir@&$ac_top_srcdir&;t t
3756s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3757s&@builddir@&$ac_builddir&;t t
3758s&@abs_builddir@&$ac_abs_builddir&;t t
3759s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3760s&@INSTALL@&$ac_INSTALL&;t t
3761$ac_datarootdir_hack
3762"
3763eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3764if $ac_cs_awk_getline; then
3765 $AWK -f "$tmp/subs.awk"
3766else
3767 $AWK -f "$tmp/subs.awk" | $SHELL
3768fi >$tmp/out \
3769 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3770$as_echo "$as_me: error: could not create $ac_file" >&2;}
3771 { (exit 1); exit 1; }; }
3772
3773test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3774 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3775 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3776 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3777which seems to be undefined. Please make sure it is defined." >&5
3778$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3779which seems to be undefined. Please make sure it is defined." >&2;}
3780
3781 rm -f "$tmp/stdin"
3782 case $ac_file in
3783 -) cat "$tmp/out" && rm -f "$tmp/out";;
3784 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3785 esac \
3786 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3787$as_echo "$as_me: error: could not create $ac_file" >&2;}
3788 { (exit 1); exit 1; }; }
3789 ;;
3790
3791
3792 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3793$as_echo "$as_me: executing $ac_file commands" >&6;}
3794 ;;
3795 esac
3796
3797
3798 case $ac_file$ac_mode in
3799 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
3800 # Autoconf 2.62 quotes --file arguments for eval, but not when files
3801 # are listed without --file. Let's play safe and only enable the eval
3802 # if we detect the quoting.
3803 case $CONFIG_FILES in
3804 *\'*) eval set x "$CONFIG_FILES" ;;
3805 *) set x $CONFIG_FILES ;;
3806 esac
3807 shift
3808 for mf
3809 do
3810 # Strip MF so we end up with the name of the file.
3811 mf=`echo "$mf" | sed -e 's/:.*$//'`
3812 # Check whether this is an Automake generated Makefile or not.
3813 # We used to match only the files named `Makefile.in', but
3814 # some people rename them; so instead we look at the file content.
3815 # Grep'ing the first line is not enough: some people post-process
3816 # each Makefile.in and add a new line on top of each file to say so.
3817 # Grep'ing the whole file is not good either: AIX grep has a line
3818 # limit of 2048, but all sed's we know have understand at least 4000.
3819 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3820 dirpart=`$as_dirname -- "$mf" ||
3821$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3822 X"$mf" : 'X\(//\)[^/]' \| \
3823 X"$mf" : 'X\(//\)$' \| \
3824 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3825$as_echo X"$mf" |
3826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3827 s//\1/
3828 q
3829 }
3830 /^X\(\/\/\)[^/].*/{
3831 s//\1/
3832 q
3833 }
3834 /^X\(\/\/\)$/{
3835 s//\1/
3836 q
3837 }
3838 /^X\(\/\).*/{
3839 s//\1/
3840 q
3841 }
3842 s/.*/./; q'`
3843 else
3844 continue
3845 fi
3846 # Extract the definition of DEPDIR, am__include, and am__quote
3847 # from the Makefile without running `make'.
3848 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3849 test -z "$DEPDIR" && continue
3850 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3851 test -z "am__include" && continue
3852 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3853 # When using ansi2knr, U may be empty or an underscore; expand it
3854 U=`sed -n 's/^U = //p' < "$mf"`
3855 # Find all dependency output files, they are included files with
3856 # $(DEPDIR) in their names. We invoke sed twice because it is the
3857 # simplest approach to changing $(DEPDIR) to its actual value in the
3858 # expansion.
3859 for file in `sed -n "
3860 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3861 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3862 # Make sure the directory exists.
3863 test -f "$dirpart/$file" && continue
3864 fdir=`$as_dirname -- "$file" ||
3865$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3866 X"$file" : 'X\(//\)[^/]' \| \
3867 X"$file" : 'X\(//\)$' \| \
3868 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3869$as_echo X"$file" |
3870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3871 s//\1/
3872 q
3873 }
3874 /^X\(\/\/\)[^/].*/{
3875 s//\1/
3876 q
3877 }
3878 /^X\(\/\/\)$/{
3879 s//\1/
3880 q
3881 }
3882 /^X\(\/\).*/{
3883 s//\1/
3884 q
3885 }
3886 s/.*/./; q'`
3887 { as_dir=$dirpart/$fdir
3888 case $as_dir in #(
3889 -*) as_dir=./$as_dir;;
3890 esac
3891 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3892 as_dirs=
3893 while :; do
3894 case $as_dir in #(
3895 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3896 *) as_qdir=$as_dir;;
3897 esac
3898 as_dirs="'$as_qdir' $as_dirs"
3899 as_dir=`$as_dirname -- "$as_dir" ||
3900$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3901 X"$as_dir" : 'X\(//\)[^/]' \| \
3902 X"$as_dir" : 'X\(//\)$' \| \
3903 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3904$as_echo X"$as_dir" |
3905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3906 s//\1/
3907 q
3908 }
3909 /^X\(\/\/\)[^/].*/{
3910 s//\1/
3911 q
3912 }
3913 /^X\(\/\/\)$/{
3914 s//\1/
3915 q
3916 }
3917 /^X\(\/\).*/{
3918 s//\1/
3919 q
3920 }
3921 s/.*/./; q'`
3922 test -d "$as_dir" && break
3923 done
3924 test -z "$as_dirs" || eval "mkdir $as_dirs"
3925 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3926$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3927 { (exit 1); exit 1; }; }; }
3928 # echo "creating $dirpart/$file"
3929 echo '# dummy' > "$dirpart/$file"
3930 done
3931 done
3932}
3933 ;;
3934 "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
3935
3936 esac
3937done # for ac_tag
3938
3939
3940{ (exit 0); exit 0; }
3941_ACEOF
3942chmod +x $CONFIG_STATUS
3943ac_clean_files=$ac_clean_files_save
3944
3945test $ac_write_fail = 0 ||
3946 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3947$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3948 { (exit 1); exit 1; }; }
3949
3950
3951# configure is writing to config.log, and then calls config.status.
3952# config.status does its own redirection, appending to config.log.
3953# Unfortunately, on DOS this fails, as config.log is still kept open
3954# by configure, so config.status won't be able to write to it; its
3955# output is simply discarded. So we exec the FD to /dev/null,
3956# effectively closing config.log, so it can be properly (re)opened and
3957# appended to by config.status. When coming back to configure, we
3958# need to make the FD available again.
3959if test "$no_create" != yes; then
3960 ac_cs_success=:
3961 ac_config_status_args=
3962 test "$silent" = yes &&
3963 ac_config_status_args="$ac_config_status_args --quiet"
3964 exec 5>/dev/null
3965 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3966 exec 5>>config.log
3967 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3968 # would make configure fail if this is the last instruction.
3969 $ac_cs_success || { (exit 1); exit 1; }
3970fi
3971if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3972 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3973$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3974fi
3975
Note: See TracBrowser for help on using the repository browser.