struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / device / non-free / lib / pic14 / configure
blobaca95ece221a88e6a10170aaeaa4dae4a1416a12
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71.
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
33 esac
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
47 export as_nl
48 IFS=" "" $as_nl"
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
156 esac
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185 if (eval "$as_required") 2>/dev/null
186 then :
187 as_have_required=yes
188 else $as_nop
189 as_have_required=no
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
192 then :
194 else $as_nop
195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 as_found=false
197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199 IFS=$as_save_IFS
200 case $as_dir in #(((
201 '') as_dir=./ ;;
202 */) ;;
203 *) as_dir=$as_dir/ ;;
204 esac
205 as_found=:
206 case $as_dir in #(
208 for as_base in sh bash ksh sh5; do
209 # Try only shells that exist, to save several forks.
210 as_shell=$as_dir$as_base
211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213 then :
214 CONFIG_SHELL=$as_shell as_have_required=yes
215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
216 then :
217 break 2
220 done;;
221 esac
222 as_found=false
223 done
224 IFS=$as_save_IFS
225 if $as_found
226 then :
228 else $as_nop
229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231 then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
237 if test "x$CONFIG_SHELL" != x
238 then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
260 if test x$as_have_required = xno
261 then :
262 printf "%s\n" "$0: This script requires a shell more modern than all"
263 printf "%s\n" "$0: the shells that I found on your system."
264 if test ${ZSH_VERSION+y} ; then
265 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system,
269 $0: including any error possibly output before this
270 $0: message. Then install a modern shell, or manually run
271 $0: the script under such a shell if you do have one."
273 exit 1
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 # as_fn_unset VAR
287 # ---------------
288 # Portably unset VAR.
289 as_fn_unset ()
291 { eval $1=; unset $1;}
293 as_unset=as_fn_unset
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
301 return $1
302 } # as_fn_set_status
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313 # as_fn_nop
314 # ---------
315 # Do nothing but, unlike ":", preserve the value of $?.
316 as_fn_nop ()
318 return $?
320 as_nop=as_fn_nop
322 # as_fn_mkdir_p
323 # -------------
324 # Create "$as_dir" as a directory, including parents if necessary.
325 as_fn_mkdir_p ()
328 case $as_dir in #(
329 -*) as_dir=./$as_dir;;
330 esac
331 test -d "$as_dir" || eval $as_mkdir_p || {
332 as_dirs=
333 while :; do
334 case $as_dir in #(
335 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 *) as_qdir=$as_dir;;
337 esac
338 as_dirs="'$as_qdir' $as_dirs"
339 as_dir=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 printf "%s\n" X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346 s//\1/
349 /^X\(\/\/\)[^/].*/{
350 s//\1/
353 /^X\(\/\/\)$/{
354 s//\1/
357 /^X\(\/\).*/{
358 s//\1/
361 s/.*/./; q'`
362 test -d "$as_dir" && break
363 done
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
368 } # as_fn_mkdir_p
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p ()
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
382 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
384 then :
385 eval 'as_fn_append ()
387 eval $1+=\$2
389 else $as_nop
390 as_fn_append ()
392 eval $1=\$$1\$2
394 fi # as_fn_append
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402 then :
403 eval 'as_fn_arith ()
405 as_val=$(( $* ))
407 else $as_nop
408 as_fn_arith ()
410 as_val=`expr "$@" || test $? -eq 1`
412 fi # as_fn_arith
414 # as_fn_nop
415 # ---------
416 # Do nothing but, unlike ":", preserve the value of $?.
417 as_fn_nop ()
419 return $?
421 as_nop=as_fn_nop
423 # as_fn_error STATUS ERROR [LINENO LOG_FD]
424 # ----------------------------------------
425 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
426 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
427 # script with STATUS, using 1 if that was 0.
428 as_fn_error ()
430 as_status=$1; test $as_status -eq 0 && as_status=1
431 if test "$4"; then
432 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
435 printf "%s\n" "$as_me: error: $2" >&2
436 as_fn_exit $as_status
437 } # as_fn_error
439 if expr a : '\(a\)' >/dev/null 2>&1 &&
440 test "X`expr 00001 : '.*\(...\)'`" = X001; then
441 as_expr=expr
442 else
443 as_expr=false
446 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
447 as_basename=basename
448 else
449 as_basename=false
452 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
453 as_dirname=dirname
454 else
455 as_dirname=false
458 as_me=`$as_basename -- "$0" ||
459 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
460 X"$0" : 'X\(//\)$' \| \
461 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
462 printf "%s\n" X/"$0" |
463 sed '/^.*\/\([^/][^/]*\)\/*$/{
464 s//\1/
467 /^X\/\(\/\/\)$/{
468 s//\1/
471 /^X\/\(\/\).*/{
472 s//\1/
475 s/.*/./; q'`
477 # Avoid depending upon Character Ranges.
478 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
479 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
480 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
481 as_cr_digits='0123456789'
482 as_cr_alnum=$as_cr_Letters$as_cr_digits
485 as_lineno_1=$LINENO as_lineno_1a=$LINENO
486 as_lineno_2=$LINENO as_lineno_2a=$LINENO
487 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
488 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
489 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
490 sed -n '
492 /[$]LINENO/=
493 ' <$as_myself |
494 sed '
495 s/[$]LINENO.*/&-/
496 t lineno
498 :lineno
500 :loop
501 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
502 t loop
503 s/-\n.*//
504 ' >$as_me.lineno &&
505 chmod +x "$as_me.lineno" ||
506 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
508 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
509 # already done that, so ensure we don't try to do so again and fall
510 # in an infinite loop. This has already happened in practice.
511 _as_can_reexec=no; export _as_can_reexec
512 # Don't try to exec as it changes $[0], causing all sort of problems
513 # (the dirname of $[0] is not the place where we might find the
514 # original and so on. Autoconf is especially sensitive to this).
515 . "./$as_me.lineno"
516 # Exit status is that of the last command.
517 exit
521 # Determine whether it's possible to make 'echo' print without a newline.
522 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
523 # for compatibility with existing Makefiles.
524 ECHO_C= ECHO_N= ECHO_T=
525 case `echo -n x` in #(((((
526 -n*)
527 case `echo 'xy\c'` in
528 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
529 xy) ECHO_C='\c';;
530 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
531 ECHO_T=' ';;
532 esac;;
534 ECHO_N='-n';;
535 esac
537 # For backward compatibility with old third-party macros, we provide
538 # the shell variables $as_echo and $as_echo_n. New code should use
539 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
540 as_echo='printf %s\n'
541 as_echo_n='printf %s'
544 rm -f conf$$ conf$$.exe conf$$.file
545 if test -d conf$$.dir; then
546 rm -f conf$$.dir/conf$$.file
547 else
548 rm -f conf$$.dir
549 mkdir conf$$.dir 2>/dev/null
551 if (echo >conf$$.file) 2>/dev/null; then
552 if ln -s conf$$.file conf$$ 2>/dev/null; then
553 as_ln_s='ln -s'
554 # ... but there are two gotchas:
555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
557 # In both cases, we have to default to `cp -pR'.
558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
559 as_ln_s='cp -pR'
560 elif ln conf$$.file conf$$ 2>/dev/null; then
561 as_ln_s=ln
562 else
563 as_ln_s='cp -pR'
565 else
566 as_ln_s='cp -pR'
568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
569 rmdir conf$$.dir 2>/dev/null
571 if mkdir -p . 2>/dev/null; then
572 as_mkdir_p='mkdir -p "$as_dir"'
573 else
574 test -d ./-p && rmdir ./-p
575 as_mkdir_p=false
578 as_test_x='test -x'
579 as_executable_p=as_fn_executable_p
581 # Sed expression to map a string onto a valid CPP name.
582 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
584 # Sed expression to map a string onto a valid variable name.
585 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
588 test -n "$DJDIR" || exec 7<&0 </dev/null
589 exec 6>&1
591 # Name of the host.
592 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
593 # so uname gets run too.
594 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
597 # Initializations.
599 ac_default_prefix=/usr/local
600 ac_clean_files=
601 ac_config_libobj_dir=.
602 LIBOBJS=
603 cross_compiling=no
604 subdirs=
605 MFLAGS=
606 MAKEFLAGS=
608 # Identity of this package.
609 PACKAGE_NAME=''
610 PACKAGE_TARNAME=''
611 PACKAGE_VERSION=''
612 PACKAGE_STRING=''
613 PACKAGE_BUGREPORT=''
614 PACKAGE_URL=''
616 ac_subst_vars='LTLIBOBJS
617 LIBOBJS
618 GOOD_PICS
619 SET_MAKE
620 RMDIR
621 MKDIR
622 EGREP
623 GREP
629 GPLIB
630 GPLINK
631 GPASM
632 MAINT
633 MAINTAINER_MODE_FALSE
634 MAINTAINER_MODE_TRUE
635 target_alias
636 host_alias
637 build_alias
638 LIBS
639 ECHO_T
640 ECHO_N
641 ECHO_C
642 DEFS
643 mandir
644 localedir
645 libdir
646 psdir
647 pdfdir
648 dvidir
649 htmldir
650 infodir
651 docdir
652 oldincludedir
653 includedir
654 runstatedir
655 localstatedir
656 sharedstatedir
657 sysconfdir
658 datadir
659 datarootdir
660 libexecdir
661 sbindir
662 bindir
663 program_transform_name
664 prefix
665 exec_prefix
666 PACKAGE_URL
667 PACKAGE_BUGREPORT
668 PACKAGE_STRING
669 PACKAGE_VERSION
670 PACKAGE_TARNAME
671 PACKAGE_NAME
672 PATH_SEPARATOR
673 SHELL'
674 ac_subst_files=''
675 ac_user_opts='
676 enable_option_checking
677 enable_maintainer_mode
679 ac_precious_vars='build_alias
680 host_alias
681 target_alias'
684 # Initialize some variables set by options.
685 ac_init_help=
686 ac_init_version=false
687 ac_unrecognized_opts=
688 ac_unrecognized_sep=
689 # The variables have the same names as the options, with
690 # dashes changed to underlines.
691 cache_file=/dev/null
692 exec_prefix=NONE
693 no_create=
694 no_recursion=
695 prefix=NONE
696 program_prefix=NONE
697 program_suffix=NONE
698 program_transform_name=s,x,x,
699 silent=
700 site=
701 srcdir=
702 verbose=
703 x_includes=NONE
704 x_libraries=NONE
706 # Installation directory options.
707 # These are left unexpanded so users can "make install exec_prefix=/foo"
708 # and all the variables that are supposed to be based on exec_prefix
709 # by default will actually change.
710 # Use braces instead of parens because sh, perl, etc. also accept them.
711 # (The list follows the same order as the GNU Coding Standards.)
712 bindir='${exec_prefix}/bin'
713 sbindir='${exec_prefix}/sbin'
714 libexecdir='${exec_prefix}/libexec'
715 datarootdir='${prefix}/share'
716 datadir='${datarootdir}'
717 sysconfdir='${prefix}/etc'
718 sharedstatedir='${prefix}/com'
719 localstatedir='${prefix}/var'
720 runstatedir='${localstatedir}/run'
721 includedir='${prefix}/include'
722 oldincludedir='/usr/include'
723 docdir='${datarootdir}/doc/${PACKAGE}'
724 infodir='${datarootdir}/info'
725 htmldir='${docdir}'
726 dvidir='${docdir}'
727 pdfdir='${docdir}'
728 psdir='${docdir}'
729 libdir='${exec_prefix}/lib'
730 localedir='${datarootdir}/locale'
731 mandir='${datarootdir}/man'
733 ac_prev=
734 ac_dashdash=
735 for ac_option
737 # If the previous option needs an argument, assign it.
738 if test -n "$ac_prev"; then
739 eval $ac_prev=\$ac_option
740 ac_prev=
741 continue
744 case $ac_option in
745 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 *=) ac_optarg= ;;
747 *) ac_optarg=yes ;;
748 esac
750 case $ac_dashdash$ac_option in
752 ac_dashdash=yes ;;
754 -bindir | --bindir | --bindi | --bind | --bin | --bi)
755 ac_prev=bindir ;;
756 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
757 bindir=$ac_optarg ;;
759 -build | --build | --buil | --bui | --bu)
760 ac_prev=build_alias ;;
761 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
762 build_alias=$ac_optarg ;;
764 -cache-file | --cache-file | --cache-fil | --cache-fi \
765 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
766 ac_prev=cache_file ;;
767 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
768 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
769 cache_file=$ac_optarg ;;
771 --config-cache | -C)
772 cache_file=config.cache ;;
774 -datadir | --datadir | --datadi | --datad)
775 ac_prev=datadir ;;
776 -datadir=* | --datadir=* | --datadi=* | --datad=*)
777 datadir=$ac_optarg ;;
779 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
780 | --dataroo | --dataro | --datar)
781 ac_prev=datarootdir ;;
782 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
783 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
784 datarootdir=$ac_optarg ;;
786 -disable-* | --disable-*)
787 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
790 as_fn_error $? "invalid feature name: \`$ac_useropt'"
791 ac_useropt_orig=$ac_useropt
792 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
793 case $ac_user_opts in
795 "enable_$ac_useropt"
796 "*) ;;
797 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
798 ac_unrecognized_sep=', ';;
799 esac
800 eval enable_$ac_useropt=no ;;
802 -docdir | --docdir | --docdi | --doc | --do)
803 ac_prev=docdir ;;
804 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
805 docdir=$ac_optarg ;;
807 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
808 ac_prev=dvidir ;;
809 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
810 dvidir=$ac_optarg ;;
812 -enable-* | --enable-*)
813 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
814 # Reject names that are not valid shell variable names.
815 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
816 as_fn_error $? "invalid feature name: \`$ac_useropt'"
817 ac_useropt_orig=$ac_useropt
818 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
819 case $ac_user_opts in
821 "enable_$ac_useropt"
822 "*) ;;
823 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
824 ac_unrecognized_sep=', ';;
825 esac
826 eval enable_$ac_useropt=\$ac_optarg ;;
828 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
829 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
830 | --exec | --exe | --ex)
831 ac_prev=exec_prefix ;;
832 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
833 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
834 | --exec=* | --exe=* | --ex=*)
835 exec_prefix=$ac_optarg ;;
837 -gas | --gas | --ga | --g)
838 # Obsolete; use --with-gas.
839 with_gas=yes ;;
841 -help | --help | --hel | --he | -h)
842 ac_init_help=long ;;
843 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
844 ac_init_help=recursive ;;
845 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
846 ac_init_help=short ;;
848 -host | --host | --hos | --ho)
849 ac_prev=host_alias ;;
850 -host=* | --host=* | --hos=* | --ho=*)
851 host_alias=$ac_optarg ;;
853 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
854 ac_prev=htmldir ;;
855 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
856 | --ht=*)
857 htmldir=$ac_optarg ;;
859 -includedir | --includedir | --includedi | --included | --include \
860 | --includ | --inclu | --incl | --inc)
861 ac_prev=includedir ;;
862 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
863 | --includ=* | --inclu=* | --incl=* | --inc=*)
864 includedir=$ac_optarg ;;
866 -infodir | --infodir | --infodi | --infod | --info | --inf)
867 ac_prev=infodir ;;
868 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
869 infodir=$ac_optarg ;;
871 -libdir | --libdir | --libdi | --libd)
872 ac_prev=libdir ;;
873 -libdir=* | --libdir=* | --libdi=* | --libd=*)
874 libdir=$ac_optarg ;;
876 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
877 | --libexe | --libex | --libe)
878 ac_prev=libexecdir ;;
879 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
880 | --libexe=* | --libex=* | --libe=*)
881 libexecdir=$ac_optarg ;;
883 -localedir | --localedir | --localedi | --localed | --locale)
884 ac_prev=localedir ;;
885 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
886 localedir=$ac_optarg ;;
888 -localstatedir | --localstatedir | --localstatedi | --localstated \
889 | --localstate | --localstat | --localsta | --localst | --locals)
890 ac_prev=localstatedir ;;
891 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
892 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
893 localstatedir=$ac_optarg ;;
895 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
896 ac_prev=mandir ;;
897 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
898 mandir=$ac_optarg ;;
900 -nfp | --nfp | --nf)
901 # Obsolete; use --without-fp.
902 with_fp=no ;;
904 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
905 | --no-cr | --no-c | -n)
906 no_create=yes ;;
908 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
909 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
910 no_recursion=yes ;;
912 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
913 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
914 | --oldin | --oldi | --old | --ol | --o)
915 ac_prev=oldincludedir ;;
916 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
917 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
918 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
919 oldincludedir=$ac_optarg ;;
921 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
922 ac_prev=prefix ;;
923 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
924 prefix=$ac_optarg ;;
926 -program-prefix | --program-prefix | --program-prefi | --program-pref \
927 | --program-pre | --program-pr | --program-p)
928 ac_prev=program_prefix ;;
929 -program-prefix=* | --program-prefix=* | --program-prefi=* \
930 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
931 program_prefix=$ac_optarg ;;
933 -program-suffix | --program-suffix | --program-suffi | --program-suff \
934 | --program-suf | --program-su | --program-s)
935 ac_prev=program_suffix ;;
936 -program-suffix=* | --program-suffix=* | --program-suffi=* \
937 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
938 program_suffix=$ac_optarg ;;
940 -program-transform-name | --program-transform-name \
941 | --program-transform-nam | --program-transform-na \
942 | --program-transform-n | --program-transform- \
943 | --program-transform | --program-transfor \
944 | --program-transfo | --program-transf \
945 | --program-trans | --program-tran \
946 | --progr-tra | --program-tr | --program-t)
947 ac_prev=program_transform_name ;;
948 -program-transform-name=* | --program-transform-name=* \
949 | --program-transform-nam=* | --program-transform-na=* \
950 | --program-transform-n=* | --program-transform-=* \
951 | --program-transform=* | --program-transfor=* \
952 | --program-transfo=* | --program-transf=* \
953 | --program-trans=* | --program-tran=* \
954 | --progr-tra=* | --program-tr=* | --program-t=*)
955 program_transform_name=$ac_optarg ;;
957 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
958 ac_prev=pdfdir ;;
959 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
960 pdfdir=$ac_optarg ;;
962 -psdir | --psdir | --psdi | --psd | --ps)
963 ac_prev=psdir ;;
964 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
965 psdir=$ac_optarg ;;
967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
968 | -silent | --silent | --silen | --sile | --sil)
969 silent=yes ;;
971 -runstatedir | --runstatedir | --runstatedi | --runstated \
972 | --runstate | --runstat | --runsta | --runst | --runs \
973 | --run | --ru | --r)
974 ac_prev=runstatedir ;;
975 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
976 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
977 | --run=* | --ru=* | --r=*)
978 runstatedir=$ac_optarg ;;
980 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
981 ac_prev=sbindir ;;
982 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
983 | --sbi=* | --sb=*)
984 sbindir=$ac_optarg ;;
986 -sharedstatedir | --sharedstatedir | --sharedstatedi \
987 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
988 | --sharedst | --shareds | --shared | --share | --shar \
989 | --sha | --sh)
990 ac_prev=sharedstatedir ;;
991 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
992 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
993 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
994 | --sha=* | --sh=*)
995 sharedstatedir=$ac_optarg ;;
997 -site | --site | --sit)
998 ac_prev=site ;;
999 -site=* | --site=* | --sit=*)
1000 site=$ac_optarg ;;
1002 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1003 ac_prev=srcdir ;;
1004 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1005 srcdir=$ac_optarg ;;
1007 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1008 | --syscon | --sysco | --sysc | --sys | --sy)
1009 ac_prev=sysconfdir ;;
1010 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1011 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1012 sysconfdir=$ac_optarg ;;
1014 -target | --target | --targe | --targ | --tar | --ta | --t)
1015 ac_prev=target_alias ;;
1016 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1017 target_alias=$ac_optarg ;;
1019 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1020 verbose=yes ;;
1022 -version | --version | --versio | --versi | --vers | -V)
1023 ac_init_version=: ;;
1025 -with-* | --with-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error $? "invalid package name: \`$ac_useropt'"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "with_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval with_$ac_useropt=\$ac_optarg ;;
1041 -without-* | --without-*)
1042 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1043 # Reject names that are not valid shell variable names.
1044 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1045 as_fn_error $? "invalid package name: \`$ac_useropt'"
1046 ac_useropt_orig=$ac_useropt
1047 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1048 case $ac_user_opts in
1050 "with_$ac_useropt"
1051 "*) ;;
1052 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1053 ac_unrecognized_sep=', ';;
1054 esac
1055 eval with_$ac_useropt=no ;;
1057 --x)
1058 # Obsolete; use --with-x.
1059 with_x=yes ;;
1061 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1062 | --x-incl | --x-inc | --x-in | --x-i)
1063 ac_prev=x_includes ;;
1064 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1065 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1066 x_includes=$ac_optarg ;;
1068 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1069 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1070 ac_prev=x_libraries ;;
1071 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1072 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1073 x_libraries=$ac_optarg ;;
1075 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1076 Try \`$0 --help' for more information"
1079 *=*)
1080 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1081 # Reject names that are not valid shell variable names.
1082 case $ac_envvar in #(
1083 '' | [0-9]* | *[!_$as_cr_alnum]* )
1084 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1085 esac
1086 eval $ac_envvar=\$ac_optarg
1087 export $ac_envvar ;;
1090 # FIXME: should be removed in autoconf 3.0.
1091 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1092 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1093 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1094 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1097 esac
1098 done
1100 if test -n "$ac_prev"; then
1101 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1102 as_fn_error $? "missing argument to $ac_option"
1105 if test -n "$ac_unrecognized_opts"; then
1106 case $enable_option_checking in
1107 no) ;;
1108 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1109 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1110 esac
1113 # Check all directory arguments for consistency.
1114 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1115 datadir sysconfdir sharedstatedir localstatedir includedir \
1116 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1117 libdir localedir mandir runstatedir
1119 eval ac_val=\$$ac_var
1120 # Remove trailing slashes.
1121 case $ac_val in
1122 */ )
1123 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1124 eval $ac_var=\$ac_val;;
1125 esac
1126 # Be sure to have absolute directory names.
1127 case $ac_val in
1128 [\\/$]* | ?:[\\/]* ) continue;;
1129 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1130 esac
1131 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1132 done
1134 # There might be people who depend on the old broken behavior: `$host'
1135 # used to hold the argument of --host etc.
1136 # FIXME: To remove some day.
1137 build=$build_alias
1138 host=$host_alias
1139 target=$target_alias
1141 # FIXME: To remove some day.
1142 if test "x$host_alias" != x; then
1143 if test "x$build_alias" = x; then
1144 cross_compiling=maybe
1145 elif test "x$build_alias" != "x$host_alias"; then
1146 cross_compiling=yes
1150 ac_tool_prefix=
1151 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1153 test "$silent" = yes && exec 6>/dev/null
1156 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1157 ac_ls_di=`ls -di .` &&
1158 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1159 as_fn_error $? "working directory cannot be determined"
1160 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1161 as_fn_error $? "pwd does not report name of working directory"
1164 # Find the source files, if location was not specified.
1165 if test -z "$srcdir"; then
1166 ac_srcdir_defaulted=yes
1167 # Try the directory containing this script, then the parent directory.
1168 ac_confdir=`$as_dirname -- "$as_myself" ||
1169 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1170 X"$as_myself" : 'X\(//\)[^/]' \| \
1171 X"$as_myself" : 'X\(//\)$' \| \
1172 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1173 printf "%s\n" X"$as_myself" |
1174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1175 s//\1/
1178 /^X\(\/\/\)[^/].*/{
1179 s//\1/
1182 /^X\(\/\/\)$/{
1183 s//\1/
1186 /^X\(\/\).*/{
1187 s//\1/
1190 s/.*/./; q'`
1191 srcdir=$ac_confdir
1192 if test ! -r "$srcdir/$ac_unique_file"; then
1193 srcdir=..
1195 else
1196 ac_srcdir_defaulted=no
1198 if test ! -r "$srcdir/$ac_unique_file"; then
1199 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1200 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1202 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1203 ac_abs_confdir=`(
1204 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1205 pwd)`
1206 # When building in place, set srcdir=.
1207 if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 srcdir=.
1210 # Remove unnecessary trailing slashes from srcdir.
1211 # Double slashes in file names in object file debugging info
1212 # mess up M-x gdb in Emacs.
1213 case $srcdir in
1214 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1215 esac
1216 for ac_var in $ac_precious_vars; do
1217 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_env_${ac_var}_value=\$${ac_var}
1219 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1220 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1221 done
1224 # Report the --help message.
1226 if test "$ac_init_help" = "long"; then
1227 # Omit some internal or obsolete options to make the list less imposing.
1228 # This message is too long to be a string in the A/UX 3.1 sh.
1229 cat <<_ACEOF
1230 \`configure' configures this package to adapt to many kinds of systems.
1232 Usage: $0 [OPTION]... [VAR=VALUE]...
1234 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1235 VAR=VALUE. See below for descriptions of some of the useful variables.
1237 Defaults for the options are specified in brackets.
1239 Configuration:
1240 -h, --help display this help and exit
1241 --help=short display options specific to this package
1242 --help=recursive display the short help of all the included packages
1243 -V, --version display version information and exit
1244 -q, --quiet, --silent do not print \`checking ...' messages
1245 --cache-file=FILE cache test results in FILE [disabled]
1246 -C, --config-cache alias for \`--cache-file=config.cache'
1247 -n, --no-create do not create output files
1248 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1250 Installation directories:
1251 --prefix=PREFIX install architecture-independent files in PREFIX
1252 [$ac_default_prefix]
1253 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254 [PREFIX]
1256 By default, \`make install' will install all the files in
1257 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1258 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1259 for instance \`--prefix=\$HOME'.
1261 For better control, use the options below.
1263 Fine tuning of the installation directories:
1264 --bindir=DIR user executables [EPREFIX/bin]
1265 --sbindir=DIR system admin executables [EPREFIX/sbin]
1266 --libexecdir=DIR program executables [EPREFIX/libexec]
1267 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1268 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1269 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1270 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1271 --libdir=DIR object code libraries [EPREFIX/lib]
1272 --includedir=DIR C header files [PREFIX/include]
1273 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1274 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1275 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1276 --infodir=DIR info documentation [DATAROOTDIR/info]
1277 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1278 --mandir=DIR man documentation [DATAROOTDIR/man]
1279 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1280 --htmldir=DIR html documentation [DOCDIR]
1281 --dvidir=DIR dvi documentation [DOCDIR]
1282 --pdfdir=DIR pdf documentation [DOCDIR]
1283 --psdir=DIR ps documentation [DOCDIR]
1284 _ACEOF
1286 cat <<\_ACEOF
1287 _ACEOF
1290 if test -n "$ac_init_help"; then
1292 cat <<\_ACEOF
1294 Optional Features:
1295 --disable-option-checking ignore unrecognized --enable/--with options
1296 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1297 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1298 --enable-maintainer-mode
1299 enable make rules and dependencies not useful (and
1300 sometimes confusing) to the casual installer
1302 Report bugs to the package provider.
1303 _ACEOF
1304 ac_status=$?
1307 if test "$ac_init_help" = "recursive"; then
1308 # If there are subdirs, report their specific --help.
1309 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1310 test -d "$ac_dir" ||
1311 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1312 continue
1313 ac_builddir=.
1315 case "$ac_dir" in
1316 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1319 # A ".." for each directory in $ac_dir_suffix.
1320 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1321 case $ac_top_builddir_sub in
1322 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1324 esac ;;
1325 esac
1326 ac_abs_top_builddir=$ac_pwd
1327 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1328 # for backward compatibility:
1329 ac_top_builddir=$ac_top_build_prefix
1331 case $srcdir in
1332 .) # We are building in place.
1333 ac_srcdir=.
1334 ac_top_srcdir=$ac_top_builddir_sub
1335 ac_abs_top_srcdir=$ac_pwd ;;
1336 [\\/]* | ?:[\\/]* ) # Absolute name.
1337 ac_srcdir=$srcdir$ac_dir_suffix;
1338 ac_top_srcdir=$srcdir
1339 ac_abs_top_srcdir=$srcdir ;;
1340 *) # Relative name.
1341 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1342 ac_top_srcdir=$ac_top_build_prefix$srcdir
1343 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1344 esac
1345 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1347 cd "$ac_dir" || { ac_status=$?; continue; }
1348 # Check for configure.gnu first; this name is used for a wrapper for
1349 # Metaconfig's "Configure" on case-insensitive file systems.
1350 if test -f "$ac_srcdir/configure.gnu"; then
1351 echo &&
1352 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1353 elif test -f "$ac_srcdir/configure"; then
1354 echo &&
1355 $SHELL "$ac_srcdir/configure" --help=recursive
1356 else
1357 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1358 fi || ac_status=$?
1359 cd "$ac_pwd" || { ac_status=$?; break; }
1360 done
1363 test -n "$ac_init_help" && exit $ac_status
1364 if $ac_init_version; then
1365 cat <<\_ACEOF
1366 configure
1367 generated by GNU Autoconf 2.71
1369 Copyright (C) 2021 Free Software Foundation, Inc.
1370 This configure script is free software; the Free Software Foundation
1371 gives unlimited permission to copy, distribute and modify it.
1372 _ACEOF
1373 exit
1376 ## ------------------------ ##
1377 ## Autoconf initialization. ##
1378 ## ------------------------ ##
1379 ac_configure_args_raw=
1380 for ac_arg
1382 case $ac_arg in
1383 *\'*)
1384 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1385 esac
1386 as_fn_append ac_configure_args_raw " '$ac_arg'"
1387 done
1389 case $ac_configure_args_raw in
1390 *$as_nl*)
1391 ac_safe_unquote= ;;
1393 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1394 ac_unsafe_a="$ac_unsafe_z#~"
1395 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1396 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1397 esac
1399 cat >config.log <<_ACEOF
1400 This file contains any messages produced by compilers while
1401 running configure, to aid debugging if configure makes a mistake.
1403 It was created by $as_me, which was
1404 generated by GNU Autoconf 2.71. Invocation command line was
1406 $ $0$ac_configure_args_raw
1408 _ACEOF
1409 exec 5>>config.log
1411 cat <<_ASUNAME
1412 ## --------- ##
1413 ## Platform. ##
1414 ## --------- ##
1416 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1417 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1418 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1419 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1420 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1422 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1423 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1425 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1426 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1427 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1428 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1429 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1430 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1431 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1433 _ASUNAME
1435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1436 for as_dir in $PATH
1438 IFS=$as_save_IFS
1439 case $as_dir in #(((
1440 '') as_dir=./ ;;
1441 */) ;;
1442 *) as_dir=$as_dir/ ;;
1443 esac
1444 printf "%s\n" "PATH: $as_dir"
1445 done
1446 IFS=$as_save_IFS
1448 } >&5
1450 cat >&5 <<_ACEOF
1453 ## ----------- ##
1454 ## Core tests. ##
1455 ## ----------- ##
1457 _ACEOF
1460 # Keep a trace of the command line.
1461 # Strip out --no-create and --no-recursion so they do not pile up.
1462 # Strip out --silent because we don't want to record it for future runs.
1463 # Also quote any args containing shell meta-characters.
1464 # Make two passes to allow for proper duplicate-argument suppression.
1465 ac_configure_args=
1466 ac_configure_args0=
1467 ac_configure_args1=
1468 ac_must_keep_next=false
1469 for ac_pass in 1 2
1471 for ac_arg
1473 case $ac_arg in
1474 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1476 | -silent | --silent | --silen | --sile | --sil)
1477 continue ;;
1478 *\'*)
1479 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1480 esac
1481 case $ac_pass in
1482 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1484 as_fn_append ac_configure_args1 " '$ac_arg'"
1485 if test $ac_must_keep_next = true; then
1486 ac_must_keep_next=false # Got value, back to normal.
1487 else
1488 case $ac_arg in
1489 *=* | --config-cache | -C | -disable-* | --disable-* \
1490 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1491 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1492 | -with-* | --with-* | -without-* | --without-* | --x)
1493 case "$ac_configure_args0 " in
1494 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1495 esac
1497 -* ) ac_must_keep_next=true ;;
1498 esac
1500 as_fn_append ac_configure_args " '$ac_arg'"
1502 esac
1503 done
1504 done
1505 { ac_configure_args0=; unset ac_configure_args0;}
1506 { ac_configure_args1=; unset ac_configure_args1;}
1508 # When interrupted or exit'd, cleanup temporary files, and complete
1509 # config.log. We remove comments because anyway the quotes in there
1510 # would cause problems or look ugly.
1511 # WARNING: Use '\'' to represent an apostrophe within the trap.
1512 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1513 trap 'exit_status=$?
1514 # Sanitize IFS.
1515 IFS=" "" $as_nl"
1516 # Save into config.log some information that might help in debugging.
1518 echo
1520 printf "%s\n" "## ---------------- ##
1521 ## Cache variables. ##
1522 ## ---------------- ##"
1523 echo
1524 # The following way of writing the cache mishandles newlines in values,
1526 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1527 eval ac_val=\$$ac_var
1528 case $ac_val in #(
1529 *${as_nl}*)
1530 case $ac_var in #(
1531 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1532 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1533 esac
1534 case $ac_var in #(
1535 _ | IFS | as_nl) ;; #(
1536 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1537 *) { eval $ac_var=; unset $ac_var;} ;;
1538 esac ;;
1539 esac
1540 done
1541 (set) 2>&1 |
1542 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1543 *${as_nl}ac_space=\ *)
1544 sed -n \
1545 "s/'\''/'\''\\\\'\'''\''/g;
1546 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1547 ;; #(
1549 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1551 esac |
1552 sort
1554 echo
1556 printf "%s\n" "## ----------------- ##
1557 ## Output variables. ##
1558 ## ----------------- ##"
1559 echo
1560 for ac_var in $ac_subst_vars
1562 eval ac_val=\$$ac_var
1563 case $ac_val in
1564 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1565 esac
1566 printf "%s\n" "$ac_var='\''$ac_val'\''"
1567 done | sort
1568 echo
1570 if test -n "$ac_subst_files"; then
1571 printf "%s\n" "## ------------------- ##
1572 ## File substitutions. ##
1573 ## ------------------- ##"
1574 echo
1575 for ac_var in $ac_subst_files
1577 eval ac_val=\$$ac_var
1578 case $ac_val in
1579 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1580 esac
1581 printf "%s\n" "$ac_var='\''$ac_val'\''"
1582 done | sort
1583 echo
1586 if test -s confdefs.h; then
1587 printf "%s\n" "## ----------- ##
1588 ## confdefs.h. ##
1589 ## ----------- ##"
1590 echo
1591 cat confdefs.h
1592 echo
1594 test "$ac_signal" != 0 &&
1595 printf "%s\n" "$as_me: caught signal $ac_signal"
1596 printf "%s\n" "$as_me: exit $exit_status"
1597 } >&5
1598 rm -f core *.core core.conftest.* &&
1599 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1600 exit $exit_status
1602 for ac_signal in 1 2 13 15; do
1603 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1604 done
1605 ac_signal=0
1607 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1608 rm -f -r conftest* confdefs.h
1610 printf "%s\n" "/* confdefs.h */" > confdefs.h
1612 # Predefined preprocessor variables.
1614 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1616 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1618 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1620 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1622 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1624 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1627 # Let the site file select an alternate cache file if it wants to.
1628 # Prefer an explicitly selected file to automatically selected ones.
1629 if test -n "$CONFIG_SITE"; then
1630 ac_site_files="$CONFIG_SITE"
1631 elif test "x$prefix" != xNONE; then
1632 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1633 else
1634 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1637 for ac_site_file in $ac_site_files
1639 case $ac_site_file in #(
1640 */*) :
1641 ;; #(
1642 *) :
1643 ac_site_file=./$ac_site_file ;;
1644 esac
1645 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1647 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1648 sed 's/^/| /' "$ac_site_file" >&5
1649 . "$ac_site_file" \
1650 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1651 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1652 as_fn_error $? "failed to load site script $ac_site_file
1653 See \`config.log' for more details" "$LINENO" 5; }
1655 done
1657 if test -r "$cache_file"; then
1658 # Some versions of bash will fail to source /dev/null (special files
1659 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1660 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1662 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1663 case $cache_file in
1664 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1665 *) . "./$cache_file";;
1666 esac
1668 else
1669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1670 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1671 >$cache_file
1674 # Check that the precious variables saved in the cache have kept the same
1675 # value.
1676 ac_cache_corrupted=false
1677 for ac_var in $ac_precious_vars; do
1678 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1679 eval ac_new_set=\$ac_env_${ac_var}_set
1680 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1681 eval ac_new_val=\$ac_env_${ac_var}_value
1682 case $ac_old_set,$ac_new_set in
1683 set,)
1684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1685 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1686 ac_cache_corrupted=: ;;
1687 ,set)
1688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1689 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1690 ac_cache_corrupted=: ;;
1691 ,);;
1693 if test "x$ac_old_val" != "x$ac_new_val"; then
1694 # differences in whitespace do not lead to failure.
1695 ac_old_val_w=`echo x $ac_old_val`
1696 ac_new_val_w=`echo x $ac_new_val`
1697 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1699 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1700 ac_cache_corrupted=:
1701 else
1702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1703 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1704 eval $ac_var=\$ac_old_val
1706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1707 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1709 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1710 fi;;
1711 esac
1712 # Pass precious variables to config.status.
1713 if test "$ac_new_set" = set; then
1714 case $ac_new_val in
1715 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1716 *) ac_arg=$ac_var=$ac_new_val ;;
1717 esac
1718 case " $ac_configure_args " in
1719 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1720 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1721 esac
1723 done
1724 if $ac_cache_corrupted; then
1725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1726 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1728 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1729 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1730 and start over" "$LINENO" 5
1732 ## -------------------- ##
1733 ## Main body of script. ##
1734 ## -------------------- ##
1736 ac_ext=c
1737 ac_cpp='$CPP $CPPFLAGS'
1738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
1746 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
1747 # Check whether --enable-maintainer-mode was given.
1748 if test ${enable_maintainer_mode+y}
1749 then :
1750 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
1751 else $as_nop
1752 USE_MAINTAINER_MODE=no
1755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
1756 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
1757 if test $USE_MAINTAINER_MODE = yes; then
1758 MAINTAINER_MODE_TRUE=
1759 MAINTAINER_MODE_FALSE='#'
1760 else
1761 MAINTAINER_MODE_TRUE='#'
1762 MAINTAINER_MODE_FALSE=
1765 MAINT=$MAINTAINER_MODE_TRUE
1770 #AC_DEFUN(AC_CONFIG_FILES)
1772 # Checks for programs.
1773 # Extract the first word of "gpasm", so it can be a program name with args.
1774 set dummy gpasm; ac_word=$2
1775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1776 printf %s "checking for $ac_word... " >&6; }
1777 if test ${ac_cv_prog_GPASM+y}
1778 then :
1779 printf %s "(cached) " >&6
1780 else $as_nop
1781 if test -n "$GPASM"; then
1782 ac_cv_prog_GPASM="$GPASM" # Let the user override the test.
1783 else
1784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1785 for as_dir in $PATH
1787 IFS=$as_save_IFS
1788 case $as_dir in #(((
1789 '') as_dir=./ ;;
1790 */) ;;
1791 *) as_dir=$as_dir/ ;;
1792 esac
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1795 ac_cv_prog_GPASM="gpasm"
1796 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1797 break 2
1799 done
1800 done
1801 IFS=$as_save_IFS
1803 test -z "$ac_cv_prog_GPASM" && ac_cv_prog_GPASM=":"
1806 GPASM=$ac_cv_prog_GPASM
1807 if test -n "$GPASM"; then
1808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GPASM" >&5
1809 printf "%s\n" "$GPASM" >&6; }
1810 else
1811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1812 printf "%s\n" "no" >&6; }
1816 # Extract the first word of "gplink", so it can be a program name with args.
1817 set dummy gplink; ac_word=$2
1818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1819 printf %s "checking for $ac_word... " >&6; }
1820 if test ${ac_cv_prog_GPLINK+y}
1821 then :
1822 printf %s "(cached) " >&6
1823 else $as_nop
1824 if test -n "$GPLINK"; then
1825 ac_cv_prog_GPLINK="$GPLINK" # Let the user override the test.
1826 else
1827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1828 for as_dir in $PATH
1830 IFS=$as_save_IFS
1831 case $as_dir in #(((
1832 '') as_dir=./ ;;
1833 */) ;;
1834 *) as_dir=$as_dir/ ;;
1835 esac
1836 for ac_exec_ext in '' $ac_executable_extensions; do
1837 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1838 ac_cv_prog_GPLINK="gplink"
1839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1840 break 2
1842 done
1843 done
1844 IFS=$as_save_IFS
1846 test -z "$ac_cv_prog_GPLINK" && ac_cv_prog_GPLINK=":"
1849 GPLINK=$ac_cv_prog_GPLINK
1850 if test -n "$GPLINK"; then
1851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GPLINK" >&5
1852 printf "%s\n" "$GPLINK" >&6; }
1853 else
1854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1855 printf "%s\n" "no" >&6; }
1859 # Extract the first word of "gplib", so it can be a program name with args.
1860 set dummy gplib; ac_word=$2
1861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1862 printf %s "checking for $ac_word... " >&6; }
1863 if test ${ac_cv_prog_GPLIB+y}
1864 then :
1865 printf %s "(cached) " >&6
1866 else $as_nop
1867 if test -n "$GPLIB"; then
1868 ac_cv_prog_GPLIB="$GPLIB" # Let the user override the test.
1869 else
1870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 for as_dir in $PATH
1873 IFS=$as_save_IFS
1874 case $as_dir in #(((
1875 '') as_dir=./ ;;
1876 */) ;;
1877 *) as_dir=$as_dir/ ;;
1878 esac
1879 for ac_exec_ext in '' $ac_executable_extensions; do
1880 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1881 ac_cv_prog_GPLIB="gplib"
1882 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1883 break 2
1885 done
1886 done
1887 IFS=$as_save_IFS
1889 test -z "$ac_cv_prog_GPLIB" && ac_cv_prog_GPLIB=":"
1892 GPLIB=$ac_cv_prog_GPLIB
1893 if test -n "$GPLIB"; then
1894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GPLIB" >&5
1895 printf "%s\n" "$GPLIB" >&6; }
1896 else
1897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1898 printf "%s\n" "no" >&6; }
1903 # Extract the first word of "rm", so it can be a program name with args.
1904 set dummy rm; ac_word=$2
1905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1906 printf %s "checking for $ac_word... " >&6; }
1907 if test ${ac_cv_prog_RM+y}
1908 then :
1909 printf %s "(cached) " >&6
1910 else $as_nop
1911 if test -n "$RM"; then
1912 ac_cv_prog_RM="$RM" # Let the user override the test.
1913 else
1914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1915 for as_dir in $PATH
1917 IFS=$as_save_IFS
1918 case $as_dir in #(((
1919 '') as_dir=./ ;;
1920 */) ;;
1921 *) as_dir=$as_dir/ ;;
1922 esac
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_RM="rm -f"
1926 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1931 IFS=$as_save_IFS
1933 test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=":"
1936 RM=$ac_cv_prog_RM
1937 if test -n "$RM"; then
1938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
1939 printf "%s\n" "$RM" >&6; }
1940 else
1941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1942 printf "%s\n" "no" >&6; }
1946 # Extract the first word of "cp", so it can be a program name with args.
1947 set dummy cp; ac_word=$2
1948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1949 printf %s "checking for $ac_word... " >&6; }
1950 if test ${ac_cv_prog_CP+y}
1951 then :
1952 printf %s "(cached) " >&6
1953 else $as_nop
1954 if test -n "$CP"; then
1955 ac_cv_prog_CP="$CP" # Let the user override the test.
1956 else
1957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 for as_dir in $PATH
1960 IFS=$as_save_IFS
1961 case $as_dir in #(((
1962 '') as_dir=./ ;;
1963 */) ;;
1964 *) as_dir=$as_dir/ ;;
1965 esac
1966 for ac_exec_ext in '' $ac_executable_extensions; do
1967 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1968 ac_cv_prog_CP="cp"
1969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1970 break 2
1972 done
1973 done
1974 IFS=$as_save_IFS
1976 test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
1979 CP=$ac_cv_prog_CP
1980 if test -n "$CP"; then
1981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
1982 printf "%s\n" "$CP" >&6; }
1983 else
1984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1985 printf "%s\n" "no" >&6; }
1989 # Extract the first word of "mv", so it can be a program name with args.
1990 set dummy mv; ac_word=$2
1991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1992 printf %s "checking for $ac_word... " >&6; }
1993 if test ${ac_cv_prog_MV+y}
1994 then :
1995 printf %s "(cached) " >&6
1996 else $as_nop
1997 if test -n "$MV"; then
1998 ac_cv_prog_MV="$MV" # Let the user override the test.
1999 else
2000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2001 for as_dir in $PATH
2003 IFS=$as_save_IFS
2004 case $as_dir in #(((
2005 '') as_dir=./ ;;
2006 */) ;;
2007 *) as_dir=$as_dir/ ;;
2008 esac
2009 for ac_exec_ext in '' $ac_executable_extensions; do
2010 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2011 ac_cv_prog_MV="mv"
2012 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2013 break 2
2015 done
2016 done
2017 IFS=$as_save_IFS
2019 test -z "$ac_cv_prog_MV" && ac_cv_prog_MV=":"
2022 MV=$ac_cv_prog_MV
2023 if test -n "$MV"; then
2024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
2025 printf "%s\n" "$MV" >&6; }
2026 else
2027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2028 printf "%s\n" "no" >&6; }
2032 # Extract the first word of "ls", so it can be a program name with args.
2033 set dummy ls; ac_word=$2
2034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2035 printf %s "checking for $ac_word... " >&6; }
2036 if test ${ac_cv_prog_LS+y}
2037 then :
2038 printf %s "(cached) " >&6
2039 else $as_nop
2040 if test -n "$LS"; then
2041 ac_cv_prog_LS="$LS" # Let the user override the test.
2042 else
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 for as_dir in $PATH
2046 IFS=$as_save_IFS
2047 case $as_dir in #(((
2048 '') as_dir=./ ;;
2049 */) ;;
2050 *) as_dir=$as_dir/ ;;
2051 esac
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_LS="ls"
2055 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2056 break 2
2058 done
2059 done
2060 IFS=$as_save_IFS
2062 test -z "$ac_cv_prog_LS" && ac_cv_prog_LS=":"
2065 LS=$ac_cv_prog_LS
2066 if test -n "$LS"; then
2067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
2068 printf "%s\n" "$LS" >&6; }
2069 else
2070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2071 printf "%s\n" "no" >&6; }
2075 # Extract the first word of "sed", so it can be a program name with args.
2076 set dummy sed; ac_word=$2
2077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 printf %s "checking for $ac_word... " >&6; }
2079 if test ${ac_cv_prog_SED+y}
2080 then :
2081 printf %s "(cached) " >&6
2082 else $as_nop
2083 if test -n "$SED"; then
2084 ac_cv_prog_SED="$SED" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 case $as_dir in #(((
2091 '') as_dir=./ ;;
2092 */) ;;
2093 *) as_dir=$as_dir/ ;;
2094 esac
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2097 ac_cv_prog_SED="sed"
2098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2099 break 2
2101 done
2102 done
2103 IFS=$as_save_IFS
2105 test -z "$ac_cv_prog_SED" && ac_cv_prog_SED=":"
2108 SED=$ac_cv_prog_SED
2109 if test -n "$SED"; then
2110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
2111 printf "%s\n" "$SED" >&6; }
2112 else
2113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2114 printf "%s\n" "no" >&6; }
2118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2119 printf %s "checking for grep that handles long lines and -e... " >&6; }
2120 if test ${ac_cv_path_GREP+y}
2121 then :
2122 printf %s "(cached) " >&6
2123 else $as_nop
2124 if test -z "$GREP"; then
2125 ac_path_GREP_found=false
2126 # Loop through the user's path and test for each of PROGNAME-LIST
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2130 IFS=$as_save_IFS
2131 case $as_dir in #(((
2132 '') as_dir=./ ;;
2133 */) ;;
2134 *) as_dir=$as_dir/ ;;
2135 esac
2136 for ac_prog in grep ggrep
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
2140 as_fn_executable_p "$ac_path_GREP" || continue
2141 # Check for GNU ac_path_GREP and select it if it is found.
2142 # Check for GNU $ac_path_GREP
2143 case `"$ac_path_GREP" --version 2>&1` in
2144 *GNU*)
2145 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2147 ac_count=0
2148 printf %s 0123456789 >"conftest.in"
2149 while :
2151 cat "conftest.in" "conftest.in" >"conftest.tmp"
2152 mv "conftest.tmp" "conftest.in"
2153 cp "conftest.in" "conftest.nl"
2154 printf "%s\n" 'GREP' >> "conftest.nl"
2155 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2157 as_fn_arith $ac_count + 1 && ac_count=$as_val
2158 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2159 # Best one so far, save it but keep looking for a better one
2160 ac_cv_path_GREP="$ac_path_GREP"
2161 ac_path_GREP_max=$ac_count
2163 # 10*(2^10) chars as input seems more than enough
2164 test $ac_count -gt 10 && break
2165 done
2166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2167 esac
2169 $ac_path_GREP_found && break 3
2170 done
2171 done
2172 done
2173 IFS=$as_save_IFS
2174 if test -z "$ac_cv_path_GREP"; then
2175 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2177 else
2178 ac_cv_path_GREP=$GREP
2182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2183 printf "%s\n" "$ac_cv_path_GREP" >&6; }
2184 GREP="$ac_cv_path_GREP"
2187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2188 printf %s "checking for egrep... " >&6; }
2189 if test ${ac_cv_path_EGREP+y}
2190 then :
2191 printf %s "(cached) " >&6
2192 else $as_nop
2193 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2194 then ac_cv_path_EGREP="$GREP -E"
2195 else
2196 if test -z "$EGREP"; then
2197 ac_path_EGREP_found=false
2198 # Loop through the user's path and test for each of PROGNAME-LIST
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2202 IFS=$as_save_IFS
2203 case $as_dir in #(((
2204 '') as_dir=./ ;;
2205 */) ;;
2206 *) as_dir=$as_dir/ ;;
2207 esac
2208 for ac_prog in egrep
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
2212 as_fn_executable_p "$ac_path_EGREP" || continue
2213 # Check for GNU ac_path_EGREP and select it if it is found.
2214 # Check for GNU $ac_path_EGREP
2215 case `"$ac_path_EGREP" --version 2>&1` in
2216 *GNU*)
2217 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2219 ac_count=0
2220 printf %s 0123456789 >"conftest.in"
2221 while :
2223 cat "conftest.in" "conftest.in" >"conftest.tmp"
2224 mv "conftest.tmp" "conftest.in"
2225 cp "conftest.in" "conftest.nl"
2226 printf "%s\n" 'EGREP' >> "conftest.nl"
2227 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2228 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2229 as_fn_arith $ac_count + 1 && ac_count=$as_val
2230 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2231 # Best one so far, save it but keep looking for a better one
2232 ac_cv_path_EGREP="$ac_path_EGREP"
2233 ac_path_EGREP_max=$ac_count
2235 # 10*(2^10) chars as input seems more than enough
2236 test $ac_count -gt 10 && break
2237 done
2238 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2239 esac
2241 $ac_path_EGREP_found && break 3
2242 done
2243 done
2244 done
2245 IFS=$as_save_IFS
2246 if test -z "$ac_cv_path_EGREP"; then
2247 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2249 else
2250 ac_cv_path_EGREP=$EGREP
2255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2256 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
2257 EGREP="$ac_cv_path_EGREP"
2260 # Extract the first word of "mkdir", so it can be a program name with args.
2261 set dummy mkdir; ac_word=$2
2262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 printf %s "checking for $ac_word... " >&6; }
2264 if test ${ac_cv_prog_MKDIR+y}
2265 then :
2266 printf %s "(cached) " >&6
2267 else $as_nop
2268 if test -n "$MKDIR"; then
2269 ac_cv_prog_MKDIR="$MKDIR" # Let the user override the test.
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2274 IFS=$as_save_IFS
2275 case $as_dir in #(((
2276 '') as_dir=./ ;;
2277 */) ;;
2278 *) as_dir=$as_dir/ ;;
2279 esac
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_MKDIR="mkdir -p"
2283 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2284 break 2
2286 done
2287 done
2288 IFS=$as_save_IFS
2290 test -z "$ac_cv_prog_MKDIR" && ac_cv_prog_MKDIR=":"
2293 MKDIR=$ac_cv_prog_MKDIR
2294 if test -n "$MKDIR"; then
2295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
2296 printf "%s\n" "$MKDIR" >&6; }
2297 else
2298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299 printf "%s\n" "no" >&6; }
2303 # Extract the first word of "rmdir", so it can be a program name with args.
2304 set dummy rmdir; 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_RMDIR+y}
2308 then :
2309 printf %s "(cached) " >&6
2310 else $as_nop
2311 if test -n "$RMDIR"; then
2312 ac_cv_prog_RMDIR="$RMDIR" # 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_RMDIR="rmdir"
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
2333 test -z "$ac_cv_prog_RMDIR" && ac_cv_prog_RMDIR=":"
2336 RMDIR=$ac_cv_prog_RMDIR
2337 if test -n "$RMDIR"; then
2338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RMDIR" >&5
2339 printf "%s\n" "$RMDIR" >&6; }
2340 else
2341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342 printf "%s\n" "no" >&6; }
2347 case ":$GPASM:$GPLINK:$GPLIB" in
2348 *:::*)
2349 as_fn_error $? "gputils (gpasm, gplink, and gplib) are required but not found.
2350 Either install gputils or reconfigure with --disable-pic14-port and --disable-pic16-port." "$LINENO" 5
2352 esac;
2354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2355 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2356 set x ${MAKE-make}
2357 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2358 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2359 then :
2360 printf %s "(cached) " >&6
2361 else $as_nop
2362 cat >conftest.make <<\_ACEOF
2363 SHELL = /bin/sh
2364 all:
2365 @echo '@@@%%%=$(MAKE)=@@@%%%'
2366 _ACEOF
2367 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2368 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2369 *@@@%%%=?*=@@@%%%*)
2370 eval ac_cv_prog_make_${ac_make}_set=yes;;
2372 eval ac_cv_prog_make_${ac_make}_set=no;;
2373 esac
2374 rm -f conftest.make
2376 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2378 printf "%s\n" "yes" >&6; }
2379 SET_MAKE=
2380 else
2381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 printf "%s\n" "no" >&6; }
2383 SET_MAKE="MAKE=${MAKE-make}"
2387 mCCAS=$GPASM;
2388 mLD=$GPLINK;
2389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking devices supported by gputils" >&5
2390 printf %s "checking devices supported by gputils... " >&6; }
2391 GOOD_PICS="";
2392 BAD_PICS="";
2393 CHECK=".checkdevices/check";
2394 RESULT="pics.supported";
2395 N_GOOD=0
2396 N_BAD=0
2397 mkdir -p ".checkdevices";
2398 rm -f "$RESULT";
2399 for i in "${srcdir}/libdev/pic1"*.c; do
2400 p="${i##*pic}";
2401 p="${p%.c}";
2402 P=$(echo "$p" | tr abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ);
2403 printf " include \"p%s.inc\"\n END" "$p" > "${CHECK}.asm";
2404 if "$mCCAS" -p "$p" -o "${CHECK}.o" -c "${CHECK}.asm" >/dev/null 2>&1 && "$mLD" "${CHECK}.o" >/dev/null 2>&1; then
2405 GOOD_PICS="$GOOD_PICS $p";
2406 N_GOOD=`expr $N_GOOD + 1`;
2407 echo "$P" >> "$RESULT";
2408 else
2409 BAD_PICS="$BAD_PICS $p";
2410 N_BAD=`expr $N_BAD + 1`;
2412 done;
2413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $N_GOOD devices ($GOOD_PICS)" >&5
2414 printf "%s\n" "$N_GOOD devices ($GOOD_PICS)" >&6; }
2417 if test -n "$BAD_PICS"; then
2418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING:
2419 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2421 !!! WARNING: The installed gputils do not support all
2422 !!! PIC devices currently supported by SDCC.
2423 !!! If you continue to build SDCC, library files for the
2424 !!! following devices will not be built, and you will
2425 !!! not be able to compile any projects for these devices:
2428 $BAD_PICS
2429 ==> $N_BAD devices are *not* supported
2430 $N_GOOD devices are supported
2433 !!! Please update your gputils to a recent snapshot and
2434 !!! run configure again using the updated gputils. Make
2435 !!! sure to have them in PATH prior to the previously
2436 !!! found ones (or remove the older version completely).
2438 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2440 " >&5
2441 printf "%s\n" "$as_me: WARNING:
2442 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2444 !!! WARNING: The installed gputils do not support all
2445 !!! PIC devices currently supported by SDCC.
2446 !!! If you continue to build SDCC, library files for the
2447 !!! following devices will not be built, and you will
2448 !!! not be able to compile any projects for these devices:
2451 $BAD_PICS
2452 ==> $N_BAD devices are *not* supported
2453 $N_GOOD devices are supported
2456 !!! Please update your gputils to a recent snapshot and
2457 !!! run configure again using the updated gputils. Make
2458 !!! sure to have them in PATH prior to the previously
2459 !!! found ones (or remove the older version completely).
2461 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2463 " >&2;}
2464 for d in 3 2 1; do
2465 echo "Continuing in $d seconds ...";
2466 sleep 1;
2467 done;
2470 # Checks for libraries.
2472 # Checks for header files.
2474 # Checks for typedefs, structures, and compiler characteristics.
2476 # Checks for library functions.
2478 ac_config_files="$ac_config_files Makefile Makefile.common libdev/Makefile"
2480 cat >confcache <<\_ACEOF
2481 # This file is a shell script that caches the results of configure
2482 # tests run on this system so they can be shared between configure
2483 # scripts and configure runs, see configure's option --config-cache.
2484 # It is not useful on other systems. If it contains results you don't
2485 # want to keep, you may remove or edit it.
2487 # config.status only pays attention to the cache file if you give it
2488 # the --recheck option to rerun configure.
2490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2492 # following values.
2494 _ACEOF
2496 # The following way of writing the cache mishandles newlines in values,
2497 # but we know of no workaround that is simple, portable, and efficient.
2498 # So, we kill variables containing newlines.
2499 # Ultrix sh set writes to stderr and can't be redirected directly,
2500 # and sets the high bit in the cache file unless we assign to the vars.
2502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2503 eval ac_val=\$$ac_var
2504 case $ac_val in #(
2505 *${as_nl}*)
2506 case $ac_var in #(
2507 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2508 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2509 esac
2510 case $ac_var in #(
2511 _ | IFS | as_nl) ;; #(
2512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2513 *) { eval $ac_var=; unset $ac_var;} ;;
2514 esac ;;
2515 esac
2516 done
2518 (set) 2>&1 |
2519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2520 *${as_nl}ac_space=\ *)
2521 # `set' does not quote correctly, so add quotes: double-quote
2522 # substitution turns \\\\ into \\, and sed turns \\ into \.
2523 sed -n \
2524 "s/'/'\\\\''/g;
2525 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2526 ;; #(
2528 # `set' quotes correctly as required by POSIX, so do not add quotes.
2529 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2531 esac |
2532 sort
2534 sed '
2535 /^ac_cv_env_/b end
2536 t clear
2537 :clear
2538 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2539 t end
2540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2541 :end' >>confcache
2542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2543 if test -w "$cache_file"; then
2544 if test "x$cache_file" != "x/dev/null"; then
2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2546 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2547 if test ! -f "$cache_file" || test -h "$cache_file"; then
2548 cat confcache >"$cache_file"
2549 else
2550 case $cache_file in #(
2551 */* | ?:*)
2552 mv -f confcache "$cache_file"$$ &&
2553 mv -f "$cache_file"$$ "$cache_file" ;; #(
2555 mv -f confcache "$cache_file" ;;
2556 esac
2559 else
2560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2561 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2564 rm -f confcache
2566 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2567 # Let make expand exec_prefix.
2568 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2570 # Transform confdefs.h into DEFS.
2571 # Protect against shell expansion while executing Makefile rules.
2572 # Protect against Makefile macro expansion.
2574 # If the first sed substitution is executed (which looks for macros that
2575 # take arguments), then branch to the quote section. Otherwise,
2576 # look for a macro that doesn't take arguments.
2577 ac_script='
2578 :mline
2579 /\\$/{
2581 s,\\\n,,
2582 b mline
2584 t clear
2585 :clear
2586 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2587 t quote
2588 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2589 t quote
2590 b any
2591 :quote
2592 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2593 s/\[/\\&/g
2594 s/\]/\\&/g
2595 s/\$/$$/g
2597 :any
2600 s/^\n//
2601 s/\n/ /g
2605 DEFS=`sed -n "$ac_script" confdefs.h`
2608 ac_libobjs=
2609 ac_ltlibobjs=
2611 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2612 # 1. Remove the extension, and $U if already installed.
2613 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2614 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2615 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2616 # will be set to the directory where LIBOBJS objects are built.
2617 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2618 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2619 done
2620 LIBOBJS=$ac_libobjs
2622 LTLIBOBJS=$ac_ltlibobjs
2625 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
2626 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
2627 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2630 : "${CONFIG_STATUS=./config.status}"
2631 ac_write_fail=0
2632 ac_clean_files_save=$ac_clean_files
2633 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2635 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2636 as_write_fail=0
2637 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2638 #! $SHELL
2639 # Generated by $as_me.
2640 # Run this file to recreate the current configuration.
2641 # Compiler output produced by configure, useful for debugging
2642 # configure, is in config.log if it exists.
2644 debug=false
2645 ac_cs_recheck=false
2646 ac_cs_silent=false
2648 SHELL=\${CONFIG_SHELL-$SHELL}
2649 export SHELL
2650 _ASEOF
2651 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2652 ## -------------------- ##
2653 ## M4sh Initialization. ##
2654 ## -------------------- ##
2656 # Be more Bourne compatible
2657 DUALCASE=1; export DUALCASE # for MKS sh
2658 as_nop=:
2659 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2660 then :
2661 emulate sh
2662 NULLCMD=:
2663 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2664 # is contrary to our usage. Disable this feature.
2665 alias -g '${1+"$@"}'='"$@"'
2666 setopt NO_GLOB_SUBST
2667 else $as_nop
2668 case `(set -o) 2>/dev/null` in #(
2669 *posix*) :
2670 set -o posix ;; #(
2671 *) :
2673 esac
2678 # Reset variables that may have inherited troublesome values from
2679 # the environment.
2681 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2682 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2683 # side effect of setting IFS to empty, thus disabling word splitting.)
2684 # Quoting is to prevent editors from complaining about space-tab.
2685 as_nl='
2687 export as_nl
2688 IFS=" "" $as_nl"
2690 PS1='$ '
2691 PS2='> '
2692 PS4='+ '
2694 # Ensure predictable behavior from utilities with locale-dependent output.
2695 LC_ALL=C
2696 export LC_ALL
2697 LANGUAGE=C
2698 export LANGUAGE
2700 # We cannot yet rely on "unset" to work, but we need these variables
2701 # to be unset--not just set to an empty or harmless value--now, to
2702 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2703 # also avoids known problems related to "unset" and subshell syntax
2704 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2705 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2706 do eval test \${$as_var+y} \
2707 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2708 done
2710 # Ensure that fds 0, 1, and 2 are open.
2711 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2712 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2713 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2715 # The user is always right.
2716 if ${PATH_SEPARATOR+false} :; then
2717 PATH_SEPARATOR=:
2718 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2719 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2720 PATH_SEPARATOR=';'
2725 # Find who we are. Look in the path if we contain no directory separator.
2726 as_myself=
2727 case $0 in #((
2728 *[\\/]* ) as_myself=$0 ;;
2729 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2732 IFS=$as_save_IFS
2733 case $as_dir in #(((
2734 '') as_dir=./ ;;
2735 */) ;;
2736 *) as_dir=$as_dir/ ;;
2737 esac
2738 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2739 done
2740 IFS=$as_save_IFS
2743 esac
2744 # We did not find ourselves, most probably we were run as `sh COMMAND'
2745 # in which case we are not to be found in the path.
2746 if test "x$as_myself" = x; then
2747 as_myself=$0
2749 if test ! -f "$as_myself"; then
2750 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2751 exit 1
2756 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2757 # ----------------------------------------
2758 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2759 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2760 # script with STATUS, using 1 if that was 0.
2761 as_fn_error ()
2763 as_status=$1; test $as_status -eq 0 && as_status=1
2764 if test "$4"; then
2765 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2766 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2768 printf "%s\n" "$as_me: error: $2" >&2
2769 as_fn_exit $as_status
2770 } # as_fn_error
2774 # as_fn_set_status STATUS
2775 # -----------------------
2776 # Set $? to STATUS, without forking.
2777 as_fn_set_status ()
2779 return $1
2780 } # as_fn_set_status
2782 # as_fn_exit STATUS
2783 # -----------------
2784 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2785 as_fn_exit ()
2787 set +e
2788 as_fn_set_status $1
2789 exit $1
2790 } # as_fn_exit
2792 # as_fn_unset VAR
2793 # ---------------
2794 # Portably unset VAR.
2795 as_fn_unset ()
2797 { eval $1=; unset $1;}
2799 as_unset=as_fn_unset
2801 # as_fn_append VAR VALUE
2802 # ----------------------
2803 # Append the text in VALUE to the end of the definition contained in VAR. Take
2804 # advantage of any shell optimizations that allow amortized linear growth over
2805 # repeated appends, instead of the typical quadratic growth present in naive
2806 # implementations.
2807 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2808 then :
2809 eval 'as_fn_append ()
2811 eval $1+=\$2
2813 else $as_nop
2814 as_fn_append ()
2816 eval $1=\$$1\$2
2818 fi # as_fn_append
2820 # as_fn_arith ARG...
2821 # ------------------
2822 # Perform arithmetic evaluation on the ARGs, and store the result in the
2823 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2824 # must be portable across $(()) and expr.
2825 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2826 then :
2827 eval 'as_fn_arith ()
2829 as_val=$(( $* ))
2831 else $as_nop
2832 as_fn_arith ()
2834 as_val=`expr "$@" || test $? -eq 1`
2836 fi # as_fn_arith
2839 if expr a : '\(a\)' >/dev/null 2>&1 &&
2840 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2841 as_expr=expr
2842 else
2843 as_expr=false
2846 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2847 as_basename=basename
2848 else
2849 as_basename=false
2852 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2853 as_dirname=dirname
2854 else
2855 as_dirname=false
2858 as_me=`$as_basename -- "$0" ||
2859 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2860 X"$0" : 'X\(//\)$' \| \
2861 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2862 printf "%s\n" X/"$0" |
2863 sed '/^.*\/\([^/][^/]*\)\/*$/{
2864 s//\1/
2867 /^X\/\(\/\/\)$/{
2868 s//\1/
2871 /^X\/\(\/\).*/{
2872 s//\1/
2875 s/.*/./; q'`
2877 # Avoid depending upon Character Ranges.
2878 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2879 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2880 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2881 as_cr_digits='0123456789'
2882 as_cr_alnum=$as_cr_Letters$as_cr_digits
2885 # Determine whether it's possible to make 'echo' print without a newline.
2886 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2887 # for compatibility with existing Makefiles.
2888 ECHO_C= ECHO_N= ECHO_T=
2889 case `echo -n x` in #(((((
2890 -n*)
2891 case `echo 'xy\c'` in
2892 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2893 xy) ECHO_C='\c';;
2894 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2895 ECHO_T=' ';;
2896 esac;;
2898 ECHO_N='-n';;
2899 esac
2901 # For backward compatibility with old third-party macros, we provide
2902 # the shell variables $as_echo and $as_echo_n. New code should use
2903 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2904 as_echo='printf %s\n'
2905 as_echo_n='printf %s'
2907 rm -f conf$$ conf$$.exe conf$$.file
2908 if test -d conf$$.dir; then
2909 rm -f conf$$.dir/conf$$.file
2910 else
2911 rm -f conf$$.dir
2912 mkdir conf$$.dir 2>/dev/null
2914 if (echo >conf$$.file) 2>/dev/null; then
2915 if ln -s conf$$.file conf$$ 2>/dev/null; then
2916 as_ln_s='ln -s'
2917 # ... but there are two gotchas:
2918 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2919 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2920 # In both cases, we have to default to `cp -pR'.
2921 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2922 as_ln_s='cp -pR'
2923 elif ln conf$$.file conf$$ 2>/dev/null; then
2924 as_ln_s=ln
2925 else
2926 as_ln_s='cp -pR'
2928 else
2929 as_ln_s='cp -pR'
2931 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2932 rmdir conf$$.dir 2>/dev/null
2935 # as_fn_mkdir_p
2936 # -------------
2937 # Create "$as_dir" as a directory, including parents if necessary.
2938 as_fn_mkdir_p ()
2941 case $as_dir in #(
2942 -*) as_dir=./$as_dir;;
2943 esac
2944 test -d "$as_dir" || eval $as_mkdir_p || {
2945 as_dirs=
2946 while :; do
2947 case $as_dir in #(
2948 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2949 *) as_qdir=$as_dir;;
2950 esac
2951 as_dirs="'$as_qdir' $as_dirs"
2952 as_dir=`$as_dirname -- "$as_dir" ||
2953 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2954 X"$as_dir" : 'X\(//\)[^/]' \| \
2955 X"$as_dir" : 'X\(//\)$' \| \
2956 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2957 printf "%s\n" X"$as_dir" |
2958 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2959 s//\1/
2962 /^X\(\/\/\)[^/].*/{
2963 s//\1/
2966 /^X\(\/\/\)$/{
2967 s//\1/
2970 /^X\(\/\).*/{
2971 s//\1/
2974 s/.*/./; q'`
2975 test -d "$as_dir" && break
2976 done
2977 test -z "$as_dirs" || eval "mkdir $as_dirs"
2978 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2981 } # as_fn_mkdir_p
2982 if mkdir -p . 2>/dev/null; then
2983 as_mkdir_p='mkdir -p "$as_dir"'
2984 else
2985 test -d ./-p && rmdir ./-p
2986 as_mkdir_p=false
2990 # as_fn_executable_p FILE
2991 # -----------------------
2992 # Test if FILE is an executable regular file.
2993 as_fn_executable_p ()
2995 test -f "$1" && test -x "$1"
2996 } # as_fn_executable_p
2997 as_test_x='test -x'
2998 as_executable_p=as_fn_executable_p
3000 # Sed expression to map a string onto a valid CPP name.
3001 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3003 # Sed expression to map a string onto a valid variable name.
3004 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3007 exec 6>&1
3008 ## ----------------------------------- ##
3009 ## Main body of $CONFIG_STATUS script. ##
3010 ## ----------------------------------- ##
3011 _ASEOF
3012 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3015 # Save the log message, to keep $0 and so on meaningful, and to
3016 # report actual input values of CONFIG_FILES etc. instead of their
3017 # values after options handling.
3018 ac_log="
3019 This file was extended by $as_me, which was
3020 generated by GNU Autoconf 2.71. Invocation command line was
3022 CONFIG_FILES = $CONFIG_FILES
3023 CONFIG_HEADERS = $CONFIG_HEADERS
3024 CONFIG_LINKS = $CONFIG_LINKS
3025 CONFIG_COMMANDS = $CONFIG_COMMANDS
3026 $ $0 $@
3028 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3031 _ACEOF
3033 case $ac_config_files in *"
3034 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3035 esac
3039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3040 # Files that config.status was made for.
3041 config_files="$ac_config_files"
3043 _ACEOF
3045 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3046 ac_cs_usage="\
3047 \`$as_me' instantiates files and other configuration actions
3048 from templates according to the current configuration. Unless the files
3049 and actions are specified as TAGs, all are instantiated by default.
3051 Usage: $0 [OPTION]... [TAG]...
3053 -h, --help print this help, then exit
3054 -V, --version print version number and configuration settings, then exit
3055 --config print configuration, then exit
3056 -q, --quiet, --silent
3057 do not print progress messages
3058 -d, --debug don't remove temporary files
3059 --recheck update $as_me by reconfiguring in the same conditions
3060 --file=FILE[:TEMPLATE]
3061 instantiate the configuration file FILE
3063 Configuration files:
3064 $config_files
3066 Report bugs to the package provider."
3068 _ACEOF
3069 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3070 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3072 ac_cs_config='$ac_cs_config_escaped'
3073 ac_cs_version="\\
3074 config.status
3075 configured by $0, generated by GNU Autoconf 2.71,
3076 with options \\"\$ac_cs_config\\"
3078 Copyright (C) 2021 Free Software Foundation, Inc.
3079 This config.status script is free software; the Free Software Foundation
3080 gives unlimited permission to copy, distribute and modify it."
3082 ac_pwd='$ac_pwd'
3083 srcdir='$srcdir'
3084 test -n "\$AWK" || AWK=awk
3085 _ACEOF
3087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3088 # The default lists apply if the user does not specify any file.
3089 ac_need_defaults=:
3090 while test $# != 0
3092 case $1 in
3093 --*=?*)
3094 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3095 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3096 ac_shift=:
3098 --*=)
3099 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3100 ac_optarg=
3101 ac_shift=:
3104 ac_option=$1
3105 ac_optarg=$2
3106 ac_shift=shift
3108 esac
3110 case $ac_option in
3111 # Handling of the options.
3112 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3113 ac_cs_recheck=: ;;
3114 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3115 printf "%s\n" "$ac_cs_version"; exit ;;
3116 --config | --confi | --conf | --con | --co | --c )
3117 printf "%s\n" "$ac_cs_config"; exit ;;
3118 --debug | --debu | --deb | --de | --d | -d )
3119 debug=: ;;
3120 --file | --fil | --fi | --f )
3121 $ac_shift
3122 case $ac_optarg in
3123 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3124 '') as_fn_error $? "missing file argument" ;;
3125 esac
3126 as_fn_append CONFIG_FILES " '$ac_optarg'"
3127 ac_need_defaults=false;;
3128 --he | --h | --help | --hel | -h )
3129 printf "%s\n" "$ac_cs_usage"; exit ;;
3130 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3131 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3132 ac_cs_silent=: ;;
3134 # This is an error.
3135 -*) as_fn_error $? "unrecognized option: \`$1'
3136 Try \`$0 --help' for more information." ;;
3138 *) as_fn_append ac_config_targets " $1"
3139 ac_need_defaults=false ;;
3141 esac
3142 shift
3143 done
3145 ac_configure_extra_args=
3147 if $ac_cs_silent; then
3148 exec 6>/dev/null
3149 ac_configure_extra_args="$ac_configure_extra_args --silent"
3152 _ACEOF
3153 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3154 if \$ac_cs_recheck; then
3155 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3156 shift
3157 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3158 CONFIG_SHELL='$SHELL'
3159 export CONFIG_SHELL
3160 exec "\$@"
3163 _ACEOF
3164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3165 exec 5>>config.log
3167 echo
3168 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3169 ## Running $as_me. ##
3170 _ASBOX
3171 printf "%s\n" "$ac_log"
3172 } >&5
3174 _ACEOF
3175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3176 _ACEOF
3178 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3180 # Handling of arguments.
3181 for ac_config_target in $ac_config_targets
3183 case $ac_config_target in
3184 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3185 "Makefile.common") CONFIG_FILES="$CONFIG_FILES Makefile.common" ;;
3186 "libdev/Makefile") CONFIG_FILES="$CONFIG_FILES libdev/Makefile" ;;
3188 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3189 esac
3190 done
3193 # If the user did not use the arguments to specify the items to instantiate,
3194 # then the envvar interface is used. Set only those that are not.
3195 # We use the long form for the default assignment because of an extremely
3196 # bizarre bug on SunOS 4.1.3.
3197 if $ac_need_defaults; then
3198 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3201 # Have a temporary directory for convenience. Make it in the build tree
3202 # simply because there is no reason against having it here, and in addition,
3203 # creating and moving files from /tmp can sometimes cause problems.
3204 # Hook for its removal unless debugging.
3205 # Note that there is a small window in which the directory will not be cleaned:
3206 # after its creation but before its name has been assigned to `$tmp'.
3207 $debug ||
3209 tmp= ac_tmp=
3210 trap 'exit_status=$?
3211 : "${ac_tmp:=$tmp}"
3212 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3214 trap 'as_fn_exit 1' 1 2 13 15
3216 # Create a (secure) tmp directory for tmp files.
3219 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3220 test -d "$tmp"
3221 } ||
3223 tmp=./conf$$-$RANDOM
3224 (umask 077 && mkdir "$tmp")
3225 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3226 ac_tmp=$tmp
3228 # Set up the scripts for CONFIG_FILES section.
3229 # No need to generate them if there are no CONFIG_FILES.
3230 # This happens for instance with `./config.status config.h'.
3231 if test -n "$CONFIG_FILES"; then
3234 ac_cr=`echo X | tr X '\015'`
3235 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3236 # But we know of no other shell where ac_cr would be empty at this
3237 # point, so we can use a bashism as a fallback.
3238 if test "x$ac_cr" = x; then
3239 eval ac_cr=\$\'\\r\'
3241 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3242 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3243 ac_cs_awk_cr='\\r'
3244 else
3245 ac_cs_awk_cr=$ac_cr
3248 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3249 _ACEOF
3253 echo "cat >conf$$subs.awk <<_ACEOF" &&
3254 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3255 echo "_ACEOF"
3256 } >conf$$subs.sh ||
3257 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3258 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3259 ac_delim='%!_!# '
3260 for ac_last_try in false false false false false :; do
3261 . ./conf$$subs.sh ||
3262 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3264 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3265 if test $ac_delim_n = $ac_delim_num; then
3266 break
3267 elif $ac_last_try; then
3268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3269 else
3270 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3272 done
3273 rm -f conf$$subs.sh
3275 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3276 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3277 _ACEOF
3278 sed -n '
3280 s/^/S["/; s/!.*/"]=/
3283 s/^[^!]*!//
3284 :repl
3285 t repl
3286 s/'"$ac_delim"'$//
3287 t delim
3290 s/\(.\{148\}\)..*/\1/
3291 t more1
3292 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3295 b repl
3296 :more1
3297 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3300 s/.\{148\}//
3301 t nl
3302 :delim
3304 s/\(.\{148\}\)..*/\1/
3305 t more2
3306 s/["\\]/\\&/g; s/^/"/; s/$/"/
3309 :more2
3310 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3313 s/.\{148\}//
3314 t delim
3315 ' <conf$$subs.awk | sed '
3316 /^[^""]/{
3318 s/\n//
3320 ' >>$CONFIG_STATUS || ac_write_fail=1
3321 rm -f conf$$subs.awk
3322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3323 _ACAWK
3324 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3325 for (key in S) S_is_set[key] = 1
3326 FS = "\a"
3330 line = $ 0
3331 nfields = split(line, field, "@")
3332 substed = 0
3333 len = length(field[1])
3334 for (i = 2; i < nfields; i++) {
3335 key = field[i]
3336 keylen = length(key)
3337 if (S_is_set[key]) {
3338 value = S[key]
3339 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3340 len += length(value) + length(field[++i])
3341 substed = 1
3342 } else
3343 len += 1 + keylen
3346 print line
3349 _ACAWK
3350 _ACEOF
3351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3352 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3353 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3354 else
3356 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3357 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3358 _ACEOF
3360 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3361 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3362 # trailing colons and then remove the whole line if VPATH becomes empty
3363 # (actually we leave an empty line to preserve line numbers).
3364 if test "x$srcdir" = x.; then
3365 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3367 s///
3368 s/^/:/
3369 s/[ ]*$/:/
3370 s/:\$(srcdir):/:/g
3371 s/:\${srcdir}:/:/g
3372 s/:@srcdir@:/:/g
3373 s/^:*//
3374 s/:*$//
3376 s/\(=[ ]*\).*/\1/
3378 s/\n//
3379 s/^[^=]*=[ ]*$//
3383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3384 fi # test -n "$CONFIG_FILES"
3387 eval set X " :F $CONFIG_FILES "
3388 shift
3389 for ac_tag
3391 case $ac_tag in
3392 :[FHLC]) ac_mode=$ac_tag; continue;;
3393 esac
3394 case $ac_mode$ac_tag in
3395 :[FHL]*:*);;
3396 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3397 :[FH]-) ac_tag=-:-;;
3398 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3399 esac
3400 ac_save_IFS=$IFS
3401 IFS=:
3402 set x $ac_tag
3403 IFS=$ac_save_IFS
3404 shift
3405 ac_file=$1
3406 shift
3408 case $ac_mode in
3409 :L) ac_source=$1;;
3410 :[FH])
3411 ac_file_inputs=
3412 for ac_f
3414 case $ac_f in
3415 -) ac_f="$ac_tmp/stdin";;
3416 *) # Look for the file first in the build tree, then in the source tree
3417 # (if the path is not absolute). The absolute path cannot be DOS-style,
3418 # because $ac_f cannot contain `:'.
3419 test -f "$ac_f" ||
3420 case $ac_f in
3421 [\\/$]*) false;;
3422 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3423 esac ||
3424 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3425 esac
3426 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3427 as_fn_append ac_file_inputs " '$ac_f'"
3428 done
3430 # Let's still pretend it is `configure' which instantiates (i.e., don't
3431 # use $as_me), people would be surprised to read:
3432 # /* config.h. Generated by config.status. */
3433 configure_input='Generated from '`
3434 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3435 `' by configure.'
3436 if test x"$ac_file" != x-; then
3437 configure_input="$ac_file. $configure_input"
3438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3439 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3441 # Neutralize special characters interpreted by sed in replacement strings.
3442 case $configure_input in #(
3443 *\&* | *\|* | *\\* )
3444 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3445 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3446 *) ac_sed_conf_input=$configure_input;;
3447 esac
3449 case $ac_tag in
3450 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3452 esac
3454 esac
3456 ac_dir=`$as_dirname -- "$ac_file" ||
3457 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3458 X"$ac_file" : 'X\(//\)[^/]' \| \
3459 X"$ac_file" : 'X\(//\)$' \| \
3460 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3461 printf "%s\n" X"$ac_file" |
3462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3463 s//\1/
3466 /^X\(\/\/\)[^/].*/{
3467 s//\1/
3470 /^X\(\/\/\)$/{
3471 s//\1/
3474 /^X\(\/\).*/{
3475 s//\1/
3478 s/.*/./; q'`
3479 as_dir="$ac_dir"; as_fn_mkdir_p
3480 ac_builddir=.
3482 case "$ac_dir" in
3483 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3485 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3486 # A ".." for each directory in $ac_dir_suffix.
3487 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3488 case $ac_top_builddir_sub in
3489 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3490 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3491 esac ;;
3492 esac
3493 ac_abs_top_builddir=$ac_pwd
3494 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3495 # for backward compatibility:
3496 ac_top_builddir=$ac_top_build_prefix
3498 case $srcdir in
3499 .) # We are building in place.
3500 ac_srcdir=.
3501 ac_top_srcdir=$ac_top_builddir_sub
3502 ac_abs_top_srcdir=$ac_pwd ;;
3503 [\\/]* | ?:[\\/]* ) # Absolute name.
3504 ac_srcdir=$srcdir$ac_dir_suffix;
3505 ac_top_srcdir=$srcdir
3506 ac_abs_top_srcdir=$srcdir ;;
3507 *) # Relative name.
3508 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3509 ac_top_srcdir=$ac_top_build_prefix$srcdir
3510 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3511 esac
3512 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3515 case $ac_mode in
3518 # CONFIG_FILE
3521 _ACEOF
3523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3524 # If the template does not know about datarootdir, expand it.
3525 # FIXME: This hack should be removed a few years after 2.60.
3526 ac_datarootdir_hack=; ac_datarootdir_seen=
3527 ac_sed_dataroot='
3528 /datarootdir/ {
3532 /@datadir@/p
3533 /@docdir@/p
3534 /@infodir@/p
3535 /@localedir@/p
3536 /@mandir@/p'
3537 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3538 *datarootdir*) ac_datarootdir_seen=yes;;
3539 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3541 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3542 _ACEOF
3543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3544 ac_datarootdir_hack='
3545 s&@datadir@&$datadir&g
3546 s&@docdir@&$docdir&g
3547 s&@infodir@&$infodir&g
3548 s&@localedir@&$localedir&g
3549 s&@mandir@&$mandir&g
3550 s&\\\${datarootdir}&$datarootdir&g' ;;
3551 esac
3552 _ACEOF
3554 # Neutralize VPATH when `$srcdir' = `.'.
3555 # Shell code in configure.ac might set extrasub.
3556 # FIXME: do we really want to maintain this feature?
3557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3558 ac_sed_extra="$ac_vpsub
3559 $extrasub
3560 _ACEOF
3561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3563 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3564 s|@configure_input@|$ac_sed_conf_input|;t t
3565 s&@top_builddir@&$ac_top_builddir_sub&;t t
3566 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3567 s&@srcdir@&$ac_srcdir&;t t
3568 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3569 s&@top_srcdir@&$ac_top_srcdir&;t t
3570 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3571 s&@builddir@&$ac_builddir&;t t
3572 s&@abs_builddir@&$ac_abs_builddir&;t t
3573 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3574 $ac_datarootdir_hack
3576 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3577 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3579 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3580 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3581 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3582 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3584 which seems to be undefined. Please make sure it is defined" >&5
3585 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3586 which seems to be undefined. Please make sure it is defined" >&2;}
3588 rm -f "$ac_tmp/stdin"
3589 case $ac_file in
3590 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3591 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3592 esac \
3593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3598 esac
3600 done # for ac_tag
3603 as_fn_exit 0
3604 _ACEOF
3605 ac_clean_files=$ac_clean_files_save
3607 test $ac_write_fail = 0 ||
3608 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3611 # configure is writing to config.log, and then calls config.status.
3612 # config.status does its own redirection, appending to config.log.
3613 # Unfortunately, on DOS this fails, as config.log is still kept open
3614 # by configure, so config.status won't be able to write to it; its
3615 # output is simply discarded. So we exec the FD to /dev/null,
3616 # effectively closing config.log, so it can be properly (re)opened and
3617 # appended to by config.status. When coming back to configure, we
3618 # need to make the FD available again.
3619 if test "$no_create" != yes; then
3620 ac_cs_success=:
3621 ac_config_status_args=
3622 test "$silent" = yes &&
3623 ac_config_status_args="$ac_config_status_args --quiet"
3624 exec 5>/dev/null
3625 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3626 exec 5>>config.log
3627 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3628 # would make configure fail if this is the last instruction.
3629 $ac_cs_success || as_fn_exit 1
3631 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3633 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}