struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / device / lib / pic14 / configure
blob896f12ddc666436bda22c0bba1a0283eaef083ec
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for pic14lib 0.1.
5 # Report bugs to <tecodev AT users sourceforge net>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev/null
187 then :
188 as_have_required=yes
189 else $as_nop
190 as_have_required=no
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
195 else $as_nop
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 as_found=false
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 IFS=$as_save_IFS
201 case $as_dir in #(((
202 '') as_dir=./ ;;
203 */) ;;
204 *) as_dir=$as_dir/ ;;
205 esac
206 as_found=:
207 case $as_dir in #(
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 then :
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217 then :
218 break 2
221 done;;
222 esac
223 as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
229 else $as_nop
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x
239 then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno
262 then :
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and tecodev AT users
270 $0: sourceforge net about your system, including any error
271 $0: possibly output before this message. Then install a
272 $0: modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
303 return $1
304 } # as_fn_set_status
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315 # as_fn_nop
316 # ---------
317 # Do nothing but, unlike ":", preserve the value of $?.
318 as_fn_nop ()
320 return $?
322 as_nop=as_fn_nop
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
355 /^X\(\/\/\)$/{
356 s//\1/
359 /^X\(\/\).*/{
360 s//\1/
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370 } # as_fn_mkdir_p
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386 then :
387 eval 'as_fn_append ()
389 eval $1+=\$2
391 else $as_nop
392 as_fn_append ()
394 eval $1=\$$1\$2
396 fi # as_fn_append
398 # as_fn_arith ARG...
399 # ------------------
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404 then :
405 eval 'as_fn_arith ()
407 as_val=$(( $* ))
409 else $as_nop
410 as_fn_arith ()
412 as_val=`expr "$@" || test $? -eq 1`
414 fi # as_fn_arith
416 # as_fn_nop
417 # ---------
418 # Do nothing but, unlike ":", preserve the value of $?.
419 as_fn_nop ()
421 return $?
423 as_nop=as_fn_nop
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
430 as_fn_error ()
432 as_status=$1; test $as_status -eq 0 && as_status=1
433 if test "$4"; then
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
439 } # as_fn_error
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
443 as_expr=expr
444 else
445 as_expr=false
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449 as_basename=basename
450 else
451 as_basename=false
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455 as_dirname=dirname
456 else
457 as_dirname=false
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
466 s//\1/
469 /^X\/\(\/\/\)$/{
470 s//\1/
473 /^X\/\(\/\).*/{
474 s//\1/
477 s/.*/./; q'`
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
487 as_lineno_1=$LINENO as_lineno_1a=$LINENO
488 as_lineno_2=$LINENO as_lineno_2a=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 sed -n '
494 /[$]LINENO/=
495 ' <$as_myself |
496 sed '
497 s/[$]LINENO.*/&-/
498 t lineno
500 :lineno
502 :loop
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504 t loop
505 s/-\n.*//
506 ' >$as_me.lineno &&
507 chmod +x "$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec=no; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
517 . "./$as_me.lineno"
518 # Exit status is that of the last command.
519 exit
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
528 -n*)
529 case `echo 'xy\c'` in
530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
531 xy) ECHO_C='\c';;
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
533 ECHO_T=' ';;
534 esac;;
536 ECHO_N='-n';;
537 esac
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549 else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif ln conf$$.file conf$$ 2>/dev/null; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
567 else
568 as_ln_s='cp -pR'
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" || exec 7<&0 </dev/null
591 exec 6>&1
593 # Name of the host.
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599 # Initializations.
601 ac_default_prefix=/usr/local
602 ac_clean_files=
603 ac_config_libobj_dir=.
604 LIBOBJS=
605 cross_compiling=no
606 subdirs=
607 MFLAGS=
608 MAKEFLAGS=
610 # Identity of this package.
611 PACKAGE_NAME='pic14lib'
612 PACKAGE_TARNAME='pic14lib'
613 PACKAGE_VERSION='0.1'
614 PACKAGE_STRING='pic14lib 0.1'
615 PACKAGE_BUGREPORT='tecodev AT users sourceforge net'
616 PACKAGE_URL=''
618 ac_unique_file="libsdcc/idata.c"
619 ac_subst_vars='LTLIBOBJS
620 LIBOBJS
621 ENABLE_EXPERIMENTAL_FALSE
622 ENABLE_EXPERIMENTAL_TRUE
623 ENABLE_NOOPTS_FALSE
624 ENABLE_NOOPTS_TRUE
625 ENABLE_DEBUG_FALSE
626 ENABLE_DEBUG_TRUE
627 ENABLE_EXTENDED_INSTRUCTIONS_FALSE
628 ENABLE_EXTENDED_INSTRUCTIONS_TRUE
629 ENABLE_ENHANCED_PICS_FALSE
630 ENABLE_ENHANCED_PICS_TRUE
631 am__fastdepCCAS_FALSE
632 am__fastdepCCAS_TRUE
633 CCASDEPMODE
634 am__fastdepCC_FALSE
635 am__fastdepCC_TRUE
636 CCDEPMODE
637 am__nodep
638 AMDEPBACKSLASH
639 AMDEP_FALSE
640 AMDEP_TRUE
641 am__include
642 DEPDIR
643 OBJEXT
644 RANLIB
645 ARFLAGS
646 LDFLAGS
647 CCASFLAGS
648 CFLAGS
651 CCAS
653 EARCH
654 ARCH
655 MAINT
656 MAINTAINER_MODE_FALSE
657 MAINTAINER_MODE_TRUE
658 AM_BACKSLASH
659 AM_DEFAULT_VERBOSITY
660 AM_DEFAULT_V
661 AM_V
662 CSCOPE
663 ETAGS
664 CTAGS
665 am__untar
666 am__tar
667 AMTAR
668 am__leading_dot
669 SET_MAKE
671 mkdir_p
672 MKDIR_P
673 INSTALL_STRIP_PROGRAM
674 STRIP
675 install_sh
676 MAKEINFO
677 AUTOHEADER
678 AUTOMAKE
679 AUTOCONF
680 ACLOCAL
681 VERSION
682 PACKAGE
683 CYGPATH_W
684 am__isrc
685 INSTALL_DATA
686 INSTALL_SCRIPT
687 INSTALL_PROGRAM
688 target_alias
689 host_alias
690 build_alias
691 LIBS
692 ECHO_T
693 ECHO_N
694 ECHO_C
695 DEFS
696 mandir
697 localedir
698 libdir
699 psdir
700 pdfdir
701 dvidir
702 htmldir
703 infodir
704 docdir
705 oldincludedir
706 includedir
707 runstatedir
708 localstatedir
709 sharedstatedir
710 sysconfdir
711 datadir
712 datarootdir
713 libexecdir
714 sbindir
715 bindir
716 program_transform_name
717 prefix
718 exec_prefix
719 PACKAGE_URL
720 PACKAGE_BUGREPORT
721 PACKAGE_STRING
722 PACKAGE_VERSION
723 PACKAGE_TARNAME
724 PACKAGE_NAME
725 PATH_SEPARATOR
726 SHELL
727 am__quote'
728 ac_subst_files=''
729 ac_user_opts='
730 enable_option_checking
731 enable_silent_rules
732 enable_maintainer_mode
733 enable_dependency_tracking
735 ac_precious_vars='build_alias
736 host_alias
737 target_alias'
740 # Initialize some variables set by options.
741 ac_init_help=
742 ac_init_version=false
743 ac_unrecognized_opts=
744 ac_unrecognized_sep=
745 # The variables have the same names as the options, with
746 # dashes changed to underlines.
747 cache_file=/dev/null
748 exec_prefix=NONE
749 no_create=
750 no_recursion=
751 prefix=NONE
752 program_prefix=NONE
753 program_suffix=NONE
754 program_transform_name=s,x,x,
755 silent=
756 site=
757 srcdir=
758 verbose=
759 x_includes=NONE
760 x_libraries=NONE
762 # Installation directory options.
763 # These are left unexpanded so users can "make install exec_prefix=/foo"
764 # and all the variables that are supposed to be based on exec_prefix
765 # by default will actually change.
766 # Use braces instead of parens because sh, perl, etc. also accept them.
767 # (The list follows the same order as the GNU Coding Standards.)
768 bindir='${exec_prefix}/bin'
769 sbindir='${exec_prefix}/sbin'
770 libexecdir='${exec_prefix}/libexec'
771 datarootdir='${prefix}/share'
772 datadir='${datarootdir}'
773 sysconfdir='${prefix}/etc'
774 sharedstatedir='${prefix}/com'
775 localstatedir='${prefix}/var'
776 runstatedir='${localstatedir}/run'
777 includedir='${prefix}/include'
778 oldincludedir='/usr/include'
779 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
780 infodir='${datarootdir}/info'
781 htmldir='${docdir}'
782 dvidir='${docdir}'
783 pdfdir='${docdir}'
784 psdir='${docdir}'
785 libdir='${exec_prefix}/lib'
786 localedir='${datarootdir}/locale'
787 mandir='${datarootdir}/man'
789 ac_prev=
790 ac_dashdash=
791 for ac_option
793 # If the previous option needs an argument, assign it.
794 if test -n "$ac_prev"; then
795 eval $ac_prev=\$ac_option
796 ac_prev=
797 continue
800 case $ac_option in
801 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
802 *=) ac_optarg= ;;
803 *) ac_optarg=yes ;;
804 esac
806 case $ac_dashdash$ac_option in
808 ac_dashdash=yes ;;
810 -bindir | --bindir | --bindi | --bind | --bin | --bi)
811 ac_prev=bindir ;;
812 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
813 bindir=$ac_optarg ;;
815 -build | --build | --buil | --bui | --bu)
816 ac_prev=build_alias ;;
817 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
818 build_alias=$ac_optarg ;;
820 -cache-file | --cache-file | --cache-fil | --cache-fi \
821 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
822 ac_prev=cache_file ;;
823 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
824 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
825 cache_file=$ac_optarg ;;
827 --config-cache | -C)
828 cache_file=config.cache ;;
830 -datadir | --datadir | --datadi | --datad)
831 ac_prev=datadir ;;
832 -datadir=* | --datadir=* | --datadi=* | --datad=*)
833 datadir=$ac_optarg ;;
835 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
836 | --dataroo | --dataro | --datar)
837 ac_prev=datarootdir ;;
838 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
839 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
840 datarootdir=$ac_optarg ;;
842 -disable-* | --disable-*)
843 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
844 # Reject names that are not valid shell variable names.
845 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
846 as_fn_error $? "invalid feature name: \`$ac_useropt'"
847 ac_useropt_orig=$ac_useropt
848 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
849 case $ac_user_opts in
851 "enable_$ac_useropt"
852 "*) ;;
853 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
854 ac_unrecognized_sep=', ';;
855 esac
856 eval enable_$ac_useropt=no ;;
858 -docdir | --docdir | --docdi | --doc | --do)
859 ac_prev=docdir ;;
860 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
861 docdir=$ac_optarg ;;
863 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
864 ac_prev=dvidir ;;
865 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
866 dvidir=$ac_optarg ;;
868 -enable-* | --enable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: \`$ac_useropt'"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
877 "enable_$ac_useropt"
878 "*) ;;
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
881 esac
882 eval enable_$ac_useropt=\$ac_optarg ;;
884 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
885 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
886 | --exec | --exe | --ex)
887 ac_prev=exec_prefix ;;
888 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
889 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
890 | --exec=* | --exe=* | --ex=*)
891 exec_prefix=$ac_optarg ;;
893 -gas | --gas | --ga | --g)
894 # Obsolete; use --with-gas.
895 with_gas=yes ;;
897 -help | --help | --hel | --he | -h)
898 ac_init_help=long ;;
899 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
900 ac_init_help=recursive ;;
901 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
902 ac_init_help=short ;;
904 -host | --host | --hos | --ho)
905 ac_prev=host_alias ;;
906 -host=* | --host=* | --hos=* | --ho=*)
907 host_alias=$ac_optarg ;;
909 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
910 ac_prev=htmldir ;;
911 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
912 | --ht=*)
913 htmldir=$ac_optarg ;;
915 -includedir | --includedir | --includedi | --included | --include \
916 | --includ | --inclu | --incl | --inc)
917 ac_prev=includedir ;;
918 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
919 | --includ=* | --inclu=* | --incl=* | --inc=*)
920 includedir=$ac_optarg ;;
922 -infodir | --infodir | --infodi | --infod | --info | --inf)
923 ac_prev=infodir ;;
924 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
925 infodir=$ac_optarg ;;
927 -libdir | --libdir | --libdi | --libd)
928 ac_prev=libdir ;;
929 -libdir=* | --libdir=* | --libdi=* | --libd=*)
930 libdir=$ac_optarg ;;
932 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
933 | --libexe | --libex | --libe)
934 ac_prev=libexecdir ;;
935 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
936 | --libexe=* | --libex=* | --libe=*)
937 libexecdir=$ac_optarg ;;
939 -localedir | --localedir | --localedi | --localed | --locale)
940 ac_prev=localedir ;;
941 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
942 localedir=$ac_optarg ;;
944 -localstatedir | --localstatedir | --localstatedi | --localstated \
945 | --localstate | --localstat | --localsta | --localst | --locals)
946 ac_prev=localstatedir ;;
947 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
948 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
949 localstatedir=$ac_optarg ;;
951 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
952 ac_prev=mandir ;;
953 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
954 mandir=$ac_optarg ;;
956 -nfp | --nfp | --nf)
957 # Obsolete; use --without-fp.
958 with_fp=no ;;
960 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
961 | --no-cr | --no-c | -n)
962 no_create=yes ;;
964 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
965 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
966 no_recursion=yes ;;
968 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
969 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
970 | --oldin | --oldi | --old | --ol | --o)
971 ac_prev=oldincludedir ;;
972 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
973 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
974 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
975 oldincludedir=$ac_optarg ;;
977 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
978 ac_prev=prefix ;;
979 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
980 prefix=$ac_optarg ;;
982 -program-prefix | --program-prefix | --program-prefi | --program-pref \
983 | --program-pre | --program-pr | --program-p)
984 ac_prev=program_prefix ;;
985 -program-prefix=* | --program-prefix=* | --program-prefi=* \
986 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
987 program_prefix=$ac_optarg ;;
989 -program-suffix | --program-suffix | --program-suffi | --program-suff \
990 | --program-suf | --program-su | --program-s)
991 ac_prev=program_suffix ;;
992 -program-suffix=* | --program-suffix=* | --program-suffi=* \
993 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
994 program_suffix=$ac_optarg ;;
996 -program-transform-name | --program-transform-name \
997 | --program-transform-nam | --program-transform-na \
998 | --program-transform-n | --program-transform- \
999 | --program-transform | --program-transfor \
1000 | --program-transfo | --program-transf \
1001 | --program-trans | --program-tran \
1002 | --progr-tra | --program-tr | --program-t)
1003 ac_prev=program_transform_name ;;
1004 -program-transform-name=* | --program-transform-name=* \
1005 | --program-transform-nam=* | --program-transform-na=* \
1006 | --program-transform-n=* | --program-transform-=* \
1007 | --program-transform=* | --program-transfor=* \
1008 | --program-transfo=* | --program-transf=* \
1009 | --program-trans=* | --program-tran=* \
1010 | --progr-tra=* | --program-tr=* | --program-t=*)
1011 program_transform_name=$ac_optarg ;;
1013 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1014 ac_prev=pdfdir ;;
1015 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1016 pdfdir=$ac_optarg ;;
1018 -psdir | --psdir | --psdi | --psd | --ps)
1019 ac_prev=psdir ;;
1020 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1021 psdir=$ac_optarg ;;
1023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1024 | -silent | --silent | --silen | --sile | --sil)
1025 silent=yes ;;
1027 -runstatedir | --runstatedir | --runstatedi | --runstated \
1028 | --runstate | --runstat | --runsta | --runst | --runs \
1029 | --run | --ru | --r)
1030 ac_prev=runstatedir ;;
1031 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1032 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1033 | --run=* | --ru=* | --r=*)
1034 runstatedir=$ac_optarg ;;
1036 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1037 ac_prev=sbindir ;;
1038 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1039 | --sbi=* | --sb=*)
1040 sbindir=$ac_optarg ;;
1042 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1043 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1044 | --sharedst | --shareds | --shared | --share | --shar \
1045 | --sha | --sh)
1046 ac_prev=sharedstatedir ;;
1047 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1048 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1049 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1050 | --sha=* | --sh=*)
1051 sharedstatedir=$ac_optarg ;;
1053 -site | --site | --sit)
1054 ac_prev=site ;;
1055 -site=* | --site=* | --sit=*)
1056 site=$ac_optarg ;;
1058 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1059 ac_prev=srcdir ;;
1060 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1061 srcdir=$ac_optarg ;;
1063 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1064 | --syscon | --sysco | --sysc | --sys | --sy)
1065 ac_prev=sysconfdir ;;
1066 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1067 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1068 sysconfdir=$ac_optarg ;;
1070 -target | --target | --targe | --targ | --tar | --ta | --t)
1071 ac_prev=target_alias ;;
1072 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1073 target_alias=$ac_optarg ;;
1075 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1076 verbose=yes ;;
1078 -version | --version | --versio | --versi | --vers | -V)
1079 ac_init_version=: ;;
1081 -with-* | --with-*)
1082 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 as_fn_error $? "invalid package name: \`$ac_useropt'"
1086 ac_useropt_orig=$ac_useropt
1087 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1090 "with_$ac_useropt"
1091 "*) ;;
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1094 esac
1095 eval with_$ac_useropt=\$ac_optarg ;;
1097 -without-* | --without-*)
1098 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1101 as_fn_error $? "invalid package name: \`$ac_useropt'"
1102 ac_useropt_orig=$ac_useropt
1103 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1104 case $ac_user_opts in
1106 "with_$ac_useropt"
1107 "*) ;;
1108 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1109 ac_unrecognized_sep=', ';;
1110 esac
1111 eval with_$ac_useropt=no ;;
1113 --x)
1114 # Obsolete; use --with-x.
1115 with_x=yes ;;
1117 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1118 | --x-incl | --x-inc | --x-in | --x-i)
1119 ac_prev=x_includes ;;
1120 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1121 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1122 x_includes=$ac_optarg ;;
1124 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1125 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1126 ac_prev=x_libraries ;;
1127 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1128 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1129 x_libraries=$ac_optarg ;;
1131 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1132 Try \`$0 --help' for more information"
1135 *=*)
1136 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1137 # Reject names that are not valid shell variable names.
1138 case $ac_envvar in #(
1139 '' | [0-9]* | *[!_$as_cr_alnum]* )
1140 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1141 esac
1142 eval $ac_envvar=\$ac_optarg
1143 export $ac_envvar ;;
1146 # FIXME: should be removed in autoconf 3.0.
1147 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1148 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1149 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1150 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1153 esac
1154 done
1156 if test -n "$ac_prev"; then
1157 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1158 as_fn_error $? "missing argument to $ac_option"
1161 if test -n "$ac_unrecognized_opts"; then
1162 case $enable_option_checking in
1163 no) ;;
1164 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1165 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 esac
1169 # Check all directory arguments for consistency.
1170 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1171 datadir sysconfdir sharedstatedir localstatedir includedir \
1172 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1173 libdir localedir mandir runstatedir
1175 eval ac_val=\$$ac_var
1176 # Remove trailing slashes.
1177 case $ac_val in
1178 */ )
1179 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1180 eval $ac_var=\$ac_val;;
1181 esac
1182 # Be sure to have absolute directory names.
1183 case $ac_val in
1184 [\\/$]* | ?:[\\/]* ) continue;;
1185 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1186 esac
1187 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 elif test "x$build_alias" != "x$host_alias"; then
1202 cross_compiling=yes
1206 ac_tool_prefix=
1207 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1209 test "$silent" = yes && exec 6>/dev/null
1212 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1213 ac_ls_di=`ls -di .` &&
1214 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1215 as_fn_error $? "working directory cannot be determined"
1216 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1217 as_fn_error $? "pwd does not report name of working directory"
1220 # Find the source files, if location was not specified.
1221 if test -z "$srcdir"; then
1222 ac_srcdir_defaulted=yes
1223 # Try the directory containing this script, then the parent directory.
1224 ac_confdir=`$as_dirname -- "$as_myself" ||
1225 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1226 X"$as_myself" : 'X\(//\)[^/]' \| \
1227 X"$as_myself" : 'X\(//\)$' \| \
1228 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1229 printf "%s\n" X"$as_myself" |
1230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1231 s//\1/
1234 /^X\(\/\/\)[^/].*/{
1235 s//\1/
1238 /^X\(\/\/\)$/{
1239 s//\1/
1242 /^X\(\/\).*/{
1243 s//\1/
1246 s/.*/./; q'`
1247 srcdir=$ac_confdir
1248 if test ! -r "$srcdir/$ac_unique_file"; then
1249 srcdir=..
1251 else
1252 ac_srcdir_defaulted=no
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1256 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1258 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 ac_abs_confdir=`(
1260 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261 pwd)`
1262 # When building in place, set srcdir=.
1263 if test "$ac_abs_confdir" = "$ac_pwd"; then
1264 srcdir=.
1266 # Remove unnecessary trailing slashes from srcdir.
1267 # Double slashes in file names in object file debugging info
1268 # mess up M-x gdb in Emacs.
1269 case $srcdir in
1270 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 esac
1272 for ac_var in $ac_precious_vars; do
1273 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1274 eval ac_env_${ac_var}_value=\$${ac_var}
1275 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1276 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1277 done
1280 # Report the --help message.
1282 if test "$ac_init_help" = "long"; then
1283 # Omit some internal or obsolete options to make the list less imposing.
1284 # This message is too long to be a string in the A/UX 3.1 sh.
1285 cat <<_ACEOF
1286 \`configure' configures pic14lib 0.1 to adapt to many kinds of systems.
1288 Usage: $0 [OPTION]... [VAR=VALUE]...
1290 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1291 VAR=VALUE. See below for descriptions of some of the useful variables.
1293 Defaults for the options are specified in brackets.
1295 Configuration:
1296 -h, --help display this help and exit
1297 --help=short display options specific to this package
1298 --help=recursive display the short help of all the included packages
1299 -V, --version display version information and exit
1300 -q, --quiet, --silent do not print \`checking ...' messages
1301 --cache-file=FILE cache test results in FILE [disabled]
1302 -C, --config-cache alias for \`--cache-file=config.cache'
1303 -n, --no-create do not create output files
1304 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1306 Installation directories:
1307 --prefix=PREFIX install architecture-independent files in PREFIX
1308 [$ac_default_prefix]
1309 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1310 [PREFIX]
1312 By default, \`make install' will install all the files in
1313 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1314 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1315 for instance \`--prefix=\$HOME'.
1317 For better control, use the options below.
1319 Fine tuning of the installation directories:
1320 --bindir=DIR user executables [EPREFIX/bin]
1321 --sbindir=DIR system admin executables [EPREFIX/sbin]
1322 --libexecdir=DIR program executables [EPREFIX/libexec]
1323 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1324 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1325 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1326 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1327 --libdir=DIR object code libraries [EPREFIX/lib]
1328 --includedir=DIR C header files [PREFIX/include]
1329 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1330 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1331 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1332 --infodir=DIR info documentation [DATAROOTDIR/info]
1333 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1334 --mandir=DIR man documentation [DATAROOTDIR/man]
1335 --docdir=DIR documentation root [DATAROOTDIR/doc/pic14lib]
1336 --htmldir=DIR html documentation [DOCDIR]
1337 --dvidir=DIR dvi documentation [DOCDIR]
1338 --pdfdir=DIR pdf documentation [DOCDIR]
1339 --psdir=DIR ps documentation [DOCDIR]
1340 _ACEOF
1342 cat <<\_ACEOF
1344 Program names:
1345 --program-prefix=PREFIX prepend PREFIX to installed program names
1346 --program-suffix=SUFFIX append SUFFIX to installed program names
1347 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1348 _ACEOF
1351 if test -n "$ac_init_help"; then
1352 case $ac_init_help in
1353 short | recursive ) echo "Configuration of pic14lib 0.1:";;
1354 esac
1355 cat <<\_ACEOF
1357 Optional Features:
1358 --disable-option-checking ignore unrecognized --enable/--with options
1359 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1360 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1361 --enable-silent-rules less verbose build output (undo: "make V=1")
1362 --disable-silent-rules verbose build output (undo: "make V=0")
1363 --enable-maintainer-mode
1364 enable make rules and dependencies not useful (and
1365 sometimes confusing) to the casual installer
1366 --enable-dependency-tracking
1367 do not reject slow dependency extractors
1368 --disable-dependency-tracking
1369 speeds up one-time build
1371 Report bugs to <tecodev AT users sourceforge net>.
1372 _ACEOF
1373 ac_status=$?
1376 if test "$ac_init_help" = "recursive"; then
1377 # If there are subdirs, report their specific --help.
1378 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1379 test -d "$ac_dir" ||
1380 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1381 continue
1382 ac_builddir=.
1384 case "$ac_dir" in
1385 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1387 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1388 # A ".." for each directory in $ac_dir_suffix.
1389 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1390 case $ac_top_builddir_sub in
1391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1393 esac ;;
1394 esac
1395 ac_abs_top_builddir=$ac_pwd
1396 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1397 # for backward compatibility:
1398 ac_top_builddir=$ac_top_build_prefix
1400 case $srcdir in
1401 .) # We are building in place.
1402 ac_srcdir=.
1403 ac_top_srcdir=$ac_top_builddir_sub
1404 ac_abs_top_srcdir=$ac_pwd ;;
1405 [\\/]* | ?:[\\/]* ) # Absolute name.
1406 ac_srcdir=$srcdir$ac_dir_suffix;
1407 ac_top_srcdir=$srcdir
1408 ac_abs_top_srcdir=$srcdir ;;
1409 *) # Relative name.
1410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1411 ac_top_srcdir=$ac_top_build_prefix$srcdir
1412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1413 esac
1414 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1416 cd "$ac_dir" || { ac_status=$?; continue; }
1417 # Check for configure.gnu first; this name is used for a wrapper for
1418 # Metaconfig's "Configure" on case-insensitive file systems.
1419 if test -f "$ac_srcdir/configure.gnu"; then
1420 echo &&
1421 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1422 elif test -f "$ac_srcdir/configure"; then
1423 echo &&
1424 $SHELL "$ac_srcdir/configure" --help=recursive
1425 else
1426 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1427 fi || ac_status=$?
1428 cd "$ac_pwd" || { ac_status=$?; break; }
1429 done
1432 test -n "$ac_init_help" && exit $ac_status
1433 if $ac_init_version; then
1434 cat <<\_ACEOF
1435 pic14lib configure 0.1
1436 generated by GNU Autoconf 2.71
1438 Copyright (C) 2021 Free Software Foundation, Inc.
1439 This configure script is free software; the Free Software Foundation
1440 gives unlimited permission to copy, distribute and modify it.
1441 _ACEOF
1442 exit
1445 ## ------------------------ ##
1446 ## Autoconf initialization. ##
1447 ## ------------------------ ##
1448 ac_configure_args_raw=
1449 for ac_arg
1451 case $ac_arg in
1452 *\'*)
1453 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1454 esac
1455 as_fn_append ac_configure_args_raw " '$ac_arg'"
1456 done
1458 case $ac_configure_args_raw in
1459 *$as_nl*)
1460 ac_safe_unquote= ;;
1462 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1463 ac_unsafe_a="$ac_unsafe_z#~"
1464 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1465 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1466 esac
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by pic14lib $as_me 0.1, which was
1473 generated by GNU Autoconf 2.71. Invocation command line was
1475 $ $0$ac_configure_args_raw
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 case $as_dir in #(((
1509 '') as_dir=./ ;;
1510 */) ;;
1511 *) as_dir=$as_dir/ ;;
1512 esac
1513 printf "%s\n" "PATH: $as_dir"
1514 done
1515 IFS=$as_save_IFS
1517 } >&5
1519 cat >&5 <<_ACEOF
1522 ## ----------- ##
1523 ## Core tests. ##
1524 ## ----------- ##
1526 _ACEOF
1529 # Keep a trace of the command line.
1530 # Strip out --no-create and --no-recursion so they do not pile up.
1531 # Strip out --silent because we don't want to record it for future runs.
1532 # Also quote any args containing shell meta-characters.
1533 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_configure_args=
1535 ac_configure_args0=
1536 ac_configure_args1=
1537 ac_must_keep_next=false
1538 for ac_pass in 1 2
1540 for ac_arg
1542 case $ac_arg in
1543 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1545 | -silent | --silent | --silen | --sile | --sil)
1546 continue ;;
1547 *\'*)
1548 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1549 esac
1550 case $ac_pass in
1551 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1553 as_fn_append ac_configure_args1 " '$ac_arg'"
1554 if test $ac_must_keep_next = true; then
1555 ac_must_keep_next=false # Got value, back to normal.
1556 else
1557 case $ac_arg in
1558 *=* | --config-cache | -C | -disable-* | --disable-* \
1559 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1560 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1561 | -with-* | --with-* | -without-* | --without-* | --x)
1562 case "$ac_configure_args0 " in
1563 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1564 esac
1566 -* ) ac_must_keep_next=true ;;
1567 esac
1569 as_fn_append ac_configure_args " '$ac_arg'"
1571 esac
1572 done
1573 done
1574 { ac_configure_args0=; unset ac_configure_args0;}
1575 { ac_configure_args1=; unset ac_configure_args1;}
1577 # When interrupted or exit'd, cleanup temporary files, and complete
1578 # config.log. We remove comments because anyway the quotes in there
1579 # would cause problems or look ugly.
1580 # WARNING: Use '\'' to represent an apostrophe within the trap.
1581 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1582 trap 'exit_status=$?
1583 # Sanitize IFS.
1584 IFS=" "" $as_nl"
1585 # Save into config.log some information that might help in debugging.
1587 echo
1589 printf "%s\n" "## ---------------- ##
1590 ## Cache variables. ##
1591 ## ---------------- ##"
1592 echo
1593 # The following way of writing the cache mishandles newlines in values,
1595 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1596 eval ac_val=\$$ac_var
1597 case $ac_val in #(
1598 *${as_nl}*)
1599 case $ac_var in #(
1600 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1601 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1602 esac
1603 case $ac_var in #(
1604 _ | IFS | as_nl) ;; #(
1605 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1606 *) { eval $ac_var=; unset $ac_var;} ;;
1607 esac ;;
1608 esac
1609 done
1610 (set) 2>&1 |
1611 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1612 *${as_nl}ac_space=\ *)
1613 sed -n \
1614 "s/'\''/'\''\\\\'\'''\''/g;
1615 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1616 ;; #(
1618 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1620 esac |
1621 sort
1623 echo
1625 printf "%s\n" "## ----------------- ##
1626 ## Output variables. ##
1627 ## ----------------- ##"
1628 echo
1629 for ac_var in $ac_subst_vars
1631 eval ac_val=\$$ac_var
1632 case $ac_val in
1633 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 esac
1635 printf "%s\n" "$ac_var='\''$ac_val'\''"
1636 done | sort
1637 echo
1639 if test -n "$ac_subst_files"; then
1640 printf "%s\n" "## ------------------- ##
1641 ## File substitutions. ##
1642 ## ------------------- ##"
1643 echo
1644 for ac_var in $ac_subst_files
1646 eval ac_val=\$$ac_var
1647 case $ac_val in
1648 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 esac
1650 printf "%s\n" "$ac_var='\''$ac_val'\''"
1651 done | sort
1652 echo
1655 if test -s confdefs.h; then
1656 printf "%s\n" "## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##"
1659 echo
1660 cat confdefs.h
1661 echo
1663 test "$ac_signal" != 0 &&
1664 printf "%s\n" "$as_me: caught signal $ac_signal"
1665 printf "%s\n" "$as_me: exit $exit_status"
1666 } >&5
1667 rm -f core *.core core.conftest.* &&
1668 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1669 exit $exit_status
1671 for ac_signal in 1 2 13 15; do
1672 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1673 done
1674 ac_signal=0
1676 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1677 rm -f -r conftest* confdefs.h
1679 printf "%s\n" "/* confdefs.h */" > confdefs.h
1681 # Predefined preprocessor variables.
1683 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1685 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1687 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1689 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1691 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1693 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1696 # Let the site file select an alternate cache file if it wants to.
1697 # Prefer an explicitly selected file to automatically selected ones.
1698 if test -n "$CONFIG_SITE"; then
1699 ac_site_files="$CONFIG_SITE"
1700 elif test "x$prefix" != xNONE; then
1701 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1702 else
1703 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1706 for ac_site_file in $ac_site_files
1708 case $ac_site_file in #(
1709 */*) :
1710 ;; #(
1711 *) :
1712 ac_site_file=./$ac_site_file ;;
1713 esac
1714 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1716 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1717 sed 's/^/| /' "$ac_site_file" >&5
1718 . "$ac_site_file" \
1719 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1720 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1721 as_fn_error $? "failed to load site script $ac_site_file
1722 See \`config.log' for more details" "$LINENO" 5; }
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special files
1728 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1729 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1731 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1739 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1744 # Auxiliary files required by this configure script.
1745 ac_aux_files="missing install-sh"
1747 # Locations in which to look for auxiliary files.
1748 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1750 # Search for a directory containing all of the required auxiliary files,
1751 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1752 # If we don't find one directory that contains all the files we need,
1753 # we report the set of missing files from the *first* directory in
1754 # $ac_aux_dir_candidates and give up.
1755 ac_missing_aux_files=""
1756 ac_first_candidate=:
1757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 as_found=false
1760 for as_dir in $ac_aux_dir_candidates
1762 IFS=$as_save_IFS
1763 case $as_dir in #(((
1764 '') as_dir=./ ;;
1765 */) ;;
1766 *) as_dir=$as_dir/ ;;
1767 esac
1768 as_found=:
1770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1771 ac_aux_dir_found=yes
1772 ac_install_sh=
1773 for ac_aux in $ac_aux_files
1775 # As a special case, if "install-sh" is required, that requirement
1776 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1777 # and $ac_install_sh is set appropriately for whichever one is found.
1778 if test x"$ac_aux" = x"install-sh"
1779 then
1780 if test -f "${as_dir}install-sh"; then
1781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1782 ac_install_sh="${as_dir}install-sh -c"
1783 elif test -f "${as_dir}install.sh"; then
1784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1785 ac_install_sh="${as_dir}install.sh -c"
1786 elif test -f "${as_dir}shtool"; then
1787 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1788 ac_install_sh="${as_dir}shtool install -c"
1789 else
1790 ac_aux_dir_found=no
1791 if $ac_first_candidate; then
1792 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1793 else
1794 break
1797 else
1798 if test -f "${as_dir}${ac_aux}"; then
1799 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1800 else
1801 ac_aux_dir_found=no
1802 if $ac_first_candidate; then
1803 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1804 else
1805 break
1809 done
1810 if test "$ac_aux_dir_found" = yes; then
1811 ac_aux_dir="$as_dir"
1812 break
1814 ac_first_candidate=false
1816 as_found=false
1817 done
1818 IFS=$as_save_IFS
1819 if $as_found
1820 then :
1822 else $as_nop
1823 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1827 # These three variables are undocumented and unsupported,
1828 # and are intended to be withdrawn in a future Autoconf release.
1829 # They can cause serious problems if a builder's source tree is in a directory
1830 # whose full name contains unusual characters.
1831 if test -f "${ac_aux_dir}config.guess"; then
1832 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1834 if test -f "${ac_aux_dir}config.sub"; then
1835 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1837 if test -f "$ac_aux_dir/configure"; then
1838 ac_configure="$SHELL ${ac_aux_dir}configure"
1841 # Check that the precious variables saved in the cache have kept the same
1842 # value.
1843 ac_cache_corrupted=false
1844 for ac_var in $ac_precious_vars; do
1845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1846 eval ac_new_set=\$ac_env_${ac_var}_set
1847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1848 eval ac_new_val=\$ac_env_${ac_var}_value
1849 case $ac_old_set,$ac_new_set in
1850 set,)
1851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1852 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1853 ac_cache_corrupted=: ;;
1854 ,set)
1855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1856 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1857 ac_cache_corrupted=: ;;
1858 ,);;
1860 if test "x$ac_old_val" != "x$ac_new_val"; then
1861 # differences in whitespace do not lead to failure.
1862 ac_old_val_w=`echo x $ac_old_val`
1863 ac_new_val_w=`echo x $ac_new_val`
1864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1866 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1867 ac_cache_corrupted=:
1868 else
1869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1870 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1871 eval $ac_var=\$ac_old_val
1873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1874 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1876 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1877 fi;;
1878 esac
1879 # Pass precious variables to config.status.
1880 if test "$ac_new_set" = set; then
1881 case $ac_new_val in
1882 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1883 *) ac_arg=$ac_var=$ac_new_val ;;
1884 esac
1885 case " $ac_configure_args " in
1886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1888 esac
1890 done
1891 if $ac_cache_corrupted; then
1892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1893 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1895 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1896 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1897 and start over" "$LINENO" 5
1899 ## -------------------- ##
1900 ## Main body of script. ##
1901 ## -------------------- ##
1903 ac_ext=c
1904 ac_cpp='$CPP $CPPFLAGS'
1905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 am__api_version='1.16'
1914 # Find a good install program. We prefer a C program (faster),
1915 # so one script is as good as another. But avoid the broken or
1916 # incompatible versions:
1917 # SysV /etc/install, /usr/sbin/install
1918 # SunOS /usr/etc/install
1919 # IRIX /sbin/install
1920 # AIX /bin/install
1921 # AmigaOS /C/install, which installs bootblocks on floppy discs
1922 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1923 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1924 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1925 # OS/2's system install, which has a completely different semantic
1926 # ./install, which can be erroneously created by make from ./install.sh.
1927 # Reject install programs that cannot install multiple files.
1928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1929 printf %s "checking for a BSD-compatible install... " >&6; }
1930 if test -z "$INSTALL"; then
1931 if test ${ac_cv_path_install+y}
1932 then :
1933 printf %s "(cached) " >&6
1934 else $as_nop
1935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 for as_dir in $PATH
1938 IFS=$as_save_IFS
1939 case $as_dir in #(((
1940 '') as_dir=./ ;;
1941 */) ;;
1942 *) as_dir=$as_dir/ ;;
1943 esac
1944 # Account for fact that we put trailing slashes in our PATH walk.
1945 case $as_dir in #((
1946 ./ | /[cC]/* | \
1947 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1948 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1949 /usr/ucb/* ) ;;
1951 # OSF1 and SCO ODT 3.0 have their own names for install.
1952 # Don't use installbsd from OSF since it installs stuff as root
1953 # by default.
1954 for ac_prog in ginstall scoinst install; do
1955 for ac_exec_ext in '' $ac_executable_extensions; do
1956 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1957 if test $ac_prog = install &&
1958 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1959 # AIX install. It has an incompatible calling convention.
1961 elif test $ac_prog = install &&
1962 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1963 # program-specific install script used by HP pwplus--don't use.
1965 else
1966 rm -rf conftest.one conftest.two conftest.dir
1967 echo one > conftest.one
1968 echo two > conftest.two
1969 mkdir conftest.dir
1970 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1971 test -s conftest.one && test -s conftest.two &&
1972 test -s conftest.dir/conftest.one &&
1973 test -s conftest.dir/conftest.two
1974 then
1975 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1976 break 3
1980 done
1981 done
1983 esac
1985 done
1986 IFS=$as_save_IFS
1988 rm -rf conftest.one conftest.two conftest.dir
1991 if test ${ac_cv_path_install+y}; then
1992 INSTALL=$ac_cv_path_install
1993 else
1994 # As a last resort, use the slow shell script. Don't cache a
1995 # value for INSTALL within a source directory, because that will
1996 # break other packages using the cache if that directory is
1997 # removed, or if the value is a relative name.
1998 INSTALL=$ac_install_sh
2001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2002 printf "%s\n" "$INSTALL" >&6; }
2004 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2005 # It thinks the first close brace ends the variable substitution.
2006 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2008 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2010 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2013 printf %s "checking whether build environment is sane... " >&6; }
2014 # Reject unsafe characters in $srcdir or the absolute working directory
2015 # name. Accept space and tab only in the latter.
2016 am_lf='
2018 case `pwd` in
2019 *[\\\"\#\$\&\'\`$am_lf]*)
2020 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2021 esac
2022 case $srcdir in
2023 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2024 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2025 esac
2027 # Do 'set' in a subshell so we don't clobber the current shell's
2028 # arguments. Must try -L first in case configure is actually a
2029 # symlink; some systems play weird games with the mod time of symlinks
2030 # (eg FreeBSD returns the mod time of the symlink's containing
2031 # directory).
2032 if (
2033 am_has_slept=no
2034 for am_try in 1 2; do
2035 echo "timestamp, slept: $am_has_slept" > conftest.file
2036 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2037 if test "$*" = "X"; then
2038 # -L didn't work.
2039 set X `ls -t "$srcdir/configure" conftest.file`
2041 if test "$*" != "X $srcdir/configure conftest.file" \
2042 && test "$*" != "X conftest.file $srcdir/configure"; then
2044 # If neither matched, then we have a broken ls. This can happen
2045 # if, for instance, CONFIG_SHELL is bash and it inherits a
2046 # broken ls alias from the environment. This has actually
2047 # happened. Such a system could not be considered "sane".
2048 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2049 alias in your environment" "$LINENO" 5
2051 if test "$2" = conftest.file || test $am_try -eq 2; then
2052 break
2054 # Just in case.
2055 sleep 1
2056 am_has_slept=yes
2057 done
2058 test "$2" = conftest.file
2060 then
2061 # Ok.
2063 else
2064 as_fn_error $? "newly created file is older than distributed files!
2065 Check your system clock" "$LINENO" 5
2067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2068 printf "%s\n" "yes" >&6; }
2069 # If we didn't sleep, we still need to ensure time stamps of config.status and
2070 # generated files are strictly newer.
2071 am_sleep_pid=
2072 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2073 ( sleep 1 ) &
2074 am_sleep_pid=$!
2077 rm -f conftest.file
2079 test "$program_prefix" != NONE &&
2080 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2081 # Use a double $ so make ignores it.
2082 test "$program_suffix" != NONE &&
2083 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2084 # Double any \ or $.
2085 # By default was `s,x,x', remove it if useless.
2086 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2087 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2090 # Expand $ac_aux_dir to an absolute path.
2091 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2094 if test x"${MISSING+set}" != xset; then
2095 MISSING="\${SHELL} '$am_aux_dir/missing'"
2097 # Use eval to expand $SHELL
2098 if eval "$MISSING --is-lightweight"; then
2099 am_missing_run="$MISSING "
2100 else
2101 am_missing_run=
2102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2103 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2106 if test x"${install_sh+set}" != xset; then
2107 case $am_aux_dir in
2108 *\ * | *\ *)
2109 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2111 install_sh="\${SHELL} $am_aux_dir/install-sh"
2112 esac
2115 # Installed binaries are usually stripped using 'strip' when the user
2116 # run "make install-strip". However 'strip' might not be the right
2117 # tool to use in cross-compilation environments, therefore Automake
2118 # will honor the 'STRIP' environment variable to overrule this program.
2119 if test "$cross_compiling" != no; then
2120 if test -n "$ac_tool_prefix"; then
2121 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2122 set dummy ${ac_tool_prefix}strip; ac_word=$2
2123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2124 printf %s "checking for $ac_word... " >&6; }
2125 if test ${ac_cv_prog_STRIP+y}
2126 then :
2127 printf %s "(cached) " >&6
2128 else $as_nop
2129 if test -n "$STRIP"; then
2130 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2131 else
2132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133 for as_dir in $PATH
2135 IFS=$as_save_IFS
2136 case $as_dir in #(((
2137 '') as_dir=./ ;;
2138 */) ;;
2139 *) as_dir=$as_dir/ ;;
2140 esac
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2143 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2144 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2145 break 2
2147 done
2148 done
2149 IFS=$as_save_IFS
2153 STRIP=$ac_cv_prog_STRIP
2154 if test -n "$STRIP"; then
2155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2156 printf "%s\n" "$STRIP" >&6; }
2157 else
2158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2159 printf "%s\n" "no" >&6; }
2164 if test -z "$ac_cv_prog_STRIP"; then
2165 ac_ct_STRIP=$STRIP
2166 # Extract the first word of "strip", so it can be a program name with args.
2167 set dummy strip; ac_word=$2
2168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2169 printf %s "checking for $ac_word... " >&6; }
2170 if test ${ac_cv_prog_ac_ct_STRIP+y}
2171 then :
2172 printf %s "(cached) " >&6
2173 else $as_nop
2174 if test -n "$ac_ct_STRIP"; then
2175 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2176 else
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 for as_dir in $PATH
2180 IFS=$as_save_IFS
2181 case $as_dir in #(((
2182 '') as_dir=./ ;;
2183 */) ;;
2184 *) as_dir=$as_dir/ ;;
2185 esac
2186 for ac_exec_ext in '' $ac_executable_extensions; do
2187 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2188 ac_cv_prog_ac_ct_STRIP="strip"
2189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2190 break 2
2192 done
2193 done
2194 IFS=$as_save_IFS
2198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2199 if test -n "$ac_ct_STRIP"; then
2200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2201 printf "%s\n" "$ac_ct_STRIP" >&6; }
2202 else
2203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2204 printf "%s\n" "no" >&6; }
2207 if test "x$ac_ct_STRIP" = x; then
2208 STRIP=":"
2209 else
2210 case $cross_compiling:$ac_tool_warned in
2211 yes:)
2212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2213 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2214 ac_tool_warned=yes ;;
2215 esac
2216 STRIP=$ac_ct_STRIP
2218 else
2219 STRIP="$ac_cv_prog_STRIP"
2223 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2227 printf %s "checking for a race-free mkdir -p... " >&6; }
2228 if test -z "$MKDIR_P"; then
2229 if test ${ac_cv_path_mkdir+y}
2230 then :
2231 printf %s "(cached) " >&6
2232 else $as_nop
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2234 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2236 IFS=$as_save_IFS
2237 case $as_dir in #(((
2238 '') as_dir=./ ;;
2239 */) ;;
2240 *) as_dir=$as_dir/ ;;
2241 esac
2242 for ac_prog in mkdir gmkdir; do
2243 for ac_exec_ext in '' $ac_executable_extensions; do
2244 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2245 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2246 'mkdir ('*'coreutils) '* | \
2247 'BusyBox '* | \
2248 'mkdir (fileutils) '4.1*)
2249 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2250 break 3;;
2251 esac
2252 done
2253 done
2254 done
2255 IFS=$as_save_IFS
2259 test -d ./--version && rmdir ./--version
2260 if test ${ac_cv_path_mkdir+y}; then
2261 MKDIR_P="$ac_cv_path_mkdir -p"
2262 else
2263 # As a last resort, use the slow shell script. Don't cache a
2264 # value for MKDIR_P within a source directory, because that will
2265 # break other packages using the cache if that directory is
2266 # removed, or if the value is a relative name.
2267 MKDIR_P="$ac_install_sh -d"
2270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2271 printf "%s\n" "$MKDIR_P" >&6; }
2273 for ac_prog in gawk mawk nawk awk
2275 # Extract the first word of "$ac_prog", so it can be a program name with args.
2276 set dummy $ac_prog; ac_word=$2
2277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2278 printf %s "checking for $ac_word... " >&6; }
2279 if test ${ac_cv_prog_AWK+y}
2280 then :
2281 printf %s "(cached) " >&6
2282 else $as_nop
2283 if test -n "$AWK"; then
2284 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2285 else
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 for as_dir in $PATH
2289 IFS=$as_save_IFS
2290 case $as_dir in #(((
2291 '') as_dir=./ ;;
2292 */) ;;
2293 *) as_dir=$as_dir/ ;;
2294 esac
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_AWK="$ac_prog"
2298 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2299 break 2
2301 done
2302 done
2303 IFS=$as_save_IFS
2307 AWK=$ac_cv_prog_AWK
2308 if test -n "$AWK"; then
2309 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2310 printf "%s\n" "$AWK" >&6; }
2311 else
2312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2313 printf "%s\n" "no" >&6; }
2317 test -n "$AWK" && break
2318 done
2320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2321 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2322 set x ${MAKE-make}
2323 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2324 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2325 then :
2326 printf %s "(cached) " >&6
2327 else $as_nop
2328 cat >conftest.make <<\_ACEOF
2329 SHELL = /bin/sh
2330 all:
2331 @echo '@@@%%%=$(MAKE)=@@@%%%'
2332 _ACEOF
2333 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2335 *@@@%%%=?*=@@@%%%*)
2336 eval ac_cv_prog_make_${ac_make}_set=yes;;
2338 eval ac_cv_prog_make_${ac_make}_set=no;;
2339 esac
2340 rm -f conftest.make
2342 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2344 printf "%s\n" "yes" >&6; }
2345 SET_MAKE=
2346 else
2347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2348 printf "%s\n" "no" >&6; }
2349 SET_MAKE="MAKE=${MAKE-make}"
2352 rm -rf .tst 2>/dev/null
2353 mkdir .tst 2>/dev/null
2354 if test -d .tst; then
2355 am__leading_dot=.
2356 else
2357 am__leading_dot=_
2359 rmdir .tst 2>/dev/null
2361 # Check whether --enable-silent-rules was given.
2362 if test ${enable_silent_rules+y}
2363 then :
2364 enableval=$enable_silent_rules;
2367 case $enable_silent_rules in # (((
2368 yes) AM_DEFAULT_VERBOSITY=0;;
2369 no) AM_DEFAULT_VERBOSITY=1;;
2370 *) AM_DEFAULT_VERBOSITY=1;;
2371 esac
2372 am_make=${MAKE-make}
2373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2374 printf %s "checking whether $am_make supports nested variables... " >&6; }
2375 if test ${am_cv_make_support_nested_variables+y}
2376 then :
2377 printf %s "(cached) " >&6
2378 else $as_nop
2379 if printf "%s\n" 'TRUE=$(BAR$(V))
2380 BAR0=false
2381 BAR1=true
2383 am__doit:
2384 @$(TRUE)
2385 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2386 am_cv_make_support_nested_variables=yes
2387 else
2388 am_cv_make_support_nested_variables=no
2391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2392 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2393 if test $am_cv_make_support_nested_variables = yes; then
2394 AM_V='$(V)'
2395 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2396 else
2397 AM_V=$AM_DEFAULT_VERBOSITY
2398 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2400 AM_BACKSLASH='\'
2402 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2403 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2404 # is not polluted with repeated "-I."
2405 am__isrc=' -I$(srcdir)'
2406 # test to see if srcdir already configured
2407 if test -f $srcdir/config.status; then
2408 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2412 # test whether we have cygpath
2413 if test -z "$CYGPATH_W"; then
2414 if (cygpath --version) >/dev/null 2>/dev/null; then
2415 CYGPATH_W='cygpath -w'
2416 else
2417 CYGPATH_W=echo
2422 # Define the identity of the package.
2423 PACKAGE='pic14lib'
2424 VERSION='0.1'
2427 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2430 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2432 # Some tools Automake needs.
2434 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2437 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2440 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2443 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2446 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2448 # For better backward compatibility. To be removed once Automake 1.9.x
2449 # dies out for good. For more background, see:
2450 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2451 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2452 mkdir_p='$(MKDIR_P)'
2454 # We need awk for the "check" target (and possibly the TAP driver). The
2455 # system "awk" is bad on some platforms.
2456 # Always define AMTAR for backward compatibility. Yes, it's still used
2457 # in the wild :-( We should find a proper way to deprecate it ...
2458 AMTAR='$${TAR-tar}'
2461 # We'll loop over all known methods to create a tar archive until one works.
2462 _am_tools='gnutar pax cpio none'
2464 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2470 # Variables for tags utilities; see am/tags.am
2471 if test -z "$CTAGS"; then
2472 CTAGS=ctags
2475 if test -z "$ETAGS"; then
2476 ETAGS=etags
2479 if test -z "$CSCOPE"; then
2480 CSCOPE=cscope
2485 # POSIX will say in a future version that running "rm -f" with no argument
2486 # is OK; and we want to be able to make that assumption in our Makefile
2487 # recipes. So use an aggressive probe to check that the usage we want is
2488 # actually supported "in the wild" to an acceptable degree.
2489 # See automake bug#10828.
2490 # To make any issue more visible, cause the running configure to be aborted
2491 # by default if the 'rm' program in use doesn't match our expectations; the
2492 # user can still override this though.
2493 if rm -f && rm -fr && rm -rf; then : OK; else
2494 cat >&2 <<'END'
2495 Oops!
2497 Your 'rm' program seems unable to run without file operands specified
2498 on the command line, even when the '-f' option is present. This is contrary
2499 to the behaviour of most rm programs out there, and not conforming with
2500 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2502 Please tell bug-automake@gnu.org about your system, including the value
2503 of your $PATH and any error possibly output before this message. This
2504 can help us improve future automake versions.
2507 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2508 echo 'Configuration will proceed anyway, since you have set the' >&2
2509 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2510 echo >&2
2511 else
2512 cat >&2 <<'END'
2513 Aborting the configuration process, to ensure you take notice of the issue.
2515 You can download and install GNU coreutils to get an 'rm' implementation
2516 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2518 If you want to complete the configuration process using your problematic
2519 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2520 to "yes", and re-run configure.
2523 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2528 ac_config_headers="$ac_config_headers config.h"
2532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2533 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2534 # Check whether --enable-maintainer-mode was given.
2535 if test ${enable_maintainer_mode+y}
2536 then :
2537 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2538 else $as_nop
2539 USE_MAINTAINER_MODE=no
2542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2543 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
2544 if test $USE_MAINTAINER_MODE = yes; then
2545 MAINTAINER_MODE_TRUE=
2546 MAINTAINER_MODE_FALSE='#'
2547 else
2548 MAINTAINER_MODE_TRUE='#'
2549 MAINTAINER_MODE_FALSE=
2552 MAINT=$MAINTAINER_MODE_TRUE
2556 # SDCC setup
2557 case $srcdir in
2558 \\/*|?:\\/*) abs_srcdir="$srcdir";
2560 *) abs_srcdir="$ac_pwd/$srcdir";
2562 esac
2563 case $ac_top_build_prefix in
2564 \\/*|?:\\/*)
2565 abs_top_builddir="$ac_top_build_prefix";
2567 *) abs_top_builddir="$ac_pwd/$ac_top_build_prefix";
2569 esac
2571 libdir=$libdir/pic14
2573 # Checks for programs.
2574 # The default architectures (regular and enhanced cores) can be selected at
2575 # configure time by setting the environment variables ARCH and/or EARCH to
2576 # the desired device (16fxxx).
2577 ARCH=${ARCH:-16f877}
2579 # Previous default setting for EARCH was 16f1934, but gpsim doesn't support it.
2580 # It should be used the device with larger ROM and RAM sizes.
2581 EARCH=${EARCH:-16f1788}
2584 # We cannot use AC_PROG_CC(sdcc) as sdcc might not be built at configure-time...
2585 CC=\'$abs_top_builddir/../../../bin/sdcc\'
2587 # Extract the first word of "gpasm", so it can be a program name with args.
2588 set dummy gpasm; ac_word=$2
2589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2590 printf %s "checking for $ac_word... " >&6; }
2591 if test ${ac_cv_path_CCAS+y}
2592 then :
2593 printf %s "(cached) " >&6
2594 else $as_nop
2595 case $CCAS in
2596 [\\/]* | ?:[\\/]*)
2597 ac_cv_path_CCAS="$CCAS" # Let the user override the test with a path.
2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601 for as_dir in $PATH
2603 IFS=$as_save_IFS
2604 case $as_dir in #(((
2605 '') as_dir=./ ;;
2606 */) ;;
2607 *) as_dir=$as_dir/ ;;
2608 esac
2609 for ac_exec_ext in '' $ac_executable_extensions; do
2610 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2611 ac_cv_path_CCAS="$as_dir$ac_word$ac_exec_ext"
2612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2613 break 2
2615 done
2616 done
2617 IFS=$as_save_IFS
2619 test -z "$ac_cv_path_CCAS" && ac_cv_path_CCAS=":"
2621 esac
2623 CCAS=$ac_cv_path_CCAS
2624 if test -n "$CCAS"; then
2625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CCAS" >&5
2626 printf "%s\n" "$CCAS" >&6; }
2627 else
2628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2629 printf "%s\n" "no" >&6; }
2633 # Extract the first word of "gplink", so it can be a program name with args.
2634 set dummy gplink; ac_word=$2
2635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2636 printf %s "checking for $ac_word... " >&6; }
2637 if test ${ac_cv_path_LD+y}
2638 then :
2639 printf %s "(cached) " >&6
2640 else $as_nop
2641 case $LD in
2642 [\\/]* | ?:[\\/]*)
2643 ac_cv_path_LD="$LD" # Let the user override the test with a path.
2646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 for as_dir in $PATH
2649 IFS=$as_save_IFS
2650 case $as_dir in #(((
2651 '') as_dir=./ ;;
2652 */) ;;
2653 *) as_dir=$as_dir/ ;;
2654 esac
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2657 ac_cv_path_LD="$as_dir$ac_word$ac_exec_ext"
2658 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2659 break 2
2661 done
2662 done
2663 IFS=$as_save_IFS
2665 test -z "$ac_cv_path_LD" && ac_cv_path_LD=":"
2667 esac
2669 LD=$ac_cv_path_LD
2670 if test -n "$LD"; then
2671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
2672 printf "%s\n" "$LD" >&6; }
2673 else
2674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 printf "%s\n" "no" >&6; }
2679 # Extract the first word of "gplib", so it can be a program name with args.
2680 set dummy gplib; ac_word=$2
2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 printf %s "checking for $ac_word... " >&6; }
2683 if test ${ac_cv_path_AR+y}
2684 then :
2685 printf %s "(cached) " >&6
2686 else $as_nop
2687 case $AR in
2688 [\\/]* | ?:[\\/]*)
2689 ac_cv_path_AR="$AR" # Let the user override the test with a path.
2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2693 for as_dir in $PATH
2695 IFS=$as_save_IFS
2696 case $as_dir in #(((
2697 '') as_dir=./ ;;
2698 */) ;;
2699 *) as_dir=$as_dir/ ;;
2700 esac
2701 for ac_exec_ext in '' $ac_executable_extensions; do
2702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2703 ac_cv_path_AR="$as_dir$ac_word$ac_exec_ext"
2704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2705 break 2
2707 done
2708 done
2709 IFS=$as_save_IFS
2711 test -z "$ac_cv_path_AR" && ac_cv_path_AR=":"
2713 esac
2715 AR=$ac_cv_path_AR
2716 if test -n "$AR"; then
2717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
2718 printf "%s\n" "$AR" >&6; }
2719 else
2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 printf "%s\n" "no" >&6; }
2726 case ":$CCAS:$LD:$AR:" in
2727 *:::*)
2728 as_fn_error $? "gputils (gpasm, gplink, and gplib) are required but not found.
2729 Either install gputils or reconfigure with --disable-pic14-port and --disable-pic16-port." "$LINENO" 5
2731 esac;
2733 mCCAS="$CCAS"
2734 mLD="$LD"
2735 CFLAGS=""
2737 CCASFLAGS=""
2739 LDFLAGS="-m -l -w"
2741 ARFLAGS="-c"
2743 CCAS=\'$CCAS\'
2745 LD=\'$LD\'
2747 AR=\'$AR\'
2750 # $RANLIB is called by the autotools but not provided nor required
2751 RANLIB=:
2753 OBJEXT=o
2756 DEPDIR="${am__leading_dot}deps"
2758 ac_config_commands="$ac_config_commands depfiles"
2760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
2761 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
2762 cat > confinc.mk << 'END'
2763 am__doit:
2764 @echo this is the am__doit target >confinc.out
2765 .PHONY: am__doit
2767 am__include="#"
2768 am__quote=
2769 # BSD make does it like this.
2770 echo '.include "confinc.mk" # ignored' > confmf.BSD
2771 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
2772 echo 'include confinc.mk # ignored' > confmf.GNU
2773 _am_result=no
2774 for s in GNU BSD; do
2775 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
2776 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
2777 ac_status=$?
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); }
2780 case $?:`cat confinc.out 2>/dev/null` in #(
2781 '0:this is the am__doit target') :
2782 case $s in #(
2783 BSD) :
2784 am__include='.include' am__quote='"' ;; #(
2785 *) :
2786 am__include='include' am__quote='' ;;
2787 esac ;; #(
2788 *) :
2790 esac
2791 if test "$am__include" != "#"; then
2792 _am_result="yes ($s style)"
2793 break
2795 done
2796 rm -f confinc.* confmf.*
2797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
2798 printf "%s\n" "${_am_result}" >&6; }
2800 # Check whether --enable-dependency-tracking was given.
2801 if test ${enable_dependency_tracking+y}
2802 then :
2803 enableval=$enable_dependency_tracking;
2806 if test "x$enable_dependency_tracking" != xno; then
2807 am_depcomp="$ac_aux_dir/depcomp"
2808 AMDEPBACKSLASH='\'
2809 am__nodep='_no'
2811 if test "x$enable_dependency_tracking" != xno; then
2812 AMDEP_TRUE=
2813 AMDEP_FALSE='#'
2814 else
2815 AMDEP_TRUE='#'
2816 AMDEP_FALSE=
2821 depcc="$CC" am_compiler_list=
2823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2824 printf %s "checking dependency style of $depcc... " >&6; }
2825 if test ${am_cv_CC_dependencies_compiler_type+y}
2826 then :
2827 printf %s "(cached) " >&6
2828 else $as_nop
2829 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2830 # We make a subdir and do the tests there. Otherwise we can end up
2831 # making bogus files that we don't know about and never remove. For
2832 # instance it was reported that on HP-UX the gcc test will end up
2833 # making a dummy file named 'D' -- because '-MD' means "put the output
2834 # in D".
2835 rm -rf conftest.dir
2836 mkdir conftest.dir
2837 # Copy depcomp to subdir because otherwise we won't find it if we're
2838 # using a relative directory.
2839 cp "$am_depcomp" conftest.dir
2840 cd conftest.dir
2841 # We will build objects and dependencies in a subdirectory because
2842 # it helps to detect inapplicable dependency modes. For instance
2843 # both Tru64's cc and ICC support -MD to output dependencies as a
2844 # side effect of compilation, but ICC will put the dependencies in
2845 # the current directory while Tru64 will put them in the object
2846 # directory.
2847 mkdir sub
2849 am_cv_CC_dependencies_compiler_type=none
2850 if test "$am_compiler_list" = ""; then
2851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2853 am__universal=false
2854 case " $depcc " in #(
2855 *\ -arch\ *\ -arch\ *) am__universal=true ;;
2856 esac
2858 for depmode in $am_compiler_list; do
2859 # Setup a source with many dependencies, because some compilers
2860 # like to wrap large dependency lists on column 80 (with \), and
2861 # we should not choose a depcomp mode which is confused by this.
2863 # We need to recreate these files for each test, as the compiler may
2864 # overwrite some of them when testing with obscure command lines.
2865 # This happens at least with the AIX C compiler.
2866 : > sub/conftest.c
2867 for i in 1 2 3 4 5 6; do
2868 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2869 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
2870 # Solaris 10 /bin/sh.
2871 echo '/* dummy */' > sub/conftst$i.h
2872 done
2873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2875 # We check with '-c' and '-o' for the sake of the "dashmstdout"
2876 # mode. It turns out that the SunPro C++ compiler does not properly
2877 # handle '-M -o', and we need to detect this. Also, some Intel
2878 # versions had trouble with output in subdirs.
2879 am__obj=sub/conftest.${OBJEXT-o}
2880 am__minus_obj="-o $am__obj"
2881 case $depmode in
2882 gcc)
2883 # This depmode causes a compiler race in universal mode.
2884 test "$am__universal" = false || continue
2886 nosideeffect)
2887 # After this tag, mechanisms are not by side-effect, so they'll
2888 # only be used when explicitly requested.
2889 if test "x$enable_dependency_tracking" = xyes; then
2890 continue
2891 else
2892 break
2895 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
2896 # This compiler won't grok '-c -o', but also, the minuso test has
2897 # not run yet. These depmodes are late enough in the game, and
2898 # so weak that their functioning should not be impacted.
2899 am__obj=conftest.${OBJEXT-o}
2900 am__minus_obj=
2902 none) break ;;
2903 esac
2904 if depmode=$depmode \
2905 source=sub/conftest.c object=$am__obj \
2906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2907 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
2908 >/dev/null 2>conftest.err &&
2909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
2910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2911 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
2912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2913 # icc doesn't choke on unknown options, it will just issue warnings
2914 # or remarks (even with -Werror). So we grep stderr for any message
2915 # that says an option was ignored or not supported.
2916 # When given -MP, icc 7.0 and 7.1 complain thusly:
2917 # icc: Command line warning: ignoring option '-M'; no argument required
2918 # The diagnosis changed in icc 8.0:
2919 # icc: Command line remark: option '-MP' not supported
2920 if (grep 'ignoring option' conftest.err ||
2921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2922 am_cv_CC_dependencies_compiler_type=$depmode
2923 break
2926 done
2928 cd ..
2929 rm -rf conftest.dir
2930 else
2931 am_cv_CC_dependencies_compiler_type=none
2935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
2936 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
2937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2940 test "x$enable_dependency_tracking" != xno \
2941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2942 am__fastdepCC_TRUE=
2943 am__fastdepCC_FALSE='#'
2944 else
2945 am__fastdepCC_TRUE='#'
2946 am__fastdepCC_FALSE=
2951 depcc="$CCAS" am_compiler_list=
2953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
2954 printf %s "checking dependency style of $depcc... " >&6; }
2955 if test ${am_cv_CCAS_dependencies_compiler_type+y}
2956 then :
2957 printf %s "(cached) " >&6
2958 else $as_nop
2959 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2960 # We make a subdir and do the tests there. Otherwise we can end up
2961 # making bogus files that we don't know about and never remove. For
2962 # instance it was reported that on HP-UX the gcc test will end up
2963 # making a dummy file named 'D' -- because '-MD' means "put the output
2964 # in D".
2965 rm -rf conftest.dir
2966 mkdir conftest.dir
2967 # Copy depcomp to subdir because otherwise we won't find it if we're
2968 # using a relative directory.
2969 cp "$am_depcomp" conftest.dir
2970 cd conftest.dir
2971 # We will build objects and dependencies in a subdirectory because
2972 # it helps to detect inapplicable dependency modes. For instance
2973 # both Tru64's cc and ICC support -MD to output dependencies as a
2974 # side effect of compilation, but ICC will put the dependencies in
2975 # the current directory while Tru64 will put them in the object
2976 # directory.
2977 mkdir sub
2979 am_cv_CCAS_dependencies_compiler_type=none
2980 if test "$am_compiler_list" = ""; then
2981 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2983 am__universal=false
2986 for depmode in $am_compiler_list; do
2987 # Setup a source with many dependencies, because some compilers
2988 # like to wrap large dependency lists on column 80 (with \), and
2989 # we should not choose a depcomp mode which is confused by this.
2991 # We need to recreate these files for each test, as the compiler may
2992 # overwrite some of them when testing with obscure command lines.
2993 # This happens at least with the AIX C compiler.
2994 : > sub/conftest.c
2995 for i in 1 2 3 4 5 6; do
2996 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2997 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
2998 # Solaris 10 /bin/sh.
2999 echo '/* dummy */' > sub/conftst$i.h
3000 done
3001 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3003 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3004 # mode. It turns out that the SunPro C++ compiler does not properly
3005 # handle '-M -o', and we need to detect this. Also, some Intel
3006 # versions had trouble with output in subdirs.
3007 am__obj=sub/conftest.${OBJEXT-o}
3008 am__minus_obj="-o $am__obj"
3009 case $depmode in
3010 gcc)
3011 # This depmode causes a compiler race in universal mode.
3012 test "$am__universal" = false || continue
3014 nosideeffect)
3015 # After this tag, mechanisms are not by side-effect, so they'll
3016 # only be used when explicitly requested.
3017 if test "x$enable_dependency_tracking" = xyes; then
3018 continue
3019 else
3020 break
3023 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3024 # This compiler won't grok '-c -o', but also, the minuso test has
3025 # not run yet. These depmodes are late enough in the game, and
3026 # so weak that their functioning should not be impacted.
3027 am__obj=conftest.${OBJEXT-o}
3028 am__minus_obj=
3030 none) break ;;
3031 esac
3032 if depmode=$depmode \
3033 source=sub/conftest.c object=$am__obj \
3034 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3035 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3036 >/dev/null 2>conftest.err &&
3037 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3038 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3039 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3040 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3041 # icc doesn't choke on unknown options, it will just issue warnings
3042 # or remarks (even with -Werror). So we grep stderr for any message
3043 # that says an option was ignored or not supported.
3044 # When given -MP, icc 7.0 and 7.1 complain thusly:
3045 # icc: Command line warning: ignoring option '-M'; no argument required
3046 # The diagnosis changed in icc 8.0:
3047 # icc: Command line remark: option '-MP' not supported
3048 if (grep 'ignoring option' conftest.err ||
3049 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3050 am_cv_CCAS_dependencies_compiler_type=$depmode
3051 break
3054 done
3056 cd ..
3057 rm -rf conftest.dir
3058 else
3059 am_cv_CCAS_dependencies_compiler_type=none
3063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
3064 printf "%s\n" "$am_cv_CCAS_dependencies_compiler_type" >&6; }
3065 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
3068 test "x$enable_dependency_tracking" != xno \
3069 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
3070 am__fastdepCCAS_TRUE=
3071 am__fastdepCCAS_FALSE='#'
3072 else
3073 am__fastdepCCAS_TRUE='#'
3074 am__fastdepCCAS_FALSE=
3079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gputils support enhanced cores" >&5
3080 printf %s "checking whether gputils support enhanced cores... " >&6; }
3081 # Check support for enhanced pic cores.
3082 ENABLE_ENHANCED_PICS="no"
3083 CHECK=".checkdevices/check"
3084 mkdir -p .checkdevices
3085 printf ' include "p%s.inc"\n END\n' "${EARCH}" > "${CHECK}.asm"
3086 if "$mCCAS" -p${EARCH} -o "${CHECK}.o" -c "${CHECK}.asm" >/dev/null 2>&1 && "$mLD" "${CHECK}.o" >/dev/null 2>&1; then
3087 ENABLE_ENHANCED_PICS="yes"
3089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_ENHANCED_PICS" >&5
3090 printf "%s\n" "$ENABLE_ENHANCED_PICS" >&6; }
3091 if test x$ENABLE_ENHANCED_PICS = xyes ; then
3092 ENABLE_ENHANCED_PICS_TRUE=
3093 ENABLE_ENHANCED_PICS_FALSE='#'
3094 else
3095 ENABLE_ENHANCED_PICS_TRUE='#'
3096 ENABLE_ENHANCED_PICS_FALSE=
3100 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking wheter gputils support the extended instruction set" >&5
3101 printf %s "checking wheter gputils support the extended instruction set... " >&6; }
3102 ENABLE_EXTENDED_INSTRUCTIONS="no"
3103 printf ' include "p%s.inc"\n CODE\n ADDFSR FSR0, 4\n MOVIW FSR0++\n END\n' "${EARCH}" > "${CHECK}.asm"
3104 if "$mCCAS" -p${EARCH} -o "${CHECK}.o" -c "${CHECK}.asm" >/dev/null 2>&1 && "$mLD" "${CHECK}.o" >/dev/null 2>&1; then
3105 ENABLE_EXTENDED_INSTRUCTIONS="yes"
3107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ENABLE_EXTENDED_INSTRUCTIONS" >&5
3108 printf "%s\n" "$ENABLE_EXTENDED_INSTRUCTIONS" >&6; }
3109 if test x$ENABLE_EXTENDED_INSTRUCTIONS = xyes ; then
3110 ENABLE_EXTENDED_INSTRUCTIONS_TRUE=
3111 ENABLE_EXTENDED_INSTRUCTIONS_FALSE='#'
3112 else
3113 ENABLE_EXTENDED_INSTRUCTIONS_TRUE='#'
3114 ENABLE_EXTENDED_INSTRUCTIONS_FALSE=
3118 # default values for the following conditions
3119 : ${DEBUG:=0}
3120 : ${NOOPTS:=0}
3121 : ${EXPERIMENTAL:=0}
3123 # generate debug info during the build process
3124 if test x$DEBUG = x1 ; then
3125 ENABLE_DEBUG_TRUE=
3126 ENABLE_DEBUG_FALSE='#'
3127 else
3128 ENABLE_DEBUG_TRUE='#'
3129 ENABLE_DEBUG_FALSE=
3133 # build libraries with optimizations disabled
3134 if test x$NOOPTS = x1 ; then
3135 ENABLE_NOOPTS_TRUE=
3136 ENABLE_NOOPTS_FALSE='#'
3137 else
3138 ENABLE_NOOPTS_TRUE='#'
3139 ENABLE_NOOPTS_FALSE=
3143 # build libraries with experimental code enabled
3144 if test x$EXPERIMENTAL = x1 ; then
3145 ENABLE_EXPERIMENTAL_TRUE=
3146 ENABLE_EXPERIMENTAL_FALSE='#'
3147 else
3148 ENABLE_EXPERIMENTAL_TRUE='#'
3149 ENABLE_EXPERIMENTAL_FALSE=
3153 # Checks for libraries.
3155 # Checks for header files.
3157 # Checks for typedefs, structures, and compiler characteristics.
3159 # Checks for library functions.
3161 ac_config_files="$ac_config_files Makefile libsdcc/enhanced/Makefile libsdcc/enhanced-no-xinst/Makefile libsdcc/regular/Makefile libc/Makefile libm/Makefile"
3163 cat >confcache <<\_ACEOF
3164 # This file is a shell script that caches the results of configure
3165 # tests run on this system so they can be shared between configure
3166 # scripts and configure runs, see configure's option --config-cache.
3167 # It is not useful on other systems. If it contains results you don't
3168 # want to keep, you may remove or edit it.
3170 # config.status only pays attention to the cache file if you give it
3171 # the --recheck option to rerun configure.
3173 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3174 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3175 # following values.
3177 _ACEOF
3179 # The following way of writing the cache mishandles newlines in values,
3180 # but we know of no workaround that is simple, portable, and efficient.
3181 # So, we kill variables containing newlines.
3182 # Ultrix sh set writes to stderr and can't be redirected directly,
3183 # and sets the high bit in the cache file unless we assign to the vars.
3185 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3186 eval ac_val=\$$ac_var
3187 case $ac_val in #(
3188 *${as_nl}*)
3189 case $ac_var in #(
3190 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3191 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3192 esac
3193 case $ac_var in #(
3194 _ | IFS | as_nl) ;; #(
3195 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3196 *) { eval $ac_var=; unset $ac_var;} ;;
3197 esac ;;
3198 esac
3199 done
3201 (set) 2>&1 |
3202 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3203 *${as_nl}ac_space=\ *)
3204 # `set' does not quote correctly, so add quotes: double-quote
3205 # substitution turns \\\\ into \\, and sed turns \\ into \.
3206 sed -n \
3207 "s/'/'\\\\''/g;
3208 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3209 ;; #(
3211 # `set' quotes correctly as required by POSIX, so do not add quotes.
3212 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3214 esac |
3215 sort
3217 sed '
3218 /^ac_cv_env_/b end
3219 t clear
3220 :clear
3221 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
3222 t end
3223 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3224 :end' >>confcache
3225 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3226 if test -w "$cache_file"; then
3227 if test "x$cache_file" != "x/dev/null"; then
3228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3229 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
3230 if test ! -f "$cache_file" || test -h "$cache_file"; then
3231 cat confcache >"$cache_file"
3232 else
3233 case $cache_file in #(
3234 */* | ?:*)
3235 mv -f confcache "$cache_file"$$ &&
3236 mv -f "$cache_file"$$ "$cache_file" ;; #(
3238 mv -f confcache "$cache_file" ;;
3239 esac
3242 else
3243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3244 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
3247 rm -f confcache
3249 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3250 # Let make expand exec_prefix.
3251 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3253 DEFS=-DHAVE_CONFIG_H
3255 ac_libobjs=
3256 ac_ltlibobjs=
3258 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3259 # 1. Remove the extension, and $U if already installed.
3260 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3261 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
3262 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3263 # will be set to the directory where LIBOBJS objects are built.
3264 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3265 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3266 done
3267 LIBOBJS=$ac_libobjs
3269 LTLIBOBJS=$ac_ltlibobjs
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
3273 printf %s "checking that generated files are newer than configure... " >&6; }
3274 if test -n "$am_sleep_pid"; then
3275 # Hide warnings about reused PIDs.
3276 wait $am_sleep_pid 2>/dev/null
3278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
3279 printf "%s\n" "done" >&6; }
3281 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
3282 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
3283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3285 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3286 as_fn_error $? "conditional \"AMDEP\" was never defined.
3287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3289 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3290 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
3291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3293 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
3294 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
3295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3297 if test -z "${ENABLE_ENHANCED_PICS_TRUE}" && test -z "${ENABLE_ENHANCED_PICS_FALSE}"; then
3298 as_fn_error $? "conditional \"ENABLE_ENHANCED_PICS\" was never defined.
3299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3301 if test -z "${ENABLE_EXTENDED_INSTRUCTIONS_TRUE}" && test -z "${ENABLE_EXTENDED_INSTRUCTIONS_FALSE}"; then
3302 as_fn_error $? "conditional \"ENABLE_EXTENDED_INSTRUCTIONS\" was never defined.
3303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3305 if test -z "${ENABLE_DEBUG_TRUE}" && test -z "${ENABLE_DEBUG_FALSE}"; then
3306 as_fn_error $? "conditional \"ENABLE_DEBUG\" was never defined.
3307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3309 if test -z "${ENABLE_NOOPTS_TRUE}" && test -z "${ENABLE_NOOPTS_FALSE}"; then
3310 as_fn_error $? "conditional \"ENABLE_NOOPTS\" was never defined.
3311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3313 if test -z "${ENABLE_EXPERIMENTAL_TRUE}" && test -z "${ENABLE_EXPERIMENTAL_FALSE}"; then
3314 as_fn_error $? "conditional \"ENABLE_EXPERIMENTAL\" was never defined.
3315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3318 : "${CONFIG_STATUS=./config.status}"
3319 ac_write_fail=0
3320 ac_clean_files_save=$ac_clean_files
3321 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3323 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
3324 as_write_fail=0
3325 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3326 #! $SHELL
3327 # Generated by $as_me.
3328 # Run this file to recreate the current configuration.
3329 # Compiler output produced by configure, useful for debugging
3330 # configure, is in config.log if it exists.
3332 debug=false
3333 ac_cs_recheck=false
3334 ac_cs_silent=false
3336 SHELL=\${CONFIG_SHELL-$SHELL}
3337 export SHELL
3338 _ASEOF
3339 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3340 ## -------------------- ##
3341 ## M4sh Initialization. ##
3342 ## -------------------- ##
3344 # Be more Bourne compatible
3345 DUALCASE=1; export DUALCASE # for MKS sh
3346 as_nop=:
3347 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
3348 then :
3349 emulate sh
3350 NULLCMD=:
3351 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3352 # is contrary to our usage. Disable this feature.
3353 alias -g '${1+"$@"}'='"$@"'
3354 setopt NO_GLOB_SUBST
3355 else $as_nop
3356 case `(set -o) 2>/dev/null` in #(
3357 *posix*) :
3358 set -o posix ;; #(
3359 *) :
3361 esac
3366 # Reset variables that may have inherited troublesome values from
3367 # the environment.
3369 # IFS needs to be set, to space, tab, and newline, in precisely that order.
3370 # (If _AS_PATH_WALK were called with IFS unset, it would have the
3371 # side effect of setting IFS to empty, thus disabling word splitting.)
3372 # Quoting is to prevent editors from complaining about space-tab.
3373 as_nl='
3375 export as_nl
3376 IFS=" "" $as_nl"
3378 PS1='$ '
3379 PS2='> '
3380 PS4='+ '
3382 # Ensure predictable behavior from utilities with locale-dependent output.
3383 LC_ALL=C
3384 export LC_ALL
3385 LANGUAGE=C
3386 export LANGUAGE
3388 # We cannot yet rely on "unset" to work, but we need these variables
3389 # to be unset--not just set to an empty or harmless value--now, to
3390 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
3391 # also avoids known problems related to "unset" and subshell syntax
3392 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
3393 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
3394 do eval test \${$as_var+y} \
3395 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3396 done
3398 # Ensure that fds 0, 1, and 2 are open.
3399 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
3400 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
3401 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
3403 # The user is always right.
3404 if ${PATH_SEPARATOR+false} :; then
3405 PATH_SEPARATOR=:
3406 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3407 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3408 PATH_SEPARATOR=';'
3413 # Find who we are. Look in the path if we contain no directory separator.
3414 as_myself=
3415 case $0 in #((
3416 *[\\/]* ) as_myself=$0 ;;
3417 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3418 for as_dir in $PATH
3420 IFS=$as_save_IFS
3421 case $as_dir in #(((
3422 '') as_dir=./ ;;
3423 */) ;;
3424 *) as_dir=$as_dir/ ;;
3425 esac
3426 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
3427 done
3428 IFS=$as_save_IFS
3431 esac
3432 # We did not find ourselves, most probably we were run as `sh COMMAND'
3433 # in which case we are not to be found in the path.
3434 if test "x$as_myself" = x; then
3435 as_myself=$0
3437 if test ! -f "$as_myself"; then
3438 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3439 exit 1
3444 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3445 # ----------------------------------------
3446 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3447 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3448 # script with STATUS, using 1 if that was 0.
3449 as_fn_error ()
3451 as_status=$1; test $as_status -eq 0 && as_status=1
3452 if test "$4"; then
3453 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3454 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3456 printf "%s\n" "$as_me: error: $2" >&2
3457 as_fn_exit $as_status
3458 } # as_fn_error
3462 # as_fn_set_status STATUS
3463 # -----------------------
3464 # Set $? to STATUS, without forking.
3465 as_fn_set_status ()
3467 return $1
3468 } # as_fn_set_status
3470 # as_fn_exit STATUS
3471 # -----------------
3472 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3473 as_fn_exit ()
3475 set +e
3476 as_fn_set_status $1
3477 exit $1
3478 } # as_fn_exit
3480 # as_fn_unset VAR
3481 # ---------------
3482 # Portably unset VAR.
3483 as_fn_unset ()
3485 { eval $1=; unset $1;}
3487 as_unset=as_fn_unset
3489 # as_fn_append VAR VALUE
3490 # ----------------------
3491 # Append the text in VALUE to the end of the definition contained in VAR. Take
3492 # advantage of any shell optimizations that allow amortized linear growth over
3493 # repeated appends, instead of the typical quadratic growth present in naive
3494 # implementations.
3495 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
3496 then :
3497 eval 'as_fn_append ()
3499 eval $1+=\$2
3501 else $as_nop
3502 as_fn_append ()
3504 eval $1=\$$1\$2
3506 fi # as_fn_append
3508 # as_fn_arith ARG...
3509 # ------------------
3510 # Perform arithmetic evaluation on the ARGs, and store the result in the
3511 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3512 # must be portable across $(()) and expr.
3513 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
3514 then :
3515 eval 'as_fn_arith ()
3517 as_val=$(( $* ))
3519 else $as_nop
3520 as_fn_arith ()
3522 as_val=`expr "$@" || test $? -eq 1`
3524 fi # as_fn_arith
3527 if expr a : '\(a\)' >/dev/null 2>&1 &&
3528 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3529 as_expr=expr
3530 else
3531 as_expr=false
3534 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3535 as_basename=basename
3536 else
3537 as_basename=false
3540 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3541 as_dirname=dirname
3542 else
3543 as_dirname=false
3546 as_me=`$as_basename -- "$0" ||
3547 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3548 X"$0" : 'X\(//\)$' \| \
3549 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3550 printf "%s\n" X/"$0" |
3551 sed '/^.*\/\([^/][^/]*\)\/*$/{
3552 s//\1/
3555 /^X\/\(\/\/\)$/{
3556 s//\1/
3559 /^X\/\(\/\).*/{
3560 s//\1/
3563 s/.*/./; q'`
3565 # Avoid depending upon Character Ranges.
3566 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3567 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3568 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3569 as_cr_digits='0123456789'
3570 as_cr_alnum=$as_cr_Letters$as_cr_digits
3573 # Determine whether it's possible to make 'echo' print without a newline.
3574 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
3575 # for compatibility with existing Makefiles.
3576 ECHO_C= ECHO_N= ECHO_T=
3577 case `echo -n x` in #(((((
3578 -n*)
3579 case `echo 'xy\c'` in
3580 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3581 xy) ECHO_C='\c';;
3582 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3583 ECHO_T=' ';;
3584 esac;;
3586 ECHO_N='-n';;
3587 esac
3589 # For backward compatibility with old third-party macros, we provide
3590 # the shell variables $as_echo and $as_echo_n. New code should use
3591 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
3592 as_echo='printf %s\n'
3593 as_echo_n='printf %s'
3595 rm -f conf$$ conf$$.exe conf$$.file
3596 if test -d conf$$.dir; then
3597 rm -f conf$$.dir/conf$$.file
3598 else
3599 rm -f conf$$.dir
3600 mkdir conf$$.dir 2>/dev/null
3602 if (echo >conf$$.file) 2>/dev/null; then
3603 if ln -s conf$$.file conf$$ 2>/dev/null; then
3604 as_ln_s='ln -s'
3605 # ... but there are two gotchas:
3606 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3607 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3608 # In both cases, we have to default to `cp -pR'.
3609 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3610 as_ln_s='cp -pR'
3611 elif ln conf$$.file conf$$ 2>/dev/null; then
3612 as_ln_s=ln
3613 else
3614 as_ln_s='cp -pR'
3616 else
3617 as_ln_s='cp -pR'
3619 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3620 rmdir conf$$.dir 2>/dev/null
3623 # as_fn_mkdir_p
3624 # -------------
3625 # Create "$as_dir" as a directory, including parents if necessary.
3626 as_fn_mkdir_p ()
3629 case $as_dir in #(
3630 -*) as_dir=./$as_dir;;
3631 esac
3632 test -d "$as_dir" || eval $as_mkdir_p || {
3633 as_dirs=
3634 while :; do
3635 case $as_dir in #(
3636 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3637 *) as_qdir=$as_dir;;
3638 esac
3639 as_dirs="'$as_qdir' $as_dirs"
3640 as_dir=`$as_dirname -- "$as_dir" ||
3641 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3642 X"$as_dir" : 'X\(//\)[^/]' \| \
3643 X"$as_dir" : 'X\(//\)$' \| \
3644 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3645 printf "%s\n" X"$as_dir" |
3646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3647 s//\1/
3650 /^X\(\/\/\)[^/].*/{
3651 s//\1/
3654 /^X\(\/\/\)$/{
3655 s//\1/
3658 /^X\(\/\).*/{
3659 s//\1/
3662 s/.*/./; q'`
3663 test -d "$as_dir" && break
3664 done
3665 test -z "$as_dirs" || eval "mkdir $as_dirs"
3666 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3669 } # as_fn_mkdir_p
3670 if mkdir -p . 2>/dev/null; then
3671 as_mkdir_p='mkdir -p "$as_dir"'
3672 else
3673 test -d ./-p && rmdir ./-p
3674 as_mkdir_p=false
3678 # as_fn_executable_p FILE
3679 # -----------------------
3680 # Test if FILE is an executable regular file.
3681 as_fn_executable_p ()
3683 test -f "$1" && test -x "$1"
3684 } # as_fn_executable_p
3685 as_test_x='test -x'
3686 as_executable_p=as_fn_executable_p
3688 # Sed expression to map a string onto a valid CPP name.
3689 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3691 # Sed expression to map a string onto a valid variable name.
3692 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3695 exec 6>&1
3696 ## ----------------------------------- ##
3697 ## Main body of $CONFIG_STATUS script. ##
3698 ## ----------------------------------- ##
3699 _ASEOF
3700 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3703 # Save the log message, to keep $0 and so on meaningful, and to
3704 # report actual input values of CONFIG_FILES etc. instead of their
3705 # values after options handling.
3706 ac_log="
3707 This file was extended by pic14lib $as_me 0.1, which was
3708 generated by GNU Autoconf 2.71. Invocation command line was
3710 CONFIG_FILES = $CONFIG_FILES
3711 CONFIG_HEADERS = $CONFIG_HEADERS
3712 CONFIG_LINKS = $CONFIG_LINKS
3713 CONFIG_COMMANDS = $CONFIG_COMMANDS
3714 $ $0 $@
3716 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3719 _ACEOF
3721 case $ac_config_files in *"
3722 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3723 esac
3725 case $ac_config_headers in *"
3726 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3727 esac
3730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3731 # Files that config.status was made for.
3732 config_files="$ac_config_files"
3733 config_headers="$ac_config_headers"
3734 config_commands="$ac_config_commands"
3736 _ACEOF
3738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3739 ac_cs_usage="\
3740 \`$as_me' instantiates files and other configuration actions
3741 from templates according to the current configuration. Unless the files
3742 and actions are specified as TAGs, all are instantiated by default.
3744 Usage: $0 [OPTION]... [TAG]...
3746 -h, --help print this help, then exit
3747 -V, --version print version number and configuration settings, then exit
3748 --config print configuration, then exit
3749 -q, --quiet, --silent
3750 do not print progress messages
3751 -d, --debug don't remove temporary files
3752 --recheck update $as_me by reconfiguring in the same conditions
3753 --file=FILE[:TEMPLATE]
3754 instantiate the configuration file FILE
3755 --header=FILE[:TEMPLATE]
3756 instantiate the configuration header FILE
3758 Configuration files:
3759 $config_files
3761 Configuration headers:
3762 $config_headers
3764 Configuration commands:
3765 $config_commands
3767 Report bugs to <tecodev AT users sourceforge net>."
3769 _ACEOF
3770 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3771 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3772 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3773 ac_cs_config='$ac_cs_config_escaped'
3774 ac_cs_version="\\
3775 pic14lib config.status 0.1
3776 configured by $0, generated by GNU Autoconf 2.71,
3777 with options \\"\$ac_cs_config\\"
3779 Copyright (C) 2021 Free Software Foundation, Inc.
3780 This config.status script is free software; the Free Software Foundation
3781 gives unlimited permission to copy, distribute and modify it."
3783 ac_pwd='$ac_pwd'
3784 srcdir='$srcdir'
3785 INSTALL='$INSTALL'
3786 MKDIR_P='$MKDIR_P'
3787 AWK='$AWK'
3788 test -n "\$AWK" || AWK=awk
3789 _ACEOF
3791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3792 # The default lists apply if the user does not specify any file.
3793 ac_need_defaults=:
3794 while test $# != 0
3796 case $1 in
3797 --*=?*)
3798 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3799 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3800 ac_shift=:
3802 --*=)
3803 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3804 ac_optarg=
3805 ac_shift=:
3808 ac_option=$1
3809 ac_optarg=$2
3810 ac_shift=shift
3812 esac
3814 case $ac_option in
3815 # Handling of the options.
3816 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3817 ac_cs_recheck=: ;;
3818 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3819 printf "%s\n" "$ac_cs_version"; exit ;;
3820 --config | --confi | --conf | --con | --co | --c )
3821 printf "%s\n" "$ac_cs_config"; exit ;;
3822 --debug | --debu | --deb | --de | --d | -d )
3823 debug=: ;;
3824 --file | --fil | --fi | --f )
3825 $ac_shift
3826 case $ac_optarg in
3827 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3828 '') as_fn_error $? "missing file argument" ;;
3829 esac
3830 as_fn_append CONFIG_FILES " '$ac_optarg'"
3831 ac_need_defaults=false;;
3832 --header | --heade | --head | --hea )
3833 $ac_shift
3834 case $ac_optarg in
3835 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3836 esac
3837 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3838 ac_need_defaults=false;;
3839 --he | --h)
3840 # Conflict between --help and --header
3841 as_fn_error $? "ambiguous option: \`$1'
3842 Try \`$0 --help' for more information.";;
3843 --help | --hel | -h )
3844 printf "%s\n" "$ac_cs_usage"; exit ;;
3845 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3846 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3847 ac_cs_silent=: ;;
3849 # This is an error.
3850 -*) as_fn_error $? "unrecognized option: \`$1'
3851 Try \`$0 --help' for more information." ;;
3853 *) as_fn_append ac_config_targets " $1"
3854 ac_need_defaults=false ;;
3856 esac
3857 shift
3858 done
3860 ac_configure_extra_args=
3862 if $ac_cs_silent; then
3863 exec 6>/dev/null
3864 ac_configure_extra_args="$ac_configure_extra_args --silent"
3867 _ACEOF
3868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3869 if \$ac_cs_recheck; then
3870 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3871 shift
3872 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3873 CONFIG_SHELL='$SHELL'
3874 export CONFIG_SHELL
3875 exec "\$@"
3878 _ACEOF
3879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3880 exec 5>>config.log
3882 echo
3883 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3884 ## Running $as_me. ##
3885 _ASBOX
3886 printf "%s\n" "$ac_log"
3887 } >&5
3889 _ACEOF
3890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3892 # INIT-COMMANDS
3894 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
3896 _ACEOF
3898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3900 # Handling of arguments.
3901 for ac_config_target in $ac_config_targets
3903 case $ac_config_target in
3904 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3905 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3906 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3907 "libsdcc/enhanced/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/enhanced/Makefile" ;;
3908 "libsdcc/enhanced-no-xinst/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/enhanced-no-xinst/Makefile" ;;
3909 "libsdcc/regular/Makefile") CONFIG_FILES="$CONFIG_FILES libsdcc/regular/Makefile" ;;
3910 "libc/Makefile") CONFIG_FILES="$CONFIG_FILES libc/Makefile" ;;
3911 "libm/Makefile") CONFIG_FILES="$CONFIG_FILES libm/Makefile" ;;
3913 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3914 esac
3915 done
3918 # If the user did not use the arguments to specify the items to instantiate,
3919 # then the envvar interface is used. Set only those that are not.
3920 # We use the long form for the default assignment because of an extremely
3921 # bizarre bug on SunOS 4.1.3.
3922 if $ac_need_defaults; then
3923 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3924 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
3925 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
3928 # Have a temporary directory for convenience. Make it in the build tree
3929 # simply because there is no reason against having it here, and in addition,
3930 # creating and moving files from /tmp can sometimes cause problems.
3931 # Hook for its removal unless debugging.
3932 # Note that there is a small window in which the directory will not be cleaned:
3933 # after its creation but before its name has been assigned to `$tmp'.
3934 $debug ||
3936 tmp= ac_tmp=
3937 trap 'exit_status=$?
3938 : "${ac_tmp:=$tmp}"
3939 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3941 trap 'as_fn_exit 1' 1 2 13 15
3943 # Create a (secure) tmp directory for tmp files.
3946 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3947 test -d "$tmp"
3948 } ||
3950 tmp=./conf$$-$RANDOM
3951 (umask 077 && mkdir "$tmp")
3952 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3953 ac_tmp=$tmp
3955 # Set up the scripts for CONFIG_FILES section.
3956 # No need to generate them if there are no CONFIG_FILES.
3957 # This happens for instance with `./config.status config.h'.
3958 if test -n "$CONFIG_FILES"; then
3961 ac_cr=`echo X | tr X '\015'`
3962 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3963 # But we know of no other shell where ac_cr would be empty at this
3964 # point, so we can use a bashism as a fallback.
3965 if test "x$ac_cr" = x; then
3966 eval ac_cr=\$\'\\r\'
3968 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3969 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3970 ac_cs_awk_cr='\\r'
3971 else
3972 ac_cs_awk_cr=$ac_cr
3975 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3976 _ACEOF
3980 echo "cat >conf$$subs.awk <<_ACEOF" &&
3981 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3982 echo "_ACEOF"
3983 } >conf$$subs.sh ||
3984 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3985 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3986 ac_delim='%!_!# '
3987 for ac_last_try in false false false false false :; do
3988 . ./conf$$subs.sh ||
3989 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3991 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3992 if test $ac_delim_n = $ac_delim_num; then
3993 break
3994 elif $ac_last_try; then
3995 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3996 else
3997 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3999 done
4000 rm -f conf$$subs.sh
4002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4003 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4004 _ACEOF
4005 sed -n '
4007 s/^/S["/; s/!.*/"]=/
4010 s/^[^!]*!//
4011 :repl
4012 t repl
4013 s/'"$ac_delim"'$//
4014 t delim
4017 s/\(.\{148\}\)..*/\1/
4018 t more1
4019 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4022 b repl
4023 :more1
4024 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4027 s/.\{148\}//
4028 t nl
4029 :delim
4031 s/\(.\{148\}\)..*/\1/
4032 t more2
4033 s/["\\]/\\&/g; s/^/"/; s/$/"/
4036 :more2
4037 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4040 s/.\{148\}//
4041 t delim
4042 ' <conf$$subs.awk | sed '
4043 /^[^""]/{
4045 s/\n//
4047 ' >>$CONFIG_STATUS || ac_write_fail=1
4048 rm -f conf$$subs.awk
4049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4050 _ACAWK
4051 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4052 for (key in S) S_is_set[key] = 1
4053 FS = "\a"
4057 line = $ 0
4058 nfields = split(line, field, "@")
4059 substed = 0
4060 len = length(field[1])
4061 for (i = 2; i < nfields; i++) {
4062 key = field[i]
4063 keylen = length(key)
4064 if (S_is_set[key]) {
4065 value = S[key]
4066 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4067 len += length(value) + length(field[++i])
4068 substed = 1
4069 } else
4070 len += 1 + keylen
4073 print line
4076 _ACAWK
4077 _ACEOF
4078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4079 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4080 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4081 else
4083 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4084 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4085 _ACEOF
4087 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4088 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4089 # trailing colons and then remove the whole line if VPATH becomes empty
4090 # (actually we leave an empty line to preserve line numbers).
4091 if test "x$srcdir" = x.; then
4092 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4094 s///
4095 s/^/:/
4096 s/[ ]*$/:/
4097 s/:\$(srcdir):/:/g
4098 s/:\${srcdir}:/:/g
4099 s/:@srcdir@:/:/g
4100 s/^:*//
4101 s/:*$//
4103 s/\(=[ ]*\).*/\1/
4105 s/\n//
4106 s/^[^=]*=[ ]*$//
4110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4111 fi # test -n "$CONFIG_FILES"
4113 # Set up the scripts for CONFIG_HEADERS section.
4114 # No need to generate them if there are no CONFIG_HEADERS.
4115 # This happens for instance with `./config.status Makefile'.
4116 if test -n "$CONFIG_HEADERS"; then
4117 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4118 BEGIN {
4119 _ACEOF
4121 # Transform confdefs.h into an awk script `defines.awk', embedded as
4122 # here-document in config.status, that substitutes the proper values into
4123 # config.h.in to produce config.h.
4125 # Create a delimiter string that does not exist in confdefs.h, to ease
4126 # handling of long lines.
4127 ac_delim='%!_!# '
4128 for ac_last_try in false false :; do
4129 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4130 if test -z "$ac_tt"; then
4131 break
4132 elif $ac_last_try; then
4133 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4134 else
4135 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4137 done
4139 # For the awk script, D is an array of macro values keyed by name,
4140 # likewise P contains macro parameters if any. Preserve backslash
4141 # newline sequences.
4143 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4144 sed -n '
4145 s/.\{148\}/&'"$ac_delim"'/g
4146 t rset
4147 :rset
4148 s/^[ ]*#[ ]*define[ ][ ]*/ /
4149 t def
4151 :def
4152 s/\\$//
4153 t bsnl
4154 s/["\\]/\\&/g
4155 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4156 D["\1"]=" \3"/p
4157 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4159 :bsnl
4160 s/["\\]/\\&/g
4161 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4162 D["\1"]=" \3\\\\\\n"\\/p
4163 t cont
4164 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4165 t cont
4167 :cont
4169 s/.\{148\}/&'"$ac_delim"'/g
4170 t clear
4171 :clear
4172 s/\\$//
4173 t bsnlc
4174 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4176 :bsnlc
4177 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4178 b cont
4179 ' <confdefs.h | sed '
4180 s/'"$ac_delim"'/"\\\
4181 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4184 for (key in D) D_is_set[key] = 1
4185 FS = "\a"
4187 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4188 line = \$ 0
4189 split(line, arg, " ")
4190 if (arg[1] == "#") {
4191 defundef = arg[2]
4192 mac1 = arg[3]
4193 } else {
4194 defundef = substr(arg[1], 2)
4195 mac1 = arg[2]
4197 split(mac1, mac2, "(") #)
4198 macro = mac2[1]
4199 prefix = substr(line, 1, index(line, defundef) - 1)
4200 if (D_is_set[macro]) {
4201 # Preserve the white space surrounding the "#".
4202 print prefix "define", macro P[macro] D[macro]
4203 next
4204 } else {
4205 # Replace #undef with comments. This is necessary, for example,
4206 # in the case of _POSIX_SOURCE, which is predefined and required
4207 # on some systems where configure will not decide to define it.
4208 if (defundef == "undef") {
4209 print "/*", prefix defundef, macro, "*/"
4210 next
4214 { print }
4215 _ACAWK
4216 _ACEOF
4217 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4218 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4219 fi # test -n "$CONFIG_HEADERS"
4222 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
4223 shift
4224 for ac_tag
4226 case $ac_tag in
4227 :[FHLC]) ac_mode=$ac_tag; continue;;
4228 esac
4229 case $ac_mode$ac_tag in
4230 :[FHL]*:*);;
4231 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4232 :[FH]-) ac_tag=-:-;;
4233 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4234 esac
4235 ac_save_IFS=$IFS
4236 IFS=:
4237 set x $ac_tag
4238 IFS=$ac_save_IFS
4239 shift
4240 ac_file=$1
4241 shift
4243 case $ac_mode in
4244 :L) ac_source=$1;;
4245 :[FH])
4246 ac_file_inputs=
4247 for ac_f
4249 case $ac_f in
4250 -) ac_f="$ac_tmp/stdin";;
4251 *) # Look for the file first in the build tree, then in the source tree
4252 # (if the path is not absolute). The absolute path cannot be DOS-style,
4253 # because $ac_f cannot contain `:'.
4254 test -f "$ac_f" ||
4255 case $ac_f in
4256 [\\/$]*) false;;
4257 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4258 esac ||
4259 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4260 esac
4261 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4262 as_fn_append ac_file_inputs " '$ac_f'"
4263 done
4265 # Let's still pretend it is `configure' which instantiates (i.e., don't
4266 # use $as_me), people would be surprised to read:
4267 # /* config.h. Generated by config.status. */
4268 configure_input='Generated from '`
4269 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4270 `' by configure.'
4271 if test x"$ac_file" != x-; then
4272 configure_input="$ac_file. $configure_input"
4273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4274 printf "%s\n" "$as_me: creating $ac_file" >&6;}
4276 # Neutralize special characters interpreted by sed in replacement strings.
4277 case $configure_input in #(
4278 *\&* | *\|* | *\\* )
4279 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
4280 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4281 *) ac_sed_conf_input=$configure_input;;
4282 esac
4284 case $ac_tag in
4285 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4286 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4287 esac
4289 esac
4291 ac_dir=`$as_dirname -- "$ac_file" ||
4292 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4293 X"$ac_file" : 'X\(//\)[^/]' \| \
4294 X"$ac_file" : 'X\(//\)$' \| \
4295 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4296 printf "%s\n" X"$ac_file" |
4297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4298 s//\1/
4301 /^X\(\/\/\)[^/].*/{
4302 s//\1/
4305 /^X\(\/\/\)$/{
4306 s//\1/
4309 /^X\(\/\).*/{
4310 s//\1/
4313 s/.*/./; q'`
4314 as_dir="$ac_dir"; as_fn_mkdir_p
4315 ac_builddir=.
4317 case "$ac_dir" in
4318 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4320 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
4321 # A ".." for each directory in $ac_dir_suffix.
4322 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4323 case $ac_top_builddir_sub in
4324 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4325 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4326 esac ;;
4327 esac
4328 ac_abs_top_builddir=$ac_pwd
4329 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4330 # for backward compatibility:
4331 ac_top_builddir=$ac_top_build_prefix
4333 case $srcdir in
4334 .) # We are building in place.
4335 ac_srcdir=.
4336 ac_top_srcdir=$ac_top_builddir_sub
4337 ac_abs_top_srcdir=$ac_pwd ;;
4338 [\\/]* | ?:[\\/]* ) # Absolute name.
4339 ac_srcdir=$srcdir$ac_dir_suffix;
4340 ac_top_srcdir=$srcdir
4341 ac_abs_top_srcdir=$srcdir ;;
4342 *) # Relative name.
4343 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4344 ac_top_srcdir=$ac_top_build_prefix$srcdir
4345 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4346 esac
4347 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4350 case $ac_mode in
4353 # CONFIG_FILE
4356 case $INSTALL in
4357 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4358 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4359 esac
4360 ac_MKDIR_P=$MKDIR_P
4361 case $MKDIR_P in
4362 [\\/$]* | ?:[\\/]* ) ;;
4363 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4364 esac
4365 _ACEOF
4367 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4368 # If the template does not know about datarootdir, expand it.
4369 # FIXME: This hack should be removed a few years after 2.60.
4370 ac_datarootdir_hack=; ac_datarootdir_seen=
4371 ac_sed_dataroot='
4372 /datarootdir/ {
4376 /@datadir@/p
4377 /@docdir@/p
4378 /@infodir@/p
4379 /@localedir@/p
4380 /@mandir@/p'
4381 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4382 *datarootdir*) ac_datarootdir_seen=yes;;
4383 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4385 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4386 _ACEOF
4387 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4388 ac_datarootdir_hack='
4389 s&@datadir@&$datadir&g
4390 s&@docdir@&$docdir&g
4391 s&@infodir@&$infodir&g
4392 s&@localedir@&$localedir&g
4393 s&@mandir@&$mandir&g
4394 s&\\\${datarootdir}&$datarootdir&g' ;;
4395 esac
4396 _ACEOF
4398 # Neutralize VPATH when `$srcdir' = `.'.
4399 # Shell code in configure.ac might set extrasub.
4400 # FIXME: do we really want to maintain this feature?
4401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4402 ac_sed_extra="$ac_vpsub
4403 $extrasub
4404 _ACEOF
4405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4407 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4408 s|@configure_input@|$ac_sed_conf_input|;t t
4409 s&@top_builddir@&$ac_top_builddir_sub&;t t
4410 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4411 s&@srcdir@&$ac_srcdir&;t t
4412 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4413 s&@top_srcdir@&$ac_top_srcdir&;t t
4414 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4415 s&@builddir@&$ac_builddir&;t t
4416 s&@abs_builddir@&$ac_abs_builddir&;t t
4417 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4418 s&@INSTALL@&$ac_INSTALL&;t t
4419 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4420 $ac_datarootdir_hack
4422 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4423 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4425 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4426 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4427 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4428 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4430 which seems to be undefined. Please make sure it is defined" >&5
4431 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4432 which seems to be undefined. Please make sure it is defined" >&2;}
4434 rm -f "$ac_tmp/stdin"
4435 case $ac_file in
4436 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4437 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4438 esac \
4439 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4443 # CONFIG_HEADER
4445 if test x"$ac_file" != x-; then
4447 printf "%s\n" "/* $configure_input */" >&1 \
4448 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4449 } >"$ac_tmp/config.h" \
4450 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4451 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4453 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
4454 else
4455 rm -f "$ac_file"
4456 mv "$ac_tmp/config.h" "$ac_file" \
4457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4459 else
4460 printf "%s\n" "/* $configure_input */" >&1 \
4461 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4462 || as_fn_error $? "could not create -" "$LINENO" 5
4464 # Compute "$ac_file"'s index in $config_headers.
4465 _am_arg="$ac_file"
4466 _am_stamp_count=1
4467 for _am_header in $config_headers :; do
4468 case $_am_header in
4469 $_am_arg | $_am_arg:* )
4470 break ;;
4472 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4473 esac
4474 done
4475 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
4476 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4477 X"$_am_arg" : 'X\(//\)[^/]' \| \
4478 X"$_am_arg" : 'X\(//\)$' \| \
4479 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
4480 printf "%s\n" X"$_am_arg" |
4481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4482 s//\1/
4485 /^X\(\/\/\)[^/].*/{
4486 s//\1/
4489 /^X\(\/\/\)$/{
4490 s//\1/
4493 /^X\(\/\).*/{
4494 s//\1/
4497 s/.*/./; q'`/stamp-h$_am_stamp_count
4500 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4501 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
4503 esac
4506 case $ac_file$ac_mode in
4507 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4508 # Older Autoconf quotes --file arguments for eval, but not when files
4509 # are listed without --file. Let's play safe and only enable the eval
4510 # if we detect the quoting.
4511 # TODO: see whether this extra hack can be removed once we start
4512 # requiring Autoconf 2.70 or later.
4513 case $CONFIG_FILES in #(
4514 *\'*) :
4515 eval set x "$CONFIG_FILES" ;; #(
4516 *) :
4517 set x $CONFIG_FILES ;; #(
4518 *) :
4520 esac
4521 shift
4522 # Used to flag and report bootstrapping failures.
4523 am_rc=0
4524 for am_mf
4526 # Strip MF so we end up with the name of the file.
4527 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
4528 # Check whether this is an Automake generated Makefile which includes
4529 # dependency-tracking related rules and includes.
4530 # Grep'ing the whole file directly is not great: AIX grep has a line
4531 # limit of 2048, but all sed's we know have understand at least 4000.
4532 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
4533 || continue
4534 am_dirpart=`$as_dirname -- "$am_mf" ||
4535 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4536 X"$am_mf" : 'X\(//\)[^/]' \| \
4537 X"$am_mf" : 'X\(//\)$' \| \
4538 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
4539 printf "%s\n" X"$am_mf" |
4540 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4541 s//\1/
4544 /^X\(\/\/\)[^/].*/{
4545 s//\1/
4548 /^X\(\/\/\)$/{
4549 s//\1/
4552 /^X\(\/\).*/{
4553 s//\1/
4556 s/.*/./; q'`
4557 am_filepart=`$as_basename -- "$am_mf" ||
4558 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
4559 X"$am_mf" : 'X\(//\)$' \| \
4560 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
4561 printf "%s\n" X/"$am_mf" |
4562 sed '/^.*\/\([^/][^/]*\)\/*$/{
4563 s//\1/
4566 /^X\/\(\/\/\)$/{
4567 s//\1/
4570 /^X\/\(\/\).*/{
4571 s//\1/
4574 s/.*/./; q'`
4575 { echo "$as_me:$LINENO: cd "$am_dirpart" \
4576 && sed -e '/# am--include-marker/d' "$am_filepart" \
4577 | $MAKE -f - am--depfiles" >&5
4578 (cd "$am_dirpart" \
4579 && sed -e '/# am--include-marker/d' "$am_filepart" \
4580 | $MAKE -f - am--depfiles) >&5 2>&5
4581 ac_status=$?
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } || am_rc=$?
4584 done
4585 if test $am_rc -ne 0; then
4586 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4587 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4588 as_fn_error $? "Something went wrong bootstrapping makefile fragments
4589 for automatic dependency tracking. If GNU make was not used, consider
4590 re-running the configure script with MAKE=\"gmake\" (or whatever is
4591 necessary). You can also try re-running configure with the
4592 '--disable-dependency-tracking' option to at least be able to build
4593 the package (albeit without support for automatic dependency tracking).
4594 See \`config.log' for more details" "$LINENO" 5; }
4596 { am_dirpart=; unset am_dirpart;}
4597 { am_filepart=; unset am_filepart;}
4598 { am_mf=; unset am_mf;}
4599 { am_rc=; unset am_rc;}
4600 rm -f conftest-deps.mk
4604 esac
4605 done # for ac_tag
4608 as_fn_exit 0
4609 _ACEOF
4610 ac_clean_files=$ac_clean_files_save
4612 test $ac_write_fail = 0 ||
4613 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4616 # configure is writing to config.log, and then calls config.status.
4617 # config.status does its own redirection, appending to config.log.
4618 # Unfortunately, on DOS this fails, as config.log is still kept open
4619 # by configure, so config.status won't be able to write to it; its
4620 # output is simply discarded. So we exec the FD to /dev/null,
4621 # effectively closing config.log, so it can be properly (re)opened and
4622 # appended to by config.status. When coming back to configure, we
4623 # need to make the FD available again.
4624 if test "$no_create" != yes; then
4625 ac_cs_success=:
4626 ac_config_status_args=
4627 test "$silent" = yes &&
4628 ac_config_status_args="$ac_config_status_args --quiet"
4629 exec 5>/dev/null
4630 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4631 exec 5>>config.log
4632 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4633 # would make configure fail if this is the last instruction.
4634 $ac_cs_success || as_fn_exit 1
4636 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4638 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}