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