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