source: trunk/libs/newlib/src/libgloss/rx/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: 110.2 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 done
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# We grep out `Entering directory' and `Leaving directory'
2065# messages which can occur if `w' ends up in MAKEFLAGS.
2066# In particular we don't look at `^make:' because GNU make might
2067# be invoked under some other name (usually "gmake"), in which
2068# case it prints its new name instead of `make'.
2069if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2070 am__include=include
2071 am__quote=
2072 _am_result=GNU
2073fi
2074# Now try BSD make style include.
2075if test "$am__include" = "#"; then
2076 echo '.include "confinc"' > confmf
2077 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2078 am__include=.include
2079 am__quote="\""
2080 _am_result=BSD
2081 fi
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
2099
2100if test "x$enable_dependency_tracking" != xno; then
2101 AMDEP_TRUE=
2102 AMDEP_FALSE='#'
2103else
2104 AMDEP_TRUE='#'
2105 AMDEP_FALSE=
2106fi
2107
2108
2109
2110# Extract the first word of "gcc", so it can be a program name with args.
2111set dummy gcc; ac_word=$2
2112{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2113$as_echo_n "checking for $ac_word... " >&6; }
2114if test "${ac_cv_prog_CC+set}" = set; then
2115 $as_echo_n "(cached) " >&6
2116else
2117 if test -n "$CC"; then
2118 ac_cv_prog_CC="$CC" # Let the user override the test.
2119else
2120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121for as_dir in $PATH
2122do
2123 IFS=$as_save_IFS
2124 test -z "$as_dir" && as_dir=.
2125 for ac_exec_ext in '' $ac_executable_extensions; do
2126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2127 ac_cv_prog_CC="gcc"
2128 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2129 break 2
2130 fi
2131done
2132done
2133IFS=$as_save_IFS
2134
2135fi
2136fi
2137CC=$ac_cv_prog_CC
2138if test -n "$CC"; then
2139 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2140$as_echo "$CC" >&6; }
2141else
2142 { $as_echo "$as_me:$LINENO: result: no" >&5
2143$as_echo "no" >&6; }
2144fi
2145
2146
2147
2148depcc="$CC" am_compiler_list=
2149
2150{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2151$as_echo_n "checking dependency style of $depcc... " >&6; }
2152if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2153 $as_echo_n "(cached) " >&6
2154else
2155 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2156 # We make a subdir and do the tests there. Otherwise we can end up
2157 # making bogus files that we don't know about and never remove. For
2158 # instance it was reported that on HP-UX the gcc test will end up
2159 # making a dummy file named `D' -- because `-MD' means `put the output
2160 # in D'.
2161 mkdir conftest.dir
2162 # Copy depcomp to subdir because otherwise we won't find it if we're
2163 # using a relative directory.
2164 cp "$am_depcomp" conftest.dir
2165 cd conftest.dir
2166 # We will build objects and dependencies in a subdirectory because
2167 # it helps to detect inapplicable dependency modes. For instance
2168 # both Tru64's cc and ICC support -MD to output dependencies as a
2169 # side effect of compilation, but ICC will put the dependencies in
2170 # the current directory while Tru64 will put them in the object
2171 # directory.
2172 mkdir sub
2173
2174 am_cv_CC_dependencies_compiler_type=none
2175 if test "$am_compiler_list" = ""; then
2176 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2177 fi
2178 for depmode in $am_compiler_list; do
2179 # Setup a source with many dependencies, because some compilers
2180 # like to wrap large dependency lists on column 80 (with \), and
2181 # we should not choose a depcomp mode which is confused by this.
2182 #
2183 # We need to recreate these files for each test, as the compiler may
2184 # overwrite some of them when testing with obscure command lines.
2185 # This happens at least with the AIX C compiler.
2186 : > sub/conftest.c
2187 for i in 1 2 3 4 5 6; do
2188 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2189 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2190 # Solaris 8's {/usr,}/bin/sh.
2191 touch sub/conftst$i.h
2192 done
2193 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2194
2195 case $depmode in
2196 nosideeffect)
2197 # after this tag, mechanisms are not by side-effect, so they'll
2198 # only be used when explicitly requested
2199 if test "x$enable_dependency_tracking" = xyes; then
2200 continue
2201 else
2202 break
2203 fi
2204 ;;
2205 none) break ;;
2206 esac
2207 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2208 # mode. It turns out that the SunPro C++ compiler does not properly
2209 # handle `-M -o', and we need to detect this.
2210 if depmode=$depmode \
2211 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2212 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2213 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2214 >/dev/null 2>conftest.err &&
2215 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2216 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2217 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2218 # icc doesn't choke on unknown options, it will just issue warnings
2219 # or remarks (even with -Werror). So we grep stderr for any message
2220 # that says an option was ignored or not supported.
2221 # When given -MP, icc 7.0 and 7.1 complain thusly:
2222 # icc: Command line warning: ignoring option '-M'; no argument required
2223 # The diagnosis changed in icc 8.0:
2224 # icc: Command line remark: option '-MP' not supported
2225 if (grep 'ignoring option' conftest.err ||
2226 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2227 am_cv_CC_dependencies_compiler_type=$depmode
2228 break
2229 fi
2230 fi
2231 done
2232
2233 cd ..
2234 rm -rf conftest.dir
2235else
2236 am_cv_CC_dependencies_compiler_type=none
2237fi
2238
2239fi
2240{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2241$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2242CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2243
2244
2245
2246if
2247 test "x$enable_dependency_tracking" != xno \
2248 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2249 am__fastdepCC_TRUE=
2250 am__fastdepCC_FALSE='#'
2251else
2252 am__fastdepCC_TRUE='#'
2253 am__fastdepCC_FALSE=
2254fi
2255
2256
2257if test -z "$CC"; then
2258 # Extract the first word of "cc", so it can be a program name with args.
2259set dummy cc; ac_word=$2
2260{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2261$as_echo_n "checking for $ac_word... " >&6; }
2262if test "${ac_cv_prog_CC+set}" = set; then
2263 $as_echo_n "(cached) " >&6
2264else
2265 if test -n "$CC"; then
2266 ac_cv_prog_CC="$CC" # Let the user override the test.
2267else
2268 ac_prog_rejected=no
2269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270for as_dir in $PATH
2271do
2272 IFS=$as_save_IFS
2273 test -z "$as_dir" && as_dir=.
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2276 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2277 ac_prog_rejected=yes
2278 continue
2279 fi
2280 ac_cv_prog_CC="cc"
2281 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 break 2
2283 fi
2284done
2285done
2286IFS=$as_save_IFS
2287
2288if test $ac_prog_rejected = yes; then
2289 # We found a bogon in the path, so make sure we never use it.
2290 set dummy $ac_cv_prog_CC
2291 shift
2292 if test $# != 0; then
2293 # We chose a different compiler from the bogus one.
2294 # However, it has the same basename, so the bogon will be chosen
2295 # first if we set CC to just the basename; use the full file name.
2296 shift
2297 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2298 fi
2299fi
2300fi
2301fi
2302CC=$ac_cv_prog_CC
2303if test -n "$CC"; then
2304 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2305$as_echo "$CC" >&6; }
2306else
2307 { $as_echo "$as_me:$LINENO: result: no" >&5
2308$as_echo "no" >&6; }
2309fi
2310
2311
2312 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable cc found in \$PATH" >&5
2313$as_echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
2314 { (exit 1); exit 1; }; }
2315fi
2316
2317{ $as_echo "$as_me:$LINENO: checking whether we are using GNU C" >&5
2318$as_echo_n "checking whether we are using GNU C... " >&6; }
2319if test "${ac_cv_c_compiler_gnu+set}" = set; then
2320 $as_echo_n "(cached) " >&6
2321else
2322 cat > conftest.c <<EOF
2323#ifdef __GNUC__
2324 yes;
2325#endif
2326EOF
2327if { ac_try='${CC-cc} -E conftest.c'
2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 (eval $ac_try) 2>&5
2330 ac_status=$?
2331 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2332 (exit $ac_status); }; } | egrep yes >/dev/null 2>&1; then
2333 ac_cv_c_compiler_gnu=yes
2334else
2335 ac_cv_c_compiler_gnu=no
2336fi
2337fi
2338{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2339$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2340
2341if test $ac_cv_c_compiler_gnu = yes; then
2342 GCC=yes
2343 ac_test_CFLAGS="${CFLAGS+set}"
2344 ac_save_CFLAGS="$CFLAGS"
2345 CFLAGS=
2346 ac_test_CFLAGS=${CFLAGS+set}
2347ac_save_CFLAGS=$CFLAGS
2348{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2349$as_echo_n "checking whether $CC accepts -g... " >&6; }
2350if test "${ac_cv_prog_cc_g+set}" = set; then
2351 $as_echo_n "(cached) " >&6
2352else
2353 ac_save_c_werror_flag=$ac_c_werror_flag
2354 ac_c_werror_flag=yes
2355 ac_cv_prog_cc_g=no
2356 CFLAGS="-g"
2357 cat >conftest.$ac_ext <<_ACEOF
2358/* confdefs.h. */
2359_ACEOF
2360cat confdefs.h >>conftest.$ac_ext
2361cat >>conftest.$ac_ext <<_ACEOF
2362/* end confdefs.h. */
2363
2364int
2365main ()
2366{
2367
2368 ;
2369 return 0;
2370}
2371_ACEOF
2372rm -f conftest.$ac_objext
2373if { (ac_try="$ac_compile"
2374case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377esac
2378eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2379$as_echo "$ac_try_echo") >&5
2380 (eval "$ac_compile") 2>conftest.er1
2381 ac_status=$?
2382 grep -v '^ *+' conftest.er1 >conftest.err
2383 rm -f conftest.er1
2384 cat conftest.err >&5
2385 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); } && {
2387 test -z "$ac_c_werror_flag" ||
2388 test ! -s conftest.err
2389 } && test -s conftest.$ac_objext; then
2390 ac_cv_prog_cc_g=yes
2391else
2392 $as_echo "$as_me: failed program was:" >&5
2393sed 's/^/| /' conftest.$ac_ext >&5
2394
2395 CFLAGS=""
2396 cat >conftest.$ac_ext <<_ACEOF
2397/* confdefs.h. */
2398_ACEOF
2399cat confdefs.h >>conftest.$ac_ext
2400cat >>conftest.$ac_ext <<_ACEOF
2401/* end confdefs.h. */
2402
2403int
2404main ()
2405{
2406
2407 ;
2408 return 0;
2409}
2410_ACEOF
2411rm -f conftest.$ac_objext
2412if { (ac_try="$ac_compile"
2413case "(($ac_try" in
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2416esac
2417eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2418$as_echo "$ac_try_echo") >&5
2419 (eval "$ac_compile") 2>conftest.er1
2420 ac_status=$?
2421 grep -v '^ *+' conftest.er1 >conftest.err
2422 rm -f conftest.er1
2423 cat conftest.err >&5
2424 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); } && {
2426 test -z "$ac_c_werror_flag" ||
2427 test ! -s conftest.err
2428 } && test -s conftest.$ac_objext; then
2429 :
2430else
2431 $as_echo "$as_me: failed program was:" >&5
2432sed 's/^/| /' conftest.$ac_ext >&5
2433
2434 ac_c_werror_flag=$ac_save_c_werror_flag
2435 CFLAGS="-g"
2436 cat >conftest.$ac_ext <<_ACEOF
2437/* confdefs.h. */
2438_ACEOF
2439cat confdefs.h >>conftest.$ac_ext
2440cat >>conftest.$ac_ext <<_ACEOF
2441/* end confdefs.h. */
2442
2443int
2444main ()
2445{
2446
2447 ;
2448 return 0;
2449}
2450_ACEOF
2451rm -f conftest.$ac_objext
2452if { (ac_try="$ac_compile"
2453case "(($ac_try" in
2454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2455 *) ac_try_echo=$ac_try;;
2456esac
2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2458$as_echo "$ac_try_echo") >&5
2459 (eval "$ac_compile") 2>conftest.er1
2460 ac_status=$?
2461 grep -v '^ *+' conftest.er1 >conftest.err
2462 rm -f conftest.er1
2463 cat conftest.err >&5
2464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); } && {
2466 test -z "$ac_c_werror_flag" ||
2467 test ! -s conftest.err
2468 } && test -s conftest.$ac_objext; then
2469 ac_cv_prog_cc_g=yes
2470else
2471 $as_echo "$as_me: failed program was:" >&5
2472sed 's/^/| /' conftest.$ac_ext >&5
2473
2474
2475fi
2476
2477rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2478fi
2479
2480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481fi
2482
2483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 ac_c_werror_flag=$ac_save_c_werror_flag
2485fi
2486{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2487$as_echo "$ac_cv_prog_cc_g" >&6; }
2488if test "$ac_test_CFLAGS" = set; then
2489 CFLAGS=$ac_save_CFLAGS
2490elif test $ac_cv_prog_cc_g = yes; then
2491 if test "$GCC" = yes; then
2492 CFLAGS="-g -O2"
2493 else
2494 CFLAGS="-g"
2495 fi
2496else
2497 if test "$GCC" = yes; then
2498 CFLAGS="-O2"
2499 else
2500 CFLAGS=
2501 fi
2502fi
2503 if test "$ac_test_CFLAGS" = set; then
2504 CFLAGS="$ac_save_CFLAGS"
2505 elif test $ac_cv_prog_cc_g = yes; then
2506 CFLAGS="-g -O2"
2507 else
2508 CFLAGS="-O2"
2509 fi
2510else
2511 GCC=
2512 test "${CFLAGS+set}" = set || CFLAGS="-g"
2513fi
2514
2515
2516AS=${AS-as}
2517
2518AR=${AR-ar}
2519
2520LD=${LD-ld}
2521
2522if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2524set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2525{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2526$as_echo_n "checking for $ac_word... " >&6; }
2527if test "${ac_cv_prog_RANLIB+set}" = set; then
2528 $as_echo_n "(cached) " >&6
2529else
2530 if test -n "$RANLIB"; then
2531 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2532else
2533as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2534for as_dir in $PATH
2535do
2536 IFS=$as_save_IFS
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2541 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2542 break 2
2543 fi
2544done
2545done
2546IFS=$as_save_IFS
2547
2548fi
2549fi
2550RANLIB=$ac_cv_prog_RANLIB
2551if test -n "$RANLIB"; then
2552 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
2553$as_echo "$RANLIB" >&6; }
2554else
2555 { $as_echo "$as_me:$LINENO: result: no" >&5
2556$as_echo "no" >&6; }
2557fi
2558
2559
2560fi
2561if test -z "$ac_cv_prog_RANLIB"; then
2562 ac_ct_RANLIB=$RANLIB
2563 # Extract the first word of "ranlib", so it can be a program name with args.
2564set dummy ranlib; ac_word=$2
2565{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2566$as_echo_n "checking for $ac_word... " >&6; }
2567if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2568 $as_echo_n "(cached) " >&6
2569else
2570 if test -n "$ac_ct_RANLIB"; then
2571 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2572else
2573as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574for as_dir in $PATH
2575do
2576 IFS=$as_save_IFS
2577 test -z "$as_dir" && as_dir=.
2578 for ac_exec_ext in '' $ac_executable_extensions; do
2579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2580 ac_cv_prog_ac_ct_RANLIB="ranlib"
2581 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2582 break 2
2583 fi
2584done
2585done
2586IFS=$as_save_IFS
2587
2588fi
2589fi
2590ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2591if test -n "$ac_ct_RANLIB"; then
2592 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2593$as_echo "$ac_ct_RANLIB" >&6; }
2594else
2595 { $as_echo "$as_me:$LINENO: result: no" >&5
2596$as_echo "no" >&6; }
2597fi
2598
2599 if test "x$ac_ct_RANLIB" = x; then
2600 RANLIB=":"
2601 else
2602 case $cross_compiling:$ac_tool_warned in
2603yes:)
2604{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2605$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2606ac_tool_warned=yes ;;
2607esac
2608 RANLIB=$ac_ct_RANLIB
2609 fi
2610else
2611 RANLIB="$ac_cv_prog_RANLIB"
2612fi
2613
2614# By default we simply use the C compiler to build assembly code.
2615
2616test "${CCAS+set}" = set || CCAS=$CC
2617test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2618
2619
2620
2621
2622host_makefile_frag=${srcdir}/../config/default.mh
2623
2624host_makefile_frag_path=$host_makefile_frag
2625
2626
2627
2628ac_config_files="$ac_config_files Makefile"
2629
2630cat >confcache <<\_ACEOF
2631# This file is a shell script that caches the results of configure
2632# tests run on this system so they can be shared between configure
2633# scripts and configure runs, see configure's option --config-cache.
2634# It is not useful on other systems. If it contains results you don't
2635# want to keep, you may remove or edit it.
2636#
2637# config.status only pays attention to the cache file if you give it
2638# the --recheck option to rerun configure.
2639#
2640# `ac_cv_env_foo' variables (set or unset) will be overridden when
2641# loading this file, other *unset* `ac_cv_foo' will be assigned the
2642# following values.
2643
2644_ACEOF
2645
2646# The following way of writing the cache mishandles newlines in values,
2647# but we know of no workaround that is simple, portable, and efficient.
2648# So, we kill variables containing newlines.
2649# Ultrix sh set writes to stderr and can't be redirected directly,
2650# and sets the high bit in the cache file unless we assign to the vars.
2651(
2652 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2653 eval ac_val=\$$ac_var
2654 case $ac_val in #(
2655 *${as_nl}*)
2656 case $ac_var in #(
2657 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2658$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2659 esac
2660 case $ac_var in #(
2661 _ | IFS | as_nl) ;; #(
2662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2663 *) $as_unset $ac_var ;;
2664 esac ;;
2665 esac
2666 done
2667
2668 (set) 2>&1 |
2669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2670 *${as_nl}ac_space=\ *)
2671 # `set' does not quote correctly, so add quotes (double-quote
2672 # substitution turns \\\\ into \\, and sed turns \\ into \).
2673 sed -n \
2674 "s/'/'\\\\''/g;
2675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2676 ;; #(
2677 *)
2678 # `set' quotes correctly as required by POSIX, so do not add quotes.
2679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2680 ;;
2681 esac |
2682 sort
2683) |
2684 sed '
2685 /^ac_cv_env_/b end
2686 t clear
2687 :clear
2688 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2689 t end
2690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2691 :end' >>confcache
2692if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2693 if test -w "$cache_file"; then
2694 test "x$cache_file" != "x/dev/null" &&
2695 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
2696$as_echo "$as_me: updating cache $cache_file" >&6;}
2697 cat confcache >$cache_file
2698 else
2699 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
2700$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2701 fi
2702fi
2703rm -f confcache
2704
2705test "x$prefix" = xNONE && prefix=$ac_default_prefix
2706# Let make expand exec_prefix.
2707test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2708
2709# Transform confdefs.h into DEFS.
2710# Protect against shell expansion while executing Makefile rules.
2711# Protect against Makefile macro expansion.
2712#
2713# If the first sed substitution is executed (which looks for macros that
2714# take arguments), then branch to the quote section. Otherwise,
2715# look for a macro that doesn't take arguments.
2716ac_script='
2717:mline
2718/\\$/{
2719 N
2720 s,\\\n,,
2721 b mline
2722}
2723t clear
2724:clear
2725s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2726t quote
2727s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2728t quote
2729b any
2730:quote
2731s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2732s/\[/\\&/g
2733s/\]/\\&/g
2734s/\$/$$/g
2735H
2736:any
2737${
2738 g
2739 s/^\n//
2740 s/\n/ /g
2741 p
2742}
2743'
2744DEFS=`sed -n "$ac_script" confdefs.h`
2745
2746
2747ac_libobjs=
2748ac_ltlibobjs=
2749for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2750 # 1. Remove the extension, and $U if already installed.
2751 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2752 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2754 # will be set to the directory where LIBOBJS objects are built.
2755 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2756 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2757done
2758LIBOBJS=$ac_libobjs
2759
2760LTLIBOBJS=$ac_ltlibobjs
2761
2762
2763if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2764 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2765Usually this means the macro was only invoked conditionally." >&5
2766$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
2767Usually this means the macro was only invoked conditionally." >&2;}
2768 { (exit 1); exit 1; }; }
2769fi
2770if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2771 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
2772Usually this means the macro was only invoked conditionally." >&5
2773$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
2774Usually this means the macro was only invoked conditionally." >&2;}
2775 { (exit 1); exit 1; }; }
2776fi
2777
2778: ${CONFIG_STATUS=./config.status}
2779ac_write_fail=0
2780ac_clean_files_save=$ac_clean_files
2781ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2782{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2783$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2784cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2785#! $SHELL
2786# Generated by $as_me.
2787# Run this file to recreate the current configuration.
2788# Compiler output produced by configure, useful for debugging
2789# configure, is in config.log if it exists.
2790
2791debug=false
2792ac_cs_recheck=false
2793ac_cs_silent=false
2794SHELL=\${CONFIG_SHELL-$SHELL}
2795_ACEOF
2796
2797cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2798## --------------------- ##
2799## M4sh Initialization. ##
2800## --------------------- ##
2801
2802# Be more Bourne compatible
2803DUALCASE=1; export DUALCASE # for MKS sh
2804if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2805 emulate sh
2806 NULLCMD=:
2807 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2808 # is contrary to our usage. Disable this feature.
2809 alias -g '${1+"$@"}'='"$@"'
2810 setopt NO_GLOB_SUBST
2811else
2812 case `(set -o) 2>/dev/null` in
2813 *posix*) set -o posix ;;
2814esac
2815
2816fi
2817
2818
2819
2820
2821# PATH needs CR
2822# Avoid depending upon Character Ranges.
2823as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2824as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2825as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2826as_cr_digits='0123456789'
2827as_cr_alnum=$as_cr_Letters$as_cr_digits
2828
2829as_nl='
2830'
2831export as_nl
2832# Printing a long string crashes Solaris 7 /usr/bin/printf.
2833as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2834as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2835as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2836if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2837 as_echo='printf %s\n'
2838 as_echo_n='printf %s'
2839else
2840 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2841 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2842 as_echo_n='/usr/ucb/echo -n'
2843 else
2844 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2845 as_echo_n_body='eval
2846 arg=$1;
2847 case $arg in
2848 *"$as_nl"*)
2849 expr "X$arg" : "X\\(.*\\)$as_nl";
2850 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2851 esac;
2852 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2853 '
2854 export as_echo_n_body
2855 as_echo_n='sh -c $as_echo_n_body as_echo'
2856 fi
2857 export as_echo_body
2858 as_echo='sh -c $as_echo_body as_echo'
2859fi
2860
2861# The user is always right.
2862if test "${PATH_SEPARATOR+set}" != set; then
2863 PATH_SEPARATOR=:
2864 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2865 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2866 PATH_SEPARATOR=';'
2867 }
2868fi
2869
2870# Support unset when possible.
2871if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2872 as_unset=unset
2873else
2874 as_unset=false
2875fi
2876
2877
2878# IFS
2879# We need space, tab and new line, in precisely that order. Quoting is
2880# there to prevent editors from complaining about space-tab.
2881# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2882# splitting by setting IFS to empty value.)
2883IFS=" "" $as_nl"
2884
2885# Find who we are. Look in the path if we contain no directory separator.
2886case $0 in
2887 *[\\/]* ) as_myself=$0 ;;
2888 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2889for as_dir in $PATH
2890do
2891 IFS=$as_save_IFS
2892 test -z "$as_dir" && as_dir=.
2893 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2894done
2895IFS=$as_save_IFS
2896
2897 ;;
2898esac
2899# We did not find ourselves, most probably we were run as `sh COMMAND'
2900# in which case we are not to be found in the path.
2901if test "x$as_myself" = x; then
2902 as_myself=$0
2903fi
2904if test ! -f "$as_myself"; then
2905 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2906 { (exit 1); exit 1; }
2907fi
2908
2909# Work around bugs in pre-3.0 UWIN ksh.
2910for as_var in ENV MAIL MAILPATH
2911do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2912done
2913PS1='$ '
2914PS2='> '
2915PS4='+ '
2916
2917# NLS nuisances.
2918LC_ALL=C
2919export LC_ALL
2920LANGUAGE=C
2921export LANGUAGE
2922
2923# Required to use basename.
2924if expr a : '\(a\)' >/dev/null 2>&1 &&
2925 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2926 as_expr=expr
2927else
2928 as_expr=false
2929fi
2930
2931if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2932 as_basename=basename
2933else
2934 as_basename=false
2935fi
2936
2937
2938# Name of the executable.
2939as_me=`$as_basename -- "$0" ||
2940$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2941 X"$0" : 'X\(//\)$' \| \
2942 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2943$as_echo X/"$0" |
2944 sed '/^.*\/\([^/][^/]*\)\/*$/{
2945 s//\1/
2946 q
2947 }
2948 /^X\/\(\/\/\)$/{
2949 s//\1/
2950 q
2951 }
2952 /^X\/\(\/\).*/{
2953 s//\1/
2954 q
2955 }
2956 s/.*/./; q'`
2957
2958# CDPATH.
2959$as_unset CDPATH
2960
2961
2962
2963 as_lineno_1=$LINENO
2964 as_lineno_2=$LINENO
2965 test "x$as_lineno_1" != "x$as_lineno_2" &&
2966 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2967
2968 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2969 # uniformly replaced by the line number. The first 'sed' inserts a
2970 # line-number line after each line using $LINENO; the second 'sed'
2971 # does the real work. The second script uses 'N' to pair each
2972 # line-number line with the line containing $LINENO, and appends
2973 # trailing '-' during substitution so that $LINENO is not a special
2974 # case at line end.
2975 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2976 # scripts with optimization help from Paolo Bonzini. Blame Lee
2977 # E. McMahon (1931-1989) for sed's syntax. :-)
2978 sed -n '
2979 p
2980 /[$]LINENO/=
2981 ' <$as_myself |
2982 sed '
2983 s/[$]LINENO.*/&-/
2984 t lineno
2985 b
2986 :lineno
2987 N
2988 :loop
2989 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2990 t loop
2991 s/-\n.*//
2992 ' >$as_me.lineno &&
2993 chmod +x "$as_me.lineno" ||
2994 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2995 { (exit 1); exit 1; }; }
2996
2997 # Don't try to exec as it changes $[0], causing all sort of problems
2998 # (the dirname of $[0] is not the place where we might find the
2999 # original and so on. Autoconf is especially sensitive to this).
3000 . "./$as_me.lineno"
3001 # Exit status is that of the last command.
3002 exit
3003}
3004
3005
3006if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3007 as_dirname=dirname
3008else
3009 as_dirname=false
3010fi
3011
3012ECHO_C= ECHO_N= ECHO_T=
3013case `echo -n x` in
3014-n*)
3015 case `echo 'x\c'` in
3016 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3017 *) ECHO_C='\c';;
3018 esac;;
3019*)
3020 ECHO_N='-n';;
3021esac
3022if expr a : '\(a\)' >/dev/null 2>&1 &&
3023 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3024 as_expr=expr
3025else
3026 as_expr=false
3027fi
3028
3029rm -f conf$$ conf$$.exe conf$$.file
3030if test -d conf$$.dir; then
3031 rm -f conf$$.dir/conf$$.file
3032else
3033 rm -f conf$$.dir
3034 mkdir conf$$.dir 2>/dev/null
3035fi
3036if (echo >conf$$.file) 2>/dev/null; then
3037 if ln -s conf$$.file conf$$ 2>/dev/null; then
3038 as_ln_s='ln -s'
3039 # ... but there are two gotchas:
3040 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3041 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3042 # In both cases, we have to default to `cp -p'.
3043 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3044 as_ln_s='cp -p'
3045 elif ln conf$$.file conf$$ 2>/dev/null; then
3046 as_ln_s=ln
3047 else
3048 as_ln_s='cp -p'
3049 fi
3050else
3051 as_ln_s='cp -p'
3052fi
3053rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3054rmdir conf$$.dir 2>/dev/null
3055
3056if mkdir -p . 2>/dev/null; then
3057 as_mkdir_p=:
3058else
3059 test -d ./-p && rmdir ./-p
3060 as_mkdir_p=false
3061fi
3062
3063if test -x / >/dev/null 2>&1; then
3064 as_test_x='test -x'
3065else
3066 if ls -dL / >/dev/null 2>&1; then
3067 as_ls_L_option=L
3068 else
3069 as_ls_L_option=
3070 fi
3071 as_test_x='
3072 eval sh -c '\''
3073 if test -d "$1"; then
3074 test -d "$1/.";
3075 else
3076 case $1 in
3077 -*)set "./$1";;
3078 esac;
3079 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3080 ???[sx]*):;;*)false;;esac;fi
3081 '\'' sh
3082 '
3083fi
3084as_executable_p=$as_test_x
3085
3086# Sed expression to map a string onto a valid CPP name.
3087as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3088
3089# Sed expression to map a string onto a valid variable name.
3090as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3091
3092
3093exec 6>&1
3094
3095# Save the log message, to keep $[0] and so on meaningful, and to
3096# report actual input values of CONFIG_FILES etc. instead of their
3097# values after options handling.
3098ac_log="
3099This file was extended by $as_me, which was
3100generated by GNU Autoconf 2.63. Invocation command line was
3101
3102 CONFIG_FILES = $CONFIG_FILES
3103 CONFIG_HEADERS = $CONFIG_HEADERS
3104 CONFIG_LINKS = $CONFIG_LINKS
3105 CONFIG_COMMANDS = $CONFIG_COMMANDS
3106 $ $0 $@
3107
3108on `(hostname || uname -n) 2>/dev/null | sed 1q`
3109"
3110
3111_ACEOF
3112
3113case $ac_config_files in *"
3114"*) set x $ac_config_files; shift; ac_config_files=$*;;
3115esac
3116
3117
3118
3119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3120# Files that config.status was made for.
3121config_files="$ac_config_files"
3122config_commands="$ac_config_commands"
3123
3124_ACEOF
3125
3126cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3127ac_cs_usage="\
3128\`$as_me' instantiates files from templates according to the
3129current configuration.
3130
3131Usage: $0 [OPTION]... [FILE]...
3132
3133 -h, --help print this help, then exit
3134 -V, --version print version number and configuration settings, then exit
3135 -q, --quiet, --silent
3136 do not print progress messages
3137 -d, --debug don't remove temporary files
3138 --recheck update $as_me by reconfiguring in the same conditions
3139 --file=FILE[:TEMPLATE]
3140 instantiate the configuration file FILE
3141
3142Configuration files:
3143$config_files
3144
3145Configuration commands:
3146$config_commands
3147
3148Report bugs to <bug-autoconf@gnu.org>."
3149
3150_ACEOF
3151cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3152ac_cs_version="\\
3153config.status
3154configured by $0, generated by GNU Autoconf 2.63,
3155 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3156
3157Copyright (C) 2008 Free Software Foundation, Inc.
3158This config.status script is free software; the Free Software Foundation
3159gives unlimited permission to copy, distribute and modify it."
3160
3161ac_pwd='$ac_pwd'
3162srcdir='$srcdir'
3163INSTALL='$INSTALL'
3164test -n "\$AWK" || AWK=awk
3165_ACEOF
3166
3167cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3168# The default lists apply if the user does not specify any file.
3169ac_need_defaults=:
3170while test $# != 0
3171do
3172 case $1 in
3173 --*=*)
3174 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3175 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3176 ac_shift=:
3177 ;;
3178 *)
3179 ac_option=$1
3180 ac_optarg=$2
3181 ac_shift=shift
3182 ;;
3183 esac
3184
3185 case $ac_option in
3186 # Handling of the options.
3187 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3188 ac_cs_recheck=: ;;
3189 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3190 $as_echo "$ac_cs_version"; exit ;;
3191 --debug | --debu | --deb | --de | --d | -d )
3192 debug=: ;;
3193 --file | --fil | --fi | --f )
3194 $ac_shift
3195 case $ac_optarg in
3196 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3197 esac
3198 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
3199 ac_need_defaults=false;;
3200 --he | --h | --help | --hel | -h )
3201 $as_echo "$ac_cs_usage"; exit ;;
3202 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3203 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3204 ac_cs_silent=: ;;
3205
3206 # This is an error.
3207 -*) { $as_echo "$as_me: error: unrecognized option: $1
3208Try \`$0 --help' for more information." >&2
3209 { (exit 1); exit 1; }; } ;;
3210
3211 *) ac_config_targets="$ac_config_targets $1"
3212 ac_need_defaults=false ;;
3213
3214 esac
3215 shift
3216done
3217
3218ac_configure_extra_args=
3219
3220if $ac_cs_silent; then
3221 exec 6>/dev/null
3222 ac_configure_extra_args="$ac_configure_extra_args --silent"
3223fi
3224
3225_ACEOF
3226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3227if \$ac_cs_recheck; then
3228 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3229 shift
3230 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3231 CONFIG_SHELL='$SHELL'
3232 export CONFIG_SHELL
3233 exec "\$@"
3234fi
3235
3236_ACEOF
3237cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3238exec 5>>config.log
3239{
3240 echo
3241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3242## Running $as_me. ##
3243_ASBOX
3244 $as_echo "$ac_log"
3245} >&5
3246
3247_ACEOF
3248cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3249#
3250# INIT-COMMANDS
3251#
3252AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3253srcdir=${srcdir}
3254target=${target}
3255with_multisubdir=${with_multisubdir}
3256ac_configure_args="${ac_configure_args} --enable-multilib"
3257CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3258libgloss_topdir=${libgloss_topdir}
3259
3260
3261_ACEOF
3262
3263cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3264
3265# Handling of arguments.
3266for ac_config_target in $ac_config_targets
3267do
3268 case $ac_config_target in
3269 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3270 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3271
3272 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3273$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3274 { (exit 1); exit 1; }; };;
3275 esac
3276done
3277
3278
3279# If the user did not use the arguments to specify the items to instantiate,
3280# then the envvar interface is used. Set only those that are not.
3281# We use the long form for the default assignment because of an extremely
3282# bizarre bug on SunOS 4.1.3.
3283if $ac_need_defaults; then
3284 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3285 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3286fi
3287
3288# Have a temporary directory for convenience. Make it in the build tree
3289# simply because there is no reason against having it here, and in addition,
3290# creating and moving files from /tmp can sometimes cause problems.
3291# Hook for its removal unless debugging.
3292# Note that there is a small window in which the directory will not be cleaned:
3293# after its creation but before its name has been assigned to `$tmp'.
3294$debug ||
3295{
3296 tmp=
3297 trap 'exit_status=$?
3298 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3299' 0
3300 trap '{ (exit 1); exit 1; }' 1 2 13 15
3301}
3302# Create a (secure) tmp directory for tmp files.
3303
3304{
3305 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3306 test -n "$tmp" && test -d "$tmp"
3307} ||
3308{
3309 tmp=./conf$$-$RANDOM
3310 (umask 077 && mkdir "$tmp")
3311} ||
3312{
3313 $as_echo "$as_me: cannot create a temporary directory in ." >&2
3314 { (exit 1); exit 1; }
3315}
3316
3317# Set up the scripts for CONFIG_FILES section.
3318# No need to generate them if there are no CONFIG_FILES.
3319# This happens for instance with `./config.status config.h'.
3320if test -n "$CONFIG_FILES"; then
3321
3322if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3323 ac_cs_awk_getline=:
3324 ac_cs_awk_pipe_init=
3325 ac_cs_awk_read_file='
3326 while ((getline aline < (F[key])) > 0)
3327 print(aline)
3328 close(F[key])'
3329 ac_cs_awk_pipe_fini=
3330else
3331 ac_cs_awk_getline=false
3332 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3333 ac_cs_awk_read_file='
3334 print "|#_!!_#|"
3335 print "cat " F[key] " &&"
3336 '$ac_cs_awk_pipe_init
3337 # The final `:' finishes the AND list.
3338 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3339fi
3340ac_cr='
3341'
3342ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3343if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3344 ac_cs_awk_cr='\\r'
3345else
3346 ac_cs_awk_cr=$ac_cr
3347fi
3348
3349echo 'BEGIN {' >"$tmp/subs1.awk" &&
3350_ACEOF
3351
3352# Create commands to substitute file output variables.
3353{
3354 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3355 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
3356 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3357 echo "_ACAWK" &&
3358 echo "_ACEOF"
3359} >conf$$files.sh &&
3360. ./conf$$files.sh ||
3361 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3362$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3363 { (exit 1); exit 1; }; }
3364rm -f conf$$files.sh
3365
3366{
3367 echo "cat >conf$$subs.awk <<_ACEOF" &&
3368 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3369 echo "_ACEOF"
3370} >conf$$subs.sh ||
3371 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3372$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3373 { (exit 1); exit 1; }; }
3374ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
3375ac_delim='%!_!# '
3376for ac_last_try in false false false false false :; do
3377 . ./conf$$subs.sh ||
3378 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3379$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3380 { (exit 1); exit 1; }; }
3381
3382 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3383 if test $ac_delim_n = $ac_delim_num; then
3384 break
3385 elif $ac_last_try; then
3386 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
3387$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
3388 { (exit 1); exit 1; }; }
3389 else
3390 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3391 fi
3392done
3393rm -f conf$$subs.sh
3394
3395cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3396cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3397_ACEOF
3398sed -n '
3399h
3400s/^/S["/; s/!.*/"]=/
3401p
3402g
3403s/^[^!]*!//
3404:repl
3405t repl
3406s/'"$ac_delim"'$//
3407t delim
3408:nl
3409h
3410s/\(.\{148\}\).*/\1/
3411t more1
3412s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3413p
3414n
3415b repl
3416:more1
3417s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3418p
3419g
3420s/.\{148\}//
3421t nl
3422:delim
3423h
3424s/\(.\{148\}\).*/\1/
3425t more2
3426s/["\\]/\\&/g; s/^/"/; s/$/"/
3427p
3428b
3429:more2
3430s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3431p
3432g
3433s/.\{148\}//
3434t delim
3435' <conf$$subs.awk | sed '
3436/^[^""]/{
3437 N
3438 s/\n//
3439}
3440' >>$CONFIG_STATUS || ac_write_fail=1
3441rm -f conf$$subs.awk
3442cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3443_ACAWK
3444cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3445 for (key in S) S_is_set[key] = 1
3446 FS = ""
3447 \$ac_cs_awk_pipe_init
3448}
3449{
3450 line = $ 0
3451 nfields = split(line, field, "@")
3452 substed = 0
3453 len = length(field[1])
3454 for (i = 2; i < nfields; i++) {
3455 key = field[i]
3456 keylen = length(key)
3457 if (S_is_set[key]) {
3458 value = S[key]
3459 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3460 len += length(value) + length(field[++i])
3461 substed = 1
3462 } else
3463 len += 1 + keylen
3464 }
3465 if (nfields == 3 && !substed) {
3466 key = field[2]
3467 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
3468 \$ac_cs_awk_read_file
3469 next
3470 }
3471 }
3472 print line
3473}
3474\$ac_cs_awk_pipe_fini
3475_ACAWK
3476_ACEOF
3477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3478if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3479 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3480else
3481 cat
3482fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3483 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
3484$as_echo "$as_me: error: could not setup config files machinery" >&2;}
3485 { (exit 1); exit 1; }; }
3486_ACEOF
3487
3488# VPATH may cause trouble with some makes, so we remove $(srcdir),
3489# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3490# trailing colons and then remove the whole line if VPATH becomes empty
3491# (actually we leave an empty line to preserve line numbers).
3492if test "x$srcdir" = x.; then
3493 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3494s/:*\$(srcdir):*/:/
3495s/:*\${srcdir}:*/:/
3496s/:*@srcdir@:*/:/
3497s/^\([^=]*=[ ]*\):*/\1/
3498s/:*$//
3499s/^[^=]*=[ ]*$//
3500}'
3501fi
3502
3503cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3504fi # test -n "$CONFIG_FILES"
3505
3506
3507eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3508shift
3509for ac_tag
3510do
3511 case $ac_tag in
3512 :[FHLC]) ac_mode=$ac_tag; continue;;
3513 esac
3514 case $ac_mode$ac_tag in
3515 :[FHL]*:*);;
3516 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
3517$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
3518 { (exit 1); exit 1; }; };;
3519 :[FH]-) ac_tag=-:-;;
3520 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3521 esac
3522 ac_save_IFS=$IFS
3523 IFS=:
3524 set x $ac_tag
3525 IFS=$ac_save_IFS
3526 shift
3527 ac_file=$1
3528 shift
3529
3530 case $ac_mode in
3531 :L) ac_source=$1;;
3532 :[FH])
3533 ac_file_inputs=
3534 for ac_f
3535 do
3536 case $ac_f in
3537 -) ac_f="$tmp/stdin";;
3538 *) # Look for the file first in the build tree, then in the source tree
3539 # (if the path is not absolute). The absolute path cannot be DOS-style,
3540 # because $ac_f cannot contain `:'.
3541 test -f "$ac_f" ||
3542 case $ac_f in
3543 [\\/$]*) false;;
3544 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3545 esac ||
3546 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3547$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3548 { (exit 1); exit 1; }; };;
3549 esac
3550 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3551 ac_file_inputs="$ac_file_inputs '$ac_f'"
3552 done
3553
3554 # Let's still pretend it is `configure' which instantiates (i.e., don't
3555 # use $as_me), people would be surprised to read:
3556 # /* config.h. Generated by config.status. */
3557 configure_input='Generated from '`
3558 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3559 `' by configure.'
3560 if test x"$ac_file" != x-; then
3561 configure_input="$ac_file. $configure_input"
3562 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
3563$as_echo "$as_me: creating $ac_file" >&6;}
3564 fi
3565 # Neutralize special characters interpreted by sed in replacement strings.
3566 case $configure_input in #(
3567 *\&* | *\|* | *\\* )
3568 ac_sed_conf_input=`$as_echo "$configure_input" |
3569 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3570 *) ac_sed_conf_input=$configure_input;;
3571 esac
3572
3573 case $ac_tag in
3574 *:-:* | *:-) cat >"$tmp/stdin" \
3575 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3576$as_echo "$as_me: error: could not create $ac_file" >&2;}
3577 { (exit 1); exit 1; }; } ;;
3578 esac
3579 ;;
3580 esac
3581
3582 ac_dir=`$as_dirname -- "$ac_file" ||
3583$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3584 X"$ac_file" : 'X\(//\)[^/]' \| \
3585 X"$ac_file" : 'X\(//\)$' \| \
3586 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3587$as_echo X"$ac_file" |
3588 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3589 s//\1/
3590 q
3591 }
3592 /^X\(\/\/\)[^/].*/{
3593 s//\1/
3594 q
3595 }
3596 /^X\(\/\/\)$/{
3597 s//\1/
3598 q
3599 }
3600 /^X\(\/\).*/{
3601 s//\1/
3602 q
3603 }
3604 s/.*/./; q'`
3605 { as_dir="$ac_dir"
3606 case $as_dir in #(
3607 -*) as_dir=./$as_dir;;
3608 esac
3609 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3610 as_dirs=
3611 while :; do
3612 case $as_dir in #(
3613 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3614 *) as_qdir=$as_dir;;
3615 esac
3616 as_dirs="'$as_qdir' $as_dirs"
3617 as_dir=`$as_dirname -- "$as_dir" ||
3618$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3619 X"$as_dir" : 'X\(//\)[^/]' \| \
3620 X"$as_dir" : 'X\(//\)$' \| \
3621 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3622$as_echo X"$as_dir" |
3623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3624 s//\1/
3625 q
3626 }
3627 /^X\(\/\/\)[^/].*/{
3628 s//\1/
3629 q
3630 }
3631 /^X\(\/\/\)$/{
3632 s//\1/
3633 q
3634 }
3635 /^X\(\/\).*/{
3636 s//\1/
3637 q
3638 }
3639 s/.*/./; q'`
3640 test -d "$as_dir" && break
3641 done
3642 test -z "$as_dirs" || eval "mkdir $as_dirs"
3643 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3644$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3645 { (exit 1); exit 1; }; }; }
3646 ac_builddir=.
3647
3648case "$ac_dir" in
3649.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3650*)
3651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3652 # A ".." for each directory in $ac_dir_suffix.
3653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3654 case $ac_top_builddir_sub in
3655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3657 esac ;;
3658esac
3659ac_abs_top_builddir=$ac_pwd
3660ac_abs_builddir=$ac_pwd$ac_dir_suffix
3661# for backward compatibility:
3662ac_top_builddir=$ac_top_build_prefix
3663
3664case $srcdir in
3665 .) # We are building in place.
3666 ac_srcdir=.
3667 ac_top_srcdir=$ac_top_builddir_sub
3668 ac_abs_top_srcdir=$ac_pwd ;;
3669 [\\/]* | ?:[\\/]* ) # Absolute name.
3670 ac_srcdir=$srcdir$ac_dir_suffix;
3671 ac_top_srcdir=$srcdir
3672 ac_abs_top_srcdir=$srcdir ;;
3673 *) # Relative name.
3674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3675 ac_top_srcdir=$ac_top_build_prefix$srcdir
3676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3677esac
3678ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3679
3680
3681 case $ac_mode in
3682 :F)
3683 #
3684 # CONFIG_FILE
3685 #
3686
3687 case $INSTALL in
3688 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3689 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3690 esac
3691_ACEOF
3692
3693cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3694# If the template does not know about datarootdir, expand it.
3695# FIXME: This hack should be removed a few years after 2.60.
3696ac_datarootdir_hack=; ac_datarootdir_seen=
3697
3698ac_sed_dataroot='
3699/datarootdir/ {
3700 p
3701 q
3702}
3703/@datadir@/p
3704/@docdir@/p
3705/@infodir@/p
3706/@localedir@/p
3707/@mandir@/p
3708'
3709case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3710*datarootdir*) ac_datarootdir_seen=yes;;
3711*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3712 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3713$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3714_ACEOF
3715cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3716 ac_datarootdir_hack='
3717 s&@datadir@&$datadir&g
3718 s&@docdir@&$docdir&g
3719 s&@infodir@&$infodir&g
3720 s&@localedir@&$localedir&g
3721 s&@mandir@&$mandir&g
3722 s&\\\${datarootdir}&$datarootdir&g' ;;
3723esac
3724_ACEOF
3725
3726# Neutralize VPATH when `$srcdir' = `.'.
3727# Shell code in configure.ac might set extrasub.
3728# FIXME: do we really want to maintain this feature?
3729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3730ac_sed_extra="$ac_vpsub
3731$extrasub
3732_ACEOF
3733cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3734:t
3735/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3736s|@configure_input@|$ac_sed_conf_input|;t t
3737s&@top_builddir@&$ac_top_builddir_sub&;t t
3738s&@top_build_prefix@&$ac_top_build_prefix&;t t
3739s&@srcdir@&$ac_srcdir&;t t
3740s&@abs_srcdir@&$ac_abs_srcdir&;t t
3741s&@top_srcdir@&$ac_top_srcdir&;t t
3742s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3743s&@builddir@&$ac_builddir&;t t
3744s&@abs_builddir@&$ac_abs_builddir&;t t
3745s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3746s&@INSTALL@&$ac_INSTALL&;t t
3747$ac_datarootdir_hack
3748"
3749eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3750if $ac_cs_awk_getline; then
3751 $AWK -f "$tmp/subs.awk"
3752else
3753 $AWK -f "$tmp/subs.awk" | $SHELL
3754fi >$tmp/out \
3755 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3756$as_echo "$as_me: error: could not create $ac_file" >&2;}
3757 { (exit 1); exit 1; }; }
3758
3759test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3760 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3761 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3762 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3763which seems to be undefined. Please make sure it is defined." >&5
3764$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3765which seems to be undefined. Please make sure it is defined." >&2;}
3766
3767 rm -f "$tmp/stdin"
3768 case $ac_file in
3769 -) cat "$tmp/out" && rm -f "$tmp/out";;
3770 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3771 esac \
3772 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
3773$as_echo "$as_me: error: could not create $ac_file" >&2;}
3774 { (exit 1); exit 1; }; }
3775 ;;
3776
3777
3778 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
3779$as_echo "$as_me: executing $ac_file commands" >&6;}
3780 ;;
3781 esac
3782
3783
3784 case $ac_file$ac_mode in
3785 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3786 # Strip MF so we end up with the name of the file.
3787 mf=`echo "$mf" | sed -e 's/:.*$//'`
3788 # Check whether this is an Automake generated Makefile or not.
3789 # We used to match only the files named `Makefile.in', but
3790 # some people rename them; so instead we look at the file content.
3791 # Grep'ing the first line is not enough: some people post-process
3792 # each Makefile.in and add a new line on top of each file to say so.
3793 # So let's grep whole file.
3794 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
3795 dirpart=`$as_dirname -- "$mf" ||
3796$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3797 X"$mf" : 'X\(//\)[^/]' \| \
3798 X"$mf" : 'X\(//\)$' \| \
3799 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3800$as_echo X"$mf" |
3801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3802 s//\1/
3803 q
3804 }
3805 /^X\(\/\/\)[^/].*/{
3806 s//\1/
3807 q
3808 }
3809 /^X\(\/\/\)$/{
3810 s//\1/
3811 q
3812 }
3813 /^X\(\/\).*/{
3814 s//\1/
3815 q
3816 }
3817 s/.*/./; q'`
3818 else
3819 continue
3820 fi
3821 # Extract the definition of DEPDIR, am__include, and am__quote
3822 # from the Makefile without running `make'.
3823 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3824 test -z "$DEPDIR" && continue
3825 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3826 test -z "am__include" && continue
3827 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3828 # When using ansi2knr, U may be empty or an underscore; expand it
3829 U=`sed -n 's/^U = //p' < "$mf"`
3830 # Find all dependency output files, they are included files with
3831 # $(DEPDIR) in their names. We invoke sed twice because it is the
3832 # simplest approach to changing $(DEPDIR) to its actual value in the
3833 # expansion.
3834 for file in `sed -n "
3835 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3836 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3837 # Make sure the directory exists.
3838 test -f "$dirpart/$file" && continue
3839 fdir=`$as_dirname -- "$file" ||
3840$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3841 X"$file" : 'X\(//\)[^/]' \| \
3842 X"$file" : 'X\(//\)$' \| \
3843 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3844$as_echo X"$file" |
3845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3846 s//\1/
3847 q
3848 }
3849 /^X\(\/\/\)[^/].*/{
3850 s//\1/
3851 q
3852 }
3853 /^X\(\/\/\)$/{
3854 s//\1/
3855 q
3856 }
3857 /^X\(\/\).*/{
3858 s//\1/
3859 q
3860 }
3861 s/.*/./; q'`
3862 { as_dir=$dirpart/$fdir
3863 case $as_dir in #(
3864 -*) as_dir=./$as_dir;;
3865 esac
3866 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
3867 as_dirs=
3868 while :; do
3869 case $as_dir in #(
3870 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3871 *) as_qdir=$as_dir;;
3872 esac
3873 as_dirs="'$as_qdir' $as_dirs"
3874 as_dir=`$as_dirname -- "$as_dir" ||
3875$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3876 X"$as_dir" : 'X\(//\)[^/]' \| \
3877 X"$as_dir" : 'X\(//\)$' \| \
3878 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3879$as_echo X"$as_dir" |
3880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3881 s//\1/
3882 q
3883 }
3884 /^X\(\/\/\)[^/].*/{
3885 s//\1/
3886 q
3887 }
3888 /^X\(\/\/\)$/{
3889 s//\1/
3890 q
3891 }
3892 /^X\(\/\).*/{
3893 s//\1/
3894 q
3895 }
3896 s/.*/./; q'`
3897 test -d "$as_dir" && break
3898 done
3899 test -z "$as_dirs" || eval "mkdir $as_dirs"
3900 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
3901$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
3902 { (exit 1); exit 1; }; }; }
3903 # echo "creating $dirpart/$file"
3904 echo '# dummy' > "$dirpart/$file"
3905 done
3906done
3907 ;;
3908 "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
3909
3910 esac
3911done # for ac_tag
3912
3913
3914{ (exit 0); exit 0; }
3915_ACEOF
3916chmod +x $CONFIG_STATUS
3917ac_clean_files=$ac_clean_files_save
3918
3919test $ac_write_fail = 0 ||
3920 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
3921$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
3922 { (exit 1); exit 1; }; }
3923
3924
3925# configure is writing to config.log, and then calls config.status.
3926# config.status does its own redirection, appending to config.log.
3927# Unfortunately, on DOS this fails, as config.log is still kept open
3928# by configure, so config.status won't be able to write to it; its
3929# output is simply discarded. So we exec the FD to /dev/null,
3930# effectively closing config.log, so it can be properly (re)opened and
3931# appended to by config.status. When coming back to configure, we
3932# need to make the FD available again.
3933if test "$no_create" != yes; then
3934 ac_cs_success=:
3935 ac_config_status_args=
3936 test "$silent" = yes &&
3937 ac_config_status_args="$ac_config_status_args --quiet"
3938 exec 5>/dev/null
3939 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3940 exec 5>>config.log
3941 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3942 # would make configure fail if this is the last instruction.
3943 $ac_cs_success || { (exit 1); exit 1; }
3944fi
3945if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3946 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3947$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3948fi
3949
Note: See TracBrowser for help on using the repository browser.