Include the system limits.h first since it may contain other stuff
[pcc-libs.git] / configure
blobfb730422446acfb1d94d2f121ae258f7ec611a27
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for pcc-libs 1.2.0.DEVEL.
5 # Report bugs to <pcc@lists.ludd.ltu.se>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev/null
187 then :
188 as_have_required=yes
189 else $as_nop
190 as_have_required=no
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
195 else $as_nop
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 as_found=false
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 IFS=$as_save_IFS
201 case $as_dir in #(((
202 '') as_dir=./ ;;
203 */) ;;
204 *) as_dir=$as_dir/ ;;
205 esac
206 as_found=:
207 case $as_dir in #(
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 then :
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217 then :
218 break 2
221 done;;
222 esac
223 as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
229 else $as_nop
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x
239 then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno
262 then :
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270 $0: pcc@lists.ludd.ltu.se about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
303 return $1
304 } # as_fn_set_status
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315 # as_fn_nop
316 # ---------
317 # Do nothing but, unlike ":", preserve the value of $?.
318 as_fn_nop ()
320 return $?
322 as_nop=as_fn_nop
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
355 /^X\(\/\/\)$/{
356 s//\1/
359 /^X\(\/\).*/{
360 s//\1/
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370 } # as_fn_mkdir_p
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386 then :
387 eval 'as_fn_append ()
389 eval $1+=\$2
391 else $as_nop
392 as_fn_append ()
394 eval $1=\$$1\$2
396 fi # as_fn_append
398 # as_fn_arith ARG...
399 # ------------------
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404 then :
405 eval 'as_fn_arith ()
407 as_val=$(( $* ))
409 else $as_nop
410 as_fn_arith ()
412 as_val=`expr "$@" || test $? -eq 1`
414 fi # as_fn_arith
416 # as_fn_nop
417 # ---------
418 # Do nothing but, unlike ":", preserve the value of $?.
419 as_fn_nop ()
421 return $?
423 as_nop=as_fn_nop
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
430 as_fn_error ()
432 as_status=$1; test $as_status -eq 0 && as_status=1
433 if test "$4"; then
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
439 } # as_fn_error
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
443 as_expr=expr
444 else
445 as_expr=false
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449 as_basename=basename
450 else
451 as_basename=false
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455 as_dirname=dirname
456 else
457 as_dirname=false
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
466 s//\1/
469 /^X\/\(\/\/\)$/{
470 s//\1/
473 /^X\/\(\/\).*/{
474 s//\1/
477 s/.*/./; q'`
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
487 as_lineno_1=$LINENO as_lineno_1a=$LINENO
488 as_lineno_2=$LINENO as_lineno_2a=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 sed -n '
494 /[$]LINENO/=
495 ' <$as_myself |
496 sed '
497 s/[$]LINENO.*/&-/
498 t lineno
500 :lineno
502 :loop
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504 t loop
505 s/-\n.*//
506 ' >$as_me.lineno &&
507 chmod +x "$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec=no; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
517 . "./$as_me.lineno"
518 # Exit status is that of the last command.
519 exit
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
528 -n*)
529 case `echo 'xy\c'` in
530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
531 xy) ECHO_C='\c';;
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
533 ECHO_T=' ';;
534 esac;;
536 ECHO_N='-n';;
537 esac
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549 else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif ln conf$$.file conf$$ 2>/dev/null; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
567 else
568 as_ln_s='cp -pR'
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" || exec 7<&0 </dev/null
591 exec 6>&1
593 # Name of the host.
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599 # Initializations.
601 ac_default_prefix=/usr/local
602 ac_clean_files=
603 ac_config_libobj_dir=.
604 LIBOBJS=
605 cross_compiling=no
606 subdirs=
607 MFLAGS=
608 MAKEFLAGS=
610 # Identity of this package.
611 PACKAGE_NAME='pcc-libs'
612 PACKAGE_TARNAME='pcc-libs'
613 PACKAGE_VERSION='1.2.0.DEVEL'
614 PACKAGE_STRING='pcc-libs 1.2.0.DEVEL'
615 PACKAGE_BUGREPORT='pcc@lists.ludd.ltu.se'
616 PACKAGE_URL=''
618 ac_subst_vars='LTLIBOBJS
619 LIBOBJS
620 CFLAGS
621 CPPFLAGS
622 version
623 targmach
624 targos
625 RANLIB
628 ac_ct_CC
630 ENDIAN_FLAG
631 target_os
632 target_vendor
633 target_cpu
634 target
635 host_os
636 host_vendor
637 host_cpu
638 host
639 build_os
640 build_vendor
641 build_cpu
642 build
643 INSTALL_DATA
644 INSTALL_SCRIPT
645 INSTALL_PROGRAM
646 SET_MAKE
647 target_alias
648 host_alias
649 build_alias
650 LIBS
651 ECHO_T
652 ECHO_N
653 ECHO_C
654 DEFS
655 mandir
656 localedir
657 libdir
658 psdir
659 pdfdir
660 dvidir
661 htmldir
662 infodir
663 docdir
664 oldincludedir
665 includedir
666 runstatedir
667 localstatedir
668 sharedstatedir
669 sysconfdir
670 datadir
671 datarootdir
672 libexecdir
673 sbindir
674 bindir
675 program_transform_name
676 prefix
677 exec_prefix
678 PACKAGE_URL
679 PACKAGE_BUGREPORT
680 PACKAGE_STRING
681 PACKAGE_VERSION
682 PACKAGE_TARNAME
683 PACKAGE_NAME
684 PATH_SEPARATOR
685 SHELL'
686 ac_subst_files=''
687 ac_user_opts='
688 enable_option_checking
690 ac_precious_vars='build_alias
691 host_alias
692 target_alias'
695 # Initialize some variables set by options.
696 ac_init_help=
697 ac_init_version=false
698 ac_unrecognized_opts=
699 ac_unrecognized_sep=
700 # The variables have the same names as the options, with
701 # dashes changed to underlines.
702 cache_file=/dev/null
703 exec_prefix=NONE
704 no_create=
705 no_recursion=
706 prefix=NONE
707 program_prefix=NONE
708 program_suffix=NONE
709 program_transform_name=s,x,x,
710 silent=
711 site=
712 srcdir=
713 verbose=
714 x_includes=NONE
715 x_libraries=NONE
717 # Installation directory options.
718 # These are left unexpanded so users can "make install exec_prefix=/foo"
719 # and all the variables that are supposed to be based on exec_prefix
720 # by default will actually change.
721 # Use braces instead of parens because sh, perl, etc. also accept them.
722 # (The list follows the same order as the GNU Coding Standards.)
723 bindir='${exec_prefix}/bin'
724 sbindir='${exec_prefix}/sbin'
725 libexecdir='${exec_prefix}/libexec'
726 datarootdir='${prefix}/share'
727 datadir='${datarootdir}'
728 sysconfdir='${prefix}/etc'
729 sharedstatedir='${prefix}/com'
730 localstatedir='${prefix}/var'
731 runstatedir='${localstatedir}/run'
732 includedir='${prefix}/include'
733 oldincludedir='/usr/include'
734 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
735 infodir='${datarootdir}/info'
736 htmldir='${docdir}'
737 dvidir='${docdir}'
738 pdfdir='${docdir}'
739 psdir='${docdir}'
740 libdir='${exec_prefix}/lib'
741 localedir='${datarootdir}/locale'
742 mandir='${datarootdir}/man'
744 ac_prev=
745 ac_dashdash=
746 for ac_option
748 # If the previous option needs an argument, assign it.
749 if test -n "$ac_prev"; then
750 eval $ac_prev=\$ac_option
751 ac_prev=
752 continue
755 case $ac_option in
756 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
757 *=) ac_optarg= ;;
758 *) ac_optarg=yes ;;
759 esac
761 case $ac_dashdash$ac_option in
763 ac_dashdash=yes ;;
765 -bindir | --bindir | --bindi | --bind | --bin | --bi)
766 ac_prev=bindir ;;
767 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
768 bindir=$ac_optarg ;;
770 -build | --build | --buil | --bui | --bu)
771 ac_prev=build_alias ;;
772 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
773 build_alias=$ac_optarg ;;
775 -cache-file | --cache-file | --cache-fil | --cache-fi \
776 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
777 ac_prev=cache_file ;;
778 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
779 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
780 cache_file=$ac_optarg ;;
782 --config-cache | -C)
783 cache_file=config.cache ;;
785 -datadir | --datadir | --datadi | --datad)
786 ac_prev=datadir ;;
787 -datadir=* | --datadir=* | --datadi=* | --datad=*)
788 datadir=$ac_optarg ;;
790 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
791 | --dataroo | --dataro | --datar)
792 ac_prev=datarootdir ;;
793 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
794 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
795 datarootdir=$ac_optarg ;;
797 -disable-* | --disable-*)
798 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
799 # Reject names that are not valid shell variable names.
800 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
801 as_fn_error $? "invalid feature name: \`$ac_useropt'"
802 ac_useropt_orig=$ac_useropt
803 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
804 case $ac_user_opts in
806 "enable_$ac_useropt"
807 "*) ;;
808 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
809 ac_unrecognized_sep=', ';;
810 esac
811 eval enable_$ac_useropt=no ;;
813 -docdir | --docdir | --docdi | --doc | --do)
814 ac_prev=docdir ;;
815 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
816 docdir=$ac_optarg ;;
818 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
819 ac_prev=dvidir ;;
820 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
821 dvidir=$ac_optarg ;;
823 -enable-* | --enable-*)
824 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
825 # Reject names that are not valid shell variable names.
826 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
827 as_fn_error $? "invalid feature name: \`$ac_useropt'"
828 ac_useropt_orig=$ac_useropt
829 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
830 case $ac_user_opts in
832 "enable_$ac_useropt"
833 "*) ;;
834 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
835 ac_unrecognized_sep=', ';;
836 esac
837 eval enable_$ac_useropt=\$ac_optarg ;;
839 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
840 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
841 | --exec | --exe | --ex)
842 ac_prev=exec_prefix ;;
843 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
844 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
845 | --exec=* | --exe=* | --ex=*)
846 exec_prefix=$ac_optarg ;;
848 -gas | --gas | --ga | --g)
849 # Obsolete; use --with-gas.
850 with_gas=yes ;;
852 -help | --help | --hel | --he | -h)
853 ac_init_help=long ;;
854 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
855 ac_init_help=recursive ;;
856 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
857 ac_init_help=short ;;
859 -host | --host | --hos | --ho)
860 ac_prev=host_alias ;;
861 -host=* | --host=* | --hos=* | --ho=*)
862 host_alias=$ac_optarg ;;
864 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
865 ac_prev=htmldir ;;
866 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
867 | --ht=*)
868 htmldir=$ac_optarg ;;
870 -includedir | --includedir | --includedi | --included | --include \
871 | --includ | --inclu | --incl | --inc)
872 ac_prev=includedir ;;
873 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
874 | --includ=* | --inclu=* | --incl=* | --inc=*)
875 includedir=$ac_optarg ;;
877 -infodir | --infodir | --infodi | --infod | --info | --inf)
878 ac_prev=infodir ;;
879 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
880 infodir=$ac_optarg ;;
882 -libdir | --libdir | --libdi | --libd)
883 ac_prev=libdir ;;
884 -libdir=* | --libdir=* | --libdi=* | --libd=*)
885 libdir=$ac_optarg ;;
887 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
888 | --libexe | --libex | --libe)
889 ac_prev=libexecdir ;;
890 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
891 | --libexe=* | --libex=* | --libe=*)
892 libexecdir=$ac_optarg ;;
894 -localedir | --localedir | --localedi | --localed | --locale)
895 ac_prev=localedir ;;
896 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
897 localedir=$ac_optarg ;;
899 -localstatedir | --localstatedir | --localstatedi | --localstated \
900 | --localstate | --localstat | --localsta | --localst | --locals)
901 ac_prev=localstatedir ;;
902 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
903 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
904 localstatedir=$ac_optarg ;;
906 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
907 ac_prev=mandir ;;
908 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
909 mandir=$ac_optarg ;;
911 -nfp | --nfp | --nf)
912 # Obsolete; use --without-fp.
913 with_fp=no ;;
915 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
916 | --no-cr | --no-c | -n)
917 no_create=yes ;;
919 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
920 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
921 no_recursion=yes ;;
923 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
924 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
925 | --oldin | --oldi | --old | --ol | --o)
926 ac_prev=oldincludedir ;;
927 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
928 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
929 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
930 oldincludedir=$ac_optarg ;;
932 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
933 ac_prev=prefix ;;
934 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
935 prefix=$ac_optarg ;;
937 -program-prefix | --program-prefix | --program-prefi | --program-pref \
938 | --program-pre | --program-pr | --program-p)
939 ac_prev=program_prefix ;;
940 -program-prefix=* | --program-prefix=* | --program-prefi=* \
941 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
942 program_prefix=$ac_optarg ;;
944 -program-suffix | --program-suffix | --program-suffi | --program-suff \
945 | --program-suf | --program-su | --program-s)
946 ac_prev=program_suffix ;;
947 -program-suffix=* | --program-suffix=* | --program-suffi=* \
948 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
949 program_suffix=$ac_optarg ;;
951 -program-transform-name | --program-transform-name \
952 | --program-transform-nam | --program-transform-na \
953 | --program-transform-n | --program-transform- \
954 | --program-transform | --program-transfor \
955 | --program-transfo | --program-transf \
956 | --program-trans | --program-tran \
957 | --progr-tra | --program-tr | --program-t)
958 ac_prev=program_transform_name ;;
959 -program-transform-name=* | --program-transform-name=* \
960 | --program-transform-nam=* | --program-transform-na=* \
961 | --program-transform-n=* | --program-transform-=* \
962 | --program-transform=* | --program-transfor=* \
963 | --program-transfo=* | --program-transf=* \
964 | --program-trans=* | --program-tran=* \
965 | --progr-tra=* | --program-tr=* | --program-t=*)
966 program_transform_name=$ac_optarg ;;
968 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
969 ac_prev=pdfdir ;;
970 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
971 pdfdir=$ac_optarg ;;
973 -psdir | --psdir | --psdi | --psd | --ps)
974 ac_prev=psdir ;;
975 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
976 psdir=$ac_optarg ;;
978 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
979 | -silent | --silent | --silen | --sile | --sil)
980 silent=yes ;;
982 -runstatedir | --runstatedir | --runstatedi | --runstated \
983 | --runstate | --runstat | --runsta | --runst | --runs \
984 | --run | --ru | --r)
985 ac_prev=runstatedir ;;
986 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
987 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
988 | --run=* | --ru=* | --r=*)
989 runstatedir=$ac_optarg ;;
991 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
992 ac_prev=sbindir ;;
993 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
994 | --sbi=* | --sb=*)
995 sbindir=$ac_optarg ;;
997 -sharedstatedir | --sharedstatedir | --sharedstatedi \
998 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
999 | --sharedst | --shareds | --shared | --share | --shar \
1000 | --sha | --sh)
1001 ac_prev=sharedstatedir ;;
1002 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1003 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1004 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1005 | --sha=* | --sh=*)
1006 sharedstatedir=$ac_optarg ;;
1008 -site | --site | --sit)
1009 ac_prev=site ;;
1010 -site=* | --site=* | --sit=*)
1011 site=$ac_optarg ;;
1013 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1014 ac_prev=srcdir ;;
1015 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1016 srcdir=$ac_optarg ;;
1018 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1019 | --syscon | --sysco | --sysc | --sys | --sy)
1020 ac_prev=sysconfdir ;;
1021 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1022 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1023 sysconfdir=$ac_optarg ;;
1025 -target | --target | --targe | --targ | --tar | --ta | --t)
1026 ac_prev=target_alias ;;
1027 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1028 target_alias=$ac_optarg ;;
1030 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1031 verbose=yes ;;
1033 -version | --version | --versio | --versi | --vers | -V)
1034 ac_init_version=: ;;
1036 -with-* | --with-*)
1037 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1038 # Reject names that are not valid shell variable names.
1039 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1040 as_fn_error $? "invalid package name: \`$ac_useropt'"
1041 ac_useropt_orig=$ac_useropt
1042 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1043 case $ac_user_opts in
1045 "with_$ac_useropt"
1046 "*) ;;
1047 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1048 ac_unrecognized_sep=', ';;
1049 esac
1050 eval with_$ac_useropt=\$ac_optarg ;;
1052 -without-* | --without-*)
1053 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1056 as_fn_error $? "invalid package name: \`$ac_useropt'"
1057 ac_useropt_orig=$ac_useropt
1058 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "with_$ac_useropt"
1062 "*) ;;
1063 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1064 ac_unrecognized_sep=', ';;
1065 esac
1066 eval with_$ac_useropt=no ;;
1068 --x)
1069 # Obsolete; use --with-x.
1070 with_x=yes ;;
1072 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1073 | --x-incl | --x-inc | --x-in | --x-i)
1074 ac_prev=x_includes ;;
1075 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1076 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1077 x_includes=$ac_optarg ;;
1079 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1080 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1081 ac_prev=x_libraries ;;
1082 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1083 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1084 x_libraries=$ac_optarg ;;
1086 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1087 Try \`$0 --help' for more information"
1090 *=*)
1091 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1092 # Reject names that are not valid shell variable names.
1093 case $ac_envvar in #(
1094 '' | [0-9]* | *[!_$as_cr_alnum]* )
1095 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1096 esac
1097 eval $ac_envvar=\$ac_optarg
1098 export $ac_envvar ;;
1101 # FIXME: should be removed in autoconf 3.0.
1102 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1103 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1104 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1105 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1108 esac
1109 done
1111 if test -n "$ac_prev"; then
1112 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1113 as_fn_error $? "missing argument to $ac_option"
1116 if test -n "$ac_unrecognized_opts"; then
1117 case $enable_option_checking in
1118 no) ;;
1119 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1120 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1121 esac
1124 # Check all directory arguments for consistency.
1125 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1126 datadir sysconfdir sharedstatedir localstatedir includedir \
1127 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1128 libdir localedir mandir runstatedir
1130 eval ac_val=\$$ac_var
1131 # Remove trailing slashes.
1132 case $ac_val in
1133 */ )
1134 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1135 eval $ac_var=\$ac_val;;
1136 esac
1137 # Be sure to have absolute directory names.
1138 case $ac_val in
1139 [\\/$]* | ?:[\\/]* ) continue;;
1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1141 esac
1142 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1143 done
1145 # There might be people who depend on the old broken behavior: `$host'
1146 # used to hold the argument of --host etc.
1147 # FIXME: To remove some day.
1148 build=$build_alias
1149 host=$host_alias
1150 target=$target_alias
1152 # FIXME: To remove some day.
1153 if test "x$host_alias" != x; then
1154 if test "x$build_alias" = x; then
1155 cross_compiling=maybe
1156 elif test "x$build_alias" != "x$host_alias"; then
1157 cross_compiling=yes
1161 ac_tool_prefix=
1162 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1164 test "$silent" = yes && exec 6>/dev/null
1167 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1168 ac_ls_di=`ls -di .` &&
1169 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1170 as_fn_error $? "working directory cannot be determined"
1171 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1172 as_fn_error $? "pwd does not report name of working directory"
1175 # Find the source files, if location was not specified.
1176 if test -z "$srcdir"; then
1177 ac_srcdir_defaulted=yes
1178 # Try the directory containing this script, then the parent directory.
1179 ac_confdir=`$as_dirname -- "$as_myself" ||
1180 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1181 X"$as_myself" : 'X\(//\)[^/]' \| \
1182 X"$as_myself" : 'X\(//\)$' \| \
1183 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1184 printf "%s\n" X"$as_myself" |
1185 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1186 s//\1/
1189 /^X\(\/\/\)[^/].*/{
1190 s//\1/
1193 /^X\(\/\/\)$/{
1194 s//\1/
1197 /^X\(\/\).*/{
1198 s//\1/
1201 s/.*/./; q'`
1202 srcdir=$ac_confdir
1203 if test ! -r "$srcdir/$ac_unique_file"; then
1204 srcdir=..
1206 else
1207 ac_srcdir_defaulted=no
1209 if test ! -r "$srcdir/$ac_unique_file"; then
1210 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1211 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1213 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1214 ac_abs_confdir=`(
1215 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1216 pwd)`
1217 # When building in place, set srcdir=.
1218 if test "$ac_abs_confdir" = "$ac_pwd"; then
1219 srcdir=.
1221 # Remove unnecessary trailing slashes from srcdir.
1222 # Double slashes in file names in object file debugging info
1223 # mess up M-x gdb in Emacs.
1224 case $srcdir in
1225 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1226 esac
1227 for ac_var in $ac_precious_vars; do
1228 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1229 eval ac_env_${ac_var}_value=\$${ac_var}
1230 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1231 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1232 done
1235 # Report the --help message.
1237 if test "$ac_init_help" = "long"; then
1238 # Omit some internal or obsolete options to make the list less imposing.
1239 # This message is too long to be a string in the A/UX 3.1 sh.
1240 cat <<_ACEOF
1241 \`configure' configures pcc-libs 1.2.0.DEVEL to adapt to many kinds of systems.
1243 Usage: $0 [OPTION]... [VAR=VALUE]...
1245 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1246 VAR=VALUE. See below for descriptions of some of the useful variables.
1248 Defaults for the options are specified in brackets.
1250 Configuration:
1251 -h, --help display this help and exit
1252 --help=short display options specific to this package
1253 --help=recursive display the short help of all the included packages
1254 -V, --version display version information and exit
1255 -q, --quiet, --silent do not print \`checking ...' messages
1256 --cache-file=FILE cache test results in FILE [disabled]
1257 -C, --config-cache alias for \`--cache-file=config.cache'
1258 -n, --no-create do not create output files
1259 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1261 Installation directories:
1262 --prefix=PREFIX install architecture-independent files in PREFIX
1263 [$ac_default_prefix]
1264 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1265 [PREFIX]
1267 By default, \`make install' will install all the files in
1268 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1269 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1270 for instance \`--prefix=\$HOME'.
1272 For better control, use the options below.
1274 Fine tuning of the installation directories:
1275 --bindir=DIR user executables [EPREFIX/bin]
1276 --sbindir=DIR system admin executables [EPREFIX/sbin]
1277 --libexecdir=DIR program executables [EPREFIX/libexec]
1278 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1279 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1280 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1281 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1282 --libdir=DIR object code libraries [EPREFIX/lib]
1283 --includedir=DIR C header files [PREFIX/include]
1284 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1285 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1286 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1287 --infodir=DIR info documentation [DATAROOTDIR/info]
1288 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1289 --mandir=DIR man documentation [DATAROOTDIR/man]
1290 --docdir=DIR documentation root [DATAROOTDIR/doc/pcc-libs]
1291 --htmldir=DIR html documentation [DOCDIR]
1292 --dvidir=DIR dvi documentation [DOCDIR]
1293 --pdfdir=DIR pdf documentation [DOCDIR]
1294 --psdir=DIR ps documentation [DOCDIR]
1295 _ACEOF
1297 cat <<\_ACEOF
1299 System types:
1300 --build=BUILD configure for building on BUILD [guessed]
1301 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1302 --target=TARGET configure for building compilers for TARGET [HOST]
1303 _ACEOF
1306 if test -n "$ac_init_help"; then
1307 case $ac_init_help in
1308 short | recursive ) echo "Configuration of pcc-libs 1.2.0.DEVEL:";;
1309 esac
1310 cat <<\_ACEOF
1312 Report bugs to <pcc@lists.ludd.ltu.se>.
1313 _ACEOF
1314 ac_status=$?
1317 if test "$ac_init_help" = "recursive"; then
1318 # If there are subdirs, report their specific --help.
1319 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1320 test -d "$ac_dir" ||
1321 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1322 continue
1323 ac_builddir=.
1325 case "$ac_dir" in
1326 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1328 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1329 # A ".." for each directory in $ac_dir_suffix.
1330 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1331 case $ac_top_builddir_sub in
1332 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1334 esac ;;
1335 esac
1336 ac_abs_top_builddir=$ac_pwd
1337 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1338 # for backward compatibility:
1339 ac_top_builddir=$ac_top_build_prefix
1341 case $srcdir in
1342 .) # We are building in place.
1343 ac_srcdir=.
1344 ac_top_srcdir=$ac_top_builddir_sub
1345 ac_abs_top_srcdir=$ac_pwd ;;
1346 [\\/]* | ?:[\\/]* ) # Absolute name.
1347 ac_srcdir=$srcdir$ac_dir_suffix;
1348 ac_top_srcdir=$srcdir
1349 ac_abs_top_srcdir=$srcdir ;;
1350 *) # Relative name.
1351 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1352 ac_top_srcdir=$ac_top_build_prefix$srcdir
1353 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1354 esac
1355 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1357 cd "$ac_dir" || { ac_status=$?; continue; }
1358 # Check for configure.gnu first; this name is used for a wrapper for
1359 # Metaconfig's "Configure" on case-insensitive file systems.
1360 if test -f "$ac_srcdir/configure.gnu"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1363 elif test -f "$ac_srcdir/configure"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure" --help=recursive
1366 else
1367 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1368 fi || ac_status=$?
1369 cd "$ac_pwd" || { ac_status=$?; break; }
1370 done
1373 test -n "$ac_init_help" && exit $ac_status
1374 if $ac_init_version; then
1375 cat <<\_ACEOF
1376 pcc-libs configure 1.2.0.DEVEL
1377 generated by GNU Autoconf 2.71
1379 Copyright (C) 2021 Free Software Foundation, Inc.
1380 This configure script is free software; the Free Software Foundation
1381 gives unlimited permission to copy, distribute and modify it.
1382 _ACEOF
1383 exit
1386 ## ------------------------ ##
1387 ## Autoconf initialization. ##
1388 ## ------------------------ ##
1389 ac_configure_args_raw=
1390 for ac_arg
1392 case $ac_arg in
1393 *\'*)
1394 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1395 esac
1396 as_fn_append ac_configure_args_raw " '$ac_arg'"
1397 done
1399 case $ac_configure_args_raw in
1400 *$as_nl*)
1401 ac_safe_unquote= ;;
1403 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1404 ac_unsafe_a="$ac_unsafe_z#~"
1405 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1406 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1407 esac
1409 cat >config.log <<_ACEOF
1410 This file contains any messages produced by compilers while
1411 running configure, to aid debugging if configure makes a mistake.
1413 It was created by pcc-libs $as_me 1.2.0.DEVEL, which was
1414 generated by GNU Autoconf 2.71. Invocation command line was
1416 $ $0$ac_configure_args_raw
1418 _ACEOF
1419 exec 5>>config.log
1421 cat <<_ASUNAME
1422 ## --------- ##
1423 ## Platform. ##
1424 ## --------- ##
1426 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1427 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1428 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1429 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1430 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1432 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1433 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1435 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1436 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1437 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1438 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1439 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1440 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1441 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1443 _ASUNAME
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1446 for as_dir in $PATH
1448 IFS=$as_save_IFS
1449 case $as_dir in #(((
1450 '') as_dir=./ ;;
1451 */) ;;
1452 *) as_dir=$as_dir/ ;;
1453 esac
1454 printf "%s\n" "PATH: $as_dir"
1455 done
1456 IFS=$as_save_IFS
1458 } >&5
1460 cat >&5 <<_ACEOF
1463 ## ----------- ##
1464 ## Core tests. ##
1465 ## ----------- ##
1467 _ACEOF
1470 # Keep a trace of the command line.
1471 # Strip out --no-create and --no-recursion so they do not pile up.
1472 # Strip out --silent because we don't want to record it for future runs.
1473 # Also quote any args containing shell meta-characters.
1474 # Make two passes to allow for proper duplicate-argument suppression.
1475 ac_configure_args=
1476 ac_configure_args0=
1477 ac_configure_args1=
1478 ac_must_keep_next=false
1479 for ac_pass in 1 2
1481 for ac_arg
1483 case $ac_arg in
1484 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1485 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1486 | -silent | --silent | --silen | --sile | --sil)
1487 continue ;;
1488 *\'*)
1489 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1490 esac
1491 case $ac_pass in
1492 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1494 as_fn_append ac_configure_args1 " '$ac_arg'"
1495 if test $ac_must_keep_next = true; then
1496 ac_must_keep_next=false # Got value, back to normal.
1497 else
1498 case $ac_arg in
1499 *=* | --config-cache | -C | -disable-* | --disable-* \
1500 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1501 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1502 | -with-* | --with-* | -without-* | --without-* | --x)
1503 case "$ac_configure_args0 " in
1504 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1505 esac
1507 -* ) ac_must_keep_next=true ;;
1508 esac
1510 as_fn_append ac_configure_args " '$ac_arg'"
1512 esac
1513 done
1514 done
1515 { ac_configure_args0=; unset ac_configure_args0;}
1516 { ac_configure_args1=; unset ac_configure_args1;}
1518 # When interrupted or exit'd, cleanup temporary files, and complete
1519 # config.log. We remove comments because anyway the quotes in there
1520 # would cause problems or look ugly.
1521 # WARNING: Use '\'' to represent an apostrophe within the trap.
1522 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1523 trap 'exit_status=$?
1524 # Sanitize IFS.
1525 IFS=" "" $as_nl"
1526 # Save into config.log some information that might help in debugging.
1528 echo
1530 printf "%s\n" "## ---------------- ##
1531 ## Cache variables. ##
1532 ## ---------------- ##"
1533 echo
1534 # The following way of writing the cache mishandles newlines in values,
1536 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1537 eval ac_val=\$$ac_var
1538 case $ac_val in #(
1539 *${as_nl}*)
1540 case $ac_var in #(
1541 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1542 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1543 esac
1544 case $ac_var in #(
1545 _ | IFS | as_nl) ;; #(
1546 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1547 *) { eval $ac_var=; unset $ac_var;} ;;
1548 esac ;;
1549 esac
1550 done
1551 (set) 2>&1 |
1552 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1553 *${as_nl}ac_space=\ *)
1554 sed -n \
1555 "s/'\''/'\''\\\\'\'''\''/g;
1556 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1557 ;; #(
1559 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1561 esac |
1562 sort
1564 echo
1566 printf "%s\n" "## ----------------- ##
1567 ## Output variables. ##
1568 ## ----------------- ##"
1569 echo
1570 for ac_var in $ac_subst_vars
1572 eval ac_val=\$$ac_var
1573 case $ac_val in
1574 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 esac
1576 printf "%s\n" "$ac_var='\''$ac_val'\''"
1577 done | sort
1578 echo
1580 if test -n "$ac_subst_files"; then
1581 printf "%s\n" "## ------------------- ##
1582 ## File substitutions. ##
1583 ## ------------------- ##"
1584 echo
1585 for ac_var in $ac_subst_files
1587 eval ac_val=\$$ac_var
1588 case $ac_val in
1589 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1590 esac
1591 printf "%s\n" "$ac_var='\''$ac_val'\''"
1592 done | sort
1593 echo
1596 if test -s confdefs.h; then
1597 printf "%s\n" "## ----------- ##
1598 ## confdefs.h. ##
1599 ## ----------- ##"
1600 echo
1601 cat confdefs.h
1602 echo
1604 test "$ac_signal" != 0 &&
1605 printf "%s\n" "$as_me: caught signal $ac_signal"
1606 printf "%s\n" "$as_me: exit $exit_status"
1607 } >&5
1608 rm -f core *.core core.conftest.* &&
1609 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1610 exit $exit_status
1612 for ac_signal in 1 2 13 15; do
1613 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1614 done
1615 ac_signal=0
1617 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1618 rm -f -r conftest* confdefs.h
1620 printf "%s\n" "/* confdefs.h */" > confdefs.h
1622 # Predefined preprocessor variables.
1624 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1626 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1628 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1630 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1632 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1634 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1637 # Let the site file select an alternate cache file if it wants to.
1638 # Prefer an explicitly selected file to automatically selected ones.
1639 if test -n "$CONFIG_SITE"; then
1640 ac_site_files="$CONFIG_SITE"
1641 elif test "x$prefix" != xNONE; then
1642 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1643 else
1644 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1647 for ac_site_file in $ac_site_files
1649 case $ac_site_file in #(
1650 */*) :
1651 ;; #(
1652 *) :
1653 ac_site_file=./$ac_site_file ;;
1654 esac
1655 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1657 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1658 sed 's/^/| /' "$ac_site_file" >&5
1659 . "$ac_site_file" \
1660 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1661 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1662 as_fn_error $? "failed to load site script $ac_site_file
1663 See \`config.log' for more details" "$LINENO" 5; }
1665 done
1667 if test -r "$cache_file"; then
1668 # Some versions of bash will fail to source /dev/null (special files
1669 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1670 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1672 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1673 case $cache_file in
1674 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1675 *) . "./$cache_file";;
1676 esac
1678 else
1679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1680 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1681 >$cache_file
1685 # Auxiliary files required by this configure script.
1686 ac_aux_files="config.guess config.sub install-sh"
1688 # Locations in which to look for auxiliary files.
1689 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1691 # Search for a directory containing all of the required auxiliary files,
1692 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1693 # If we don't find one directory that contains all the files we need,
1694 # we report the set of missing files from the *first* directory in
1695 # $ac_aux_dir_candidates and give up.
1696 ac_missing_aux_files=""
1697 ac_first_candidate=:
1698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 as_found=false
1701 for as_dir in $ac_aux_dir_candidates
1703 IFS=$as_save_IFS
1704 case $as_dir in #(((
1705 '') as_dir=./ ;;
1706 */) ;;
1707 *) as_dir=$as_dir/ ;;
1708 esac
1709 as_found=:
1711 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1712 ac_aux_dir_found=yes
1713 ac_install_sh=
1714 for ac_aux in $ac_aux_files
1716 # As a special case, if "install-sh" is required, that requirement
1717 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1718 # and $ac_install_sh is set appropriately for whichever one is found.
1719 if test x"$ac_aux" = x"install-sh"
1720 then
1721 if test -f "${as_dir}install-sh"; then
1722 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1723 ac_install_sh="${as_dir}install-sh -c"
1724 elif test -f "${as_dir}install.sh"; then
1725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1726 ac_install_sh="${as_dir}install.sh -c"
1727 elif test -f "${as_dir}shtool"; then
1728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1729 ac_install_sh="${as_dir}shtool install -c"
1730 else
1731 ac_aux_dir_found=no
1732 if $ac_first_candidate; then
1733 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1734 else
1735 break
1738 else
1739 if test -f "${as_dir}${ac_aux}"; then
1740 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1741 else
1742 ac_aux_dir_found=no
1743 if $ac_first_candidate; then
1744 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1745 else
1746 break
1750 done
1751 if test "$ac_aux_dir_found" = yes; then
1752 ac_aux_dir="$as_dir"
1753 break
1755 ac_first_candidate=false
1757 as_found=false
1758 done
1759 IFS=$as_save_IFS
1760 if $as_found
1761 then :
1763 else $as_nop
1764 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1768 # These three variables are undocumented and unsupported,
1769 # and are intended to be withdrawn in a future Autoconf release.
1770 # They can cause serious problems if a builder's source tree is in a directory
1771 # whose full name contains unusual characters.
1772 if test -f "${ac_aux_dir}config.guess"; then
1773 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1775 if test -f "${ac_aux_dir}config.sub"; then
1776 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1778 if test -f "$ac_aux_dir/configure"; then
1779 ac_configure="$SHELL ${ac_aux_dir}configure"
1782 # Check that the precious variables saved in the cache have kept the same
1783 # value.
1784 ac_cache_corrupted=false
1785 for ac_var in $ac_precious_vars; do
1786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787 eval ac_new_set=\$ac_env_${ac_var}_set
1788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789 eval ac_new_val=\$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1791 set,)
1792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted=: ;;
1795 ,set)
1796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1797 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1799 ,);;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 # differences in whitespace do not lead to failure.
1803 ac_old_val_w=`echo x $ac_old_val`
1804 ac_new_val_w=`echo x $ac_new_val`
1805 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1807 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808 ac_cache_corrupted=:
1809 else
1810 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1811 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1812 eval $ac_var=\$ac_old_val
1814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1815 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1817 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1818 fi;;
1819 esac
1820 # Pass precious variables to config.status.
1821 if test "$ac_new_set" = set; then
1822 case $ac_new_val in
1823 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1824 *) ac_arg=$ac_var=$ac_new_val ;;
1825 esac
1826 case " $ac_configure_args " in
1827 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1828 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1829 esac
1831 done
1832 if $ac_cache_corrupted; then
1833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1834 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1836 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1837 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1838 and start over" "$LINENO" 5
1840 ## -------------------- ##
1841 ## Main body of script. ##
1842 ## -------------------- ##
1844 ac_ext=c
1845 ac_cpp='$CPP $CPPFLAGS'
1846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1853 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1854 set x ${MAKE-make}
1855 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1856 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
1857 then :
1858 printf %s "(cached) " >&6
1859 else $as_nop
1860 cat >conftest.make <<\_ACEOF
1861 SHELL = /bin/sh
1862 all:
1863 @echo '@@@%%%=$(MAKE)=@@@%%%'
1864 _ACEOF
1865 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1866 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1867 *@@@%%%=?*=@@@%%%*)
1868 eval ac_cv_prog_make_${ac_make}_set=yes;;
1870 eval ac_cv_prog_make_${ac_make}_set=no;;
1871 esac
1872 rm -f conftest.make
1874 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1876 printf "%s\n" "yes" >&6; }
1877 SET_MAKE=
1878 else
1879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1880 printf "%s\n" "no" >&6; }
1881 SET_MAKE="MAKE=${MAKE-make}"
1886 # Find a good install program. We prefer a C program (faster),
1887 # so one script is as good as another. But avoid the broken or
1888 # incompatible versions:
1889 # SysV /etc/install, /usr/sbin/install
1890 # SunOS /usr/etc/install
1891 # IRIX /sbin/install
1892 # AIX /bin/install
1893 # AmigaOS /C/install, which installs bootblocks on floppy discs
1894 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1895 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1896 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1897 # OS/2's system install, which has a completely different semantic
1898 # ./install, which can be erroneously created by make from ./install.sh.
1899 # Reject install programs that cannot install multiple files.
1900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1901 printf %s "checking for a BSD-compatible install... " >&6; }
1902 if test -z "$INSTALL"; then
1903 if test ${ac_cv_path_install+y}
1904 then :
1905 printf %s "(cached) " >&6
1906 else $as_nop
1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1908 for as_dir in $PATH
1910 IFS=$as_save_IFS
1911 case $as_dir in #(((
1912 '') as_dir=./ ;;
1913 */) ;;
1914 *) as_dir=$as_dir/ ;;
1915 esac
1916 # Account for fact that we put trailing slashes in our PATH walk.
1917 case $as_dir in #((
1918 ./ | /[cC]/* | \
1919 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1920 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1921 /usr/ucb/* ) ;;
1923 # OSF1 and SCO ODT 3.0 have their own names for install.
1924 # Don't use installbsd from OSF since it installs stuff as root
1925 # by default.
1926 for ac_prog in ginstall scoinst install; do
1927 for ac_exec_ext in '' $ac_executable_extensions; do
1928 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1929 if test $ac_prog = install &&
1930 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1931 # AIX install. It has an incompatible calling convention.
1933 elif test $ac_prog = install &&
1934 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1935 # program-specific install script used by HP pwplus--don't use.
1937 else
1938 rm -rf conftest.one conftest.two conftest.dir
1939 echo one > conftest.one
1940 echo two > conftest.two
1941 mkdir conftest.dir
1942 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1943 test -s conftest.one && test -s conftest.two &&
1944 test -s conftest.dir/conftest.one &&
1945 test -s conftest.dir/conftest.two
1946 then
1947 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1948 break 3
1952 done
1953 done
1955 esac
1957 done
1958 IFS=$as_save_IFS
1960 rm -rf conftest.one conftest.two conftest.dir
1963 if test ${ac_cv_path_install+y}; then
1964 INSTALL=$ac_cv_path_install
1965 else
1966 # As a last resort, use the slow shell script. Don't cache a
1967 # value for INSTALL within a source directory, because that will
1968 # break other packages using the cache if that directory is
1969 # removed, or if the value is a relative name.
1970 INSTALL=$ac_install_sh
1973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1974 printf "%s\n" "$INSTALL" >&6; }
1976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1977 # It thinks the first close brace ends the variable substitution.
1978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1982 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1986 # Make sure we can run config.sub.
1987 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
1988 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
1990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1991 printf %s "checking build system type... " >&6; }
1992 if test ${ac_cv_build+y}
1993 then :
1994 printf %s "(cached) " >&6
1995 else $as_nop
1996 ac_build_alias=$build_alias
1997 test "x$ac_build_alias" = x &&
1998 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
1999 test "x$ac_build_alias" = x &&
2000 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2001 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
2002 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
2005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2006 printf "%s\n" "$ac_cv_build" >&6; }
2007 case $ac_cv_build in
2008 *-*-*) ;;
2009 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2010 esac
2011 build=$ac_cv_build
2012 ac_save_IFS=$IFS; IFS='-'
2013 set x $ac_cv_build
2014 shift
2015 build_cpu=$1
2016 build_vendor=$2
2017 shift; shift
2018 # Remember, the first character of IFS is used to create $*,
2019 # except with old shells:
2020 build_os=$*
2021 IFS=$ac_save_IFS
2022 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2026 printf %s "checking host system type... " >&6; }
2027 if test ${ac_cv_host+y}
2028 then :
2029 printf %s "(cached) " >&6
2030 else $as_nop
2031 if test "x$host_alias" = x; then
2032 ac_cv_host=$ac_cv_build
2033 else
2034 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
2035 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
2039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2040 printf "%s\n" "$ac_cv_host" >&6; }
2041 case $ac_cv_host in
2042 *-*-*) ;;
2043 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2044 esac
2045 host=$ac_cv_host
2046 ac_save_IFS=$IFS; IFS='-'
2047 set x $ac_cv_host
2048 shift
2049 host_cpu=$1
2050 host_vendor=$2
2051 shift; shift
2052 # Remember, the first character of IFS is used to create $*,
2053 # except with old shells:
2054 host_os=$*
2055 IFS=$ac_save_IFS
2056 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2060 printf %s "checking target system type... " >&6; }
2061 if test ${ac_cv_target+y}
2062 then :
2063 printf %s "(cached) " >&6
2064 else $as_nop
2065 if test "x$target_alias" = x; then
2066 ac_cv_target=$ac_cv_host
2067 else
2068 ac_cv_target=`$SHELL "${ac_aux_dir}config.sub" $target_alias` ||
2069 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $target_alias failed" "$LINENO" 5
2073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2074 printf "%s\n" "$ac_cv_target" >&6; }
2075 case $ac_cv_target in
2076 *-*-*) ;;
2077 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2078 esac
2079 target=$ac_cv_target
2080 ac_save_IFS=$IFS; IFS='-'
2081 set x $ac_cv_target
2082 shift
2083 target_cpu=$1
2084 target_vendor=$2
2085 shift; shift
2086 # Remember, the first character of IFS is used to create $*,
2087 # except with old shells:
2088 target_os=$*
2089 IFS=$ac_save_IFS
2090 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2093 # The aliases save the names the user supplied, while $host etc.
2094 # will get canonicalized.
2095 test -n "$target_alias" &&
2096 test "$program_prefix$program_suffix$program_transform_name" = \
2097 NONENONEs,x,x, &&
2098 program_prefix=${target_alias}-
2100 version=$PACKAGE_VERSION
2102 case "$target_os" in
2104 apple)
2105 targos=apple
2106 case "$target_cpu" in
2107 m68k) targmach=m68k endian=big ;;
2108 esac
2111 darwin*)
2112 targos=darwin
2113 case "$target_cpu" in
2114 i?86) targmach=i386 ;;
2115 powerpc) targmach=powerpc endian=big ;;
2116 x86_64) targmach=amd64 ;;
2117 esac
2120 dragonfly*)
2121 targos=dragonfly
2122 case "$target_cpu" in
2123 i?86) targmach=i386 ;;
2124 esac
2127 freebsd*)
2128 targos=freebsd
2129 case "$target_cpu" in
2130 i?86) targmach=i386 ;;
2131 x86_64) targmach=amd64 ;;
2132 esac
2135 linux*)
2136 targos=linux
2137 case "$target_cpu" in
2138 arm*) targmach=arm ;;
2139 i?86) targmach=i386 ;;
2140 powerpc*) targmach=powerpc endian=big ;;
2141 m68k*) targmach=m68k endian=big target_alias=m68k-linux-gnu CFLAGS="-march=68000 -msoft-float" ;;
2142 x86_64) targmach=amd64 ;;
2143 aarch64) targmach=aarch64 ;;
2144 esac
2147 litebsd*)
2148 targos=litebsd
2149 case "$target_cpu" in
2150 mips*) targmach=mips ;;
2151 esac
2154 midnightbsd*)
2155 targos=midnightbsd
2156 case "$target_cpu" in
2157 i?86) targmach=i386 ;;
2158 sparc64) targmach=sparc64 endian=big ;;
2159 esac
2162 minix*)
2163 targos=minix
2164 case "$target_os" in
2165 minix3) CPPFLAGS="$CPPFLAGS -DSOFTFLOAT_NEED_FIXUNS" ;;
2166 minix3.*) ;;
2167 esac
2168 case "$target_cpu" in
2169 i86) targmach=i86 ;;
2170 i?86) targmach=i386 ;;
2171 arm*) targmach=arm ;;
2172 x86_64) targmach=amd64 ;;
2173 m68k) targmach=m68k endian=big ;;
2174 esac
2177 mirbsd*)
2178 targos=mirbsd
2179 case "$target_cpu" in
2180 i?86) targmach=i386 ;;
2181 esac
2184 netbsd*)
2185 targos=netbsd
2186 case "$target_cpu" in
2187 armeb) targmach=arm endian=big ;;
2188 arm*) targmach=arm ;;
2189 i?86) targmach=i386 ;;
2190 m68k*) targmach=m68k endian=big ;;
2191 mipseb) targmach=mips endian=big ;;
2192 mips*) targmach=mips ;;
2193 pdp10) targmach=pdp10 ;;
2194 powerpc) targmach=powerpc endian=big ;;
2195 sparc64) targmach=sparc64 endian=big ;;
2196 vax) targmach=vax ;;
2197 x86_64) targmach=amd64 ;;
2198 esac
2201 openbsd*)
2202 targos=openbsd
2203 case "$target_cpu" in
2204 i?86) targmach=i386 ;;
2205 mips64el) targmach=mips ;;
2206 mips64) targmach=mips endian=big ;;
2207 powerpc) targmach=powerpc endian=big ;;
2208 sparc64) targmach=sparc64 endian=big ;;
2209 vax) targmach=vax ;;
2210 x86_64) targmach=amd64 ;;
2211 esac
2214 sysv4*|sunos*|solaris*)
2215 targos=sunos
2216 case "$target_cpu" in
2217 i?86) targmach=i386 ;;
2218 sparc*) targmach=sparc64 endian=big ;;
2219 x86_64) targmach=amd64 ;;
2220 esac
2223 windows*|pe*)
2224 target_alias=i386-pe
2225 targos=win32
2226 targmach=i386
2230 targos="$target_os"
2231 case "$target_cpu" in
2232 m16c) targmach=m16c ;;
2233 nova) targmach=nova ;;
2234 m68k*) targmach=m68k endian=big ;;
2235 esac
2237 esac
2239 if test "X$targos" = X -o "X$targmach" = X; then
2240 as_fn_error $? "'$target' is not (yet) supported by pcc-libs." "$LINENO" 5
2243 if test "X$endian" = "Xbig"; then
2244 ENDIAN_FLAG=-DTARGET_BIG_ENDIAN=1
2246 else
2247 ENDIAN_FLAG=-DTARGET_LITTLE_ENDIAN=1
2251 if test -n "$ac_tool_prefix"; then
2252 for ac_prog in pcc gcc cc
2254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2257 printf %s "checking for $ac_word... " >&6; }
2258 if test ${ac_cv_prog_CC+y}
2259 then :
2260 printf %s "(cached) " >&6
2261 else $as_nop
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 case $as_dir in #(((
2270 '') as_dir=./ ;;
2271 */) ;;
2272 *) as_dir=$as_dir/ ;;
2273 esac
2274 for ac_exec_ext in '' $ac_executable_extensions; do
2275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2276 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2278 break 2
2280 done
2281 done
2282 IFS=$as_save_IFS
2286 CC=$ac_cv_prog_CC
2287 if test -n "$CC"; then
2288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2289 printf "%s\n" "$CC" >&6; }
2290 else
2291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2292 printf "%s\n" "no" >&6; }
2296 test -n "$CC" && break
2297 done
2299 if test -z "$CC"; then
2300 ac_ct_CC=$CC
2301 for ac_prog in pcc gcc cc
2303 # Extract the first word of "$ac_prog", so it can be a program name with args.
2304 set dummy $ac_prog; ac_word=$2
2305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2306 printf %s "checking for $ac_word... " >&6; }
2307 if test ${ac_cv_prog_ac_ct_CC+y}
2308 then :
2309 printf %s "(cached) " >&6
2310 else $as_nop
2311 if test -n "$ac_ct_CC"; then
2312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 case $as_dir in #(((
2319 '') as_dir=./ ;;
2320 */) ;;
2321 *) as_dir=$as_dir/ ;;
2322 esac
2323 for ac_exec_ext in '' $ac_executable_extensions; do
2324 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2325 ac_cv_prog_ac_ct_CC="$ac_prog"
2326 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2327 break 2
2329 done
2330 done
2331 IFS=$as_save_IFS
2335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2336 if test -n "$ac_ct_CC"; then
2337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2338 printf "%s\n" "$ac_ct_CC" >&6; }
2339 else
2340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 printf "%s\n" "no" >&6; }
2345 test -n "$ac_ct_CC" && break
2346 done
2348 if test "x$ac_ct_CC" = x; then
2349 CC=""
2350 else
2351 case $cross_compiling:$ac_tool_warned in
2352 yes:)
2353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2354 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2355 ac_tool_warned=yes ;;
2356 esac
2357 CC=$ac_ct_CC
2361 if test -n "$ac_tool_prefix"; then
2362 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2363 set dummy ${ac_tool_prefix}ar; ac_word=$2
2364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2365 printf %s "checking for $ac_word... " >&6; }
2366 if test ${ac_cv_prog_AR+y}
2367 then :
2368 printf %s "(cached) " >&6
2369 else $as_nop
2370 if test -n "$AR"; then
2371 ac_cv_prog_AR="$AR" # Let the user override the test.
2372 else
2373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2374 for as_dir in $PATH
2376 IFS=$as_save_IFS
2377 case $as_dir in #(((
2378 '') as_dir=./ ;;
2379 */) ;;
2380 *) as_dir=$as_dir/ ;;
2381 esac
2382 for ac_exec_ext in '' $ac_executable_extensions; do
2383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2384 ac_cv_prog_AR="${ac_tool_prefix}ar"
2385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2386 break 2
2388 done
2389 done
2390 IFS=$as_save_IFS
2394 AR=$ac_cv_prog_AR
2395 if test -n "$AR"; then
2396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2397 printf "%s\n" "$AR" >&6; }
2398 else
2399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2400 printf "%s\n" "no" >&6; }
2405 if test -z "$ac_cv_prog_AR"; then
2406 ac_ct_AR=$AR
2407 # Extract the first word of "ar", so it can be a program name with args.
2408 set dummy ar; ac_word=$2
2409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2410 printf %s "checking for $ac_word... " >&6; }
2411 if test ${ac_cv_prog_ac_ct_AR+y}
2412 then :
2413 printf %s "(cached) " >&6
2414 else $as_nop
2415 if test -n "$ac_ct_AR"; then
2416 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2417 else
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419 for as_dir in $PATH
2421 IFS=$as_save_IFS
2422 case $as_dir in #(((
2423 '') as_dir=./ ;;
2424 */) ;;
2425 *) as_dir=$as_dir/ ;;
2426 esac
2427 for ac_exec_ext in '' $ac_executable_extensions; do
2428 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2429 ac_cv_prog_ac_ct_AR="ar"
2430 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2431 break 2
2433 done
2434 done
2435 IFS=$as_save_IFS
2439 ac_ct_AR=$ac_cv_prog_ac_ct_AR
2440 if test -n "$ac_ct_AR"; then
2441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
2442 printf "%s\n" "$ac_ct_AR" >&6; }
2443 else
2444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2445 printf "%s\n" "no" >&6; }
2448 if test "x$ac_ct_AR" = x; then
2449 AR="ar"
2450 else
2451 case $cross_compiling:$ac_tool_warned in
2452 yes:)
2453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2454 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2455 ac_tool_warned=yes ;;
2456 esac
2457 AR=$ac_ct_AR
2459 else
2460 AR="$ac_cv_prog_AR"
2463 if test -n "$ac_tool_prefix"; then
2464 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2465 set dummy ${ac_tool_prefix}as; ac_word=$2
2466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2467 printf %s "checking for $ac_word... " >&6; }
2468 if test ${ac_cv_prog_AS+y}
2469 then :
2470 printf %s "(cached) " >&6
2471 else $as_nop
2472 if test -n "$AS"; then
2473 ac_cv_prog_AS="$AS" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2478 IFS=$as_save_IFS
2479 case $as_dir in #(((
2480 '') as_dir=./ ;;
2481 */) ;;
2482 *) as_dir=$as_dir/ ;;
2483 esac
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2486 ac_cv_prog_AS="${ac_tool_prefix}as"
2487 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2488 break 2
2490 done
2491 done
2492 IFS=$as_save_IFS
2496 AS=$ac_cv_prog_AS
2497 if test -n "$AS"; then
2498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2499 printf "%s\n" "$AS" >&6; }
2500 else
2501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502 printf "%s\n" "no" >&6; }
2507 if test -z "$ac_cv_prog_AS"; then
2508 ac_ct_AS=$AS
2509 # Extract the first word of "as", so it can be a program name with args.
2510 set dummy as; ac_word=$2
2511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512 printf %s "checking for $ac_word... " >&6; }
2513 if test ${ac_cv_prog_ac_ct_AS+y}
2514 then :
2515 printf %s "(cached) " >&6
2516 else $as_nop
2517 if test -n "$ac_ct_AS"; then
2518 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2519 else
2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 for as_dir in $PATH
2523 IFS=$as_save_IFS
2524 case $as_dir in #(((
2525 '') as_dir=./ ;;
2526 */) ;;
2527 *) as_dir=$as_dir/ ;;
2528 esac
2529 for ac_exec_ext in '' $ac_executable_extensions; do
2530 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2531 ac_cv_prog_ac_ct_AS="as"
2532 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2533 break 2
2535 done
2536 done
2537 IFS=$as_save_IFS
2541 ac_ct_AS=$ac_cv_prog_ac_ct_AS
2542 if test -n "$ac_ct_AS"; then
2543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2544 printf "%s\n" "$ac_ct_AS" >&6; }
2545 else
2546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2547 printf "%s\n" "no" >&6; }
2550 if test "x$ac_ct_AS" = x; then
2551 AS="as"
2552 else
2553 case $cross_compiling:$ac_tool_warned in
2554 yes:)
2555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2556 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2557 ac_tool_warned=yes ;;
2558 esac
2559 AS=$ac_ct_AS
2561 else
2562 AS="$ac_cv_prog_AS"
2565 if test -n "$ac_tool_prefix"; then
2566 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2567 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2569 printf %s "checking for $ac_word... " >&6; }
2570 if test ${ac_cv_prog_RANLIB+y}
2571 then :
2572 printf %s "(cached) " >&6
2573 else $as_nop
2574 if test -n "$RANLIB"; then
2575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2576 else
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 for as_dir in $PATH
2580 IFS=$as_save_IFS
2581 case $as_dir in #(((
2582 '') as_dir=./ ;;
2583 */) ;;
2584 *) as_dir=$as_dir/ ;;
2585 esac
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2589 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2590 break 2
2592 done
2593 done
2594 IFS=$as_save_IFS
2598 RANLIB=$ac_cv_prog_RANLIB
2599 if test -n "$RANLIB"; then
2600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
2601 printf "%s\n" "$RANLIB" >&6; }
2602 else
2603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2604 printf "%s\n" "no" >&6; }
2609 if test -z "$ac_cv_prog_RANLIB"; then
2610 ac_ct_RANLIB=$RANLIB
2611 # Extract the first word of "ranlib", so it can be a program name with args.
2612 set dummy ranlib; ac_word=$2
2613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2614 printf %s "checking for $ac_word... " >&6; }
2615 if test ${ac_cv_prog_ac_ct_RANLIB+y}
2616 then :
2617 printf %s "(cached) " >&6
2618 else $as_nop
2619 if test -n "$ac_ct_RANLIB"; then
2620 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2621 else
2622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 for as_dir in $PATH
2625 IFS=$as_save_IFS
2626 case $as_dir in #(((
2627 '') as_dir=./ ;;
2628 */) ;;
2629 *) as_dir=$as_dir/ ;;
2630 esac
2631 for ac_exec_ext in '' $ac_executable_extensions; do
2632 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2633 ac_cv_prog_ac_ct_RANLIB="ranlib"
2634 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2635 break 2
2637 done
2638 done
2639 IFS=$as_save_IFS
2643 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2644 if test -n "$ac_ct_RANLIB"; then
2645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
2646 printf "%s\n" "$ac_ct_RANLIB" >&6; }
2647 else
2648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2649 printf "%s\n" "no" >&6; }
2652 if test "x$ac_ct_RANLIB" = x; then
2653 RANLIB=":"
2654 else
2655 case $cross_compiling:$ac_tool_warned in
2656 yes:)
2657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2658 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2659 ac_tool_warned=yes ;;
2660 esac
2661 RANLIB=$ac_ct_RANLIB
2663 else
2664 RANLIB="$ac_cv_prog_RANLIB"
2677 ac_config_files="$ac_config_files Makefile csu/Makefile libsoftfloat/Makefile libpcc/Makefile"
2679 cat >confcache <<\_ACEOF
2680 # This file is a shell script that caches the results of configure
2681 # tests run on this system so they can be shared between configure
2682 # scripts and configure runs, see configure's option --config-cache.
2683 # It is not useful on other systems. If it contains results you don't
2684 # want to keep, you may remove or edit it.
2686 # config.status only pays attention to the cache file if you give it
2687 # the --recheck option to rerun configure.
2689 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2690 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2691 # following values.
2693 _ACEOF
2695 # The following way of writing the cache mishandles newlines in values,
2696 # but we know of no workaround that is simple, portable, and efficient.
2697 # So, we kill variables containing newlines.
2698 # Ultrix sh set writes to stderr and can't be redirected directly,
2699 # and sets the high bit in the cache file unless we assign to the vars.
2701 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2702 eval ac_val=\$$ac_var
2703 case $ac_val in #(
2704 *${as_nl}*)
2705 case $ac_var in #(
2706 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2707 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2708 esac
2709 case $ac_var in #(
2710 _ | IFS | as_nl) ;; #(
2711 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2712 *) { eval $ac_var=; unset $ac_var;} ;;
2713 esac ;;
2714 esac
2715 done
2717 (set) 2>&1 |
2718 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2719 *${as_nl}ac_space=\ *)
2720 # `set' does not quote correctly, so add quotes: double-quote
2721 # substitution turns \\\\ into \\, and sed turns \\ into \.
2722 sed -n \
2723 "s/'/'\\\\''/g;
2724 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2725 ;; #(
2727 # `set' quotes correctly as required by POSIX, so do not add quotes.
2728 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2730 esac |
2731 sort
2733 sed '
2734 /^ac_cv_env_/b end
2735 t clear
2736 :clear
2737 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2738 t end
2739 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2740 :end' >>confcache
2741 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2742 if test -w "$cache_file"; then
2743 if test "x$cache_file" != "x/dev/null"; then
2744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2745 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2746 if test ! -f "$cache_file" || test -h "$cache_file"; then
2747 cat confcache >"$cache_file"
2748 else
2749 case $cache_file in #(
2750 */* | ?:*)
2751 mv -f confcache "$cache_file"$$ &&
2752 mv -f "$cache_file"$$ "$cache_file" ;; #(
2754 mv -f confcache "$cache_file" ;;
2755 esac
2758 else
2759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2760 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2763 rm -f confcache
2765 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2766 # Let make expand exec_prefix.
2767 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2769 # Transform confdefs.h into DEFS.
2770 # Protect against shell expansion while executing Makefile rules.
2771 # Protect against Makefile macro expansion.
2773 # If the first sed substitution is executed (which looks for macros that
2774 # take arguments), then branch to the quote section. Otherwise,
2775 # look for a macro that doesn't take arguments.
2776 ac_script='
2777 :mline
2778 /\\$/{
2780 s,\\\n,,
2781 b mline
2783 t clear
2784 :clear
2785 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2786 t quote
2787 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2788 t quote
2789 b any
2790 :quote
2791 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2792 s/\[/\\&/g
2793 s/\]/\\&/g
2794 s/\$/$$/g
2796 :any
2799 s/^\n//
2800 s/\n/ /g
2804 DEFS=`sed -n "$ac_script" confdefs.h`
2807 ac_libobjs=
2808 ac_ltlibobjs=
2810 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2811 # 1. Remove the extension, and $U if already installed.
2812 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2813 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2814 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2815 # will be set to the directory where LIBOBJS objects are built.
2816 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2817 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2818 done
2819 LIBOBJS=$ac_libobjs
2821 LTLIBOBJS=$ac_ltlibobjs
2825 : "${CONFIG_STATUS=./config.status}"
2826 ac_write_fail=0
2827 ac_clean_files_save=$ac_clean_files
2828 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2830 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2831 as_write_fail=0
2832 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2833 #! $SHELL
2834 # Generated by $as_me.
2835 # Run this file to recreate the current configuration.
2836 # Compiler output produced by configure, useful for debugging
2837 # configure, is in config.log if it exists.
2839 debug=false
2840 ac_cs_recheck=false
2841 ac_cs_silent=false
2843 SHELL=\${CONFIG_SHELL-$SHELL}
2844 export SHELL
2845 _ASEOF
2846 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2847 ## -------------------- ##
2848 ## M4sh Initialization. ##
2849 ## -------------------- ##
2851 # Be more Bourne compatible
2852 DUALCASE=1; export DUALCASE # for MKS sh
2853 as_nop=:
2854 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2855 then :
2856 emulate sh
2857 NULLCMD=:
2858 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2859 # is contrary to our usage. Disable this feature.
2860 alias -g '${1+"$@"}'='"$@"'
2861 setopt NO_GLOB_SUBST
2862 else $as_nop
2863 case `(set -o) 2>/dev/null` in #(
2864 *posix*) :
2865 set -o posix ;; #(
2866 *) :
2868 esac
2873 # Reset variables that may have inherited troublesome values from
2874 # the environment.
2876 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2877 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2878 # side effect of setting IFS to empty, thus disabling word splitting.)
2879 # Quoting is to prevent editors from complaining about space-tab.
2880 as_nl='
2882 export as_nl
2883 IFS=" "" $as_nl"
2885 PS1='$ '
2886 PS2='> '
2887 PS4='+ '
2889 # Ensure predictable behavior from utilities with locale-dependent output.
2890 LC_ALL=C
2891 export LC_ALL
2892 LANGUAGE=C
2893 export LANGUAGE
2895 # We cannot yet rely on "unset" to work, but we need these variables
2896 # to be unset--not just set to an empty or harmless value--now, to
2897 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2898 # also avoids known problems related to "unset" and subshell syntax
2899 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2900 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2901 do eval test \${$as_var+y} \
2902 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2903 done
2905 # Ensure that fds 0, 1, and 2 are open.
2906 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2907 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2908 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2910 # The user is always right.
2911 if ${PATH_SEPARATOR+false} :; then
2912 PATH_SEPARATOR=:
2913 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2914 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2915 PATH_SEPARATOR=';'
2920 # Find who we are. Look in the path if we contain no directory separator.
2921 as_myself=
2922 case $0 in #((
2923 *[\\/]* ) as_myself=$0 ;;
2924 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925 for as_dir in $PATH
2927 IFS=$as_save_IFS
2928 case $as_dir in #(((
2929 '') as_dir=./ ;;
2930 */) ;;
2931 *) as_dir=$as_dir/ ;;
2932 esac
2933 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2934 done
2935 IFS=$as_save_IFS
2938 esac
2939 # We did not find ourselves, most probably we were run as `sh COMMAND'
2940 # in which case we are not to be found in the path.
2941 if test "x$as_myself" = x; then
2942 as_myself=$0
2944 if test ! -f "$as_myself"; then
2945 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2946 exit 1
2951 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2952 # ----------------------------------------
2953 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2954 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2955 # script with STATUS, using 1 if that was 0.
2956 as_fn_error ()
2958 as_status=$1; test $as_status -eq 0 && as_status=1
2959 if test "$4"; then
2960 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2963 printf "%s\n" "$as_me: error: $2" >&2
2964 as_fn_exit $as_status
2965 } # as_fn_error
2969 # as_fn_set_status STATUS
2970 # -----------------------
2971 # Set $? to STATUS, without forking.
2972 as_fn_set_status ()
2974 return $1
2975 } # as_fn_set_status
2977 # as_fn_exit STATUS
2978 # -----------------
2979 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2980 as_fn_exit ()
2982 set +e
2983 as_fn_set_status $1
2984 exit $1
2985 } # as_fn_exit
2987 # as_fn_unset VAR
2988 # ---------------
2989 # Portably unset VAR.
2990 as_fn_unset ()
2992 { eval $1=; unset $1;}
2994 as_unset=as_fn_unset
2996 # as_fn_append VAR VALUE
2997 # ----------------------
2998 # Append the text in VALUE to the end of the definition contained in VAR. Take
2999 # advantage of any shell optimizations that allow amortized linear growth over
3000 # repeated appends, instead of the typical quadratic growth present in naive
3001 # implementations.
3002 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3003 then :
3004 eval 'as_fn_append ()
3006 eval $1+=\$2
3008 else $as_nop
3009 as_fn_append ()
3011 eval $1=\$$1\$2
3013 fi # as_fn_append
3015 # as_fn_arith ARG...
3016 # ------------------
3017 # Perform arithmetic evaluation on the ARGs, and store the result in the
3018 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3019 # must be portable across $(()) and expr.
3020 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3021 then :
3022 eval 'as_fn_arith ()
3024 as_val=$(( $* ))
3026 else $as_nop
3027 as_fn_arith ()
3029 as_val=`expr "$@" || test $? -eq 1`
3031 fi # as_fn_arith
3034 if expr a : '\(a\)' >/dev/null 2>&1 &&
3035 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3036 as_expr=expr
3037 else
3038 as_expr=false
3041 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3042 as_basename=basename
3043 else
3044 as_basename=false
3047 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3048 as_dirname=dirname
3049 else
3050 as_dirname=false
3053 as_me=`$as_basename -- "$0" ||
3054 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3055 X"$0" : 'X\(//\)$' \| \
3056 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3057 printf "%s\n" X/"$0" |
3058 sed '/^.*\/\([^/][^/]*\)\/*$/{
3059 s//\1/
3062 /^X\/\(\/\/\)$/{
3063 s//\1/
3066 /^X\/\(\/\).*/{
3067 s//\1/
3070 s/.*/./; q'`
3072 # Avoid depending upon Character Ranges.
3073 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3074 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3075 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3076 as_cr_digits='0123456789'
3077 as_cr_alnum=$as_cr_Letters$as_cr_digits
3080 # Determine whether it's possible to make 'echo' print without a newline.
3081 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3082 # for compatibility with existing Makefiles.
3083 ECHO_C= ECHO_N= ECHO_T=
3084 case `echo -n x` in #(((((
3085 -n*)
3086 case `echo 'xy\c'` in
3087 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3088 xy) ECHO_C='\c';;
3089 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3090 ECHO_T=' ';;
3091 esac;;
3093 ECHO_N='-n';;
3094 esac
3096 # For backward compatibility with old third-party macros, we provide
3097 # the shell variables $as_echo and $as_echo_n. New code should use
3098 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3099 as_echo='printf %s\n'
3100 as_echo_n='printf %s'
3102 rm -f conf$$ conf$$.exe conf$$.file
3103 if test -d conf$$.dir; then
3104 rm -f conf$$.dir/conf$$.file
3105 else
3106 rm -f conf$$.dir
3107 mkdir conf$$.dir 2>/dev/null
3109 if (echo >conf$$.file) 2>/dev/null; then
3110 if ln -s conf$$.file conf$$ 2>/dev/null; then
3111 as_ln_s='ln -s'
3112 # ... but there are two gotchas:
3113 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3114 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3115 # In both cases, we have to default to `cp -pR'.
3116 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3117 as_ln_s='cp -pR'
3118 elif ln conf$$.file conf$$ 2>/dev/null; then
3119 as_ln_s=ln
3120 else
3121 as_ln_s='cp -pR'
3123 else
3124 as_ln_s='cp -pR'
3126 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3127 rmdir conf$$.dir 2>/dev/null
3130 # as_fn_mkdir_p
3131 # -------------
3132 # Create "$as_dir" as a directory, including parents if necessary.
3133 as_fn_mkdir_p ()
3136 case $as_dir in #(
3137 -*) as_dir=./$as_dir;;
3138 esac
3139 test -d "$as_dir" || eval $as_mkdir_p || {
3140 as_dirs=
3141 while :; do
3142 case $as_dir in #(
3143 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3144 *) as_qdir=$as_dir;;
3145 esac
3146 as_dirs="'$as_qdir' $as_dirs"
3147 as_dir=`$as_dirname -- "$as_dir" ||
3148 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3149 X"$as_dir" : 'X\(//\)[^/]' \| \
3150 X"$as_dir" : 'X\(//\)$' \| \
3151 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3152 printf "%s\n" X"$as_dir" |
3153 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3154 s//\1/
3157 /^X\(\/\/\)[^/].*/{
3158 s//\1/
3161 /^X\(\/\/\)$/{
3162 s//\1/
3165 /^X\(\/\).*/{
3166 s//\1/
3169 s/.*/./; q'`
3170 test -d "$as_dir" && break
3171 done
3172 test -z "$as_dirs" || eval "mkdir $as_dirs"
3173 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3176 } # as_fn_mkdir_p
3177 if mkdir -p . 2>/dev/null; then
3178 as_mkdir_p='mkdir -p "$as_dir"'
3179 else
3180 test -d ./-p && rmdir ./-p
3181 as_mkdir_p=false
3185 # as_fn_executable_p FILE
3186 # -----------------------
3187 # Test if FILE is an executable regular file.
3188 as_fn_executable_p ()
3190 test -f "$1" && test -x "$1"
3191 } # as_fn_executable_p
3192 as_test_x='test -x'
3193 as_executable_p=as_fn_executable_p
3195 # Sed expression to map a string onto a valid CPP name.
3196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3198 # Sed expression to map a string onto a valid variable name.
3199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3202 exec 6>&1
3203 ## ----------------------------------- ##
3204 ## Main body of $CONFIG_STATUS script. ##
3205 ## ----------------------------------- ##
3206 _ASEOF
3207 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3210 # Save the log message, to keep $0 and so on meaningful, and to
3211 # report actual input values of CONFIG_FILES etc. instead of their
3212 # values after options handling.
3213 ac_log="
3214 This file was extended by pcc-libs $as_me 1.2.0.DEVEL, which was
3215 generated by GNU Autoconf 2.71. Invocation command line was
3217 CONFIG_FILES = $CONFIG_FILES
3218 CONFIG_HEADERS = $CONFIG_HEADERS
3219 CONFIG_LINKS = $CONFIG_LINKS
3220 CONFIG_COMMANDS = $CONFIG_COMMANDS
3221 $ $0 $@
3223 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3226 _ACEOF
3228 case $ac_config_files in *"
3229 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3230 esac
3234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3235 # Files that config.status was made for.
3236 config_files="$ac_config_files"
3238 _ACEOF
3240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3241 ac_cs_usage="\
3242 \`$as_me' instantiates files and other configuration actions
3243 from templates according to the current configuration. Unless the files
3244 and actions are specified as TAGs, all are instantiated by default.
3246 Usage: $0 [OPTION]... [TAG]...
3248 -h, --help print this help, then exit
3249 -V, --version print version number and configuration settings, then exit
3250 --config print configuration, then exit
3251 -q, --quiet, --silent
3252 do not print progress messages
3253 -d, --debug don't remove temporary files
3254 --recheck update $as_me by reconfiguring in the same conditions
3255 --file=FILE[:TEMPLATE]
3256 instantiate the configuration file FILE
3258 Configuration files:
3259 $config_files
3261 Report bugs to <pcc@lists.ludd.ltu.se>."
3263 _ACEOF
3264 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3265 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3267 ac_cs_config='$ac_cs_config_escaped'
3268 ac_cs_version="\\
3269 pcc-libs config.status 1.2.0.DEVEL
3270 configured by $0, generated by GNU Autoconf 2.71,
3271 with options \\"\$ac_cs_config\\"
3273 Copyright (C) 2021 Free Software Foundation, Inc.
3274 This config.status script is free software; the Free Software Foundation
3275 gives unlimited permission to copy, distribute and modify it."
3277 ac_pwd='$ac_pwd'
3278 srcdir='$srcdir'
3279 INSTALL='$INSTALL'
3280 test -n "\$AWK" || AWK=awk
3281 _ACEOF
3283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3284 # The default lists apply if the user does not specify any file.
3285 ac_need_defaults=:
3286 while test $# != 0
3288 case $1 in
3289 --*=?*)
3290 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3291 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3292 ac_shift=:
3294 --*=)
3295 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3296 ac_optarg=
3297 ac_shift=:
3300 ac_option=$1
3301 ac_optarg=$2
3302 ac_shift=shift
3304 esac
3306 case $ac_option in
3307 # Handling of the options.
3308 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3309 ac_cs_recheck=: ;;
3310 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3311 printf "%s\n" "$ac_cs_version"; exit ;;
3312 --config | --confi | --conf | --con | --co | --c )
3313 printf "%s\n" "$ac_cs_config"; exit ;;
3314 --debug | --debu | --deb | --de | --d | -d )
3315 debug=: ;;
3316 --file | --fil | --fi | --f )
3317 $ac_shift
3318 case $ac_optarg in
3319 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3320 '') as_fn_error $? "missing file argument" ;;
3321 esac
3322 as_fn_append CONFIG_FILES " '$ac_optarg'"
3323 ac_need_defaults=false;;
3324 --he | --h | --help | --hel | -h )
3325 printf "%s\n" "$ac_cs_usage"; exit ;;
3326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3327 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3328 ac_cs_silent=: ;;
3330 # This is an error.
3331 -*) as_fn_error $? "unrecognized option: \`$1'
3332 Try \`$0 --help' for more information." ;;
3334 *) as_fn_append ac_config_targets " $1"
3335 ac_need_defaults=false ;;
3337 esac
3338 shift
3339 done
3341 ac_configure_extra_args=
3343 if $ac_cs_silent; then
3344 exec 6>/dev/null
3345 ac_configure_extra_args="$ac_configure_extra_args --silent"
3348 _ACEOF
3349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3350 if \$ac_cs_recheck; then
3351 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3352 shift
3353 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3354 CONFIG_SHELL='$SHELL'
3355 export CONFIG_SHELL
3356 exec "\$@"
3359 _ACEOF
3360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3361 exec 5>>config.log
3363 echo
3364 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3365 ## Running $as_me. ##
3366 _ASBOX
3367 printf "%s\n" "$ac_log"
3368 } >&5
3370 _ACEOF
3371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3372 _ACEOF
3374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3376 # Handling of arguments.
3377 for ac_config_target in $ac_config_targets
3379 case $ac_config_target in
3380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3381 "csu/Makefile") CONFIG_FILES="$CONFIG_FILES csu/Makefile" ;;
3382 "libsoftfloat/Makefile") CONFIG_FILES="$CONFIG_FILES libsoftfloat/Makefile" ;;
3383 "libpcc/Makefile") CONFIG_FILES="$CONFIG_FILES libpcc/Makefile" ;;
3385 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3386 esac
3387 done
3390 # If the user did not use the arguments to specify the items to instantiate,
3391 # then the envvar interface is used. Set only those that are not.
3392 # We use the long form for the default assignment because of an extremely
3393 # bizarre bug on SunOS 4.1.3.
3394 if $ac_need_defaults; then
3395 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3398 # Have a temporary directory for convenience. Make it in the build tree
3399 # simply because there is no reason against having it here, and in addition,
3400 # creating and moving files from /tmp can sometimes cause problems.
3401 # Hook for its removal unless debugging.
3402 # Note that there is a small window in which the directory will not be cleaned:
3403 # after its creation but before its name has been assigned to `$tmp'.
3404 $debug ||
3406 tmp= ac_tmp=
3407 trap 'exit_status=$?
3408 : "${ac_tmp:=$tmp}"
3409 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3411 trap 'as_fn_exit 1' 1 2 13 15
3413 # Create a (secure) tmp directory for tmp files.
3416 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3417 test -d "$tmp"
3418 } ||
3420 tmp=./conf$$-$RANDOM
3421 (umask 077 && mkdir "$tmp")
3422 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3423 ac_tmp=$tmp
3425 # Set up the scripts for CONFIG_FILES section.
3426 # No need to generate them if there are no CONFIG_FILES.
3427 # This happens for instance with `./config.status config.h'.
3428 if test -n "$CONFIG_FILES"; then
3431 ac_cr=`echo X | tr X '\015'`
3432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3433 # But we know of no other shell where ac_cr would be empty at this
3434 # point, so we can use a bashism as a fallback.
3435 if test "x$ac_cr" = x; then
3436 eval ac_cr=\$\'\\r\'
3438 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3440 ac_cs_awk_cr='\\r'
3441 else
3442 ac_cs_awk_cr=$ac_cr
3445 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3446 _ACEOF
3450 echo "cat >conf$$subs.awk <<_ACEOF" &&
3451 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3452 echo "_ACEOF"
3453 } >conf$$subs.sh ||
3454 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3455 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3456 ac_delim='%!_!# '
3457 for ac_last_try in false false false false false :; do
3458 . ./conf$$subs.sh ||
3459 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3461 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3462 if test $ac_delim_n = $ac_delim_num; then
3463 break
3464 elif $ac_last_try; then
3465 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3466 else
3467 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3469 done
3470 rm -f conf$$subs.sh
3472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3473 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3474 _ACEOF
3475 sed -n '
3477 s/^/S["/; s/!.*/"]=/
3480 s/^[^!]*!//
3481 :repl
3482 t repl
3483 s/'"$ac_delim"'$//
3484 t delim
3487 s/\(.\{148\}\)..*/\1/
3488 t more1
3489 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3492 b repl
3493 :more1
3494 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3497 s/.\{148\}//
3498 t nl
3499 :delim
3501 s/\(.\{148\}\)..*/\1/
3502 t more2
3503 s/["\\]/\\&/g; s/^/"/; s/$/"/
3506 :more2
3507 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3510 s/.\{148\}//
3511 t delim
3512 ' <conf$$subs.awk | sed '
3513 /^[^""]/{
3515 s/\n//
3517 ' >>$CONFIG_STATUS || ac_write_fail=1
3518 rm -f conf$$subs.awk
3519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3520 _ACAWK
3521 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3522 for (key in S) S_is_set[key] = 1
3523 FS = "\a"
3527 line = $ 0
3528 nfields = split(line, field, "@")
3529 substed = 0
3530 len = length(field[1])
3531 for (i = 2; i < nfields; i++) {
3532 key = field[i]
3533 keylen = length(key)
3534 if (S_is_set[key]) {
3535 value = S[key]
3536 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3537 len += length(value) + length(field[++i])
3538 substed = 1
3539 } else
3540 len += 1 + keylen
3543 print line
3546 _ACAWK
3547 _ACEOF
3548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3549 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3550 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3551 else
3553 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3554 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3555 _ACEOF
3557 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3558 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3559 # trailing colons and then remove the whole line if VPATH becomes empty
3560 # (actually we leave an empty line to preserve line numbers).
3561 if test "x$srcdir" = x.; then
3562 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3564 s///
3565 s/^/:/
3566 s/[ ]*$/:/
3567 s/:\$(srcdir):/:/g
3568 s/:\${srcdir}:/:/g
3569 s/:@srcdir@:/:/g
3570 s/^:*//
3571 s/:*$//
3573 s/\(=[ ]*\).*/\1/
3575 s/\n//
3576 s/^[^=]*=[ ]*$//
3580 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3581 fi # test -n "$CONFIG_FILES"
3584 eval set X " :F $CONFIG_FILES "
3585 shift
3586 for ac_tag
3588 case $ac_tag in
3589 :[FHLC]) ac_mode=$ac_tag; continue;;
3590 esac
3591 case $ac_mode$ac_tag in
3592 :[FHL]*:*);;
3593 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3594 :[FH]-) ac_tag=-:-;;
3595 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3596 esac
3597 ac_save_IFS=$IFS
3598 IFS=:
3599 set x $ac_tag
3600 IFS=$ac_save_IFS
3601 shift
3602 ac_file=$1
3603 shift
3605 case $ac_mode in
3606 :L) ac_source=$1;;
3607 :[FH])
3608 ac_file_inputs=
3609 for ac_f
3611 case $ac_f in
3612 -) ac_f="$ac_tmp/stdin";;
3613 *) # Look for the file first in the build tree, then in the source tree
3614 # (if the path is not absolute). The absolute path cannot be DOS-style,
3615 # because $ac_f cannot contain `:'.
3616 test -f "$ac_f" ||
3617 case $ac_f in
3618 [\\/$]*) false;;
3619 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3620 esac ||
3621 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3622 esac
3623 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3624 as_fn_append ac_file_inputs " '$ac_f'"
3625 done
3627 # Let's still pretend it is `configure' which instantiates (i.e., don't
3628 # use $as_me), people would be surprised to read:
3629 # /* config.h. Generated by config.status. */
3630 configure_input='Generated from '`
3631 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3632 `' by configure.'
3633 if test x"$ac_file" != x-; then
3634 configure_input="$ac_file. $configure_input"
3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3636 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3638 # Neutralize special characters interpreted by sed in replacement strings.
3639 case $configure_input in #(
3640 *\&* | *\|* | *\\* )
3641 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3642 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3643 *) ac_sed_conf_input=$configure_input;;
3644 esac
3646 case $ac_tag in
3647 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3649 esac
3651 esac
3653 ac_dir=`$as_dirname -- "$ac_file" ||
3654 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3655 X"$ac_file" : 'X\(//\)[^/]' \| \
3656 X"$ac_file" : 'X\(//\)$' \| \
3657 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3658 printf "%s\n" X"$ac_file" |
3659 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3660 s//\1/
3663 /^X\(\/\/\)[^/].*/{
3664 s//\1/
3667 /^X\(\/\/\)$/{
3668 s//\1/
3671 /^X\(\/\).*/{
3672 s//\1/
3675 s/.*/./; q'`
3676 as_dir="$ac_dir"; as_fn_mkdir_p
3677 ac_builddir=.
3679 case "$ac_dir" in
3680 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3682 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3683 # A ".." for each directory in $ac_dir_suffix.
3684 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3685 case $ac_top_builddir_sub in
3686 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3687 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3688 esac ;;
3689 esac
3690 ac_abs_top_builddir=$ac_pwd
3691 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3692 # for backward compatibility:
3693 ac_top_builddir=$ac_top_build_prefix
3695 case $srcdir in
3696 .) # We are building in place.
3697 ac_srcdir=.
3698 ac_top_srcdir=$ac_top_builddir_sub
3699 ac_abs_top_srcdir=$ac_pwd ;;
3700 [\\/]* | ?:[\\/]* ) # Absolute name.
3701 ac_srcdir=$srcdir$ac_dir_suffix;
3702 ac_top_srcdir=$srcdir
3703 ac_abs_top_srcdir=$srcdir ;;
3704 *) # Relative name.
3705 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3706 ac_top_srcdir=$ac_top_build_prefix$srcdir
3707 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3708 esac
3709 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3712 case $ac_mode in
3715 # CONFIG_FILE
3718 case $INSTALL in
3719 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3720 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3721 esac
3722 _ACEOF
3724 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3725 # If the template does not know about datarootdir, expand it.
3726 # FIXME: This hack should be removed a few years after 2.60.
3727 ac_datarootdir_hack=; ac_datarootdir_seen=
3728 ac_sed_dataroot='
3729 /datarootdir/ {
3733 /@datadir@/p
3734 /@docdir@/p
3735 /@infodir@/p
3736 /@localedir@/p
3737 /@mandir@/p'
3738 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3739 *datarootdir*) ac_datarootdir_seen=yes;;
3740 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3742 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3743 _ACEOF
3744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3745 ac_datarootdir_hack='
3746 s&@datadir@&$datadir&g
3747 s&@docdir@&$docdir&g
3748 s&@infodir@&$infodir&g
3749 s&@localedir@&$localedir&g
3750 s&@mandir@&$mandir&g
3751 s&\\\${datarootdir}&$datarootdir&g' ;;
3752 esac
3753 _ACEOF
3755 # Neutralize VPATH when `$srcdir' = `.'.
3756 # Shell code in configure.ac might set extrasub.
3757 # FIXME: do we really want to maintain this feature?
3758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3759 ac_sed_extra="$ac_vpsub
3760 $extrasub
3761 _ACEOF
3762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3765 s|@configure_input@|$ac_sed_conf_input|;t t
3766 s&@top_builddir@&$ac_top_builddir_sub&;t t
3767 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3768 s&@srcdir@&$ac_srcdir&;t t
3769 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3770 s&@top_srcdir@&$ac_top_srcdir&;t t
3771 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3772 s&@builddir@&$ac_builddir&;t t
3773 s&@abs_builddir@&$ac_abs_builddir&;t t
3774 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3775 s&@INSTALL@&$ac_INSTALL&;t t
3776 $ac_datarootdir_hack
3778 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3779 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3781 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3782 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3783 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3784 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3786 which seems to be undefined. Please make sure it is defined" >&5
3787 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3788 which seems to be undefined. Please make sure it is defined" >&2;}
3790 rm -f "$ac_tmp/stdin"
3791 case $ac_file in
3792 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3793 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3794 esac \
3795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3800 esac
3802 done # for ac_tag
3805 as_fn_exit 0
3806 _ACEOF
3807 ac_clean_files=$ac_clean_files_save
3809 test $ac_write_fail = 0 ||
3810 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3813 # configure is writing to config.log, and then calls config.status.
3814 # config.status does its own redirection, appending to config.log.
3815 # Unfortunately, on DOS this fails, as config.log is still kept open
3816 # by configure, so config.status won't be able to write to it; its
3817 # output is simply discarded. So we exec the FD to /dev/null,
3818 # effectively closing config.log, so it can be properly (re)opened and
3819 # appended to by config.status. When coming back to configure, we
3820 # need to make the FD available again.
3821 if test "$no_create" != yes; then
3822 ac_cs_success=:
3823 ac_config_status_args=
3824 test "$silent" = yes &&
3825 ac_config_status_args="$ac_config_status_args --quiet"
3826 exec 5>/dev/null
3827 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3828 exec 5>>config.log
3829 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3830 # would make configure fail if this is the last instruction.
3831 $ac_cs_success || as_fn_exit 1
3833 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3835 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}