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

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

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

File size: 111.2 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="crt0.S"
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
1743
1744if test "${enable_shared}" = "yes" ; then
1745 echo "Shared libraries not supported for cross compiling, ignored"
1746fi
1747
1748if test "$srcdir" = "." ; then
1749 if test "${with_target_subdir}" != "." ; then
1750 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
1751 else
1752 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
1753 fi
1754else
1755 libgloss_topdir="${srcdir}/../.."
1756fi
1757ac_aux_dir=
1758for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do
1759 if test -f "$ac_dir/install-sh"; then
1760 ac_aux_dir=$ac_dir
1761 ac_install_sh="$ac_aux_dir/install-sh -c"
1762 break
1763 elif test -f "$ac_dir/install.sh"; then
1764 ac_aux_dir=$ac_dir
1765 ac_install_sh="$ac_aux_dir/install.sh -c"
1766 break
1767 elif test -f "$ac_dir/shtool"; then
1768 ac_aux_dir=$ac_dir
1769 ac_install_sh="$ac_aux_dir/shtool install -c"
1770 break
1771 fi
1772done
1773if test -z "$ac_aux_dir"; then
1774 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5
1775fi
1776
1777# These three variables are undocumented and unsupported,
1778# and are intended to be withdrawn in a future Autoconf release.
1779# They can cause serious problems if a builder's source tree is in a directory
1780# whose full name contains unusual characters.
1781ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1782ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1783ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1784
1785
1786
1787# Make sure we can run config.sub.
1788$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1789 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1790
1791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1792$as_echo_n "checking build system type... " >&6; }
1793if ${ac_cv_build+:} false; then :
1794 $as_echo_n "(cached) " >&6
1795else
1796 ac_build_alias=$build_alias
1797test "x$ac_build_alias" = x &&
1798 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1799test "x$ac_build_alias" = x &&
1800 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1801ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1802 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1803
1804fi
1805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1806$as_echo "$ac_cv_build" >&6; }
1807case $ac_cv_build in
1808*-*-*) ;;
1809*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1810esac
1811build=$ac_cv_build
1812ac_save_IFS=$IFS; IFS='-'
1813set x $ac_cv_build
1814shift
1815build_cpu=$1
1816build_vendor=$2
1817shift; shift
1818# Remember, the first character of IFS is used to create $*,
1819# except with old shells:
1820build_os=$*
1821IFS=$ac_save_IFS
1822case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1823
1824
1825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1826$as_echo_n "checking host system type... " >&6; }
1827if ${ac_cv_host+:} false; then :
1828 $as_echo_n "(cached) " >&6
1829else
1830 if test "x$host_alias" = x; then
1831 ac_cv_host=$ac_cv_build
1832else
1833 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1834 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1835fi
1836
1837fi
1838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1839$as_echo "$ac_cv_host" >&6; }
1840case $ac_cv_host in
1841*-*-*) ;;
1842*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1843esac
1844host=$ac_cv_host
1845ac_save_IFS=$IFS; IFS='-'
1846set x $ac_cv_host
1847shift
1848host_cpu=$1
1849host_vendor=$2
1850shift; shift
1851# Remember, the first character of IFS is used to create $*,
1852# except with old shells:
1853host_os=$*
1854IFS=$ac_save_IFS
1855case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1856
1857
1858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
1859$as_echo_n "checking target system type... " >&6; }
1860if ${ac_cv_target+:} false; then :
1861 $as_echo_n "(cached) " >&6
1862else
1863 if test "x$target_alias" = x; then
1864 ac_cv_target=$ac_cv_host
1865else
1866 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1867 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
1868fi
1869
1870fi
1871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
1872$as_echo "$ac_cv_target" >&6; }
1873case $ac_cv_target in
1874*-*-*) ;;
1875*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
1876esac
1877target=$ac_cv_target
1878ac_save_IFS=$IFS; IFS='-'
1879set x $ac_cv_target
1880shift
1881target_cpu=$1
1882target_vendor=$2
1883shift; shift
1884# Remember, the first character of IFS is used to create $*,
1885# except with old shells:
1886target_os=$*
1887IFS=$ac_save_IFS
1888case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1889
1890
1891# The aliases save the names the user supplied, while $host etc.
1892# will get canonicalized.
1893test -n "$target_alias" &&
1894 test "$program_prefix$program_suffix$program_transform_name" = \
1895 NONENONEs,x,x, &&
1896 program_prefix=${target_alias}-
1897
1898test "$program_prefix" != NONE &&
1899 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1900# Use a double $ so make ignores it.
1901test "$program_suffix" != NONE &&
1902 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1903# Double any \ or $.
1904# By default was `s,x,x', remove it if useless.
1905ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1906program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1907
1908
1909# Find a good install program. We prefer a C program (faster),
1910# so one script is as good as another. But avoid the broken or
1911# incompatible versions:
1912# SysV /etc/install, /usr/sbin/install
1913# SunOS /usr/etc/install
1914# IRIX /sbin/install
1915# AIX /bin/install
1916# AmigaOS /C/install, which installs bootblocks on floppy discs
1917# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1918# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1919# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1920# OS/2's system install, which has a completely different semantic
1921# ./install, which can be erroneously created by make from ./install.sh.
1922# Reject install programs that cannot install multiple files.
1923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1924$as_echo_n "checking for a BSD-compatible install... " >&6; }
1925if test -z "$INSTALL"; then
1926if ${ac_cv_path_install+:} false; then :
1927 $as_echo_n "(cached) " >&6
1928else
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930for as_dir in $PATH
1931do
1932 IFS=$as_save_IFS
1933 test -z "$as_dir" && as_dir=.
1934 # Account for people who put trailing slashes in PATH elements.
1935case $as_dir/ in #((
1936 ./ | .// | /[cC]/* | \
1937 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1938 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1939 /usr/ucb/* ) ;;
1940 *)
1941 # OSF1 and SCO ODT 3.0 have their own names for install.
1942 # Don't use installbsd from OSF since it installs stuff as root
1943 # by default.
1944 for ac_prog in ginstall scoinst install; do
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1947 if test $ac_prog = install &&
1948 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1949 # AIX install. It has an incompatible calling convention.
1950 :
1951 elif test $ac_prog = install &&
1952 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1953 # program-specific install script used by HP pwplus--don't use.
1954 :
1955 else
1956 rm -rf conftest.one conftest.two conftest.dir
1957 echo one > conftest.one
1958 echo two > conftest.two
1959 mkdir conftest.dir
1960 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1961 test -s conftest.one && test -s conftest.two &&
1962 test -s conftest.dir/conftest.one &&
1963 test -s conftest.dir/conftest.two
1964 then
1965 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1966 break 3
1967 fi
1968 fi
1969 fi
1970 done
1971 done
1972 ;;
1973esac
1974
1975 done
1976IFS=$as_save_IFS
1977
1978rm -rf conftest.one conftest.two conftest.dir
1979
1980fi
1981 if test "${ac_cv_path_install+set}" = set; then
1982 INSTALL=$ac_cv_path_install
1983 else
1984 # As a last resort, use the slow shell script. Don't cache a
1985 # value for INSTALL within a source directory, because that will
1986 # break other packages using the cache if that directory is
1987 # removed, or if the value is a relative name.
1988 INSTALL=$ac_install_sh
1989 fi
1990fi
1991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1992$as_echo "$INSTALL" >&6; }
1993
1994# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1995# It thinks the first close brace ends the variable substitution.
1996test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1997
1998test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1999
2000test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2001
2002
2003rm -rf .tst 2>/dev/null
2004mkdir .tst 2>/dev/null
2005if test -d .tst; then
2006 am__leading_dot=.
2007else
2008 am__leading_dot=_
2009fi
2010rmdir .tst 2>/dev/null
2011
2012DEPDIR="${am__leading_dot}deps"
2013
2014ac_config_commands="$ac_config_commands depfiles"
2015
2016
2017am_make=${MAKE-make}
2018cat > confinc << 'END'
2019am__doit:
2020 @echo this is the am__doit target
2021.PHONY: am__doit
2022END
2023# If we don't find an include directive, just comment out the code.
2024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2025$as_echo_n "checking for style of include used by $am_make... " >&6; }
2026am__include="#"
2027am__quote=
2028_am_result=none
2029# First try GNU make style include.
2030echo "include confinc" > confmf
2031# Ignore all kinds of additional output from `make'.
2032case `$am_make -s -f confmf 2> /dev/null` in #(
2033*the\ am__doit\ target*)
2034 am__include=include
2035 am__quote=
2036 _am_result=GNU
2037 ;;
2038esac
2039# Now try BSD make style include.
2040if test "$am__include" = "#"; then
2041 echo '.include "confinc"' > confmf
2042 case `$am_make -s -f confmf 2> /dev/null` in #(
2043 *the\ am__doit\ target*)
2044 am__include=.include
2045 am__quote="\""
2046 _am_result=BSD
2047 ;;
2048 esac
2049fi
2050
2051
2052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2053$as_echo "$_am_result" >&6; }
2054rm -f confinc confmf
2055
2056# Check whether --enable-dependency-tracking was given.
2057if test "${enable_dependency_tracking+set}" = set; then :
2058 enableval=$enable_dependency_tracking;
2059fi
2060
2061if test "x$enable_dependency_tracking" != xno; then
2062 am_depcomp="$ac_aux_dir/depcomp"
2063 AMDEPBACKSLASH='\'
2064fi
2065 if test "x$enable_dependency_tracking" != xno; then
2066 AMDEP_TRUE=
2067 AMDEP_FALSE='#'
2068else
2069 AMDEP_TRUE='#'
2070 AMDEP_FALSE=
2071fi
2072
2073
2074# Extract the first word of "gcc", so it can be a program name with args.
2075set dummy gcc; ac_word=$2
2076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2077$as_echo_n "checking for $ac_word... " >&6; }
2078if ${ac_cv_prog_CC+:} false; then :
2079 $as_echo_n "(cached) " >&6
2080else
2081 if test -n "$CC"; then
2082 ac_cv_prog_CC="$CC" # Let the user override the test.
2083else
2084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085for as_dir in $PATH
2086do
2087 IFS=$as_save_IFS
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2091 ac_cv_prog_CC="gcc"
2092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2093 break 2
2094 fi
2095done
2096 done
2097IFS=$as_save_IFS
2098
2099fi
2100fi
2101CC=$ac_cv_prog_CC
2102if test -n "$CC"; then
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2104$as_echo "$CC" >&6; }
2105else
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107$as_echo "no" >&6; }
2108fi
2109
2110
2111
2112depcc="$CC" am_compiler_list=
2113
2114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2115$as_echo_n "checking dependency style of $depcc... " >&6; }
2116if ${am_cv_CC_dependencies_compiler_type+:} false; then :
2117 $as_echo_n "(cached) " >&6
2118else
2119 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2120 # We make a subdir and do the tests there. Otherwise we can end up
2121 # making bogus files that we don't know about and never remove. For
2122 # instance it was reported that on HP-UX the gcc test will end up
2123 # making a dummy file named `D' -- because `-MD' means `put the output
2124 # in D'.
2125 mkdir conftest.dir
2126 # Copy depcomp to subdir because otherwise we won't find it if we're
2127 # using a relative directory.
2128 cp "$am_depcomp" conftest.dir
2129 cd conftest.dir
2130 # We will build objects and dependencies in a subdirectory because
2131 # it helps to detect inapplicable dependency modes. For instance
2132 # both Tru64's cc and ICC support -MD to output dependencies as a
2133 # side effect of compilation, but ICC will put the dependencies in
2134 # the current directory while Tru64 will put them in the object
2135 # directory.
2136 mkdir sub
2137
2138 am_cv_CC_dependencies_compiler_type=none
2139 if test "$am_compiler_list" = ""; then
2140 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2141 fi
2142 am__universal=false
2143 case " $depcc " in #(
2144 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2145 esac
2146
2147 for depmode in $am_compiler_list; do
2148 # Setup a source with many dependencies, because some compilers
2149 # like to wrap large dependency lists on column 80 (with \), and
2150 # we should not choose a depcomp mode which is confused by this.
2151 #
2152 # We need to recreate these files for each test, as the compiler may
2153 # overwrite some of them when testing with obscure command lines.
2154 # This happens at least with the AIX C compiler.
2155 : > sub/conftest.c
2156 for i in 1 2 3 4 5 6; do
2157 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2158 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2159 # Solaris 8's {/usr,}/bin/sh.
2160 touch sub/conftst$i.h
2161 done
2162 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2163
2164 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2165 # mode. It turns out that the SunPro C++ compiler does not properly
2166 # handle `-M -o', and we need to detect this. Also, some Intel
2167 # versions had trouble with output in subdirs
2168 am__obj=sub/conftest.${OBJEXT-o}
2169 am__minus_obj="-o $am__obj"
2170 case $depmode in
2171 gcc)
2172 # This depmode causes a compiler race in universal mode.
2173 test "$am__universal" = false || continue
2174 ;;
2175 nosideeffect)
2176 # after this tag, mechanisms are not by side-effect, so they'll
2177 # only be used when explicitly requested
2178 if test "x$enable_dependency_tracking" = xyes; then
2179 continue
2180 else
2181 break
2182 fi
2183 ;;
2184 msvisualcpp | msvcmsys)
2185 # This compiler won't grok `-c -o', but also, the minuso test has
2186 # not run yet. These depmodes are late enough in the game, and
2187 # so weak that their functioning should not be impacted.
2188 am__obj=conftest.${OBJEXT-o}
2189 am__minus_obj=
2190 ;;
2191 none) break ;;
2192 esac
2193 if depmode=$depmode \
2194 source=sub/conftest.c object=$am__obj \
2195 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2196 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2197 >/dev/null 2>conftest.err &&
2198 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2199 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2200 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2201 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2202 # icc doesn't choke on unknown options, it will just issue warnings
2203 # or remarks (even with -Werror). So we grep stderr for any message
2204 # that says an option was ignored or not supported.
2205 # When given -MP, icc 7.0 and 7.1 complain thusly:
2206 # icc: Command line warning: ignoring option '-M'; no argument required
2207 # The diagnosis changed in icc 8.0:
2208 # icc: Command line remark: option '-MP' not supported
2209 if (grep 'ignoring option' conftest.err ||
2210 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2211 am_cv_CC_dependencies_compiler_type=$depmode
2212 break
2213 fi
2214 fi
2215 done
2216
2217 cd ..
2218 rm -rf conftest.dir
2219else
2220 am_cv_CC_dependencies_compiler_type=none
2221fi
2222
2223fi
2224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2225$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
2226CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2227
2228 if
2229 test "x$enable_dependency_tracking" != xno \
2230 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2231 am__fastdepCC_TRUE=
2232 am__fastdepCC_FALSE='#'
2233else
2234 am__fastdepCC_TRUE='#'
2235 am__fastdepCC_FALSE=
2236fi
2237
2238
2239if test -z "$CC"; then
2240 # Extract the first word of "cc", so it can be a program name with args.
2241set dummy cc; ac_word=$2
2242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2243$as_echo_n "checking for $ac_word... " >&6; }
2244if ${ac_cv_prog_CC+:} false; then :
2245 $as_echo_n "(cached) " >&6
2246else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249else
2250 ac_prog_rejected=no
2251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252for as_dir in $PATH
2253do
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2259 ac_prog_rejected=yes
2260 continue
2261 fi
2262 ac_cv_prog_CC="cc"
2263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2264 break 2
2265 fi
2266done
2267 done
2268IFS=$as_save_IFS
2269
2270if test $ac_prog_rejected = yes; then
2271 # We found a bogon in the path, so make sure we never use it.
2272 set dummy $ac_cv_prog_CC
2273 shift
2274 if test $# != 0; then
2275 # We chose a different compiler from the bogus one.
2276 # However, it has the same basename, so the bogon will be chosen
2277 # first if we set CC to just the basename; use the full file name.
2278 shift
2279 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2280 fi
2281fi
2282fi
2283fi
2284CC=$ac_cv_prog_CC
2285if test -n "$CC"; then
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2287$as_echo "$CC" >&6; }
2288else
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2290$as_echo "no" >&6; }
2291fi
2292
2293
2294 test -z "$CC" && as_fn_error $? "no acceptable cc found in \$PATH" "$LINENO" 5
2295fi
2296
2297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using GNU C" >&5
2298$as_echo_n "checking whether we are using GNU C... " >&6; }
2299if ${ac_cv_c_compiler_gnu+:} false; then :
2300 $as_echo_n "(cached) " >&6
2301else
2302 cat > conftest.c <<EOF
2303#ifdef __GNUC__
2304 yes;
2305#endif
2306EOF
2307if { ac_try='${CC-cc} -E conftest.c'
2308 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
2309 (eval $ac_try) 2>&5
2310 ac_status=$?
2311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2312 test $ac_status = 0; }; } | egrep yes >/dev/null 2>&1; then
2313 ac_cv_c_compiler_gnu=yes
2314else
2315 ac_cv_c_compiler_gnu=no
2316fi
2317fi
2318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2319$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2320
2321if test $ac_cv_c_compiler_gnu = yes; then
2322 GCC=yes
2323 ac_test_CFLAGS="${CFLAGS+set}"
2324 ac_save_CFLAGS="$CFLAGS"
2325 CFLAGS=
2326 ac_test_CFLAGS=${CFLAGS+set}
2327ac_save_CFLAGS=$CFLAGS
2328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2329$as_echo_n "checking whether $CC accepts -g... " >&6; }
2330if ${ac_cv_prog_cc_g+:} false; then :
2331 $as_echo_n "(cached) " >&6
2332else
2333 ac_save_c_werror_flag=$ac_c_werror_flag
2334 ac_c_werror_flag=yes
2335 ac_cv_prog_cc_g=no
2336 CFLAGS="-g"
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338/* end confdefs.h. */
2339
2340int
2341main ()
2342{
2343
2344 ;
2345 return 0;
2346}
2347_ACEOF
2348if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_cv_prog_cc_g=yes
2350else
2351 CFLAGS=""
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353/* end confdefs.h. */
2354
2355int
2356main ()
2357{
2358
2359 ;
2360 return 0;
2361}
2362_ACEOF
2363if ac_fn_c_try_compile "$LINENO"; then :
2364
2365else
2366 ac_c_werror_flag=$ac_save_c_werror_flag
2367 CFLAGS="-g"
2368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2369/* end confdefs.h. */
2370
2371int
2372main ()
2373{
2374
2375 ;
2376 return 0;
2377}
2378_ACEOF
2379if ac_fn_c_try_compile "$LINENO"; then :
2380 ac_cv_prog_cc_g=yes
2381fi
2382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383fi
2384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385fi
2386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2387 ac_c_werror_flag=$ac_save_c_werror_flag
2388fi
2389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2390$as_echo "$ac_cv_prog_cc_g" >&6; }
2391if test "$ac_test_CFLAGS" = set; then
2392 CFLAGS=$ac_save_CFLAGS
2393elif test $ac_cv_prog_cc_g = yes; then
2394 if test "$GCC" = yes; then
2395 CFLAGS="-g -O2"
2396 else
2397 CFLAGS="-g"
2398 fi
2399else
2400 if test "$GCC" = yes; then
2401 CFLAGS="-O2"
2402 else
2403 CFLAGS=
2404 fi
2405fi
2406 if test "$ac_test_CFLAGS" = set; then
2407 CFLAGS="$ac_save_CFLAGS"
2408 elif test $ac_cv_prog_cc_g = yes; then
2409 CFLAGS="-g -O2"
2410 else
2411 CFLAGS="-O2"
2412 fi
2413else
2414 GCC=
2415 test "${CFLAGS+set}" = set || CFLAGS="-g"
2416fi
2417
2418
2419AS=${AS-as}
2420
2421AR=${AR-ar}
2422
2423LD=${LD-ld}
2424
2425if test -n "$ac_tool_prefix"; then
2426 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2427set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2429$as_echo_n "checking for $ac_word... " >&6; }
2430if ${ac_cv_prog_RANLIB+:} false; then :
2431 $as_echo_n "(cached) " >&6
2432else
2433 if test -n "$RANLIB"; then
2434 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2435else
2436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437for as_dir in $PATH
2438do
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 2
2446 fi
2447done
2448 done
2449IFS=$as_save_IFS
2450
2451fi
2452fi
2453RANLIB=$ac_cv_prog_RANLIB
2454if test -n "$RANLIB"; then
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2456$as_echo "$RANLIB" >&6; }
2457else
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459$as_echo "no" >&6; }
2460fi
2461
2462
2463fi
2464if test -z "$ac_cv_prog_RANLIB"; then
2465 ac_ct_RANLIB=$RANLIB
2466 # Extract the first word of "ranlib", so it can be a program name with args.
2467set dummy ranlib; ac_word=$2
2468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469$as_echo_n "checking for $ac_word... " >&6; }
2470if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
2471 $as_echo_n "(cached) " >&6
2472else
2473 if test -n "$ac_ct_RANLIB"; then
2474 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2475else
2476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2477for as_dir in $PATH
2478do
2479 IFS=$as_save_IFS
2480 test -z "$as_dir" && as_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483 ac_cv_prog_ac_ct_RANLIB="ranlib"
2484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 break 2
2486 fi
2487done
2488 done
2489IFS=$as_save_IFS
2490
2491fi
2492fi
2493ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2494if test -n "$ac_ct_RANLIB"; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2496$as_echo "$ac_ct_RANLIB" >&6; }
2497else
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2499$as_echo "no" >&6; }
2500fi
2501
2502 if test "x$ac_ct_RANLIB" = x; then
2503 RANLIB=":"
2504 else
2505 case $cross_compiling:$ac_tool_warned in
2506yes:)
2507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2509ac_tool_warned=yes ;;
2510esac
2511 RANLIB=$ac_ct_RANLIB
2512 fi
2513else
2514 RANLIB="$ac_cv_prog_RANLIB"
2515fi
2516
2517# By default we simply use the C compiler to build assembly code.
2518
2519test "${CCAS+set}" = set || CCAS=$CC
2520test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2521
2522
2523
2524
2525host_makefile_frag=${srcdir}/../config/default.mh
2526
2527host_makefile_frag_path=$host_makefile_frag
2528
2529
2530
2531ac_config_files="$ac_config_files Makefile"
2532
2533cat >confcache <<\_ACEOF
2534# This file is a shell script that caches the results of configure
2535# tests run on this system so they can be shared between configure
2536# scripts and configure runs, see configure's option --config-cache.
2537# It is not useful on other systems. If it contains results you don't
2538# want to keep, you may remove or edit it.
2539#
2540# config.status only pays attention to the cache file if you give it
2541# the --recheck option to rerun configure.
2542#
2543# `ac_cv_env_foo' variables (set or unset) will be overridden when
2544# loading this file, other *unset* `ac_cv_foo' will be assigned the
2545# following values.
2546
2547_ACEOF
2548
2549# The following way of writing the cache mishandles newlines in values,
2550# but we know of no workaround that is simple, portable, and efficient.
2551# So, we kill variables containing newlines.
2552# Ultrix sh set writes to stderr and can't be redirected directly,
2553# and sets the high bit in the cache file unless we assign to the vars.
2554(
2555 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2556 eval ac_val=\$$ac_var
2557 case $ac_val in #(
2558 *${as_nl}*)
2559 case $ac_var in #(
2560 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2561$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2562 esac
2563 case $ac_var in #(
2564 _ | IFS | as_nl) ;; #(
2565 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2566 *) { eval $ac_var=; unset $ac_var;} ;;
2567 esac ;;
2568 esac
2569 done
2570
2571 (set) 2>&1 |
2572 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2573 *${as_nl}ac_space=\ *)
2574 # `set' does not quote correctly, so add quotes: double-quote
2575 # substitution turns \\\\ into \\, and sed turns \\ into \.
2576 sed -n \
2577 "s/'/'\\\\''/g;
2578 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2579 ;; #(
2580 *)
2581 # `set' quotes correctly as required by POSIX, so do not add quotes.
2582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2583 ;;
2584 esac |
2585 sort
2586) |
2587 sed '
2588 /^ac_cv_env_/b end
2589 t clear
2590 :clear
2591 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2592 t end
2593 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2594 :end' >>confcache
2595if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2596 if test -w "$cache_file"; then
2597 if test "x$cache_file" != "x/dev/null"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2599$as_echo "$as_me: updating cache $cache_file" >&6;}
2600 if test ! -f "$cache_file" || test -h "$cache_file"; then
2601 cat confcache >"$cache_file"
2602 else
2603 case $cache_file in #(
2604 */* | ?:*)
2605 mv -f confcache "$cache_file"$$ &&
2606 mv -f "$cache_file"$$ "$cache_file" ;; #(
2607 *)
2608 mv -f confcache "$cache_file" ;;
2609 esac
2610 fi
2611 fi
2612 else
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2614$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2615 fi
2616fi
2617rm -f confcache
2618
2619test "x$prefix" = xNONE && prefix=$ac_default_prefix
2620# Let make expand exec_prefix.
2621test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2622
2623# Transform confdefs.h into DEFS.
2624# Protect against shell expansion while executing Makefile rules.
2625# Protect against Makefile macro expansion.
2626#
2627# If the first sed substitution is executed (which looks for macros that
2628# take arguments), then branch to the quote section. Otherwise,
2629# look for a macro that doesn't take arguments.
2630ac_script='
2631:mline
2632/\\$/{
2633 N
2634 s,\\\n,,
2635 b mline
2636}
2637t clear
2638:clear
2639s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2640t quote
2641s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2642t quote
2643b any
2644:quote
2645s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2646s/\[/\\&/g
2647s/\]/\\&/g
2648s/\$/$$/g
2649H
2650:any
2651${
2652 g
2653 s/^\n//
2654 s/\n/ /g
2655 p
2656}
2657'
2658DEFS=`sed -n "$ac_script" confdefs.h`
2659
2660
2661ac_libobjs=
2662ac_ltlibobjs=
2663U=
2664for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2665 # 1. Remove the extension, and $U if already installed.
2666 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2667 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2668 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2669 # will be set to the directory where LIBOBJS objects are built.
2670 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2671 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2672done
2673LIBOBJS=$ac_libobjs
2674
2675LTLIBOBJS=$ac_ltlibobjs
2676
2677
2678if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2679 as_fn_error $? "conditional \"AMDEP\" was never defined.
2680Usually this means the macro was only invoked conditionally." "$LINENO" 5
2681fi
2682if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
2683 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
2684Usually this means the macro was only invoked conditionally." "$LINENO" 5
2685fi
2686
2687: "${CONFIG_STATUS=./config.status}"
2688ac_write_fail=0
2689ac_clean_files_save=$ac_clean_files
2690ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2691{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2692$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2693as_write_fail=0
2694cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2695#! $SHELL
2696# Generated by $as_me.
2697# Run this file to recreate the current configuration.
2698# Compiler output produced by configure, useful for debugging
2699# configure, is in config.log if it exists.
2700
2701debug=false
2702ac_cs_recheck=false
2703ac_cs_silent=false
2704
2705SHELL=\${CONFIG_SHELL-$SHELL}
2706export SHELL
2707_ASEOF
2708cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2709## -------------------- ##
2710## M4sh Initialization. ##
2711## -------------------- ##
2712
2713# Be more Bourne compatible
2714DUALCASE=1; export DUALCASE # for MKS sh
2715if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2716 emulate sh
2717 NULLCMD=:
2718 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2719 # is contrary to our usage. Disable this feature.
2720 alias -g '${1+"$@"}'='"$@"'
2721 setopt NO_GLOB_SUBST
2722else
2723 case `(set -o) 2>/dev/null` in #(
2724 *posix*) :
2725 set -o posix ;; #(
2726 *) :
2727 ;;
2728esac
2729fi
2730
2731
2732as_nl='
2733'
2734export as_nl
2735# Printing a long string crashes Solaris 7 /usr/bin/printf.
2736as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2737as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2738as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2739# Prefer a ksh shell builtin over an external printf program on Solaris,
2740# but without wasting forks for bash or zsh.
2741if test -z "$BASH_VERSION$ZSH_VERSION" \
2742 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2743 as_echo='print -r --'
2744 as_echo_n='print -rn --'
2745elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2746 as_echo='printf %s\n'
2747 as_echo_n='printf %s'
2748else
2749 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2750 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2751 as_echo_n='/usr/ucb/echo -n'
2752 else
2753 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2754 as_echo_n_body='eval
2755 arg=$1;
2756 case $arg in #(
2757 *"$as_nl"*)
2758 expr "X$arg" : "X\\(.*\\)$as_nl";
2759 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2760 esac;
2761 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2762 '
2763 export as_echo_n_body
2764 as_echo_n='sh -c $as_echo_n_body as_echo'
2765 fi
2766 export as_echo_body
2767 as_echo='sh -c $as_echo_body as_echo'
2768fi
2769
2770# The user is always right.
2771if test "${PATH_SEPARATOR+set}" != set; then
2772 PATH_SEPARATOR=:
2773 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2774 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2775 PATH_SEPARATOR=';'
2776 }
2777fi
2778
2779
2780# IFS
2781# We need space, tab and new line, in precisely that order. Quoting is
2782# there to prevent editors from complaining about space-tab.
2783# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2784# splitting by setting IFS to empty value.)
2785IFS=" "" $as_nl"
2786
2787# Find who we are. Look in the path if we contain no directory separator.
2788as_myself=
2789case $0 in #((
2790 *[\\/]* ) as_myself=$0 ;;
2791 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792for as_dir in $PATH
2793do
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2797 done
2798IFS=$as_save_IFS
2799
2800 ;;
2801esac
2802# We did not find ourselves, most probably we were run as `sh COMMAND'
2803# in which case we are not to be found in the path.
2804if test "x$as_myself" = x; then
2805 as_myself=$0
2806fi
2807if test ! -f "$as_myself"; then
2808 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2809 exit 1
2810fi
2811
2812# Unset variables that we do not need and which cause bugs (e.g. in
2813# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2814# suppresses any "Segmentation fault" message there. '((' could
2815# trigger a bug in pdksh 5.2.14.
2816for as_var in BASH_ENV ENV MAIL MAILPATH
2817do eval test x\${$as_var+set} = xset \
2818 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2819done
2820PS1='$ '
2821PS2='> '
2822PS4='+ '
2823
2824# NLS nuisances.
2825LC_ALL=C
2826export LC_ALL
2827LANGUAGE=C
2828export LANGUAGE
2829
2830# CDPATH.
2831(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2832
2833
2834# as_fn_error STATUS ERROR [LINENO LOG_FD]
2835# ----------------------------------------
2836# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2837# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2838# script with STATUS, using 1 if that was 0.
2839as_fn_error ()
2840{
2841 as_status=$1; test $as_status -eq 0 && as_status=1
2842 if test "$4"; then
2843 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2844 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2845 fi
2846 $as_echo "$as_me: error: $2" >&2
2847 as_fn_exit $as_status
2848} # as_fn_error
2849
2850
2851# as_fn_set_status STATUS
2852# -----------------------
2853# Set $? to STATUS, without forking.
2854as_fn_set_status ()
2855{
2856 return $1
2857} # as_fn_set_status
2858
2859# as_fn_exit STATUS
2860# -----------------
2861# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2862as_fn_exit ()
2863{
2864 set +e
2865 as_fn_set_status $1
2866 exit $1
2867} # as_fn_exit
2868
2869# as_fn_unset VAR
2870# ---------------
2871# Portably unset VAR.
2872as_fn_unset ()
2873{
2874 { eval $1=; unset $1;}
2875}
2876as_unset=as_fn_unset
2877# as_fn_append VAR VALUE
2878# ----------------------
2879# Append the text in VALUE to the end of the definition contained in VAR. Take
2880# advantage of any shell optimizations that allow amortized linear growth over
2881# repeated appends, instead of the typical quadratic growth present in naive
2882# implementations.
2883if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2884 eval 'as_fn_append ()
2885 {
2886 eval $1+=\$2
2887 }'
2888else
2889 as_fn_append ()
2890 {
2891 eval $1=\$$1\$2
2892 }
2893fi # as_fn_append
2894
2895# as_fn_arith ARG...
2896# ------------------
2897# Perform arithmetic evaluation on the ARGs, and store the result in the
2898# global $as_val. Take advantage of shells that can avoid forks. The arguments
2899# must be portable across $(()) and expr.
2900if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2901 eval 'as_fn_arith ()
2902 {
2903 as_val=$(( $* ))
2904 }'
2905else
2906 as_fn_arith ()
2907 {
2908 as_val=`expr "$@" || test $? -eq 1`
2909 }
2910fi # as_fn_arith
2911
2912
2913if expr a : '\(a\)' >/dev/null 2>&1 &&
2914 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2915 as_expr=expr
2916else
2917 as_expr=false
2918fi
2919
2920if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2921 as_basename=basename
2922else
2923 as_basename=false
2924fi
2925
2926if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2927 as_dirname=dirname
2928else
2929 as_dirname=false
2930fi
2931
2932as_me=`$as_basename -- "$0" ||
2933$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2934 X"$0" : 'X\(//\)$' \| \
2935 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2936$as_echo X/"$0" |
2937 sed '/^.*\/\([^/][^/]*\)\/*$/{
2938 s//\1/
2939 q
2940 }
2941 /^X\/\(\/\/\)$/{
2942 s//\1/
2943 q
2944 }
2945 /^X\/\(\/\).*/{
2946 s//\1/
2947 q
2948 }
2949 s/.*/./; q'`
2950
2951# Avoid depending upon Character Ranges.
2952as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2953as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2954as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2955as_cr_digits='0123456789'
2956as_cr_alnum=$as_cr_Letters$as_cr_digits
2957
2958ECHO_C= ECHO_N= ECHO_T=
2959case `echo -n x` in #(((((
2960-n*)
2961 case `echo 'xy\c'` in
2962 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2963 xy) ECHO_C='\c';;
2964 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2965 ECHO_T=' ';;
2966 esac;;
2967*)
2968 ECHO_N='-n';;
2969esac
2970
2971rm -f conf$$ conf$$.exe conf$$.file
2972if test -d conf$$.dir; then
2973 rm -f conf$$.dir/conf$$.file
2974else
2975 rm -f conf$$.dir
2976 mkdir conf$$.dir 2>/dev/null
2977fi
2978if (echo >conf$$.file) 2>/dev/null; then
2979 if ln -s conf$$.file conf$$ 2>/dev/null; then
2980 as_ln_s='ln -s'
2981 # ... but there are two gotchas:
2982 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2983 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2984 # In both cases, we have to default to `cp -p'.
2985 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2986 as_ln_s='cp -p'
2987 elif ln conf$$.file conf$$ 2>/dev/null; then
2988 as_ln_s=ln
2989 else
2990 as_ln_s='cp -p'
2991 fi
2992else
2993 as_ln_s='cp -p'
2994fi
2995rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2996rmdir conf$$.dir 2>/dev/null
2997
2998
2999# as_fn_mkdir_p
3000# -------------
3001# Create "$as_dir" as a directory, including parents if necessary.
3002as_fn_mkdir_p ()
3003{
3004
3005 case $as_dir in #(
3006 -*) as_dir=./$as_dir;;
3007 esac
3008 test -d "$as_dir" || eval $as_mkdir_p || {
3009 as_dirs=
3010 while :; do
3011 case $as_dir in #(
3012 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3013 *) as_qdir=$as_dir;;
3014 esac
3015 as_dirs="'$as_qdir' $as_dirs"
3016 as_dir=`$as_dirname -- "$as_dir" ||
3017$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3018 X"$as_dir" : 'X\(//\)[^/]' \| \
3019 X"$as_dir" : 'X\(//\)$' \| \
3020 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3021$as_echo X"$as_dir" |
3022 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3023 s//\1/
3024 q
3025 }
3026 /^X\(\/\/\)[^/].*/{
3027 s//\1/
3028 q
3029 }
3030 /^X\(\/\/\)$/{
3031 s//\1/
3032 q
3033 }
3034 /^X\(\/\).*/{
3035 s//\1/
3036 q
3037 }
3038 s/.*/./; q'`
3039 test -d "$as_dir" && break
3040 done
3041 test -z "$as_dirs" || eval "mkdir $as_dirs"
3042 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3043
3044
3045} # as_fn_mkdir_p
3046if mkdir -p . 2>/dev/null; then
3047 as_mkdir_p='mkdir -p "$as_dir"'
3048else
3049 test -d ./-p && rmdir ./-p
3050 as_mkdir_p=false
3051fi
3052
3053if test -x / >/dev/null 2>&1; then
3054 as_test_x='test -x'
3055else
3056 if ls -dL / >/dev/null 2>&1; then
3057 as_ls_L_option=L
3058 else
3059 as_ls_L_option=
3060 fi
3061 as_test_x='
3062 eval sh -c '\''
3063 if test -d "$1"; then
3064 test -d "$1/.";
3065 else
3066 case $1 in #(
3067 -*)set "./$1";;
3068 esac;
3069 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3070 ???[sx]*):;;*)false;;esac;fi
3071 '\'' sh
3072 '
3073fi
3074as_executable_p=$as_test_x
3075
3076# Sed expression to map a string onto a valid CPP name.
3077as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3078
3079# Sed expression to map a string onto a valid variable name.
3080as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3081
3082
3083exec 6>&1
3084## ----------------------------------- ##
3085## Main body of $CONFIG_STATUS script. ##
3086## ----------------------------------- ##
3087_ASEOF
3088test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3089
3090cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3091# Save the log message, to keep $0 and so on meaningful, and to
3092# report actual input values of CONFIG_FILES etc. instead of their
3093# values after options handling.
3094ac_log="
3095This file was extended by $as_me, which was
3096generated by GNU Autoconf 2.68. Invocation command line was
3097
3098 CONFIG_FILES = $CONFIG_FILES
3099 CONFIG_HEADERS = $CONFIG_HEADERS
3100 CONFIG_LINKS = $CONFIG_LINKS
3101 CONFIG_COMMANDS = $CONFIG_COMMANDS
3102 $ $0 $@
3103
3104on `(hostname || uname -n) 2>/dev/null | sed 1q`
3105"
3106
3107_ACEOF
3108
3109case $ac_config_files in *"
3110"*) set x $ac_config_files; shift; ac_config_files=$*;;
3111esac
3112
3113
3114
3115cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3116# Files that config.status was made for.
3117config_files="$ac_config_files"
3118config_commands="$ac_config_commands"
3119
3120_ACEOF
3121
3122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3123ac_cs_usage="\
3124\`$as_me' instantiates files and other configuration actions
3125from templates according to the current configuration. Unless the files
3126and actions are specified as TAGs, all are instantiated by default.
3127
3128Usage: $0 [OPTION]... [TAG]...
3129
3130 -h, --help print this help, then exit
3131 -V, --version print version number and configuration settings, then exit
3132 --config print configuration, then exit
3133 -q, --quiet, --silent
3134 do not print progress messages
3135 -d, --debug don't remove temporary files
3136 --recheck update $as_me by reconfiguring in the same conditions
3137 --file=FILE[:TEMPLATE]
3138 instantiate the configuration file FILE
3139
3140Configuration files:
3141$config_files
3142
3143Configuration commands:
3144$config_commands
3145
3146Report bugs to the package provider."
3147
3148_ACEOF
3149cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3150ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3151ac_cs_version="\\
3152config.status
3153configured by $0, generated by GNU Autoconf 2.68,
3154 with options \\"\$ac_cs_config\\"
3155
3156Copyright (C) 2010 Free Software Foundation, Inc.
3157This config.status script is free software; the Free Software Foundation
3158gives unlimited permission to copy, distribute and modify it."
3159
3160ac_pwd='$ac_pwd'
3161srcdir='$srcdir'
3162INSTALL='$INSTALL'
3163test -n "\$AWK" || AWK=awk
3164_ACEOF
3165
3166cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3167# The default lists apply if the user does not specify any file.
3168ac_need_defaults=:
3169while test $# != 0
3170do
3171 case $1 in
3172 --*=?*)
3173 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3174 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3175 ac_shift=:
3176 ;;
3177 --*=)
3178 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3179 ac_optarg=
3180 ac_shift=:
3181 ;;
3182 *)
3183 ac_option=$1
3184 ac_optarg=$2
3185 ac_shift=shift
3186 ;;
3187 esac
3188
3189 case $ac_option in
3190 # Handling of the options.
3191 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3192 ac_cs_recheck=: ;;
3193 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3194 $as_echo "$ac_cs_version"; exit ;;
3195 --config | --confi | --conf | --con | --co | --c )
3196 $as_echo "$ac_cs_config"; exit ;;
3197 --debug | --debu | --deb | --de | --d | -d )
3198 debug=: ;;
3199 --file | --fil | --fi | --f )
3200 $ac_shift
3201 case $ac_optarg in
3202 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3203 '') as_fn_error $? "missing file argument" ;;
3204 esac
3205 as_fn_append CONFIG_FILES " '$ac_optarg'"
3206 ac_need_defaults=false;;
3207 --he | --h | --help | --hel | -h )
3208 $as_echo "$ac_cs_usage"; exit ;;
3209 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3210 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3211 ac_cs_silent=: ;;
3212
3213 # This is an error.
3214 -*) as_fn_error $? "unrecognized option: \`$1'
3215Try \`$0 --help' for more information." ;;
3216
3217 *) as_fn_append ac_config_targets " $1"
3218 ac_need_defaults=false ;;
3219
3220 esac
3221 shift
3222done
3223
3224ac_configure_extra_args=
3225
3226if $ac_cs_silent; then
3227 exec 6>/dev/null
3228 ac_configure_extra_args="$ac_configure_extra_args --silent"
3229fi
3230
3231_ACEOF
3232cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3233if \$ac_cs_recheck; then
3234 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3235 shift
3236 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3237 CONFIG_SHELL='$SHELL'
3238 export CONFIG_SHELL
3239 exec "\$@"
3240fi
3241
3242_ACEOF
3243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3244exec 5>>config.log
3245{
3246 echo
3247 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3248## Running $as_me. ##
3249_ASBOX
3250 $as_echo "$ac_log"
3251} >&5
3252
3253_ACEOF
3254cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3255#
3256# INIT-COMMANDS
3257#
3258AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3259srcdir=${srcdir}
3260target=${target}
3261with_multisubdir=${with_multisubdir}
3262ac_configure_args="${ac_configure_args} --enable-multilib"
3263CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3264libgloss_topdir=${libgloss_topdir}
3265
3266
3267_ACEOF
3268
3269cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3270
3271# Handling of arguments.
3272for ac_config_target in $ac_config_targets
3273do
3274 case $ac_config_target in
3275 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3276 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3277
3278 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3279 esac
3280done
3281
3282
3283# If the user did not use the arguments to specify the items to instantiate,
3284# then the envvar interface is used. Set only those that are not.
3285# We use the long form for the default assignment because of an extremely
3286# bizarre bug on SunOS 4.1.3.
3287if $ac_need_defaults; then
3288 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3289 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3290fi
3291
3292# Have a temporary directory for convenience. Make it in the build tree
3293# simply because there is no reason against having it here, and in addition,
3294# creating and moving files from /tmp can sometimes cause problems.
3295# Hook for its removal unless debugging.
3296# Note that there is a small window in which the directory will not be cleaned:
3297# after its creation but before its name has been assigned to `$tmp'.
3298$debug ||
3299{
3300 tmp= ac_tmp=
3301 trap 'exit_status=$?
3302 : "${ac_tmp:=$tmp}"
3303 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3304' 0
3305 trap 'as_fn_exit 1' 1 2 13 15
3306}
3307# Create a (secure) tmp directory for tmp files.
3308
3309{
3310 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3311 test -d "$tmp"
3312} ||
3313{
3314 tmp=./conf$$-$RANDOM
3315 (umask 077 && mkdir "$tmp")
3316} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3317ac_tmp=$tmp
3318
3319# Set up the scripts for CONFIG_FILES section.
3320# No need to generate them if there are no CONFIG_FILES.
3321# This happens for instance with `./config.status config.h'.
3322if test -n "$CONFIG_FILES"; then
3323
3324if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
3325 ac_cs_awk_getline=:
3326 ac_cs_awk_pipe_init=
3327 ac_cs_awk_read_file='
3328 while ((getline aline < (F[key])) > 0)
3329 print(aline)
3330 close(F[key])'
3331 ac_cs_awk_pipe_fini=
3332else
3333 ac_cs_awk_getline=false
3334 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
3335 ac_cs_awk_read_file='
3336 print "|#_!!_#|"
3337 print "cat " F[key] " &&"
3338 '$ac_cs_awk_pipe_init
3339 # The final `:' finishes the AND list.
3340 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
3341fi
3342ac_cr=`echo X | tr X '\015'`
3343# On cygwin, bash can eat \r inside `` if the user requested igncr.
3344# But we know of no other shell where ac_cr would be empty at this
3345# point, so we can use a bashism as a fallback.
3346if test "x$ac_cr" = x; then
3347 eval ac_cr=\$\'\\r\'
3348fi
3349ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3350if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3351 ac_cs_awk_cr='\\r'
3352else
3353 ac_cs_awk_cr=$ac_cr
3354fi
3355
3356echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3357_ACEOF
3358
3359# Create commands to substitute file output variables.
3360{
3361 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
3362 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
3363 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
3364 echo "_ACAWK" &&
3365 echo "_ACEOF"
3366} >conf$$files.sh &&
3367. ./conf$$files.sh ||
3368 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3369rm -f conf$$files.sh
3370
3371{
3372 echo "cat >conf$$subs.awk <<_ACEOF" &&
3373 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3374 echo "_ACEOF"
3375} >conf$$subs.sh ||
3376 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3377ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3378ac_delim='%!_!# '
3379for ac_last_try in false false false false false :; do
3380 . ./conf$$subs.sh ||
3381 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3382
3383 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3384 if test $ac_delim_n = $ac_delim_num; then
3385 break
3386 elif $ac_last_try; then
3387 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3388 else
3389 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3390 fi
3391done
3392rm -f conf$$subs.sh
3393
3394cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3395cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3396_ACEOF
3397sed -n '
3398h
3399s/^/S["/; s/!.*/"]=/
3400p
3401g
3402s/^[^!]*!//
3403:repl
3404t repl
3405s/'"$ac_delim"'$//
3406t delim
3407:nl
3408h
3409s/\(.\{148\}\)..*/\1/
3410t more1
3411s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3412p
3413n
3414b repl
3415:more1
3416s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3417p
3418g
3419s/.\{148\}//
3420t nl
3421:delim
3422h
3423s/\(.\{148\}\)..*/\1/
3424t more2
3425s/["\\]/\\&/g; s/^/"/; s/$/"/
3426p
3427b
3428:more2
3429s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3430p
3431g
3432s/.\{148\}//
3433t delim
3434' <conf$$subs.awk | sed '
3435/^[^""]/{
3436 N
3437 s/\n//
3438}
3439' >>$CONFIG_STATUS || ac_write_fail=1
3440rm -f conf$$subs.awk
3441cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3442_ACAWK
3443cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3444 for (key in S) S_is_set[key] = 1
3445 FS = ""
3446 \$ac_cs_awk_pipe_init
3447}
3448{
3449 line = $ 0
3450 nfields = split(line, field, "@")
3451 substed = 0
3452 len = length(field[1])
3453 for (i = 2; i < nfields; i++) {
3454 key = field[i]
3455 keylen = length(key)
3456 if (S_is_set[key]) {
3457 value = S[key]
3458 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3459 len += length(value) + length(field[++i])
3460 substed = 1
3461 } else
3462 len += 1 + keylen
3463 }
3464 if (nfields == 3 && !substed) {
3465 key = field[2]
3466 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
3467 \$ac_cs_awk_read_file
3468 next
3469 }
3470 }
3471 print line
3472}
3473\$ac_cs_awk_pipe_fini
3474_ACAWK
3475_ACEOF
3476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3477if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3478 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3479else
3480 cat
3481fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3482 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3483_ACEOF
3484
3485# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3486# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3487# trailing colons and then remove the whole line if VPATH becomes empty
3488# (actually we leave an empty line to preserve line numbers).
3489if test "x$srcdir" = x.; then
3490 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3491h
3492s///
3493s/^/:/
3494s/[ ]*$/:/
3495s/:\$(srcdir):/:/g
3496s/:\${srcdir}:/:/g
3497s/:@srcdir@:/:/g
3498s/^:*//
3499s/:*$//
3500x
3501s/\(=[ ]*\).*/\1/
3502G
3503s/\n//
3504s/^[^=]*=[ ]*$//
3505}'
3506fi
3507
3508cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3509fi # test -n "$CONFIG_FILES"
3510
3511
3512eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3513shift
3514for ac_tag
3515do
3516 case $ac_tag in
3517 :[FHLC]) ac_mode=$ac_tag; continue;;
3518 esac
3519 case $ac_mode$ac_tag in
3520 :[FHL]*:*);;
3521 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3522 :[FH]-) ac_tag=-:-;;
3523 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3524 esac
3525 ac_save_IFS=$IFS
3526 IFS=:
3527 set x $ac_tag
3528 IFS=$ac_save_IFS
3529 shift
3530 ac_file=$1
3531 shift
3532
3533 case $ac_mode in
3534 :L) ac_source=$1;;
3535 :[FH])
3536 ac_file_inputs=
3537 for ac_f
3538 do
3539 case $ac_f in
3540 -) ac_f="$ac_tmp/stdin";;
3541 *) # Look for the file first in the build tree, then in the source tree
3542 # (if the path is not absolute). The absolute path cannot be DOS-style,
3543 # because $ac_f cannot contain `:'.
3544 test -f "$ac_f" ||
3545 case $ac_f in
3546 [\\/$]*) false;;
3547 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3548 esac ||
3549 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3550 esac
3551 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3552 as_fn_append ac_file_inputs " '$ac_f'"
3553 done
3554
3555 # Let's still pretend it is `configure' which instantiates (i.e., don't
3556 # use $as_me), people would be surprised to read:
3557 # /* config.h. Generated by config.status. */
3558 configure_input='Generated from '`
3559 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3560 `' by configure.'
3561 if test x"$ac_file" != x-; then
3562 configure_input="$ac_file. $configure_input"
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3564$as_echo "$as_me: creating $ac_file" >&6;}
3565 fi
3566 # Neutralize special characters interpreted by sed in replacement strings.
3567 case $configure_input in #(
3568 *\&* | *\|* | *\\* )
3569 ac_sed_conf_input=`$as_echo "$configure_input" |
3570 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3571 *) ac_sed_conf_input=$configure_input;;
3572 esac
3573
3574 case $ac_tag in
3575 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3576 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3577 esac
3578 ;;
3579 esac
3580
3581 ac_dir=`$as_dirname -- "$ac_file" ||
3582$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3583 X"$ac_file" : 'X\(//\)[^/]' \| \
3584 X"$ac_file" : 'X\(//\)$' \| \
3585 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3586$as_echo X"$ac_file" |
3587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3588 s//\1/
3589 q
3590 }
3591 /^X\(\/\/\)[^/].*/{
3592 s//\1/
3593 q
3594 }
3595 /^X\(\/\/\)$/{
3596 s//\1/
3597 q
3598 }
3599 /^X\(\/\).*/{
3600 s//\1/
3601 q
3602 }
3603 s/.*/./; q'`
3604 as_dir="$ac_dir"; as_fn_mkdir_p
3605 ac_builddir=.
3606
3607case "$ac_dir" in
3608.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3609*)
3610 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3611 # A ".." for each directory in $ac_dir_suffix.
3612 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3613 case $ac_top_builddir_sub in
3614 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3615 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3616 esac ;;
3617esac
3618ac_abs_top_builddir=$ac_pwd
3619ac_abs_builddir=$ac_pwd$ac_dir_suffix
3620# for backward compatibility:
3621ac_top_builddir=$ac_top_build_prefix
3622
3623case $srcdir in
3624 .) # We are building in place.
3625 ac_srcdir=.
3626 ac_top_srcdir=$ac_top_builddir_sub
3627 ac_abs_top_srcdir=$ac_pwd ;;
3628 [\\/]* | ?:[\\/]* ) # Absolute name.
3629 ac_srcdir=$srcdir$ac_dir_suffix;
3630 ac_top_srcdir=$srcdir
3631 ac_abs_top_srcdir=$srcdir ;;
3632 *) # Relative name.
3633 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3634 ac_top_srcdir=$ac_top_build_prefix$srcdir
3635 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3636esac
3637ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3638
3639
3640 case $ac_mode in
3641 :F)
3642 #
3643 # CONFIG_FILE
3644 #
3645
3646 case $INSTALL in
3647 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3648 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3649 esac
3650_ACEOF
3651
3652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3653# If the template does not know about datarootdir, expand it.
3654# FIXME: This hack should be removed a few years after 2.60.
3655ac_datarootdir_hack=; ac_datarootdir_seen=
3656ac_sed_dataroot='
3657/datarootdir/ {
3658 p
3659 q
3660}
3661/@datadir@/p
3662/@docdir@/p
3663/@infodir@/p
3664/@localedir@/p
3665/@mandir@/p'
3666case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3667*datarootdir*) ac_datarootdir_seen=yes;;
3668*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3670$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3671_ACEOF
3672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3673 ac_datarootdir_hack='
3674 s&@datadir@&$datadir&g
3675 s&@docdir@&$docdir&g
3676 s&@infodir@&$infodir&g
3677 s&@localedir@&$localedir&g
3678 s&@mandir@&$mandir&g
3679 s&\\\${datarootdir}&$datarootdir&g' ;;
3680esac
3681_ACEOF
3682
3683# Neutralize VPATH when `$srcdir' = `.'.
3684# Shell code in configure.ac might set extrasub.
3685# FIXME: do we really want to maintain this feature?
3686cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3687ac_sed_extra="$ac_vpsub
3688$extrasub
3689_ACEOF
3690cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3691:t
3692/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3693s|@configure_input@|$ac_sed_conf_input|;t t
3694s&@top_builddir@&$ac_top_builddir_sub&;t t
3695s&@top_build_prefix@&$ac_top_build_prefix&;t t
3696s&@srcdir@&$ac_srcdir&;t t
3697s&@abs_srcdir@&$ac_abs_srcdir&;t t
3698s&@top_srcdir@&$ac_top_srcdir&;t t
3699s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3700s&@builddir@&$ac_builddir&;t t
3701s&@abs_builddir@&$ac_abs_builddir&;t t
3702s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3703s&@INSTALL@&$ac_INSTALL&;t t
3704$ac_datarootdir_hack
3705"
3706eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
3707if $ac_cs_awk_getline; then
3708 $AWK -f "$ac_tmp/subs.awk"
3709else
3710 $AWK -f "$ac_tmp/subs.awk" | $SHELL
3711fi \
3712 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3713
3714test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3715 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3717 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3719which seems to be undefined. Please make sure it is defined" >&5
3720$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3721which seems to be undefined. Please make sure it is defined" >&2;}
3722
3723 rm -f "$ac_tmp/stdin"
3724 case $ac_file in
3725 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3726 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3727 esac \
3728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3729 ;;
3730
3731
3732 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
3733$as_echo "$as_me: executing $ac_file commands" >&6;}
3734 ;;
3735 esac
3736
3737
3738 case $ac_file$ac_mode in
3739 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
3740 # Autoconf 2.62 quotes --file arguments for eval, but not when files
3741 # are listed without --file. Let's play safe and only enable the eval
3742 # if we detect the quoting.
3743 case $CONFIG_FILES in
3744 *\'*) eval set x "$CONFIG_FILES" ;;
3745 *) set x $CONFIG_FILES ;;
3746 esac
3747 shift
3748 for mf
3749 do
3750 # Strip MF so we end up with the name of the file.
3751 mf=`echo "$mf" | sed -e 's/:.*$//'`
3752 # Check whether this is an Automake generated Makefile or not.
3753 # We used to match only the files named `Makefile.in', but
3754 # some people rename them; so instead we look at the file content.
3755 # Grep'ing the first line is not enough: some people post-process
3756 # each Makefile.in and add a new line on top of each file to say so.
3757 # Grep'ing the whole file is not good either: AIX grep has a line
3758 # limit of 2048, but all sed's we know have understand at least 4000.
3759 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
3760 dirpart=`$as_dirname -- "$mf" ||
3761$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3762 X"$mf" : 'X\(//\)[^/]' \| \
3763 X"$mf" : 'X\(//\)$' \| \
3764 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
3765$as_echo X"$mf" |
3766 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3767 s//\1/
3768 q
3769 }
3770 /^X\(\/\/\)[^/].*/{
3771 s//\1/
3772 q
3773 }
3774 /^X\(\/\/\)$/{
3775 s//\1/
3776 q
3777 }
3778 /^X\(\/\).*/{
3779 s//\1/
3780 q
3781 }
3782 s/.*/./; q'`
3783 else
3784 continue
3785 fi
3786 # Extract the definition of DEPDIR, am__include, and am__quote
3787 # from the Makefile without running `make'.
3788 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3789 test -z "$DEPDIR" && continue
3790 am__include=`sed -n 's/^am__include = //p' < "$mf"`
3791 test -z "am__include" && continue
3792 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3793 # When using ansi2knr, U may be empty or an underscore; expand it
3794 U=`sed -n 's/^U = //p' < "$mf"`
3795 # Find all dependency output files, they are included files with
3796 # $(DEPDIR) in their names. We invoke sed twice because it is the
3797 # simplest approach to changing $(DEPDIR) to its actual value in the
3798 # expansion.
3799 for file in `sed -n "
3800 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3801 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3802 # Make sure the directory exists.
3803 test -f "$dirpart/$file" && continue
3804 fdir=`$as_dirname -- "$file" ||
3805$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3806 X"$file" : 'X\(//\)[^/]' \| \
3807 X"$file" : 'X\(//\)$' \| \
3808 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
3809$as_echo X"$file" |
3810 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3811 s//\1/
3812 q
3813 }
3814 /^X\(\/\/\)[^/].*/{
3815 s//\1/
3816 q
3817 }
3818 /^X\(\/\/\)$/{
3819 s//\1/
3820 q
3821 }
3822 /^X\(\/\).*/{
3823 s//\1/
3824 q
3825 }
3826 s/.*/./; q'`
3827 as_dir=$dirpart/$fdir; as_fn_mkdir_p
3828 # echo "creating $dirpart/$file"
3829 echo '# dummy' > "$dirpart/$file"
3830 done
3831 done
3832}
3833 ;;
3834 "Makefile":F) . ${libgloss_topdir}/config-ml.in ;;
3835
3836 esac
3837done # for ac_tag
3838
3839
3840as_fn_exit 0
3841_ACEOF
3842ac_clean_files=$ac_clean_files_save
3843
3844test $ac_write_fail = 0 ||
3845 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3846
3847
3848# configure is writing to config.log, and then calls config.status.
3849# config.status does its own redirection, appending to config.log.
3850# Unfortunately, on DOS this fails, as config.log is still kept open
3851# by configure, so config.status won't be able to write to it; its
3852# output is simply discarded. So we exec the FD to /dev/null,
3853# effectively closing config.log, so it can be properly (re)opened and
3854# appended to by config.status. When coming back to configure, we
3855# need to make the FD available again.
3856if test "$no_create" != yes; then
3857 ac_cs_success=:
3858 ac_config_status_args=
3859 test "$silent" = yes &&
3860 ac_config_status_args="$ac_config_status_args --quiet"
3861 exec 5>/dev/null
3862 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3863 exec 5>>config.log
3864 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3865 # would make configure fail if this is the last instruction.
3866 $ac_cs_success || as_fn_exit 1
3867fi
3868if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3870$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3871fi
3872
Note: See TracBrowser for help on using the repository browser.