Debian Codegraph @

devtools/configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for find-python 0.1.
4 #
5 # Report bugs to <[email protected]>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
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 ## -------------------- ##
17
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 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
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='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
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
71
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
76
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=';'
83 }
84 fi
85
86
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
93 do
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
103
104 ;;
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
110 fi
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
114 fi
115
116
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
139 fi
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 *) :
157 ;;
158 esac
159 fi
160 "
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; }
166
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 :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
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
191 fi
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
194
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
199 do
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 #(
208 /*)
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
219 fi
220 fi
221 done;;
222 esac
223 as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
228
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
234 fi
235 fi
236
237
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
259 fi
260
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 [email protected] and
270 $0: [email protected] about your system, including
271 $0: any error possibly output before this message. Then
272 $0: install a modern shell, or manually run the script
273 $0: under such a shell if you do have one."
274 fi
275 exit 1
276 fi
277 fi
278 fi
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
284
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
292 {
293 { eval $1=; unset $1;}
294 }
295 as_unset=as_fn_unset
296
297
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
302 {
303 return $1
304 } # as_fn_set_status
305
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 ()
310 {
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 ()
319 {
320 return $?
321 }
322 as_nop=as_fn_nop
323
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
328 {
329
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/
349 q
350 }
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
353 q
354 }
355 /^X\(\/\/\)$/{
356 s//\1/
357 q
358 }
359 /^X\(\/\).*/{
360 s//\1/
361 q
362 }
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"
368
369
370 } # as_fn_mkdir_p
371
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
376 {
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 ()
388 {
389 eval $1+=\$2
390 }'
391 else $as_nop
392 as_fn_append ()
393 {
394 eval $1=\$$1\$2
395 }
396 fi # as_fn_append
397
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 ()
406 {
407 as_val=$(( $* ))
408 }'
409 else $as_nop
410 as_fn_arith ()
411 {
412 as_val=`expr "$@" || test $? -eq 1`
413 }
414 fi # as_fn_arith
415
416 # as_fn_nop
417 # ---------
418 # Do nothing but, unlike ":", preserve the value of $?.
419 as_fn_nop ()
420 {
421 return $?
422 }
423 as_nop=as_fn_nop
424
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 ()
431 {
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
436 fi
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
439 } # as_fn_error
440
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
446 fi
447
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449 as_basename=basename
450 else
451 as_basename=false
452 fi
453
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
458 fi
459
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/
467 q
468 }
469 /^X\/\(\/\/\)$/{
470 s//\1/
471 q
472 }
473 /^X\/\(\/\).*/{
474 s//\1/
475 q
476 }
477 s/.*/./; q'`
478
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
485
486
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 '
493 p
494 /[$]LINENO/=
495 ' <$as_myself |
496 sed '
497 s/[$]LINENO.*/&-/
498 t lineno
499 b
500 :lineno
501 N
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; }
509
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
520 }
521
522
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;;
535 *)
536 ECHO_N='-n';;
537 esac
538
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'
544
545
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
552 fi
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'
566 fi
567 else
568 as_ln_s='cp -pR'
569 fi
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
572
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
578 fi
579
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
582
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'"
585
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'"
588
589
590 test -n "$DJDIR" || exec 7<&0 </dev/null
591 exec 6>&1
592
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`
597
598 #
599 # Initializations.
600 #
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=
609
610 # Identity of this package.
611 PACKAGE_NAME='find-python'
612 PACKAGE_TARNAME='find-python'
613 PACKAGE_VERSION='0.1'
614 PACKAGE_STRING='find-python 0.1'
615 PACKAGE_BUGREPORT='[email protected]'
616 PACKAGE_URL=''
617
618 ac_unique_file="gen-avr-lib-tree.sh.in"
619 ac_subst_vars='LTLIBOBJS
620 LIBOBJS
621 pkgpyexecdir
622 pyexecdir
623 pkgpythondir
624 pythondir
625 PYTHON_EXEC_PREFIX
626 PYTHON_PREFIX
627 PYTHON_PLATFORM
628 PYTHON_VERSION
629 PYTHON
630 target_alias
631 host_alias
632 build_alias
633 LIBS
634 ECHO_T
635 ECHO_N
636 ECHO_C
637 DEFS
638 mandir
639 localedir
640 libdir
641 psdir
642 pdfdir
643 dvidir
644 htmldir
645 infodir
646 docdir
647 oldincludedir
648 includedir
649 runstatedir
650 localstatedir
651 sharedstatedir
652 sysconfdir
653 datadir
654 datarootdir
655 libexecdir
656 sbindir
657 bindir
658 program_transform_name
659 prefix
660 exec_prefix
661 PACKAGE_URL
662 PACKAGE_BUGREPORT
663 PACKAGE_STRING
664 PACKAGE_VERSION
665 PACKAGE_TARNAME
666 PACKAGE_NAME
667 PATH_SEPARATOR
668 SHELL'
669 ac_subst_files=''
670 ac_user_opts='
671 enable_option_checking
672 with_python_sys_prefix
673 with_python_prefix
674 with_python_exec_prefix
675 '
676 ac_precious_vars='build_alias
677 host_alias
678 target_alias
679 PYTHON'
680
681
682 # Initialize some variables set by options.
683 ac_init_help=
684 ac_init_version=false
685 ac_unrecognized_opts=
686 ac_unrecognized_sep=
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
689 cache_file=/dev/null
690 exec_prefix=NONE
691 no_create=
692 no_recursion=
693 prefix=NONE
694 program_prefix=NONE
695 program_suffix=NONE
696 program_transform_name=s,x,x,
697 silent=
698 site=
699 srcdir=
700 verbose=
701 x_includes=NONE
702 x_libraries=NONE
703
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir='${exec_prefix}/bin'
711 sbindir='${exec_prefix}/sbin'
712 libexecdir='${exec_prefix}/libexec'
713 datarootdir='${prefix}/share'
714 datadir='${datarootdir}'
715 sysconfdir='${prefix}/etc'
716 sharedstatedir='${prefix}/com'
717 localstatedir='${prefix}/var'
718 runstatedir='${localstatedir}/run'
719 includedir='${prefix}/include'
720 oldincludedir='/usr/include'
721 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
722 infodir='${datarootdir}/info'
723 htmldir='${docdir}'
724 dvidir='${docdir}'
725 pdfdir='${docdir}'
726 psdir='${docdir}'
727 libdir='${exec_prefix}/lib'
728 localedir='${datarootdir}/locale'
729 mandir='${datarootdir}/man'
730
731 ac_prev=
732 ac_dashdash=
733 for ac_option
734 do
735 # If the previous option needs an argument, assign it.
736 if test -n "$ac_prev"; then
737 eval $ac_prev=\$ac_option
738 ac_prev=
739 continue
740 fi
741
742 case $ac_option in
743 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
744 *=) ac_optarg= ;;
745 *) ac_optarg=yes ;;
746 esac
747
748 case $ac_dashdash$ac_option in
749 --)
750 ac_dashdash=yes ;;
751
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 ac_prev=bindir ;;
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
755 bindir=$ac_optarg ;;
756
757 -build | --build | --buil | --bui | --bu)
758 ac_prev=build_alias ;;
759 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
760 build_alias=$ac_optarg ;;
761
762 -cache-file | --cache-file | --cache-fil | --cache-fi \
763 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
764 ac_prev=cache_file ;;
765 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
766 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
767 cache_file=$ac_optarg ;;
768
769 --config-cache | -C)
770 cache_file=config.cache ;;
771
772 -datadir | --datadir | --datadi | --datad)
773 ac_prev=datadir ;;
774 -datadir=* | --datadir=* | --datadi=* | --datad=*)
775 datadir=$ac_optarg ;;
776
777 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
778 | --dataroo | --dataro | --datar)
779 ac_prev=datarootdir ;;
780 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
781 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
782 datarootdir=$ac_optarg ;;
783
784 -disable-* | --disable-*)
785 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
788 as_fn_error $? "invalid feature name: \`$ac_useropt'"
789 ac_useropt_orig=$ac_useropt
790 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
792 *"
793 "enable_$ac_useropt"
794 "*) ;;
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
797 esac
798 eval enable_$ac_useropt=no ;;
799
800 -docdir | --docdir | --docdi | --doc | --do)
801 ac_prev=docdir ;;
802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
803 docdir=$ac_optarg ;;
804
805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
806 ac_prev=dvidir ;;
807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
808 dvidir=$ac_optarg ;;
809
810 -enable-* | --enable-*)
811 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814 as_fn_error $? "invalid feature name: \`$ac_useropt'"
815 ac_useropt_orig=$ac_useropt
816 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
818 *"
819 "enable_$ac_useropt"
820 "*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
824 eval enable_$ac_useropt=\$ac_optarg ;;
825
826 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
827 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
828 | --exec | --exe | --ex)
829 ac_prev=exec_prefix ;;
830 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
831 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
832 | --exec=* | --exe=* | --ex=*)
833 exec_prefix=$ac_optarg ;;
834
835 -gas | --gas | --ga | --g)
836 # Obsolete; use --with-gas.
837 with_gas=yes ;;
838
839 -help | --help | --hel | --he | -h)
840 ac_init_help=long ;;
841 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
842 ac_init_help=recursive ;;
843 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
844 ac_init_help=short ;;
845
846 -host | --host | --hos | --ho)
847 ac_prev=host_alias ;;
848 -host=* | --host=* | --hos=* | --ho=*)
849 host_alias=$ac_optarg ;;
850
851 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
852 ac_prev=htmldir ;;
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 | --ht=*)
855 htmldir=$ac_optarg ;;
856
857 -includedir | --includedir | --includedi | --included | --include \
858 | --includ | --inclu | --incl | --inc)
859 ac_prev=includedir ;;
860 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
861 | --includ=* | --inclu=* | --incl=* | --inc=*)
862 includedir=$ac_optarg ;;
863
864 -infodir | --infodir | --infodi | --infod | --info | --inf)
865 ac_prev=infodir ;;
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
868
869 -libdir | --libdir | --libdi | --libd)
870 ac_prev=libdir ;;
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 libdir=$ac_optarg ;;
873
874 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
875 | --libexe | --libex | --libe)
876 ac_prev=libexecdir ;;
877 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
878 | --libexe=* | --libex=* | --libe=*)
879 libexecdir=$ac_optarg ;;
880
881 -localedir | --localedir | --localedi | --localed | --locale)
882 ac_prev=localedir ;;
883 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
884 localedir=$ac_optarg ;;
885
886 -localstatedir | --localstatedir | --localstatedi | --localstated \
887 | --localstate | --localstat | --localsta | --localst | --locals)
888 ac_prev=localstatedir ;;
889 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
890 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
891 localstatedir=$ac_optarg ;;
892
893 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
894 ac_prev=mandir ;;
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
896 mandir=$ac_optarg ;;
897
898 -nfp | --nfp | --nf)
899 # Obsolete; use --without-fp.
900 with_fp=no ;;
901
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
904 no_create=yes ;;
905
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 no_recursion=yes ;;
909
910 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
911 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
912 | --oldin | --oldi | --old | --ol | --o)
913 ac_prev=oldincludedir ;;
914 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
915 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
916 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
917 oldincludedir=$ac_optarg ;;
918
919 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
920 ac_prev=prefix ;;
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 prefix=$ac_optarg ;;
923
924 -program-prefix | --program-prefix | --program-prefi | --program-pref \
925 | --program-pre | --program-pr | --program-p)
926 ac_prev=program_prefix ;;
927 -program-prefix=* | --program-prefix=* | --program-prefi=* \
928 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
929 program_prefix=$ac_optarg ;;
930
931 -program-suffix | --program-suffix | --program-suffi | --program-suff \
932 | --program-suf | --program-su | --program-s)
933 ac_prev=program_suffix ;;
934 -program-suffix=* | --program-suffix=* | --program-suffi=* \
935 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
936 program_suffix=$ac_optarg ;;
937
938 -program-transform-name | --program-transform-name \
939 | --program-transform-nam | --program-transform-na \
940 | --program-transform-n | --program-transform- \
941 | --program-transform | --program-transfor \
942 | --program-transfo | --program-transf \
943 | --program-trans | --program-tran \
944 | --progr-tra | --program-tr | --program-t)
945 ac_prev=program_transform_name ;;
946 -program-transform-name=* | --program-transform-name=* \
947 | --program-transform-nam=* | --program-transform-na=* \
948 | --program-transform-n=* | --program-transform-=* \
949 | --program-transform=* | --program-transfor=* \
950 | --program-transfo=* | --program-transf=* \
951 | --program-trans=* | --program-tran=* \
952 | --progr-tra=* | --program-tr=* | --program-t=*)
953 program_transform_name=$ac_optarg ;;
954
955 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
956 ac_prev=pdfdir ;;
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 pdfdir=$ac_optarg ;;
959
960 -psdir | --psdir | --psdi | --psd | --ps)
961 ac_prev=psdir ;;
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 psdir=$ac_optarg ;;
964
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
967 silent=yes ;;
968
969 -runstatedir | --runstatedir | --runstatedi | --runstated \
970 | --runstate | --runstat | --runsta | --runst | --runs \
971 | --run | --ru | --r)
972 ac_prev=runstatedir ;;
973 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
974 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
975 | --run=* | --ru=* | --r=*)
976 runstatedir=$ac_optarg ;;
977
978 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
979 ac_prev=sbindir ;;
980 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
981 | --sbi=* | --sb=*)
982 sbindir=$ac_optarg ;;
983
984 -sharedstatedir | --sharedstatedir | --sharedstatedi \
985 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
986 | --sharedst | --shareds | --shared | --share | --shar \
987 | --sha | --sh)
988 ac_prev=sharedstatedir ;;
989 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
990 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
991 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
992 | --sha=* | --sh=*)
993 sharedstatedir=$ac_optarg ;;
994
995 -site | --site | --sit)
996 ac_prev=site ;;
997 -site=* | --site=* | --sit=*)
998 site=$ac_optarg ;;
999
1000 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1001 ac_prev=srcdir ;;
1002 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1003 srcdir=$ac_optarg ;;
1004
1005 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1006 | --syscon | --sysco | --sysc | --sys | --sy)
1007 ac_prev=sysconfdir ;;
1008 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1009 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1010 sysconfdir=$ac_optarg ;;
1011
1012 -target | --target | --targe | --targ | --tar | --ta | --t)
1013 ac_prev=target_alias ;;
1014 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1015 target_alias=$ac_optarg ;;
1016
1017 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1018 verbose=yes ;;
1019
1020 -version | --version | --versio | --versi | --vers | -V)
1021 ac_init_version=: ;;
1022
1023 -with-* | --with-*)
1024 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1027 as_fn_error $? "invalid package name: \`$ac_useropt'"
1028 ac_useropt_orig=$ac_useropt
1029 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1031 *"
1032 "with_$ac_useropt"
1033 "*) ;;
1034 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035 ac_unrecognized_sep=', ';;
1036 esac
1037 eval with_$ac_useropt=\$ac_optarg ;;
1038
1039 -without-* | --without-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid package name: \`$ac_useropt'"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1047 *"
1048 "with_$ac_useropt"
1049 "*) ;;
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1052 esac
1053 eval with_$ac_useropt=no ;;
1054
1055 --x)
1056 # Obsolete; use --with-x.
1057 with_x=yes ;;
1058
1059 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1060 | --x-incl | --x-inc | --x-in | --x-i)
1061 ac_prev=x_includes ;;
1062 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1063 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1064 x_includes=$ac_optarg ;;
1065
1066 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1067 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1068 ac_prev=x_libraries ;;
1069 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1070 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1071 x_libraries=$ac_optarg ;;
1072
1073 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1074 Try \`$0 --help' for more information"
1075 ;;
1076
1077 *=*)
1078 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 case $ac_envvar in #(
1081 '' | [0-9]* | *[!_$as_cr_alnum]* )
1082 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1083 esac
1084 eval $ac_envvar=\$ac_optarg
1085 export $ac_envvar ;;
1086
1087 *)
1088 # FIXME: should be removed in autoconf 3.0.
1089 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1091 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1093 ;;
1094
1095 esac
1096 done
1097
1098 if test -n "$ac_prev"; then
1099 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1100 as_fn_error $? "missing argument to $ac_option"
1101 fi
1102
1103 if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1105 no) ;;
1106 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1107 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1108 esac
1109 fi
1110
1111 # Check all directory arguments for consistency.
1112 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113 datadir sysconfdir sharedstatedir localstatedir includedir \
1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115 libdir localedir mandir runstatedir
1116 do
1117 eval ac_val=\$$ac_var
1118 # Remove trailing slashes.
1119 case $ac_val in
1120 */ )
1121 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\$ac_val;;
1123 esac
1124 # Be sure to have absolute directory names.
1125 case $ac_val in
1126 [\\/$]* | ?:[\\/]* ) continue;;
1127 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1128 esac
1129 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1130 done
1131
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1135 build=$build_alias
1136 host=$host_alias
1137 target=$target_alias
1138
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x; then
1141 if test "x$build_alias" = x; then
1142 cross_compiling=maybe
1143 elif test "x$build_alias" != "x$host_alias"; then
1144 cross_compiling=yes
1145 fi
1146 fi
1147
1148 ac_tool_prefix=
1149 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1150
1151 test "$silent" = yes && exec 6>/dev/null
1152
1153
1154 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1155 ac_ls_di=`ls -di .` &&
1156 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error $? "working directory cannot be determined"
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error $? "pwd does not report name of working directory"
1160
1161
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164 ac_srcdir_defaulted=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir=`$as_dirname -- "$as_myself" ||
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171 printf "%s\n" X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 s//\1/
1174 q
1175 }
1176 /^X\(\/\/\)[^/].*/{
1177 s//\1/
1178 q
1179 }
1180 /^X\(\/\/\)$/{
1181 s//\1/
1182 q
1183 }
1184 /^X\(\/\).*/{
1185 s//\1/
1186 q
1187 }
1188 s/.*/./; q'`
1189 srcdir=$ac_confdir
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1191 srcdir=..
1192 fi
1193 else
1194 ac_srcdir_defaulted=no
1195 fi
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1199 fi
1200 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1201 ac_abs_confdir=`(
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1203 pwd)`
1204 # When building in place, set srcdir=.
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then
1206 srcdir=.
1207 fi
1208 # Remove unnecessary trailing slashes from srcdir.
1209 # Double slashes in file names in object file debugging info
1210 # mess up M-x gdb in Emacs.
1211 case $srcdir in
1212 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1213 esac
1214 for ac_var in $ac_precious_vars; do
1215 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_${ac_var}_value=\$${ac_var}
1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1219 done
1220
1221 #
1222 # Report the --help message.
1223 #
1224 if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1227 cat <<_ACEOF
1228 \`configure' configures find-python 0.1 to adapt to many kinds of systems.
1229
1230 Usage: $0 [OPTION]... [VAR=VALUE]...
1231
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233 VAR=VALUE. See below for descriptions of some of the useful variables.
1234
1235 Defaults for the options are specified in brackets.
1236
1237 Configuration:
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking ...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1247
1248 Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1252 [PREFIX]
1253
1254 By default, \`make install' will install all the files in
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257 for instance \`--prefix=\$HOME'.
1258
1259 For better control, use the options below.
1260
1261 Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1269 --libdir=DIR object code libraries [EPREFIX/lib]
1270 --includedir=DIR C header files [PREFIX/include]
1271 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1272 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1273 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1274 --infodir=DIR info documentation [DATAROOTDIR/info]
1275 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1276 --mandir=DIR man documentation [DATAROOTDIR/man]
1277 --docdir=DIR documentation root [DATAROOTDIR/doc/find-python]
1278 --htmldir=DIR html documentation [DOCDIR]
1279 --dvidir=DIR dvi documentation [DOCDIR]
1280 --pdfdir=DIR pdf documentation [DOCDIR]
1281 --psdir=DIR ps documentation [DOCDIR]
1282 _ACEOF
1283
1284 cat <<\_ACEOF
1285 _ACEOF
1286 fi
1287
1288 if test -n "$ac_init_help"; then
1289 case $ac_init_help in
1290 short | recursive ) echo "Configuration of find-python 0.1:";;
1291 esac
1292 cat <<\_ACEOF
1293
1294 Optional Packages:
1295 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1296 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1297 --with-python-sys-prefix
1298 use Python's sys.prefix and sys.exec_prefix values
1299 --with-python_prefix override the default PYTHON_PREFIX
1300 --with-python_exec_prefix
1301 override the default PYTHON_EXEC_PREFIX
1302
1303 Some influential environment variables:
1304 PYTHON the Python interpreter
1305
1306 Use these variables to override the choices made by `configure' or to help
1307 it to find libraries and programs with nonstandard names/locations.
1308
1309 Report bugs to <[email protected]>.
1310 _ACEOF
1311 ac_status=$?
1312 fi
1313
1314 if test "$ac_init_help" = "recursive"; then
1315 # If there are subdirs, report their specific --help.
1316 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1317 test -d "$ac_dir" ||
1318 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1319 continue
1320 ac_builddir=.
1321
1322 case "$ac_dir" in
1323 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1324 *)
1325 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1326 # A ".." for each directory in $ac_dir_suffix.
1327 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1328 case $ac_top_builddir_sub in
1329 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1330 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1331 esac ;;
1332 esac
1333 ac_abs_top_builddir=$ac_pwd
1334 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1335 # for backward compatibility:
1336 ac_top_builddir=$ac_top_build_prefix
1337
1338 case $srcdir in
1339 .) # We are building in place.
1340 ac_srcdir=.
1341 ac_top_srcdir=$ac_top_builddir_sub
1342 ac_abs_top_srcdir=$ac_pwd ;;
1343 [\\/]* | ?:[\\/]* ) # Absolute name.
1344 ac_srcdir=$srcdir$ac_dir_suffix;
1345 ac_top_srcdir=$srcdir
1346 ac_abs_top_srcdir=$srcdir ;;
1347 *) # Relative name.
1348 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1349 ac_top_srcdir=$ac_top_build_prefix$srcdir
1350 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1351 esac
1352 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1353
1354 cd "$ac_dir" || { ac_status=$?; continue; }
1355 # Check for configure.gnu first; this name is used for a wrapper for
1356 # Metaconfig's "Configure" on case-insensitive file systems.
1357 if test -f "$ac_srcdir/configure.gnu"; then
1358 echo &&
1359 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1360 elif test -f "$ac_srcdir/configure"; then
1361 echo &&
1362 $SHELL "$ac_srcdir/configure" --help=recursive
1363 else
1364 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1365 fi || ac_status=$?
1366 cd "$ac_pwd" || { ac_status=$?; break; }
1367 done
1368 fi
1369
1370 test -n "$ac_init_help" && exit $ac_status
1371 if $ac_init_version; then
1372 cat <<\_ACEOF
1373 find-python configure 0.1
1374 generated by GNU Autoconf 2.71
1375
1376 Copyright (C) 2021 Free Software Foundation, Inc.
1377 This configure script is free software; the Free Software Foundation
1378 gives unlimited permission to copy, distribute and modify it.
1379 _ACEOF
1380 exit
1381 fi
1382
1383 ## ------------------------ ##
1384 ## Autoconf initialization. ##
1385 ## ------------------------ ##
1386 ac_configure_args_raw=
1387 for ac_arg
1388 do
1389 case $ac_arg in
1390 *\'*)
1391 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1392 esac
1393 as_fn_append ac_configure_args_raw " '$ac_arg'"
1394 done
1395
1396 case $ac_configure_args_raw in
1397 *$as_nl*)
1398 ac_safe_unquote= ;;
1399 *)
1400 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1401 ac_unsafe_a="$ac_unsafe_z#~"
1402 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1403 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1404 esac
1405
1406 cat >config.log <<_ACEOF
1407 This file contains any messages produced by compilers while
1408 running configure, to aid debugging if configure makes a mistake.
1409
1410 It was created by find-python $as_me 0.1, which was
1411 generated by GNU Autoconf 2.71. Invocation command line was
1412
1413 $ $0$ac_configure_args_raw
1414
1415 _ACEOF
1416 exec 5>>config.log
1417 {
1418 cat <<_ASUNAME
1419 ## --------- ##
1420 ## Platform. ##
1421 ## --------- ##
1422
1423 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1424 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1425 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1426 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1427 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1428
1429 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1430 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1431
1432 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1433 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1434 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1435 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1436 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1437 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1438 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1439
1440 _ASUNAME
1441
1442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1443 for as_dir in $PATH
1444 do
1445 IFS=$as_save_IFS
1446 case $as_dir in #(((
1447 '') as_dir=./ ;;
1448 */) ;;
1449 *) as_dir=$as_dir/ ;;
1450 esac
1451 printf "%s\n" "PATH: $as_dir"
1452 done
1453 IFS=$as_save_IFS
1454
1455 } >&5
1456
1457 cat >&5 <<_ACEOF
1458
1459
1460 ## ----------- ##
1461 ## Core tests. ##
1462 ## ----------- ##
1463
1464 _ACEOF
1465
1466
1467 # Keep a trace of the command line.
1468 # Strip out --no-create and --no-recursion so they do not pile up.
1469 # Strip out --silent because we don't want to record it for future runs.
1470 # Also quote any args containing shell meta-characters.
1471 # Make two passes to allow for proper duplicate-argument suppression.
1472 ac_configure_args=
1473 ac_configure_args0=
1474 ac_configure_args1=
1475 ac_must_keep_next=false
1476 for ac_pass in 1 2
1477 do
1478 for ac_arg
1479 do
1480 case $ac_arg in
1481 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1482 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1483 | -silent | --silent | --silen | --sile | --sil)
1484 continue ;;
1485 *\'*)
1486 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1487 esac
1488 case $ac_pass in
1489 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1490 2)
1491 as_fn_append ac_configure_args1 " '$ac_arg'"
1492 if test $ac_must_keep_next = true; then
1493 ac_must_keep_next=false # Got value, back to normal.
1494 else
1495 case $ac_arg in
1496 *=* | --config-cache | -C | -disable-* | --disable-* \
1497 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1498 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1499 | -with-* | --with-* | -without-* | --without-* | --x)
1500 case "$ac_configure_args0 " in
1501 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1502 esac
1503 ;;
1504 -* ) ac_must_keep_next=true ;;
1505 esac
1506 fi
1507 as_fn_append ac_configure_args " '$ac_arg'"
1508 ;;
1509 esac
1510 done
1511 done
1512 { ac_configure_args0=; unset ac_configure_args0;}
1513 { ac_configure_args1=; unset ac_configure_args1;}
1514
1515 # When interrupted or exit'd, cleanup temporary files, and complete
1516 # config.log. We remove comments because anyway the quotes in there
1517 # would cause problems or look ugly.
1518 # WARNING: Use '\'' to represent an apostrophe within the trap.
1519 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1520 trap 'exit_status=$?
1521 # Sanitize IFS.
1522 IFS=" "" $as_nl"
1523 # Save into config.log some information that might help in debugging.
1524 {
1525 echo
1526
1527 printf "%s\n" "## ---------------- ##
1528 ## Cache variables. ##
1529 ## ---------------- ##"
1530 echo
1531 # The following way of writing the cache mishandles newlines in values,
1532 (
1533 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1534 eval ac_val=\$$ac_var
1535 case $ac_val in #(
1536 *${as_nl}*)
1537 case $ac_var in #(
1538 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1539 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1540 esac
1541 case $ac_var in #(
1542 _ | IFS | as_nl) ;; #(
1543 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1544 *) { eval $ac_var=; unset $ac_var;} ;;
1545 esac ;;
1546 esac
1547 done
1548 (set) 2>&1 |
1549 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1550 *${as_nl}ac_space=\ *)
1551 sed -n \
1552 "s/'\''/'\''\\\\'\'''\''/g;
1553 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1554 ;; #(
1555 *)
1556 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1557 ;;
1558 esac |
1559 sort
1560 )
1561 echo
1562
1563 printf "%s\n" "## ----------------- ##
1564 ## Output variables. ##
1565 ## ----------------- ##"
1566 echo
1567 for ac_var in $ac_subst_vars
1568 do
1569 eval ac_val=\$$ac_var
1570 case $ac_val in
1571 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1572 esac
1573 printf "%s\n" "$ac_var='\''$ac_val'\''"
1574 done | sort
1575 echo
1576
1577 if test -n "$ac_subst_files"; then
1578 printf "%s\n" "## ------------------- ##
1579 ## File substitutions. ##
1580 ## ------------------- ##"
1581 echo
1582 for ac_var in $ac_subst_files
1583 do
1584 eval ac_val=\$$ac_var
1585 case $ac_val in
1586 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1587 esac
1588 printf "%s\n" "$ac_var='\''$ac_val'\''"
1589 done | sort
1590 echo
1591 fi
1592
1593 if test -s confdefs.h; then
1594 printf "%s\n" "## ----------- ##
1595 ## confdefs.h. ##
1596 ## ----------- ##"
1597 echo
1598 cat confdefs.h
1599 echo
1600 fi
1601 test "$ac_signal" != 0 &&
1602 printf "%s\n" "$as_me: caught signal $ac_signal"
1603 printf "%s\n" "$as_me: exit $exit_status"
1604 } >&5
1605 rm -f core *.core core.conftest.* &&
1606 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1607 exit $exit_status
1608 ' 0
1609 for ac_signal in 1 2 13 15; do
1610 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1611 done
1612 ac_signal=0
1613
1614 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1615 rm -f -r conftest* confdefs.h
1616
1617 printf "%s\n" "/* confdefs.h */" > confdefs.h
1618
1619 # Predefined preprocessor variables.
1620
1621 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1622
1623 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1624
1625 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1626
1627 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1628
1629 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1630
1631 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1632
1633
1634 # Let the site file select an alternate cache file if it wants to.
1635 # Prefer an explicitly selected file to automatically selected ones.
1636 if test -n "$CONFIG_SITE"; then
1637 ac_site_files="$CONFIG_SITE"
1638 elif test "x$prefix" != xNONE; then
1639 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1640 else
1641 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1642 fi
1643
1644 for ac_site_file in $ac_site_files
1645 do
1646 case $ac_site_file in #(
1647 */*) :
1648 ;; #(
1649 *) :
1650 ac_site_file=./$ac_site_file ;;
1651 esac
1652 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1654 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1655 sed 's/^/| /' "$ac_site_file" >&5
1656 . "$ac_site_file" \
1657 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1658 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1659 as_fn_error $? "failed to load site script $ac_site_file
1660 See \`config.log' for more details" "$LINENO" 5; }
1661 fi
1662 done
1663
1664 if test -r "$cache_file"; then
1665 # Some versions of bash will fail to source /dev/null (special files
1666 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1667 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1669 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1670 case $cache_file in
1671 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1672 *) . "./$cache_file";;
1673 esac
1674 fi
1675 else
1676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1677 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1678 >$cache_file
1679 fi
1680
1681 # Check that the precious variables saved in the cache have kept the same
1682 # value.
1683 ac_cache_corrupted=false
1684 for ac_var in $ac_precious_vars; do
1685 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1686 eval ac_new_set=\$ac_env_${ac_var}_set
1687 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1688 eval ac_new_val=\$ac_env_${ac_var}_value
1689 case $ac_old_set,$ac_new_set in
1690 set,)
1691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1692 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1693 ac_cache_corrupted=: ;;
1694 ,set)
1695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1696 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1697 ac_cache_corrupted=: ;;
1698 ,);;
1699 *)
1700 if test "x$ac_old_val" != "x$ac_new_val"; then
1701 # differences in whitespace do not lead to failure.
1702 ac_old_val_w=`echo x $ac_old_val`
1703 ac_new_val_w=`echo x $ac_new_val`
1704 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1706 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1707 ac_cache_corrupted=:
1708 else
1709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1710 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1711 eval $ac_var=\$ac_old_val
1712 fi
1713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1714 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1716 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1717 fi;;
1718 esac
1719 # Pass precious variables to config.status.
1720 if test "$ac_new_set" = set; then
1721 case $ac_new_val in
1722 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1723 *) ac_arg=$ac_var=$ac_new_val ;;
1724 esac
1725 case " $ac_configure_args " in
1726 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1727 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1728 esac
1729 fi
1730 done
1731 if $ac_cache_corrupted; then
1732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1733 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1735 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1736 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1737 and start over" "$LINENO" 5
1738 fi
1739 ## -------------------- ##
1740 ## Main body of script. ##
1741 ## -------------------- ##
1742
1743 ac_ext=c
1744 ac_cpp='$CPP $CPPFLAGS'
1745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760 if test -n "$PYTHON"; then
1761 # If the user set $PYTHON, use it and don't search something else.
1762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.6" >&5
1763 printf %s "checking whether $PYTHON version is >= 2.6... " >&6; }
1764 prog="import sys
1765 # split strings by '.' and convert to numeric. Append some zeros
1766 # because we need at least 4 digits for the hex conversion.
1767 # map returns an iterator in Python 3.0 and a list in 2.x
1768 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
1769 minverhex = 0
1770 # xrange is not present in Python 3.0 and range returns an iterator
1771 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
1772 sys.exit(sys.hexversion < minverhex)"
1773 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
1774 ($PYTHON -c "$prog") >&5 2>&5
1775 ac_status=$?
1776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1777 (exit $ac_status); }
1778 then :
1779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1780 printf "%s\n" "yes" >&6; }
1781 else $as_nop
1782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1783 printf "%s\n" "no" >&6; }
1784 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
1785 fi
1786 am_display_PYTHON=$PYTHON
1787 else
1788 # Otherwise, try each interpreter until we find one that satisfies
1789 # VERSION.
1790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
1791 printf %s "checking for a Python interpreter with version >= 2.6... " >&6; }
1792 if test ${am_cv_pathless_PYTHON+y}
1793 then :
1794 printf %s "(cached) " >&6
1795 else $as_nop
1796
1797 for am_cv_pathless_PYTHON in python python2 python3 python3.11 python3.10 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
1798 test "$am_cv_pathless_PYTHON" = none && break
1799 prog="import sys
1800 # split strings by '.' and convert to numeric. Append some zeros
1801 # because we need at least 4 digits for the hex conversion.
1802 # map returns an iterator in Python 3.0 and a list in 2.x
1803 minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
1804 minverhex = 0
1805 # xrange is not present in Python 3.0 and range returns an iterator
1806 for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
1807 sys.exit(sys.hexversion < minverhex)"
1808 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
1809 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
1810 ac_status=$?
1811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1812 (exit $ac_status); }
1813 then :
1814 break
1815 fi
1816 done
1817 fi
1818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
1819 printf "%s\n" "$am_cv_pathless_PYTHON" >&6; }
1820 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1821 if test "$am_cv_pathless_PYTHON" = none; then
1822 PYTHON=:
1823 else
1824 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
1825 set dummy $am_cv_pathless_PYTHON; ac_word=$2
1826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1827 printf %s "checking for $ac_word... " >&6; }
1828 if test ${ac_cv_path_PYTHON+y}
1829 then :
1830 printf %s "(cached) " >&6
1831 else $as_nop
1832 case $PYTHON in
1833 [\\/]* | ?:[\\/]*)
1834 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1835 ;;
1836 *)
1837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838 for as_dir in $PATH
1839 do
1840 IFS=$as_save_IFS
1841 case $as_dir in #(((
1842 '') as_dir=./ ;;
1843 */) ;;
1844 *) as_dir=$as_dir/ ;;
1845 esac
1846 for ac_exec_ext in '' $ac_executable_extensions; do
1847 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
1848 ac_cv_path_PYTHON="$as_dir$ac_word$ac_exec_ext"
1849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
1850 break 2
1851 fi
1852 done
1853 done
1854 IFS=$as_save_IFS
1855
1856 ;;
1857 esac
1858 fi
1859 PYTHON=$ac_cv_path_PYTHON
1860 if test -n "$PYTHON"; then
1861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1862 printf "%s\n" "$PYTHON" >&6; }
1863 else
1864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
1865 printf "%s\n" "no" >&6; }
1866 fi
1867
1868
1869 fi
1870 am_display_PYTHON=$am_cv_pathless_PYTHON
1871 fi
1872
1873
1874 if test "$PYTHON" = :; then
1875 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
1876 else
1877
1878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
1879 printf %s "checking for $am_display_PYTHON version... " >&6; }
1880 if test ${am_cv_python_version+y}
1881 then :
1882 printf %s "(cached) " >&6
1883 else $as_nop
1884 am_cv_python_version=`$PYTHON -c "import sys; print ('%u.%u' % sys.version_info[:2])"`
1885 fi
1886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
1887 printf "%s\n" "$am_cv_python_version" >&6; }
1888 PYTHON_VERSION=$am_cv_python_version
1889
1890
1891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
1892 printf %s "checking for $am_display_PYTHON platform... " >&6; }
1893 if test ${am_cv_python_platform+y}
1894 then :
1895 printf %s "(cached) " >&6
1896 else $as_nop
1897 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
1898 fi
1899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
1900 printf "%s\n" "$am_cv_python_platform" >&6; }
1901 PYTHON_PLATFORM=$am_cv_python_platform
1902
1903
1904 if test "x$prefix" = xNONE; then
1905 am__usable_prefix=$ac_default_prefix
1906 else
1907 am__usable_prefix=$prefix
1908 fi
1909
1910 # Allow user to request using sys.* values from Python,
1911 # instead of the GNU $prefix values.
1912
1913 # Check whether --with-python-sys-prefix was given.
1914 if test ${with_python_sys_prefix+y}
1915 then :
1916 withval=$with_python_sys_prefix; am_use_python_sys=:
1917 else $as_nop
1918 am_use_python_sys=false
1919 fi
1920
1921
1922 # Allow user to override whatever the default Python prefix is.
1923
1924 # Check whether --with-python_prefix was given.
1925 if test ${with_python_prefix+y}
1926 then :
1927 withval=$with_python_prefix; am_python_prefix_subst=$withval
1928 am_cv_python_prefix=$withval
1929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON prefix" >&5
1930 printf %s "checking for explicit $am_display_PYTHON prefix... " >&6; }
1931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
1932 printf "%s\n" "$am_cv_python_prefix" >&6; }
1933 else $as_nop
1934
1935 if $am_use_python_sys; then
1936 # using python sys.prefix value, not GNU
1937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON prefix" >&5
1938 printf %s "checking for python default $am_display_PYTHON prefix... " >&6; }
1939 if test ${am_cv_python_prefix+y}
1940 then :
1941 printf %s "(cached) " >&6
1942 else $as_nop
1943 am_cv_python_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
1944 fi
1945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_prefix" >&5
1946 printf "%s\n" "$am_cv_python_prefix" >&6; }
1947
1948 case $am_cv_python_prefix in
1949 $am__usable_prefix*)
1950 am__strip_prefix=`echo "$am__usable_prefix" | sed 's|.|.|g'`
1951 am_python_prefix_subst=`echo "$am_cv_python_prefix" | sed "s,^$am__strip_prefix,\\${prefix},"`
1952 ;;
1953 *)
1954 am_python_prefix_subst=$am_cv_python_prefix
1955 ;;
1956 esac
1957 else # using GNU prefix value, not python sys.prefix
1958 am_python_prefix_subst='${prefix}'
1959 am_python_prefix=$am_python_prefix_subst
1960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON prefix" >&5
1961 printf %s "checking for GNU default $am_display_PYTHON prefix... " >&6; }
1962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_prefix" >&5
1963 printf "%s\n" "$am_python_prefix" >&6; }
1964 fi
1965 fi
1966
1967 # Substituting python_prefix_subst value.
1968 PYTHON_PREFIX=$am_python_prefix_subst
1969
1970
1971 # emacs-page Now do it all over again for Python exec_prefix, but with yet
1972 # another conditional: fall back to regular prefix if that was specified.
1973
1974 # Check whether --with-python_exec_prefix was given.
1975 if test ${with_python_exec_prefix+y}
1976 then :
1977 withval=$with_python_exec_prefix; am_python_exec_prefix_subst=$withval
1978 am_cv_python_exec_prefix=$withval
1979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for explicit $am_display_PYTHON exec_prefix" >&5
1980 printf %s "checking for explicit $am_display_PYTHON exec_prefix... " >&6; }
1981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
1982 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
1983 else $as_nop
1984
1985 # no explicit --with-python_exec_prefix, but if
1986 # --with-python_prefix was given, use its value for python_exec_prefix too.
1987 if test -n "$with_python_prefix"
1988 then :
1989 am_python_exec_prefix_subst=$with_python_prefix
1990 am_cv_python_exec_prefix=$with_python_prefix
1991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python_prefix-given $am_display_PYTHON exec_prefix" >&5
1992 printf %s "checking for python_prefix-given $am_display_PYTHON exec_prefix... " >&6; }
1993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
1994 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
1995 else $as_nop
1996
1997 # Set am__usable_exec_prefix whether using GNU or Python values,
1998 # since we use that variable for pyexecdir.
1999 if test "x$exec_prefix" = xNONE; then
2000 am__usable_exec_prefix=$am__usable_prefix
2001 else
2002 am__usable_exec_prefix=$exec_prefix
2003 fi
2004 #
2005 if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
2006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for python default $am_display_PYTHON exec_prefix" >&5
2007 printf %s "checking for python default $am_display_PYTHON exec_prefix... " >&6; }
2008 if test ${am_cv_python_exec_prefix+y}
2009 then :
2010 printf %s "(cached) " >&6
2011 else $as_nop
2012 am_cv_python_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
2013 fi
2014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_exec_prefix" >&5
2015 printf "%s\n" "$am_cv_python_exec_prefix" >&6; }
2016 case $am_cv_python_exec_prefix in
2017 $am__usable_exec_prefix*)
2018 am__strip_prefix=`echo "$am__usable_exec_prefix" | sed 's|.|.|g'`
2019 am_python_exec_prefix_subst=`echo "$am_cv_python_exec_prefix" | sed "s,^$am__strip_prefix,\\${exec_prefix},"`
2020 ;;
2021 *)
2022 am_python_exec_prefix_subst=$am_cv_python_exec_prefix
2023 ;;
2024 esac
2025 else # using GNU $exec_prefix, not python sys.exec_prefix
2026 am_python_exec_prefix_subst='${exec_prefix}'
2027 am_python_exec_prefix=$am_python_exec_prefix_subst
2028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU default $am_display_PYTHON exec_prefix" >&5
2029 printf %s "checking for GNU default $am_display_PYTHON exec_prefix... " >&6; }
2030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_python_exec_prefix" >&5
2031 printf "%s\n" "$am_python_exec_prefix" >&6; }
2032 fi
2033 fi
2034 fi
2035
2036 # Substituting python_exec_prefix_subst.
2037 PYTHON_EXEC_PREFIX=$am_python_exec_prefix_subst
2038
2039
2040 # Factor out some code duplication into this shell variable.
2041 am_python_setup_sysconfig="\
2042 import sys
2043 # Prefer sysconfig over distutils.sysconfig, for better compatibility
2044 # with python 3.x. See automake bug#10227.
2045 try:
2046 import sysconfig
2047 except ImportError:
2048 can_use_sysconfig = 0
2049 else:
2050 can_use_sysconfig = 1
2051 # Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
2052 # <https://github.com/pypa/virtualenv/issues/118>
2053 try:
2054 from platform import python_implementation
2055 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
2056 can_use_sysconfig = 0
2057 except ImportError:
2058 pass"
2059
2060
2061 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory (pythondir)" >&5
2062 printf %s "checking for $am_display_PYTHON script directory (pythondir)... " >&6; }
2063 if test ${am_cv_python_pythondir+y}
2064 then :
2065 printf %s "(cached) " >&6
2066 else $as_nop
2067 if test "x$am_cv_python_prefix" = x; then
2068 am_py_prefix=$am__usable_prefix
2069 else
2070 am_py_prefix=$am_cv_python_prefix
2071 fi
2072 am_cv_python_pythondir=`$PYTHON -c "
2073 $am_python_setup_sysconfig
2074 if can_use_sysconfig:
2075 if hasattr(sysconfig, 'get_default_scheme'):
2076 scheme = sysconfig.get_default_scheme()
2077 else:
2078 scheme = sysconfig._get_default_scheme()
2079 if scheme == 'posix_local':
2080 # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
2081 scheme = 'posix_prefix'
2082 sitedir = sysconfig.get_path('purelib', scheme, vars={'base':'$am_py_prefix'})
2083 else:
2084 from distutils import sysconfig
2085 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
2086 sys.stdout.write(sitedir)"`
2087 #
2088 case $am_cv_python_pythondir in
2089 $am_py_prefix*)
2090 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
2091 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,\\${PYTHON_PREFIX},"`
2092 ;;
2093 *)
2094 case $am_py_prefix in
2095 /usr|/System*) ;;
2096 *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
2097 ;;
2098 esac
2099 ;;
2100 esac
2101
2102 fi
2103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
2104 printf "%s\n" "$am_cv_python_pythondir" >&6; }
2105 pythondir=$am_cv_python_pythondir
2106
2107
2108 pkgpythondir=\${pythondir}/$PACKAGE
2109
2110
2111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory (pyexecdir)" >&5
2112 printf %s "checking for $am_display_PYTHON extension module directory (pyexecdir)... " >&6; }
2113 if test ${am_cv_python_pyexecdir+y}
2114 then :
2115 printf %s "(cached) " >&6
2116 else $as_nop
2117 if test "x$am_cv_python_exec_prefix" = x; then
2118 am_py_exec_prefix=$am__usable_exec_prefix
2119 else
2120 am_py_exec_prefix=$am_cv_python_exec_prefix
2121 fi
2122 am_cv_python_pyexecdir=`$PYTHON -c "
2123 $am_python_setup_sysconfig
2124 if can_use_sysconfig:
2125 if hasattr(sysconfig, 'get_default_scheme'):
2126 scheme = sysconfig.get_default_scheme()
2127 else:
2128 scheme = sysconfig._get_default_scheme()
2129 if scheme == 'posix_local':
2130 # Debian's default scheme installs to /usr/local/ but we want to find headers in /usr/
2131 scheme = 'posix_prefix'
2132 sitedir = sysconfig.get_path('platlib', scheme, vars={'platbase':'$am_py_exec_prefix'})
2133 else:
2134 from distutils import sysconfig
2135 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_exec_prefix')
2136 sys.stdout.write(sitedir)"`
2137 #
2138 case $am_cv_python_pyexecdir in
2139 $am_py_exec_prefix*)
2140 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2141 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,\\${PYTHON_EXEC_PREFIX},"`
2142 ;;
2143 *)
2144 case $am_py_exec_prefix in
2145 /usr|/System*) ;;
2146 *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
2147 ;;
2148 esac
2149 ;;
2150 esac
2151
2152 fi
2153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2154 printf "%s\n" "$am_cv_python_pyexecdir" >&6; }
2155 pyexecdir=$am_cv_python_pyexecdir
2156
2157
2158 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2159
2160
2161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: using $PYTHON to run mlib-gen.py" >&5
2162 printf "%s\n" "$as_me: using $PYTHON to run mlib-gen.py" >&6;}
2163 fi
2164
2165
2166 ac_config_files="$ac_config_files gen-avr-lib-tree.sh"
2167
2168
2169 cat >confcache <<\_ACEOF
2170 # This file is a shell script that caches the results of configure
2171 # tests run on this system so they can be shared between configure
2172 # scripts and configure runs, see configure's option --config-cache.
2173 # It is not useful on other systems. If it contains results you don't
2174 # want to keep, you may remove or edit it.
2175 #
2176 # config.status only pays attention to the cache file if you give it
2177 # the --recheck option to rerun configure.
2178 #
2179 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2180 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2181 # following values.
2182
2183 _ACEOF
2184
2185 # The following way of writing the cache mishandles newlines in values,
2186 # but we know of no workaround that is simple, portable, and efficient.
2187 # So, we kill variables containing newlines.
2188 # Ultrix sh set writes to stderr and can't be redirected directly,
2189 # and sets the high bit in the cache file unless we assign to the vars.
2190 (
2191 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2192 eval ac_val=\$$ac_var
2193 case $ac_val in #(
2194 *${as_nl}*)
2195 case $ac_var in #(
2196 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2197 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2198 esac
2199 case $ac_var in #(
2200 _ | IFS | as_nl) ;; #(
2201 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2202 *) { eval $ac_var=; unset $ac_var;} ;;
2203 esac ;;
2204 esac
2205 done
2206
2207 (set) 2>&1 |
2208 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2209 *${as_nl}ac_space=\ *)
2210 # `set' does not quote correctly, so add quotes: double-quote
2211 # substitution turns \\\\ into \\, and sed turns \\ into \.
2212 sed -n \
2213 "s/'/'\\\\''/g;
2214 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2215 ;; #(
2216 *)
2217 # `set' quotes correctly as required by POSIX, so do not add quotes.
2218 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2219 ;;
2220 esac |
2221 sort
2222 ) |
2223 sed '
2224 /^ac_cv_env_/b end
2225 t clear
2226 :clear
2227 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2228 t end
2229 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2230 :end' >>confcache
2231 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2232 if test -w "$cache_file"; then
2233 if test "x$cache_file" != "x/dev/null"; then
2234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2235 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2236 if test ! -f "$cache_file" || test -h "$cache_file"; then
2237 cat confcache >"$cache_file"
2238 else
2239 case $cache_file in #(
2240 */* | ?:*)
2241 mv -f confcache "$cache_file"$$ &&
2242 mv -f "$cache_file"$$ "$cache_file" ;; #(
2243 *)
2244 mv -f confcache "$cache_file" ;;
2245 esac
2246 fi
2247 fi
2248 else
2249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2250 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2251 fi
2252 fi
2253 rm -f confcache
2254
2255 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2256 # Let make expand exec_prefix.
2257 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2258
2259 # Transform confdefs.h into DEFS.
2260 # Protect against shell expansion while executing Makefile rules.
2261 # Protect against Makefile macro expansion.
2262 #
2263 # If the first sed substitution is executed (which looks for macros that
2264 # take arguments), then branch to the quote section. Otherwise,
2265 # look for a macro that doesn't take arguments.
2266 ac_script='
2267 :mline
2268 /\\$/{
2269 N
2270 s,\\\n,,
2271 b mline
2272 }
2273 t clear
2274 :clear
2275 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2276 t quote
2277 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2278 t quote
2279 b any
2280 :quote
2281 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2282 s/\[/\\&/g
2283 s/\]/\\&/g
2284 s/\$/$$/g
2285 H
2286 :any
2287 ${
2288 g
2289 s/^\n//
2290 s/\n/ /g
2291 p
2292 }
2293 '
2294 DEFS=`sed -n "$ac_script" confdefs.h`
2295
2296
2297 ac_libobjs=
2298 ac_ltlibobjs=
2299 U=
2300 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2301 # 1. Remove the extension, and $U if already installed.
2302 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2303 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2304 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2305 # will be set to the directory where LIBOBJS objects are built.
2306 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2307 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2308 done
2309 LIBOBJS=$ac_libobjs
2310
2311 LTLIBOBJS=$ac_ltlibobjs
2312
2313
2314
2315 : "${CONFIG_STATUS=./config.status}"
2316 ac_write_fail=0
2317 ac_clean_files_save=$ac_clean_files
2318 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2320 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2321 as_write_fail=0
2322 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2323 #! $SHELL
2324 # Generated by $as_me.
2325 # Run this file to recreate the current configuration.
2326 # Compiler output produced by configure, useful for debugging
2327 # configure, is in config.log if it exists.
2328
2329 debug=false
2330 ac_cs_recheck=false
2331 ac_cs_silent=false
2332
2333 SHELL=\${CONFIG_SHELL-$SHELL}
2334 export SHELL
2335 _ASEOF
2336 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2337 ## -------------------- ##
2338 ## M4sh Initialization. ##
2339 ## -------------------- ##
2340
2341 # Be more Bourne compatible
2342 DUALCASE=1; export DUALCASE # for MKS sh
2343 as_nop=:
2344 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2345 then :
2346 emulate sh
2347 NULLCMD=:
2348 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2349 # is contrary to our usage. Disable this feature.
2350 alias -g '${1+"$@"}'='"$@"'
2351 setopt NO_GLOB_SUBST
2352 else $as_nop
2353 case `(set -o) 2>/dev/null` in #(
2354 *posix*) :
2355 set -o posix ;; #(
2356 *) :
2357 ;;
2358 esac
2359 fi
2360
2361
2362
2363 # Reset variables that may have inherited troublesome values from
2364 # the environment.
2365
2366 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2367 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2368 # side effect of setting IFS to empty, thus disabling word splitting.)
2369 # Quoting is to prevent editors from complaining about space-tab.
2370 as_nl='
2371 '
2372 export as_nl
2373 IFS=" "" $as_nl"
2374
2375 PS1='$ '
2376 PS2='> '
2377 PS4='+ '
2378
2379 # Ensure predictable behavior from utilities with locale-dependent output.
2380 LC_ALL=C
2381 export LC_ALL
2382 LANGUAGE=C
2383 export LANGUAGE
2384
2385 # We cannot yet rely on "unset" to work, but we need these variables
2386 # to be unset--not just set to an empty or harmless value--now, to
2387 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2388 # also avoids known problems related to "unset" and subshell syntax
2389 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2390 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2391 do eval test \${$as_var+y} \
2392 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2393 done
2394
2395 # Ensure that fds 0, 1, and 2 are open.
2396 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2397 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2398 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2399
2400 # The user is always right.
2401 if ${PATH_SEPARATOR+false} :; then
2402 PATH_SEPARATOR=:
2403 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2404 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2405 PATH_SEPARATOR=';'
2406 }
2407 fi
2408
2409
2410 # Find who we are. Look in the path if we contain no directory separator.
2411 as_myself=
2412 case $0 in #((
2413 *[\\/]* ) as_myself=$0 ;;
2414 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2415 for as_dir in $PATH
2416 do
2417 IFS=$as_save_IFS
2418 case $as_dir in #(((
2419 '') as_dir=./ ;;
2420 */) ;;
2421 *) as_dir=$as_dir/ ;;
2422 esac
2423 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2424 done
2425 IFS=$as_save_IFS
2426
2427 ;;
2428 esac
2429 # We did not find ourselves, most probably we were run as `sh COMMAND'
2430 # in which case we are not to be found in the path.
2431 if test "x$as_myself" = x; then
2432 as_myself=$0
2433 fi
2434 if test ! -f "$as_myself"; then
2435 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2436 exit 1
2437 fi
2438
2439
2440
2441 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2442 # ----------------------------------------
2443 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2444 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2445 # script with STATUS, using 1 if that was 0.
2446 as_fn_error ()
2447 {
2448 as_status=$1; test $as_status -eq 0 && as_status=1
2449 if test "$4"; then
2450 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2451 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2452 fi
2453 printf "%s\n" "$as_me: error: $2" >&2
2454 as_fn_exit $as_status
2455 } # as_fn_error
2456
2457
2458
2459 # as_fn_set_status STATUS
2460 # -----------------------
2461 # Set $? to STATUS, without forking.
2462 as_fn_set_status ()
2463 {
2464 return $1
2465 } # as_fn_set_status
2466
2467 # as_fn_exit STATUS
2468 # -----------------
2469 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2470 as_fn_exit ()
2471 {
2472 set +e
2473 as_fn_set_status $1
2474 exit $1
2475 } # as_fn_exit
2476
2477 # as_fn_unset VAR
2478 # ---------------
2479 # Portably unset VAR.
2480 as_fn_unset ()
2481 {
2482 { eval $1=; unset $1;}
2483 }
2484 as_unset=as_fn_unset
2485
2486 # as_fn_append VAR VALUE
2487 # ----------------------
2488 # Append the text in VALUE to the end of the definition contained in VAR. Take
2489 # advantage of any shell optimizations that allow amortized linear growth over
2490 # repeated appends, instead of the typical quadratic growth present in naive
2491 # implementations.
2492 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2493 then :
2494 eval 'as_fn_append ()
2495 {
2496 eval $1+=\$2
2497 }'
2498 else $as_nop
2499 as_fn_append ()
2500 {
2501 eval $1=\$$1\$2
2502 }
2503 fi # as_fn_append
2504
2505 # as_fn_arith ARG...
2506 # ------------------
2507 # Perform arithmetic evaluation on the ARGs, and store the result in the
2508 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2509 # must be portable across $(()) and expr.
2510 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2511 then :
2512 eval 'as_fn_arith ()
2513 {
2514 as_val=$(( $* ))
2515 }'
2516 else $as_nop
2517 as_fn_arith ()
2518 {
2519 as_val=`expr "$@" || test $? -eq 1`
2520 }
2521 fi # as_fn_arith
2522
2523
2524 if expr a : '\(a\)' >/dev/null 2>&1 &&
2525 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2526 as_expr=expr
2527 else
2528 as_expr=false
2529 fi
2530
2531 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2532 as_basename=basename
2533 else
2534 as_basename=false
2535 fi
2536
2537 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2538 as_dirname=dirname
2539 else
2540 as_dirname=false
2541 fi
2542
2543 as_me=`$as_basename -- "$0" ||
2544 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2545 X"$0" : 'X\(//\)$' \| \
2546 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2547 printf "%s\n" X/"$0" |
2548 sed '/^.*\/\([^/][^/]*\)\/*$/{
2549 s//\1/
2550 q
2551 }
2552 /^X\/\(\/\/\)$/{
2553 s//\1/
2554 q
2555 }
2556 /^X\/\(\/\).*/{
2557 s//\1/
2558 q
2559 }
2560 s/.*/./; q'`
2561
2562 # Avoid depending upon Character Ranges.
2563 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2564 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2565 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2566 as_cr_digits='0123456789'
2567 as_cr_alnum=$as_cr_Letters$as_cr_digits
2568
2569
2570 # Determine whether it's possible to make 'echo' print without a newline.
2571 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2572 # for compatibility with existing Makefiles.
2573 ECHO_C= ECHO_N= ECHO_T=
2574 case `echo -n x` in #(((((
2575 -n*)
2576 case `echo 'xy\c'` in
2577 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2578 xy) ECHO_C='\c';;
2579 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2580 ECHO_T=' ';;
2581 esac;;
2582 *)
2583 ECHO_N='-n';;
2584 esac
2585
2586 # For backward compatibility with old third-party macros, we provide
2587 # the shell variables $as_echo and $as_echo_n. New code should use
2588 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2589 as_echo='printf %s\n'
2590 as_echo_n='printf %s'
2591
2592 rm -f conf$$ conf$$.exe conf$$.file
2593 if test -d conf$$.dir; then
2594 rm -f conf$$.dir/conf$$.file
2595 else
2596 rm -f conf$$.dir
2597 mkdir conf$$.dir 2>/dev/null
2598 fi
2599 if (echo >conf$$.file) 2>/dev/null; then
2600 if ln -s conf$$.file conf$$ 2>/dev/null; then
2601 as_ln_s='ln -s'
2602 # ... but there are two gotchas:
2603 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2604 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2605 # In both cases, we have to default to `cp -pR'.
2606 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2607 as_ln_s='cp -pR'
2608 elif ln conf$$.file conf$$ 2>/dev/null; then
2609 as_ln_s=ln
2610 else
2611 as_ln_s='cp -pR'
2612 fi
2613 else
2614 as_ln_s='cp -pR'
2615 fi
2616 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2617 rmdir conf$$.dir 2>/dev/null
2618
2619
2620 # as_fn_mkdir_p
2621 # -------------
2622 # Create "$as_dir" as a directory, including parents if necessary.
2623 as_fn_mkdir_p ()
2624 {
2625
2626 case $as_dir in #(
2627 -*) as_dir=./$as_dir;;
2628 esac
2629 test -d "$as_dir" || eval $as_mkdir_p || {
2630 as_dirs=
2631 while :; do
2632 case $as_dir in #(
2633 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2634 *) as_qdir=$as_dir;;
2635 esac
2636 as_dirs="'$as_qdir' $as_dirs"
2637 as_dir=`$as_dirname -- "$as_dir" ||
2638 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2639 X"$as_dir" : 'X\(//\)[^/]' \| \
2640 X"$as_dir" : 'X\(//\)$' \| \
2641 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2642 printf "%s\n" X"$as_dir" |
2643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2644 s//\1/
2645 q
2646 }
2647 /^X\(\/\/\)[^/].*/{
2648 s//\1/
2649 q
2650 }
2651 /^X\(\/\/\)$/{
2652 s//\1/
2653 q
2654 }
2655 /^X\(\/\).*/{
2656 s//\1/
2657 q
2658 }
2659 s/.*/./; q'`
2660 test -d "$as_dir" && break
2661 done
2662 test -z "$as_dirs" || eval "mkdir $as_dirs"
2663 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2664
2665
2666 } # as_fn_mkdir_p
2667 if mkdir -p . 2>/dev/null; then
2668 as_mkdir_p='mkdir -p "$as_dir"'
2669 else
2670 test -d ./-p && rmdir ./-p
2671 as_mkdir_p=false
2672 fi
2673
2674
2675 # as_fn_executable_p FILE
2676 # -----------------------
2677 # Test if FILE is an executable regular file.
2678 as_fn_executable_p ()
2679 {
2680 test -f "$1" && test -x "$1"
2681 } # as_fn_executable_p
2682 as_test_x='test -x'
2683 as_executable_p=as_fn_executable_p
2684
2685 # Sed expression to map a string onto a valid CPP name.
2686 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2687
2688 # Sed expression to map a string onto a valid variable name.
2689 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2690
2691
2692 exec 6>&1
2693 ## ----------------------------------- ##
2694 ## Main body of $CONFIG_STATUS script. ##
2695 ## ----------------------------------- ##
2696 _ASEOF
2697 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2698
2699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2700 # Save the log message, to keep $0 and so on meaningful, and to
2701 # report actual input values of CONFIG_FILES etc. instead of their
2702 # values after options handling.
2703 ac_log="
2704 This file was extended by find-python $as_me 0.1, which was
2705 generated by GNU Autoconf 2.71. Invocation command line was
2706
2707 CONFIG_FILES = $CONFIG_FILES
2708 CONFIG_HEADERS = $CONFIG_HEADERS
2709 CONFIG_LINKS = $CONFIG_LINKS
2710 CONFIG_COMMANDS = $CONFIG_COMMANDS
2711 $ $0 $@
2712
2713 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2714 "
2715
2716 _ACEOF
2717
2718 case $ac_config_files in *"
2719 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2720 esac
2721
2722
2723
2724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2725 # Files that config.status was made for.
2726 config_files="$ac_config_files"
2727
2728 _ACEOF
2729
2730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2731 ac_cs_usage="\
2732 \`$as_me' instantiates files and other configuration actions
2733 from templates according to the current configuration. Unless the files
2734 and actions are specified as TAGs, all are instantiated by default.
2735
2736 Usage: $0 [OPTION]... [TAG]...
2737
2738 -h, --help print this help, then exit
2739 -V, --version print version number and configuration settings, then exit
2740 --config print configuration, then exit
2741 -q, --quiet, --silent
2742 do not print progress messages
2743 -d, --debug don't remove temporary files
2744 --recheck update $as_me by reconfiguring in the same conditions
2745 --file=FILE[:TEMPLATE]
2746 instantiate the configuration file FILE
2747
2748 Configuration files:
2749 $config_files
2750
2751 Report bugs to <[email protected]>."
2752
2753 _ACEOF
2754 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
2755 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
2756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2757 ac_cs_config='$ac_cs_config_escaped'
2758 ac_cs_version="\\
2759 find-python config.status 0.1
2760 configured by $0, generated by GNU Autoconf 2.71,
2761 with options \\"\$ac_cs_config\\"
2762
2763 Copyright (C) 2021 Free Software Foundation, Inc.
2764 This config.status script is free software; the Free Software Foundation
2765 gives unlimited permission to copy, distribute and modify it."
2766
2767 ac_pwd='$ac_pwd'
2768 srcdir='$srcdir'
2769 test -n "\$AWK" || AWK=awk
2770 _ACEOF
2771
2772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2773 # The default lists apply if the user does not specify any file.
2774 ac_need_defaults=:
2775 while test $# != 0
2776 do
2777 case $1 in
2778 --*=?*)
2779 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2780 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2781 ac_shift=:
2782 ;;
2783 --*=)
2784 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2785 ac_optarg=
2786 ac_shift=:
2787 ;;
2788 *)
2789 ac_option=$1
2790 ac_optarg=$2
2791 ac_shift=shift
2792 ;;
2793 esac
2794
2795 case $ac_option in
2796 # Handling of the options.
2797 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2798 ac_cs_recheck=: ;;
2799 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2800 printf "%s\n" "$ac_cs_version"; exit ;;
2801 --config | --confi | --conf | --con | --co | --c )
2802 printf "%s\n" "$ac_cs_config"; exit ;;
2803 --debug | --debu | --deb | --de | --d | -d )
2804 debug=: ;;
2805 --file | --fil | --fi | --f )
2806 $ac_shift
2807 case $ac_optarg in
2808 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2809 '') as_fn_error $? "missing file argument" ;;
2810 esac
2811 as_fn_append CONFIG_FILES " '$ac_optarg'"
2812 ac_need_defaults=false;;
2813 --he | --h | --help | --hel | -h )
2814 printf "%s\n" "$ac_cs_usage"; exit ;;
2815 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2816 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2817 ac_cs_silent=: ;;
2818
2819 # This is an error.
2820 -*) as_fn_error $? "unrecognized option: \`$1'
2821 Try \`$0 --help' for more information." ;;
2822
2823 *) as_fn_append ac_config_targets " $1"
2824 ac_need_defaults=false ;;
2825
2826 esac
2827 shift
2828 done
2829
2830 ac_configure_extra_args=
2831
2832 if $ac_cs_silent; then
2833 exec 6>/dev/null
2834 ac_configure_extra_args="$ac_configure_extra_args --silent"
2835 fi
2836
2837 _ACEOF
2838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2839 if \$ac_cs_recheck; then
2840 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2841 shift
2842 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
2843 CONFIG_SHELL='$SHELL'
2844 export CONFIG_SHELL
2845 exec "\$@"
2846 fi
2847
2848 _ACEOF
2849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2850 exec 5>>config.log
2851 {
2852 echo
2853 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2854 ## Running $as_me. ##
2855 _ASBOX
2856 printf "%s\n" "$ac_log"
2857 } >&5
2858
2859 _ACEOF
2860 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2861 _ACEOF
2862
2863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2864
2865 # Handling of arguments.
2866 for ac_config_target in $ac_config_targets
2867 do
2868 case $ac_config_target in
2869 "gen-avr-lib-tree.sh") CONFIG_FILES="$CONFIG_FILES gen-avr-lib-tree.sh" ;;
2870
2871 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2872 esac
2873 done
2874
2875
2876 # If the user did not use the arguments to specify the items to instantiate,
2877 # then the envvar interface is used. Set only those that are not.
2878 # We use the long form for the default assignment because of an extremely
2879 # bizarre bug on SunOS 4.1.3.
2880 if $ac_need_defaults; then
2881 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
2882 fi
2883
2884 # Have a temporary directory for convenience. Make it in the build tree
2885 # simply because there is no reason against having it here, and in addition,
2886 # creating and moving files from /tmp can sometimes cause problems.
2887 # Hook for its removal unless debugging.
2888 # Note that there is a small window in which the directory will not be cleaned:
2889 # after its creation but before its name has been assigned to `$tmp'.
2890 $debug ||
2891 {
2892 tmp= ac_tmp=
2893 trap 'exit_status=$?
2894 : "${ac_tmp:=$tmp}"
2895 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2896 ' 0
2897 trap 'as_fn_exit 1' 1 2 13 15
2898 }
2899 # Create a (secure) tmp directory for tmp files.
2900
2901 {
2902 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2903 test -d "$tmp"
2904 } ||
2905 {
2906 tmp=./conf$$-$RANDOM
2907 (umask 077 && mkdir "$tmp")
2908 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2909 ac_tmp=$tmp
2910
2911 # Set up the scripts for CONFIG_FILES section.
2912 # No need to generate them if there are no CONFIG_FILES.
2913 # This happens for instance with `./config.status config.h'.
2914 if test -n "$CONFIG_FILES"; then
2915
2916
2917 ac_cr=`echo X | tr X '\015'`
2918 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2919 # But we know of no other shell where ac_cr would be empty at this
2920 # point, so we can use a bashism as a fallback.
2921 if test "x$ac_cr" = x; then
2922 eval ac_cr=\$\'\\r\'
2923 fi
2924 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2925 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2926 ac_cs_awk_cr='\\r'
2927 else
2928 ac_cs_awk_cr=$ac_cr
2929 fi
2930
2931 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2932 _ACEOF
2933
2934
2935 {
2936 echo "cat >conf$$subs.awk <<_ACEOF" &&
2937 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2938 echo "_ACEOF"
2939 } >conf$$subs.sh ||
2940 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2941 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2942 ac_delim='%!_!# '
2943 for ac_last_try in false false false false false :; do
2944 . ./conf$$subs.sh ||
2945 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2946
2947 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2948 if test $ac_delim_n = $ac_delim_num; then
2949 break
2950 elif $ac_last_try; then
2951 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2952 else
2953 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2954 fi
2955 done
2956 rm -f conf$$subs.sh
2957
2958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2959 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2960 _ACEOF
2961 sed -n '
2962 h
2963 s/^/S["/; s/!.*/"]=/
2964 p
2965 g
2966 s/^[^!]*!//
2967 :repl
2968 t repl
2969 s/'"$ac_delim"'$//
2970 t delim
2971 :nl
2972 h
2973 s/\(.\{148\}\)..*/\1/
2974 t more1
2975 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2976 p
2977 n
2978 b repl
2979 :more1
2980 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2981 p
2982 g
2983 s/.\{148\}//
2984 t nl
2985 :delim
2986 h
2987 s/\(.\{148\}\)..*/\1/
2988 t more2
2989 s/["\\]/\\&/g; s/^/"/; s/$/"/
2990 p
2991 b
2992 :more2
2993 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2994 p
2995 g
2996 s/.\{148\}//
2997 t delim
2998 ' <conf$$subs.awk | sed '
2999 /^[^""]/{
3000 N
3001 s/\n//
3002 }
3003 ' >>$CONFIG_STATUS || ac_write_fail=1
3004 rm -f conf$$subs.awk
3005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3006 _ACAWK
3007 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3008 for (key in S) S_is_set[key] = 1
3009 FS = ""
3010
3011 }
3012 {
3013 line = $ 0
3014 nfields = split(line, field, "@")
3015 substed = 0
3016 len = length(field[1])
3017 for (i = 2; i < nfields; i++) {
3018 key = field[i]
3019 keylen = length(key)
3020 if (S_is_set[key]) {
3021 value = S[key]
3022 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3023 len += length(value) + length(field[++i])
3024 substed = 1
3025 } else
3026 len += 1 + keylen
3027 }
3028
3029 print line
3030 }
3031
3032 _ACAWK
3033 _ACEOF
3034 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3035 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3036 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3037 else
3038 cat
3039 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3040 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3041 _ACEOF
3042
3043 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3044 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3045 # trailing colons and then remove the whole line if VPATH becomes empty
3046 # (actually we leave an empty line to preserve line numbers).
3047 if test "x$srcdir" = x.; then
3048 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3049 h
3050 s///
3051 s/^/:/
3052 s/[ ]*$/:/
3053 s/:\$(srcdir):/:/g
3054 s/:\${srcdir}:/:/g
3055 s/:@srcdir@:/:/g
3056 s/^:*//
3057 s/:*$//
3058 x
3059 s/\(=[ ]*\).*/\1/
3060 G
3061 s/\n//
3062 s/^[^=]*=[ ]*$//
3063 }'
3064 fi
3065
3066 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3067 fi # test -n "$CONFIG_FILES"
3068
3069
3070 eval set X " :F $CONFIG_FILES "
3071 shift
3072 for ac_tag
3073 do
3074 case $ac_tag in
3075 :[FHLC]) ac_mode=$ac_tag; continue;;
3076 esac
3077 case $ac_mode$ac_tag in
3078 :[FHL]*:*);;
3079 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3080 :[FH]-) ac_tag=-:-;;
3081 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3082 esac
3083 ac_save_IFS=$IFS
3084 IFS=:
3085 set x $ac_tag
3086 IFS=$ac_save_IFS
3087 shift
3088 ac_file=$1
3089 shift
3090
3091 case $ac_mode in
3092 :L) ac_source=$1;;
3093 :[FH])
3094 ac_file_inputs=
3095 for ac_f
3096 do
3097 case $ac_f in
3098 -) ac_f="$ac_tmp/stdin";;
3099 *) # Look for the file first in the build tree, then in the source tree
3100 # (if the path is not absolute). The absolute path cannot be DOS-style,
3101 # because $ac_f cannot contain `:'.
3102 test -f "$ac_f" ||
3103 case $ac_f in
3104 [\\/$]*) false;;
3105 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3106 esac ||
3107 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3108 esac
3109 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3110 as_fn_append ac_file_inputs " '$ac_f'"
3111 done
3112
3113 # Let's still pretend it is `configure' which instantiates (i.e., don't
3114 # use $as_me), people would be surprised to read:
3115 # /* config.h. Generated by config.status. */
3116 configure_input='Generated from '`
3117 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3118 `' by configure.'
3119 if test x"$ac_file" != x-; then
3120 configure_input="$ac_file. $configure_input"
3121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3122 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3123 fi
3124 # Neutralize special characters interpreted by sed in replacement strings.
3125 case $configure_input in #(
3126 *\&* | *\|* | *\\* )
3127 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3128 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3129 *) ac_sed_conf_input=$configure_input;;
3130 esac
3131
3132 case $ac_tag in
3133 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3134 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3135 esac
3136 ;;
3137 esac
3138
3139 ac_dir=`$as_dirname -- "$ac_file" ||
3140 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3141 X"$ac_file" : 'X\(//\)[^/]' \| \
3142 X"$ac_file" : 'X\(//\)$' \| \
3143 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3144 printf "%s\n" X"$ac_file" |
3145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3146 s//\1/
3147 q
3148 }
3149 /^X\(\/\/\)[^/].*/{
3150 s//\1/
3151 q
3152 }
3153 /^X\(\/\/\)$/{
3154 s//\1/
3155 q
3156 }
3157 /^X\(\/\).*/{
3158 s//\1/
3159 q
3160 }
3161 s/.*/./; q'`
3162 as_dir="$ac_dir"; as_fn_mkdir_p
3163 ac_builddir=.
3164
3165 case "$ac_dir" in
3166 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3167 *)
3168 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3169 # A ".." for each directory in $ac_dir_suffix.
3170 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3171 case $ac_top_builddir_sub in
3172 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3173 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3174 esac ;;
3175 esac
3176 ac_abs_top_builddir=$ac_pwd
3177 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3178 # for backward compatibility:
3179 ac_top_builddir=$ac_top_build_prefix
3180
3181 case $srcdir in
3182 .) # We are building in place.
3183 ac_srcdir=.
3184 ac_top_srcdir=$ac_top_builddir_sub
3185 ac_abs_top_srcdir=$ac_pwd ;;
3186 [\\/]* | ?:[\\/]* ) # Absolute name.
3187 ac_srcdir=$srcdir$ac_dir_suffix;
3188 ac_top_srcdir=$srcdir
3189 ac_abs_top_srcdir=$srcdir ;;
3190 *) # Relative name.
3191 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3192 ac_top_srcdir=$ac_top_build_prefix$srcdir
3193 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3194 esac
3195 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3196
3197
3198 case $ac_mode in
3199 :F)
3200 #
3201 # CONFIG_FILE
3202 #
3203
3204 _ACEOF
3205
3206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3207 # If the template does not know about datarootdir, expand it.
3208 # FIXME: This hack should be removed a few years after 2.60.
3209 ac_datarootdir_hack=; ac_datarootdir_seen=
3210 ac_sed_dataroot='
3211 /datarootdir/ {
3212 p
3213 q
3214 }
3215 /@datadir@/p
3216 /@docdir@/p
3217 /@infodir@/p
3218 /@localedir@/p
3219 /@mandir@/p'
3220 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3221 *datarootdir*) ac_datarootdir_seen=yes;;
3222 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3224 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3225 _ACEOF
3226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3227 ac_datarootdir_hack='
3228 s&@datadir@&$datadir&g
3229 s&@docdir@&$docdir&g
3230 s&@infodir@&$infodir&g
3231 s&@localedir@&$localedir&g
3232 s&@mandir@&$mandir&g
3233 s&\\\${datarootdir}&$datarootdir&g' ;;
3234 esac
3235 _ACEOF
3236
3237 # Neutralize VPATH when `$srcdir' = `.'.
3238 # Shell code in configure.ac might set extrasub.
3239 # FIXME: do we really want to maintain this feature?
3240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3241 ac_sed_extra="$ac_vpsub
3242 $extrasub
3243 _ACEOF
3244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3245 :t
3246 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3247 s|@configure_input@|$ac_sed_conf_input|;t t
3248 s&@top_builddir@&$ac_top_builddir_sub&;t t
3249 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3250 s&@srcdir@&$ac_srcdir&;t t
3251 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3252 s&@top_srcdir@&$ac_top_srcdir&;t t
3253 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3254 s&@builddir@&$ac_builddir&;t t
3255 s&@abs_builddir@&$ac_abs_builddir&;t t
3256 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3257 $ac_datarootdir_hack
3258 "
3259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3260 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3261
3262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3263 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3265 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3266 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3267 which seems to be undefined. Please make sure it is defined" >&5
3268 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3269 which seems to be undefined. Please make sure it is defined" >&2;}
3270
3271 rm -f "$ac_tmp/stdin"
3272 case $ac_file in
3273 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3274 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3275 esac \
3276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3277 ;;
3278
3279
3280
3281 esac
3282
3283
3284 case $ac_file$ac_mode in
3285 "gen-avr-lib-tree.sh":F) chmod +x gen-avr-lib-tree.sh ;;
3286
3287 esac
3288 done # for ac_tag
3289
3290
3291 as_fn_exit 0
3292 _ACEOF
3293 ac_clean_files=$ac_clean_files_save
3294
3295 test $ac_write_fail = 0 ||
3296 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3297
3298
3299 # configure is writing to config.log, and then calls config.status.
3300 # config.status does its own redirection, appending to config.log.
3301 # Unfortunately, on DOS this fails, as config.log is still kept open
3302 # by configure, so config.status won't be able to write to it; its
3303 # output is simply discarded. So we exec the FD to /dev/null,
3304 # effectively closing config.log, so it can be properly (re)opened and
3305 # appended to by config.status. When coming back to configure, we
3306 # need to make the FD available again.
3307 if test "$no_create" != yes; then
3308 ac_cs_success=:
3309 ac_config_status_args=
3310 test "$silent" = yes &&
3311 ac_config_status_args="$ac_config_status_args --quiet"
3312 exec 5>/dev/null
3313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3314 exec 5>>config.log
3315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3316 # would make configure fail if this is the last instruction.
3317 $ac_cs_success || as_fn_exit 1
3318 fi
3319 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3321 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3322 fi
3323
3324