Released as 20240322 ('Sweden')
[parallel.git] / configure
blob286621c28f3a87b2ef3e0442754ba244bda28f4e
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for parallel 20240322.
5 # Report bugs to <bug-parallel@gnu.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev/null
187 then :
188 as_have_required=yes
189 else $as_nop
190 as_have_required=no
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193 then :
195 else $as_nop
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 as_found=false
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 IFS=$as_save_IFS
201 case $as_dir in #(((
202 '') as_dir=./ ;;
203 */) ;;
204 *) as_dir=$as_dir/ ;;
205 esac
206 as_found=:
207 case $as_dir in #(
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 then :
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
217 then :
218 break 2
221 done;;
222 esac
223 as_found=false
224 done
225 IFS=$as_save_IFS
226 if $as_found
227 then :
229 else $as_nop
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x
239 then :
240 export CONFIG_SHELL
241 # We cannot yet assume a decent shell, so we have to provide a
242 # neutralization value for shells without unset; and this also
243 # works around shells that cannot unset nonexistent variables.
244 # Preserve -v and -x to the replacement shell.
245 BASH_ENV=/dev/null
246 ENV=/dev/null
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253 esac
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258 exit 255
261 if test x$as_have_required = xno
262 then :
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
270 $0: bug-parallel@gnu.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
301 as_fn_set_status ()
303 return $1
304 } # as_fn_set_status
306 # as_fn_exit STATUS
307 # -----------------
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
309 as_fn_exit ()
311 set +e
312 as_fn_set_status $1
313 exit $1
314 } # as_fn_exit
315 # as_fn_nop
316 # ---------
317 # Do nothing but, unlike ":", preserve the value of $?.
318 as_fn_nop ()
320 return $?
322 as_nop=as_fn_nop
324 # as_fn_mkdir_p
325 # -------------
326 # Create "$as_dir" as a directory, including parents if necessary.
327 as_fn_mkdir_p ()
330 case $as_dir in #(
331 -*) as_dir=./$as_dir;;
332 esac
333 test -d "$as_dir" || eval $as_mkdir_p || {
334 as_dirs=
335 while :; do
336 case $as_dir in #(
337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
338 *) as_qdir=$as_dir;;
339 esac
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
348 s//\1/
351 /^X\(\/\/\)[^/].*/{
352 s//\1/
355 /^X\(\/\/\)$/{
356 s//\1/
359 /^X\(\/\).*/{
360 s//\1/
363 s/.*/./; q'`
364 test -d "$as_dir" && break
365 done
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
370 } # as_fn_mkdir_p
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
384 # implementations.
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386 then :
387 eval 'as_fn_append ()
389 eval $1+=\$2
391 else $as_nop
392 as_fn_append ()
394 eval $1=\$$1\$2
396 fi # as_fn_append
398 # as_fn_arith ARG...
399 # ------------------
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404 then :
405 eval 'as_fn_arith ()
407 as_val=$(( $* ))
409 else $as_nop
410 as_fn_arith ()
412 as_val=`expr "$@" || test $? -eq 1`
414 fi # as_fn_arith
416 # as_fn_nop
417 # ---------
418 # Do nothing but, unlike ":", preserve the value of $?.
419 as_fn_nop ()
421 return $?
423 as_nop=as_fn_nop
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
430 as_fn_error ()
432 as_status=$1; test $as_status -eq 0 && as_status=1
433 if test "$4"; then
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
439 } # as_fn_error
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
443 as_expr=expr
444 else
445 as_expr=false
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449 as_basename=basename
450 else
451 as_basename=false
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455 as_dirname=dirname
456 else
457 as_dirname=false
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
466 s//\1/
469 /^X\/\(\/\/\)$/{
470 s//\1/
473 /^X\/\(\/\).*/{
474 s//\1/
477 s/.*/./; q'`
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
487 as_lineno_1=$LINENO as_lineno_1a=$LINENO
488 as_lineno_2=$LINENO as_lineno_2a=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 sed -n '
494 /[$]LINENO/=
495 ' <$as_myself |
496 sed '
497 s/[$]LINENO.*/&-/
498 t lineno
500 :lineno
502 :loop
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
504 t loop
505 s/-\n.*//
506 ' >$as_me.lineno &&
507 chmod +x "$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec=no; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
517 . "./$as_me.lineno"
518 # Exit status is that of the last command.
519 exit
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
528 -n*)
529 case `echo 'xy\c'` in
530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
531 xy) ECHO_C='\c';;
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
533 ECHO_T=' ';;
534 esac;;
536 ECHO_N='-n';;
537 esac
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549 else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s='ln -s'
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 as_ln_s='cp -pR'
562 elif ln conf$$.file conf$$ 2>/dev/null; then
563 as_ln_s=ln
564 else
565 as_ln_s='cp -pR'
567 else
568 as_ln_s='cp -pR'
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575 else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
580 as_test_x='test -x'
581 as_executable_p=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" || exec 7<&0 </dev/null
591 exec 6>&1
593 # Name of the host.
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
599 # Initializations.
601 ac_default_prefix=/usr/local
602 ac_clean_files=
603 ac_config_libobj_dir=.
604 LIBOBJS=
605 cross_compiling=no
606 subdirs=
607 MFLAGS=
608 MAKEFLAGS=
610 # Identity of this package.
611 PACKAGE_NAME='parallel'
612 PACKAGE_TARNAME='parallel'
613 PACKAGE_VERSION='20240322'
614 PACKAGE_STRING='parallel 20240322'
615 PACKAGE_BUGREPORT='bug-parallel@gnu.org'
616 PACKAGE_URL=''
618 ac_subst_vars='LTLIBOBJS
619 LIBOBJS
620 LN_S
621 DOCUMENTATION_FALSE
622 DOCUMENTATION_TRUE
623 AM_BACKSLASH
624 AM_DEFAULT_VERBOSITY
625 AM_DEFAULT_V
626 AM_V
627 CSCOPE
628 ETAGS
629 CTAGS
630 am__untar
631 am__tar
632 AMTAR
633 am__leading_dot
634 SET_MAKE
636 mkdir_p
637 MKDIR_P
638 INSTALL_STRIP_PROGRAM
639 STRIP
640 install_sh
641 MAKEINFO
642 AUTOHEADER
643 AUTOMAKE
644 AUTOCONF
645 ACLOCAL
646 VERSION
647 PACKAGE
648 CYGPATH_W
649 am__isrc
650 INSTALL_DATA
651 INSTALL_SCRIPT
652 INSTALL_PROGRAM
653 target_alias
654 host_alias
655 build_alias
656 LIBS
657 ECHO_T
658 ECHO_N
659 ECHO_C
660 DEFS
661 mandir
662 localedir
663 libdir
664 psdir
665 pdfdir
666 dvidir
667 htmldir
668 infodir
669 docdir
670 oldincludedir
671 includedir
672 runstatedir
673 localstatedir
674 sharedstatedir
675 sysconfdir
676 datadir
677 datarootdir
678 libexecdir
679 sbindir
680 bindir
681 program_transform_name
682 prefix
683 exec_prefix
684 PACKAGE_URL
685 PACKAGE_BUGREPORT
686 PACKAGE_STRING
687 PACKAGE_VERSION
688 PACKAGE_TARNAME
689 PACKAGE_NAME
690 PATH_SEPARATOR
691 SHELL'
692 ac_subst_files=''
693 ac_user_opts='
694 enable_option_checking
695 enable_silent_rules
696 enable_documentation
698 ac_precious_vars='build_alias
699 host_alias
700 target_alias'
703 # Initialize some variables set by options.
704 ac_init_help=
705 ac_init_version=false
706 ac_unrecognized_opts=
707 ac_unrecognized_sep=
708 # The variables have the same names as the options, with
709 # dashes changed to underlines.
710 cache_file=/dev/null
711 exec_prefix=NONE
712 no_create=
713 no_recursion=
714 prefix=NONE
715 program_prefix=NONE
716 program_suffix=NONE
717 program_transform_name=s,x,x,
718 silent=
719 site=
720 srcdir=
721 verbose=
722 x_includes=NONE
723 x_libraries=NONE
725 # Installation directory options.
726 # These are left unexpanded so users can "make install exec_prefix=/foo"
727 # and all the variables that are supposed to be based on exec_prefix
728 # by default will actually change.
729 # Use braces instead of parens because sh, perl, etc. also accept them.
730 # (The list follows the same order as the GNU Coding Standards.)
731 bindir='${exec_prefix}/bin'
732 sbindir='${exec_prefix}/sbin'
733 libexecdir='${exec_prefix}/libexec'
734 datarootdir='${prefix}/share'
735 datadir='${datarootdir}'
736 sysconfdir='${prefix}/etc'
737 sharedstatedir='${prefix}/com'
738 localstatedir='${prefix}/var'
739 runstatedir='${localstatedir}/run'
740 includedir='${prefix}/include'
741 oldincludedir='/usr/include'
742 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
743 infodir='${datarootdir}/info'
744 htmldir='${docdir}'
745 dvidir='${docdir}'
746 pdfdir='${docdir}'
747 psdir='${docdir}'
748 libdir='${exec_prefix}/lib'
749 localedir='${datarootdir}/locale'
750 mandir='${datarootdir}/man'
752 ac_prev=
753 ac_dashdash=
754 for ac_option
756 # If the previous option needs an argument, assign it.
757 if test -n "$ac_prev"; then
758 eval $ac_prev=\$ac_option
759 ac_prev=
760 continue
763 case $ac_option in
764 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
765 *=) ac_optarg= ;;
766 *) ac_optarg=yes ;;
767 esac
769 case $ac_dashdash$ac_option in
771 ac_dashdash=yes ;;
773 -bindir | --bindir | --bindi | --bind | --bin | --bi)
774 ac_prev=bindir ;;
775 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
776 bindir=$ac_optarg ;;
778 -build | --build | --buil | --bui | --bu)
779 ac_prev=build_alias ;;
780 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
781 build_alias=$ac_optarg ;;
783 -cache-file | --cache-file | --cache-fil | --cache-fi \
784 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
785 ac_prev=cache_file ;;
786 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
787 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
788 cache_file=$ac_optarg ;;
790 --config-cache | -C)
791 cache_file=config.cache ;;
793 -datadir | --datadir | --datadi | --datad)
794 ac_prev=datadir ;;
795 -datadir=* | --datadir=* | --datadi=* | --datad=*)
796 datadir=$ac_optarg ;;
798 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
799 | --dataroo | --dataro | --datar)
800 ac_prev=datarootdir ;;
801 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
802 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
803 datarootdir=$ac_optarg ;;
805 -disable-* | --disable-*)
806 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
807 # Reject names that are not valid shell variable names.
808 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
809 as_fn_error $? "invalid feature name: \`$ac_useropt'"
810 ac_useropt_orig=$ac_useropt
811 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
812 case $ac_user_opts in
814 "enable_$ac_useropt"
815 "*) ;;
816 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
817 ac_unrecognized_sep=', ';;
818 esac
819 eval enable_$ac_useropt=no ;;
821 -docdir | --docdir | --docdi | --doc | --do)
822 ac_prev=docdir ;;
823 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
824 docdir=$ac_optarg ;;
826 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
827 ac_prev=dvidir ;;
828 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
829 dvidir=$ac_optarg ;;
831 -enable-* | --enable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 as_fn_error $? "invalid feature name: \`$ac_useropt'"
836 ac_useropt_orig=$ac_useropt
837 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
840 "enable_$ac_useropt"
841 "*) ;;
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
844 esac
845 eval enable_$ac_useropt=\$ac_optarg ;;
847 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
848 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
849 | --exec | --exe | --ex)
850 ac_prev=exec_prefix ;;
851 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
852 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
853 | --exec=* | --exe=* | --ex=*)
854 exec_prefix=$ac_optarg ;;
856 -gas | --gas | --ga | --g)
857 # Obsolete; use --with-gas.
858 with_gas=yes ;;
860 -help | --help | --hel | --he | -h)
861 ac_init_help=long ;;
862 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
863 ac_init_help=recursive ;;
864 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
865 ac_init_help=short ;;
867 -host | --host | --hos | --ho)
868 ac_prev=host_alias ;;
869 -host=* | --host=* | --hos=* | --ho=*)
870 host_alias=$ac_optarg ;;
872 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
873 ac_prev=htmldir ;;
874 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
875 | --ht=*)
876 htmldir=$ac_optarg ;;
878 -includedir | --includedir | --includedi | --included | --include \
879 | --includ | --inclu | --incl | --inc)
880 ac_prev=includedir ;;
881 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
882 | --includ=* | --inclu=* | --incl=* | --inc=*)
883 includedir=$ac_optarg ;;
885 -infodir | --infodir | --infodi | --infod | --info | --inf)
886 ac_prev=infodir ;;
887 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
888 infodir=$ac_optarg ;;
890 -libdir | --libdir | --libdi | --libd)
891 ac_prev=libdir ;;
892 -libdir=* | --libdir=* | --libdi=* | --libd=*)
893 libdir=$ac_optarg ;;
895 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
896 | --libexe | --libex | --libe)
897 ac_prev=libexecdir ;;
898 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
899 | --libexe=* | --libex=* | --libe=*)
900 libexecdir=$ac_optarg ;;
902 -localedir | --localedir | --localedi | --localed | --locale)
903 ac_prev=localedir ;;
904 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
905 localedir=$ac_optarg ;;
907 -localstatedir | --localstatedir | --localstatedi | --localstated \
908 | --localstate | --localstat | --localsta | --localst | --locals)
909 ac_prev=localstatedir ;;
910 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
911 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
912 localstatedir=$ac_optarg ;;
914 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
915 ac_prev=mandir ;;
916 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
917 mandir=$ac_optarg ;;
919 -nfp | --nfp | --nf)
920 # Obsolete; use --without-fp.
921 with_fp=no ;;
923 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
924 | --no-cr | --no-c | -n)
925 no_create=yes ;;
927 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
928 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
929 no_recursion=yes ;;
931 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
932 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
933 | --oldin | --oldi | --old | --ol | --o)
934 ac_prev=oldincludedir ;;
935 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
936 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
937 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
938 oldincludedir=$ac_optarg ;;
940 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
941 ac_prev=prefix ;;
942 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
943 prefix=$ac_optarg ;;
945 -program-prefix | --program-prefix | --program-prefi | --program-pref \
946 | --program-pre | --program-pr | --program-p)
947 ac_prev=program_prefix ;;
948 -program-prefix=* | --program-prefix=* | --program-prefi=* \
949 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
950 program_prefix=$ac_optarg ;;
952 -program-suffix | --program-suffix | --program-suffi | --program-suff \
953 | --program-suf | --program-su | --program-s)
954 ac_prev=program_suffix ;;
955 -program-suffix=* | --program-suffix=* | --program-suffi=* \
956 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
957 program_suffix=$ac_optarg ;;
959 -program-transform-name | --program-transform-name \
960 | --program-transform-nam | --program-transform-na \
961 | --program-transform-n | --program-transform- \
962 | --program-transform | --program-transfor \
963 | --program-transfo | --program-transf \
964 | --program-trans | --program-tran \
965 | --progr-tra | --program-tr | --program-t)
966 ac_prev=program_transform_name ;;
967 -program-transform-name=* | --program-transform-name=* \
968 | --program-transform-nam=* | --program-transform-na=* \
969 | --program-transform-n=* | --program-transform-=* \
970 | --program-transform=* | --program-transfor=* \
971 | --program-transfo=* | --program-transf=* \
972 | --program-trans=* | --program-tran=* \
973 | --progr-tra=* | --program-tr=* | --program-t=*)
974 program_transform_name=$ac_optarg ;;
976 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
977 ac_prev=pdfdir ;;
978 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
979 pdfdir=$ac_optarg ;;
981 -psdir | --psdir | --psdi | --psd | --ps)
982 ac_prev=psdir ;;
983 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
984 psdir=$ac_optarg ;;
986 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
987 | -silent | --silent | --silen | --sile | --sil)
988 silent=yes ;;
990 -runstatedir | --runstatedir | --runstatedi | --runstated \
991 | --runstate | --runstat | --runsta | --runst | --runs \
992 | --run | --ru | --r)
993 ac_prev=runstatedir ;;
994 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
995 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
996 | --run=* | --ru=* | --r=*)
997 runstatedir=$ac_optarg ;;
999 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1000 ac_prev=sbindir ;;
1001 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1002 | --sbi=* | --sb=*)
1003 sbindir=$ac_optarg ;;
1005 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1006 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1007 | --sharedst | --shareds | --shared | --share | --shar \
1008 | --sha | --sh)
1009 ac_prev=sharedstatedir ;;
1010 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1011 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1012 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1013 | --sha=* | --sh=*)
1014 sharedstatedir=$ac_optarg ;;
1016 -site | --site | --sit)
1017 ac_prev=site ;;
1018 -site=* | --site=* | --sit=*)
1019 site=$ac_optarg ;;
1021 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1022 ac_prev=srcdir ;;
1023 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1024 srcdir=$ac_optarg ;;
1026 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1027 | --syscon | --sysco | --sysc | --sys | --sy)
1028 ac_prev=sysconfdir ;;
1029 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1030 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1031 sysconfdir=$ac_optarg ;;
1033 -target | --target | --targe | --targ | --tar | --ta | --t)
1034 ac_prev=target_alias ;;
1035 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1036 target_alias=$ac_optarg ;;
1038 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1039 verbose=yes ;;
1041 -version | --version | --versio | --versi | --vers | -V)
1042 ac_init_version=: ;;
1044 -with-* | --with-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error $? "invalid package name: \`$ac_useropt'"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "with_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval with_$ac_useropt=\$ac_optarg ;;
1060 -without-* | --without-*)
1061 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1062 # Reject names that are not valid shell variable names.
1063 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1064 as_fn_error $? "invalid package name: \`$ac_useropt'"
1065 ac_useropt_orig=$ac_useropt
1066 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1067 case $ac_user_opts in
1069 "with_$ac_useropt"
1070 "*) ;;
1071 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1072 ac_unrecognized_sep=', ';;
1073 esac
1074 eval with_$ac_useropt=no ;;
1076 --x)
1077 # Obsolete; use --with-x.
1078 with_x=yes ;;
1080 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1081 | --x-incl | --x-inc | --x-in | --x-i)
1082 ac_prev=x_includes ;;
1083 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1084 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1085 x_includes=$ac_optarg ;;
1087 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1088 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1089 ac_prev=x_libraries ;;
1090 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1091 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1092 x_libraries=$ac_optarg ;;
1094 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1095 Try \`$0 --help' for more information"
1098 *=*)
1099 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1100 # Reject names that are not valid shell variable names.
1101 case $ac_envvar in #(
1102 '' | [0-9]* | *[!_$as_cr_alnum]* )
1103 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1104 esac
1105 eval $ac_envvar=\$ac_optarg
1106 export $ac_envvar ;;
1109 # FIXME: should be removed in autoconf 3.0.
1110 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1111 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1113 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1116 esac
1117 done
1119 if test -n "$ac_prev"; then
1120 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1121 as_fn_error $? "missing argument to $ac_option"
1124 if test -n "$ac_unrecognized_opts"; then
1125 case $enable_option_checking in
1126 no) ;;
1127 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1128 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1129 esac
1132 # Check all directory arguments for consistency.
1133 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1134 datadir sysconfdir sharedstatedir localstatedir includedir \
1135 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1136 libdir localedir mandir runstatedir
1138 eval ac_val=\$$ac_var
1139 # Remove trailing slashes.
1140 case $ac_val in
1141 */ )
1142 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1143 eval $ac_var=\$ac_val;;
1144 esac
1145 # Be sure to have absolute directory names.
1146 case $ac_val in
1147 [\\/$]* | ?:[\\/]* ) continue;;
1148 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1149 esac
1150 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1151 done
1153 # There might be people who depend on the old broken behavior: `$host'
1154 # used to hold the argument of --host etc.
1155 # FIXME: To remove some day.
1156 build=$build_alias
1157 host=$host_alias
1158 target=$target_alias
1160 # FIXME: To remove some day.
1161 if test "x$host_alias" != x; then
1162 if test "x$build_alias" = x; then
1163 cross_compiling=maybe
1164 elif test "x$build_alias" != "x$host_alias"; then
1165 cross_compiling=yes
1169 ac_tool_prefix=
1170 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1172 test "$silent" = yes && exec 6>/dev/null
1175 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1176 ac_ls_di=`ls -di .` &&
1177 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1178 as_fn_error $? "working directory cannot be determined"
1179 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1180 as_fn_error $? "pwd does not report name of working directory"
1183 # Find the source files, if location was not specified.
1184 if test -z "$srcdir"; then
1185 ac_srcdir_defaulted=yes
1186 # Try the directory containing this script, then the parent directory.
1187 ac_confdir=`$as_dirname -- "$as_myself" ||
1188 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1189 X"$as_myself" : 'X\(//\)[^/]' \| \
1190 X"$as_myself" : 'X\(//\)$' \| \
1191 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1192 printf "%s\n" X"$as_myself" |
1193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1194 s//\1/
1197 /^X\(\/\/\)[^/].*/{
1198 s//\1/
1201 /^X\(\/\/\)$/{
1202 s//\1/
1205 /^X\(\/\).*/{
1206 s//\1/
1209 s/.*/./; q'`
1210 srcdir=$ac_confdir
1211 if test ! -r "$srcdir/$ac_unique_file"; then
1212 srcdir=..
1214 else
1215 ac_srcdir_defaulted=no
1217 if test ! -r "$srcdir/$ac_unique_file"; then
1218 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1219 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1221 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1222 ac_abs_confdir=`(
1223 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1224 pwd)`
1225 # When building in place, set srcdir=.
1226 if test "$ac_abs_confdir" = "$ac_pwd"; then
1227 srcdir=.
1229 # Remove unnecessary trailing slashes from srcdir.
1230 # Double slashes in file names in object file debugging info
1231 # mess up M-x gdb in Emacs.
1232 case $srcdir in
1233 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 esac
1235 for ac_var in $ac_precious_vars; do
1236 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1237 eval ac_env_${ac_var}_value=\$${ac_var}
1238 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1239 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1240 done
1243 # Report the --help message.
1245 if test "$ac_init_help" = "long"; then
1246 # Omit some internal or obsolete options to make the list less imposing.
1247 # This message is too long to be a string in the A/UX 3.1 sh.
1248 cat <<_ACEOF
1249 \`configure' configures parallel 20240322 to adapt to many kinds of systems.
1251 Usage: $0 [OPTION]... [VAR=VALUE]...
1253 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1254 VAR=VALUE. See below for descriptions of some of the useful variables.
1256 Defaults for the options are specified in brackets.
1258 Configuration:
1259 -h, --help display this help and exit
1260 --help=short display options specific to this package
1261 --help=recursive display the short help of all the included packages
1262 -V, --version display version information and exit
1263 -q, --quiet, --silent do not print \`checking ...' messages
1264 --cache-file=FILE cache test results in FILE [disabled]
1265 -C, --config-cache alias for \`--cache-file=config.cache'
1266 -n, --no-create do not create output files
1267 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1269 Installation directories:
1270 --prefix=PREFIX install architecture-independent files in PREFIX
1271 [$ac_default_prefix]
1272 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1273 [PREFIX]
1275 By default, \`make install' will install all the files in
1276 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1277 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1278 for instance \`--prefix=\$HOME'.
1280 For better control, use the options below.
1282 Fine tuning of the installation directories:
1283 --bindir=DIR user executables [EPREFIX/bin]
1284 --sbindir=DIR system admin executables [EPREFIX/sbin]
1285 --libexecdir=DIR program executables [EPREFIX/libexec]
1286 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1287 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1288 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1289 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1290 --libdir=DIR object code libraries [EPREFIX/lib]
1291 --includedir=DIR C header files [PREFIX/include]
1292 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1293 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1294 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1295 --infodir=DIR info documentation [DATAROOTDIR/info]
1296 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1297 --mandir=DIR man documentation [DATAROOTDIR/man]
1298 --docdir=DIR documentation root [DATAROOTDIR/doc/parallel]
1299 --htmldir=DIR html documentation [DOCDIR]
1300 --dvidir=DIR dvi documentation [DOCDIR]
1301 --pdfdir=DIR pdf documentation [DOCDIR]
1302 --psdir=DIR ps documentation [DOCDIR]
1303 _ACEOF
1305 cat <<\_ACEOF
1307 Program names:
1308 --program-prefix=PREFIX prepend PREFIX to installed program names
1309 --program-suffix=SUFFIX append SUFFIX to installed program names
1310 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1311 _ACEOF
1314 if test -n "$ac_init_help"; then
1315 case $ac_init_help in
1316 short | recursive ) echo "Configuration of parallel 20240322:";;
1317 esac
1318 cat <<\_ACEOF
1320 Optional Features:
1321 --disable-option-checking ignore unrecognized --enable/--with options
1322 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1323 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1324 --enable-silent-rules less verbose build output (undo: "make V=1")
1325 --disable-silent-rules verbose build output (undo: "make V=0")
1326 --disable-documentation Omit building and installing the documentation.
1327 (default=no)
1329 Report bugs to <bug-parallel@gnu.org>.
1330 _ACEOF
1331 ac_status=$?
1334 if test "$ac_init_help" = "recursive"; then
1335 # If there are subdirs, report their specific --help.
1336 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1337 test -d "$ac_dir" ||
1338 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1339 continue
1340 ac_builddir=.
1342 case "$ac_dir" in
1343 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1345 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1346 # A ".." for each directory in $ac_dir_suffix.
1347 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1348 case $ac_top_builddir_sub in
1349 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1350 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1351 esac ;;
1352 esac
1353 ac_abs_top_builddir=$ac_pwd
1354 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1355 # for backward compatibility:
1356 ac_top_builddir=$ac_top_build_prefix
1358 case $srcdir in
1359 .) # We are building in place.
1360 ac_srcdir=.
1361 ac_top_srcdir=$ac_top_builddir_sub
1362 ac_abs_top_srcdir=$ac_pwd ;;
1363 [\\/]* | ?:[\\/]* ) # Absolute name.
1364 ac_srcdir=$srcdir$ac_dir_suffix;
1365 ac_top_srcdir=$srcdir
1366 ac_abs_top_srcdir=$srcdir ;;
1367 *) # Relative name.
1368 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1369 ac_top_srcdir=$ac_top_build_prefix$srcdir
1370 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1371 esac
1372 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1374 cd "$ac_dir" || { ac_status=$?; continue; }
1375 # Check for configure.gnu first; this name is used for a wrapper for
1376 # Metaconfig's "Configure" on case-insensitive file systems.
1377 if test -f "$ac_srcdir/configure.gnu"; then
1378 echo &&
1379 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1380 elif test -f "$ac_srcdir/configure"; then
1381 echo &&
1382 $SHELL "$ac_srcdir/configure" --help=recursive
1383 else
1384 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1385 fi || ac_status=$?
1386 cd "$ac_pwd" || { ac_status=$?; break; }
1387 done
1390 test -n "$ac_init_help" && exit $ac_status
1391 if $ac_init_version; then
1392 cat <<\_ACEOF
1393 parallel configure 20240322
1394 generated by GNU Autoconf 2.71
1396 Copyright (C) 2021 Free Software Foundation, Inc.
1397 This configure script is free software; the Free Software Foundation
1398 gives unlimited permission to copy, distribute and modify it.
1399 _ACEOF
1400 exit
1403 ## ------------------------ ##
1404 ## Autoconf initialization. ##
1405 ## ------------------------ ##
1406 ac_configure_args_raw=
1407 for ac_arg
1409 case $ac_arg in
1410 *\'*)
1411 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1412 esac
1413 as_fn_append ac_configure_args_raw " '$ac_arg'"
1414 done
1416 case $ac_configure_args_raw in
1417 *$as_nl*)
1418 ac_safe_unquote= ;;
1420 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1421 ac_unsafe_a="$ac_unsafe_z#~"
1422 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1423 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1424 esac
1426 cat >config.log <<_ACEOF
1427 This file contains any messages produced by compilers while
1428 running configure, to aid debugging if configure makes a mistake.
1430 It was created by parallel $as_me 20240322, which was
1431 generated by GNU Autoconf 2.71. Invocation command line was
1433 $ $0$ac_configure_args_raw
1435 _ACEOF
1436 exec 5>>config.log
1438 cat <<_ASUNAME
1439 ## --------- ##
1440 ## Platform. ##
1441 ## --------- ##
1443 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1444 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1445 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1446 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1447 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1449 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1450 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1452 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1453 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1454 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1455 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1456 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1457 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1458 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1460 _ASUNAME
1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1463 for as_dir in $PATH
1465 IFS=$as_save_IFS
1466 case $as_dir in #(((
1467 '') as_dir=./ ;;
1468 */) ;;
1469 *) as_dir=$as_dir/ ;;
1470 esac
1471 printf "%s\n" "PATH: $as_dir"
1472 done
1473 IFS=$as_save_IFS
1475 } >&5
1477 cat >&5 <<_ACEOF
1480 ## ----------- ##
1481 ## Core tests. ##
1482 ## ----------- ##
1484 _ACEOF
1487 # Keep a trace of the command line.
1488 # Strip out --no-create and --no-recursion so they do not pile up.
1489 # Strip out --silent because we don't want to record it for future runs.
1490 # Also quote any args containing shell meta-characters.
1491 # Make two passes to allow for proper duplicate-argument suppression.
1492 ac_configure_args=
1493 ac_configure_args0=
1494 ac_configure_args1=
1495 ac_must_keep_next=false
1496 for ac_pass in 1 2
1498 for ac_arg
1500 case $ac_arg in
1501 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1502 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1503 | -silent | --silent | --silen | --sile | --sil)
1504 continue ;;
1505 *\'*)
1506 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1507 esac
1508 case $ac_pass in
1509 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1511 as_fn_append ac_configure_args1 " '$ac_arg'"
1512 if test $ac_must_keep_next = true; then
1513 ac_must_keep_next=false # Got value, back to normal.
1514 else
1515 case $ac_arg in
1516 *=* | --config-cache | -C | -disable-* | --disable-* \
1517 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1518 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1519 | -with-* | --with-* | -without-* | --without-* | --x)
1520 case "$ac_configure_args0 " in
1521 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1522 esac
1524 -* ) ac_must_keep_next=true ;;
1525 esac
1527 as_fn_append ac_configure_args " '$ac_arg'"
1529 esac
1530 done
1531 done
1532 { ac_configure_args0=; unset ac_configure_args0;}
1533 { ac_configure_args1=; unset ac_configure_args1;}
1535 # When interrupted or exit'd, cleanup temporary files, and complete
1536 # config.log. We remove comments because anyway the quotes in there
1537 # would cause problems or look ugly.
1538 # WARNING: Use '\'' to represent an apostrophe within the trap.
1539 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1540 trap 'exit_status=$?
1541 # Sanitize IFS.
1542 IFS=" "" $as_nl"
1543 # Save into config.log some information that might help in debugging.
1545 echo
1547 printf "%s\n" "## ---------------- ##
1548 ## Cache variables. ##
1549 ## ---------------- ##"
1550 echo
1551 # The following way of writing the cache mishandles newlines in values,
1553 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1554 eval ac_val=\$$ac_var
1555 case $ac_val in #(
1556 *${as_nl}*)
1557 case $ac_var in #(
1558 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1559 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1560 esac
1561 case $ac_var in #(
1562 _ | IFS | as_nl) ;; #(
1563 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1564 *) { eval $ac_var=; unset $ac_var;} ;;
1565 esac ;;
1566 esac
1567 done
1568 (set) 2>&1 |
1569 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1570 *${as_nl}ac_space=\ *)
1571 sed -n \
1572 "s/'\''/'\''\\\\'\'''\''/g;
1573 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1574 ;; #(
1576 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1578 esac |
1579 sort
1581 echo
1583 printf "%s\n" "## ----------------- ##
1584 ## Output variables. ##
1585 ## ----------------- ##"
1586 echo
1587 for ac_var in $ac_subst_vars
1589 eval ac_val=\$$ac_var
1590 case $ac_val in
1591 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1592 esac
1593 printf "%s\n" "$ac_var='\''$ac_val'\''"
1594 done | sort
1595 echo
1597 if test -n "$ac_subst_files"; then
1598 printf "%s\n" "## ------------------- ##
1599 ## File substitutions. ##
1600 ## ------------------- ##"
1601 echo
1602 for ac_var in $ac_subst_files
1604 eval ac_val=\$$ac_var
1605 case $ac_val in
1606 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1607 esac
1608 printf "%s\n" "$ac_var='\''$ac_val'\''"
1609 done | sort
1610 echo
1613 if test -s confdefs.h; then
1614 printf "%s\n" "## ----------- ##
1615 ## confdefs.h. ##
1616 ## ----------- ##"
1617 echo
1618 cat confdefs.h
1619 echo
1621 test "$ac_signal" != 0 &&
1622 printf "%s\n" "$as_me: caught signal $ac_signal"
1623 printf "%s\n" "$as_me: exit $exit_status"
1624 } >&5
1625 rm -f core *.core core.conftest.* &&
1626 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1627 exit $exit_status
1629 for ac_signal in 1 2 13 15; do
1630 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1631 done
1632 ac_signal=0
1634 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1635 rm -f -r conftest* confdefs.h
1637 printf "%s\n" "/* confdefs.h */" > confdefs.h
1639 # Predefined preprocessor variables.
1641 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1643 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1645 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1647 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1649 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1651 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1654 # Let the site file select an alternate cache file if it wants to.
1655 # Prefer an explicitly selected file to automatically selected ones.
1656 if test -n "$CONFIG_SITE"; then
1657 ac_site_files="$CONFIG_SITE"
1658 elif test "x$prefix" != xNONE; then
1659 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1660 else
1661 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1664 for ac_site_file in $ac_site_files
1666 case $ac_site_file in #(
1667 */*) :
1668 ;; #(
1669 *) :
1670 ac_site_file=./$ac_site_file ;;
1671 esac
1672 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1674 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1675 sed 's/^/| /' "$ac_site_file" >&5
1676 . "$ac_site_file" \
1677 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1678 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1679 as_fn_error $? "failed to load site script $ac_site_file
1680 See \`config.log' for more details" "$LINENO" 5; }
1682 done
1684 if test -r "$cache_file"; then
1685 # Some versions of bash will fail to source /dev/null (special files
1686 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1687 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1689 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1690 case $cache_file in
1691 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1692 *) . "./$cache_file";;
1693 esac
1695 else
1696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1697 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1698 >$cache_file
1702 # Auxiliary files required by this configure script.
1703 ac_aux_files="missing install-sh"
1705 # Locations in which to look for auxiliary files.
1706 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
1708 # Search for a directory containing all of the required auxiliary files,
1709 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
1710 # If we don't find one directory that contains all the files we need,
1711 # we report the set of missing files from the *first* directory in
1712 # $ac_aux_dir_candidates and give up.
1713 ac_missing_aux_files=""
1714 ac_first_candidate=:
1715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1717 as_found=false
1718 for as_dir in $ac_aux_dir_candidates
1720 IFS=$as_save_IFS
1721 case $as_dir in #(((
1722 '') as_dir=./ ;;
1723 */) ;;
1724 *) as_dir=$as_dir/ ;;
1725 esac
1726 as_found=:
1728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
1729 ac_aux_dir_found=yes
1730 ac_install_sh=
1731 for ac_aux in $ac_aux_files
1733 # As a special case, if "install-sh" is required, that requirement
1734 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
1735 # and $ac_install_sh is set appropriately for whichever one is found.
1736 if test x"$ac_aux" = x"install-sh"
1737 then
1738 if test -f "${as_dir}install-sh"; then
1739 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
1740 ac_install_sh="${as_dir}install-sh -c"
1741 elif test -f "${as_dir}install.sh"; then
1742 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
1743 ac_install_sh="${as_dir}install.sh -c"
1744 elif test -f "${as_dir}shtool"; then
1745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
1746 ac_install_sh="${as_dir}shtool install -c"
1747 else
1748 ac_aux_dir_found=no
1749 if $ac_first_candidate; then
1750 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
1751 else
1752 break
1755 else
1756 if test -f "${as_dir}${ac_aux}"; then
1757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
1758 else
1759 ac_aux_dir_found=no
1760 if $ac_first_candidate; then
1761 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
1762 else
1763 break
1767 done
1768 if test "$ac_aux_dir_found" = yes; then
1769 ac_aux_dir="$as_dir"
1770 break
1772 ac_first_candidate=false
1774 as_found=false
1775 done
1776 IFS=$as_save_IFS
1777 if $as_found
1778 then :
1780 else $as_nop
1781 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
1785 # These three variables are undocumented and unsupported,
1786 # and are intended to be withdrawn in a future Autoconf release.
1787 # They can cause serious problems if a builder's source tree is in a directory
1788 # whose full name contains unusual characters.
1789 if test -f "${ac_aux_dir}config.guess"; then
1790 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
1792 if test -f "${ac_aux_dir}config.sub"; then
1793 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
1795 if test -f "$ac_aux_dir/configure"; then
1796 ac_configure="$SHELL ${ac_aux_dir}configure"
1799 # Check that the precious variables saved in the cache have kept the same
1800 # value.
1801 ac_cache_corrupted=false
1802 for ac_var in $ac_precious_vars; do
1803 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1804 eval ac_new_set=\$ac_env_${ac_var}_set
1805 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1806 eval ac_new_val=\$ac_env_${ac_var}_value
1807 case $ac_old_set,$ac_new_set in
1808 set,)
1809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1810 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1811 ac_cache_corrupted=: ;;
1812 ,set)
1813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1814 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1815 ac_cache_corrupted=: ;;
1816 ,);;
1818 if test "x$ac_old_val" != "x$ac_new_val"; then
1819 # differences in whitespace do not lead to failure.
1820 ac_old_val_w=`echo x $ac_old_val`
1821 ac_new_val_w=`echo x $ac_new_val`
1822 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1824 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1825 ac_cache_corrupted=:
1826 else
1827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1828 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1829 eval $ac_var=\$ac_old_val
1831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1832 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
1833 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1834 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
1835 fi;;
1836 esac
1837 # Pass precious variables to config.status.
1838 if test "$ac_new_set" = set; then
1839 case $ac_new_val in
1840 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1841 *) ac_arg=$ac_var=$ac_new_val ;;
1842 esac
1843 case " $ac_configure_args " in
1844 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1845 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1846 esac
1848 done
1849 if $ac_cache_corrupted; then
1850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1851 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1853 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
1854 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
1855 and start over" "$LINENO" 5
1857 ## -------------------- ##
1858 ## Main body of script. ##
1859 ## -------------------- ##
1861 ac_ext=c
1862 ac_cpp='$CPP $CPPFLAGS'
1863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1868 am__api_version='1.16'
1872 # Find a good install program. We prefer a C program (faster),
1873 # so one script is as good as another. But avoid the broken or
1874 # incompatible versions:
1875 # SysV /etc/install, /usr/sbin/install
1876 # SunOS /usr/etc/install
1877 # IRIX /sbin/install
1878 # AIX /bin/install
1879 # AmigaOS /C/install, which installs bootblocks on floppy discs
1880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1883 # OS/2's system install, which has a completely different semantic
1884 # ./install, which can be erroneously created by make from ./install.sh.
1885 # Reject install programs that cannot install multiple files.
1886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1887 printf %s "checking for a BSD-compatible install... " >&6; }
1888 if test -z "$INSTALL"; then
1889 if test ${ac_cv_path_install+y}
1890 then :
1891 printf %s "(cached) " >&6
1892 else $as_nop
1893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1894 for as_dir in $PATH
1896 IFS=$as_save_IFS
1897 case $as_dir in #(((
1898 '') as_dir=./ ;;
1899 */) ;;
1900 *) as_dir=$as_dir/ ;;
1901 esac
1902 # Account for fact that we put trailing slashes in our PATH walk.
1903 case $as_dir in #((
1904 ./ | /[cC]/* | \
1905 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1906 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1907 /usr/ucb/* ) ;;
1909 # OSF1 and SCO ODT 3.0 have their own names for install.
1910 # Don't use installbsd from OSF since it installs stuff as root
1911 # by default.
1912 for ac_prog in ginstall scoinst install; do
1913 for ac_exec_ext in '' $ac_executable_extensions; do
1914 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
1915 if test $ac_prog = install &&
1916 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1917 # AIX install. It has an incompatible calling convention.
1919 elif test $ac_prog = install &&
1920 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1921 # program-specific install script used by HP pwplus--don't use.
1923 else
1924 rm -rf conftest.one conftest.two conftest.dir
1925 echo one > conftest.one
1926 echo two > conftest.two
1927 mkdir conftest.dir
1928 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
1929 test -s conftest.one && test -s conftest.two &&
1930 test -s conftest.dir/conftest.one &&
1931 test -s conftest.dir/conftest.two
1932 then
1933 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
1934 break 3
1938 done
1939 done
1941 esac
1943 done
1944 IFS=$as_save_IFS
1946 rm -rf conftest.one conftest.two conftest.dir
1949 if test ${ac_cv_path_install+y}; then
1950 INSTALL=$ac_cv_path_install
1951 else
1952 # As a last resort, use the slow shell script. Don't cache a
1953 # value for INSTALL within a source directory, because that will
1954 # break other packages using the cache if that directory is
1955 # removed, or if the value is a relative name.
1956 INSTALL=$ac_install_sh
1959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1960 printf "%s\n" "$INSTALL" >&6; }
1962 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1963 # It thinks the first close brace ends the variable substitution.
1964 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1966 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1968 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1971 printf %s "checking whether build environment is sane... " >&6; }
1972 # Reject unsafe characters in $srcdir or the absolute working directory
1973 # name. Accept space and tab only in the latter.
1974 am_lf='
1976 case `pwd` in
1977 *[\\\"\#\$\&\'\`$am_lf]*)
1978 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1979 esac
1980 case $srcdir in
1981 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1982 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1983 esac
1985 # Do 'set' in a subshell so we don't clobber the current shell's
1986 # arguments. Must try -L first in case configure is actually a
1987 # symlink; some systems play weird games with the mod time of symlinks
1988 # (eg FreeBSD returns the mod time of the symlink's containing
1989 # directory).
1990 if (
1991 am_has_slept=no
1992 for am_try in 1 2; do
1993 echo "timestamp, slept: $am_has_slept" > conftest.file
1994 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1995 if test "$*" = "X"; then
1996 # -L didn't work.
1997 set X `ls -t "$srcdir/configure" conftest.file`
1999 if test "$*" != "X $srcdir/configure conftest.file" \
2000 && test "$*" != "X conftest.file $srcdir/configure"; then
2002 # If neither matched, then we have a broken ls. This can happen
2003 # if, for instance, CONFIG_SHELL is bash and it inherits a
2004 # broken ls alias from the environment. This has actually
2005 # happened. Such a system could not be considered "sane".
2006 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2007 alias in your environment" "$LINENO" 5
2009 if test "$2" = conftest.file || test $am_try -eq 2; then
2010 break
2012 # Just in case.
2013 sleep 1
2014 am_has_slept=yes
2015 done
2016 test "$2" = conftest.file
2018 then
2019 # Ok.
2021 else
2022 as_fn_error $? "newly created file is older than distributed files!
2023 Check your system clock" "$LINENO" 5
2025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2026 printf "%s\n" "yes" >&6; }
2027 # If we didn't sleep, we still need to ensure time stamps of config.status and
2028 # generated files are strictly newer.
2029 am_sleep_pid=
2030 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2031 ( sleep 1 ) &
2032 am_sleep_pid=$!
2035 rm -f conftest.file
2037 test "$program_prefix" != NONE &&
2038 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2039 # Use a double $ so make ignores it.
2040 test "$program_suffix" != NONE &&
2041 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2042 # Double any \ or $.
2043 # By default was `s,x,x', remove it if useless.
2044 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2045 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2048 # Expand $ac_aux_dir to an absolute path.
2049 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2052 if test x"${MISSING+set}" != xset; then
2053 MISSING="\${SHELL} '$am_aux_dir/missing'"
2055 # Use eval to expand $SHELL
2056 if eval "$MISSING --is-lightweight"; then
2057 am_missing_run="$MISSING "
2058 else
2059 am_missing_run=
2060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2061 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2064 if test x"${install_sh+set}" != xset; then
2065 case $am_aux_dir in
2066 *\ * | *\ *)
2067 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2069 install_sh="\${SHELL} $am_aux_dir/install-sh"
2070 esac
2073 # Installed binaries are usually stripped using 'strip' when the user
2074 # run "make install-strip". However 'strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the 'STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078 if test -n "$ac_tool_prefix"; then
2079 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2082 printf %s "checking for $ac_word... " >&6; }
2083 if test ${ac_cv_prog_STRIP+y}
2084 then :
2085 printf %s "(cached) " >&6
2086 else $as_nop
2087 if test -n "$STRIP"; then
2088 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2089 else
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 for as_dir in $PATH
2093 IFS=$as_save_IFS
2094 case $as_dir in #(((
2095 '') as_dir=./ ;;
2096 */) ;;
2097 *) as_dir=$as_dir/ ;;
2098 esac
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2101 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2102 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 STRIP=$ac_cv_prog_STRIP
2112 if test -n "$STRIP"; then
2113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2114 printf "%s\n" "$STRIP" >&6; }
2115 else
2116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2117 printf "%s\n" "no" >&6; }
2122 if test -z "$ac_cv_prog_STRIP"; then
2123 ac_ct_STRIP=$STRIP
2124 # Extract the first word of "strip", so it can be a program name with args.
2125 set dummy strip; ac_word=$2
2126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2127 printf %s "checking for $ac_word... " >&6; }
2128 if test ${ac_cv_prog_ac_ct_STRIP+y}
2129 then :
2130 printf %s "(cached) " >&6
2131 else $as_nop
2132 if test -n "$ac_ct_STRIP"; then
2133 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2134 else
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2136 for as_dir in $PATH
2138 IFS=$as_save_IFS
2139 case $as_dir in #(((
2140 '') as_dir=./ ;;
2141 */) ;;
2142 *) as_dir=$as_dir/ ;;
2143 esac
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2146 ac_cv_prog_ac_ct_STRIP="strip"
2147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2148 break 2
2150 done
2151 done
2152 IFS=$as_save_IFS
2156 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2157 if test -n "$ac_ct_STRIP"; then
2158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2159 printf "%s\n" "$ac_ct_STRIP" >&6; }
2160 else
2161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2162 printf "%s\n" "no" >&6; }
2165 if test "x$ac_ct_STRIP" = x; then
2166 STRIP=":"
2167 else
2168 case $cross_compiling:$ac_tool_warned in
2169 yes:)
2170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2171 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2172 ac_tool_warned=yes ;;
2173 esac
2174 STRIP=$ac_ct_STRIP
2176 else
2177 STRIP="$ac_cv_prog_STRIP"
2181 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2185 printf %s "checking for a race-free mkdir -p... " >&6; }
2186 if test -z "$MKDIR_P"; then
2187 if test ${ac_cv_path_mkdir+y}
2188 then :
2189 printf %s "(cached) " >&6
2190 else $as_nop
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2192 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2194 IFS=$as_save_IFS
2195 case $as_dir in #(((
2196 '') as_dir=./ ;;
2197 */) ;;
2198 *) as_dir=$as_dir/ ;;
2199 esac
2200 for ac_prog in mkdir gmkdir; do
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2203 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2204 'mkdir ('*'coreutils) '* | \
2205 'BusyBox '* | \
2206 'mkdir (fileutils) '4.1*)
2207 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2208 break 3;;
2209 esac
2210 done
2211 done
2212 done
2213 IFS=$as_save_IFS
2217 test -d ./--version && rmdir ./--version
2218 if test ${ac_cv_path_mkdir+y}; then
2219 MKDIR_P="$ac_cv_path_mkdir -p"
2220 else
2221 # As a last resort, use the slow shell script. Don't cache a
2222 # value for MKDIR_P within a source directory, because that will
2223 # break other packages using the cache if that directory is
2224 # removed, or if the value is a relative name.
2225 MKDIR_P="$ac_install_sh -d"
2228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2229 printf "%s\n" "$MKDIR_P" >&6; }
2231 for ac_prog in gawk mawk nawk awk
2233 # Extract the first word of "$ac_prog", so it can be a program name with args.
2234 set dummy $ac_prog; ac_word=$2
2235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2236 printf %s "checking for $ac_word... " >&6; }
2237 if test ${ac_cv_prog_AWK+y}
2238 then :
2239 printf %s "(cached) " >&6
2240 else $as_nop
2241 if test -n "$AWK"; then
2242 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2243 else
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2247 IFS=$as_save_IFS
2248 case $as_dir in #(((
2249 '') as_dir=./ ;;
2250 */) ;;
2251 *) as_dir=$as_dir/ ;;
2252 esac
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2255 ac_cv_prog_AWK="$ac_prog"
2256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2257 break 2
2259 done
2260 done
2261 IFS=$as_save_IFS
2265 AWK=$ac_cv_prog_AWK
2266 if test -n "$AWK"; then
2267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2268 printf "%s\n" "$AWK" >&6; }
2269 else
2270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2271 printf "%s\n" "no" >&6; }
2275 test -n "$AWK" && break
2276 done
2278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2279 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2280 set x ${MAKE-make}
2281 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2282 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2283 then :
2284 printf %s "(cached) " >&6
2285 else $as_nop
2286 cat >conftest.make <<\_ACEOF
2287 SHELL = /bin/sh
2288 all:
2289 @echo '@@@%%%=$(MAKE)=@@@%%%'
2290 _ACEOF
2291 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2292 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2293 *@@@%%%=?*=@@@%%%*)
2294 eval ac_cv_prog_make_${ac_make}_set=yes;;
2296 eval ac_cv_prog_make_${ac_make}_set=no;;
2297 esac
2298 rm -f conftest.make
2300 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2302 printf "%s\n" "yes" >&6; }
2303 SET_MAKE=
2304 else
2305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2306 printf "%s\n" "no" >&6; }
2307 SET_MAKE="MAKE=${MAKE-make}"
2310 rm -rf .tst 2>/dev/null
2311 mkdir .tst 2>/dev/null
2312 if test -d .tst; then
2313 am__leading_dot=.
2314 else
2315 am__leading_dot=_
2317 rmdir .tst 2>/dev/null
2319 # Check whether --enable-silent-rules was given.
2320 if test ${enable_silent_rules+y}
2321 then :
2322 enableval=$enable_silent_rules;
2325 case $enable_silent_rules in # (((
2326 yes) AM_DEFAULT_VERBOSITY=0;;
2327 no) AM_DEFAULT_VERBOSITY=1;;
2328 *) AM_DEFAULT_VERBOSITY=1;;
2329 esac
2330 am_make=${MAKE-make}
2331 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2332 printf %s "checking whether $am_make supports nested variables... " >&6; }
2333 if test ${am_cv_make_support_nested_variables+y}
2334 then :
2335 printf %s "(cached) " >&6
2336 else $as_nop
2337 if printf "%s\n" 'TRUE=$(BAR$(V))
2338 BAR0=false
2339 BAR1=true
2341 am__doit:
2342 @$(TRUE)
2343 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2344 am_cv_make_support_nested_variables=yes
2345 else
2346 am_cv_make_support_nested_variables=no
2349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2350 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2351 if test $am_cv_make_support_nested_variables = yes; then
2352 AM_V='$(V)'
2353 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2354 else
2355 AM_V=$AM_DEFAULT_VERBOSITY
2356 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2358 AM_BACKSLASH='\'
2360 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2361 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2362 # is not polluted with repeated "-I."
2363 am__isrc=' -I$(srcdir)'
2364 # test to see if srcdir already configured
2365 if test -f $srcdir/config.status; then
2366 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2370 # test whether we have cygpath
2371 if test -z "$CYGPATH_W"; then
2372 if (cygpath --version) >/dev/null 2>/dev/null; then
2373 CYGPATH_W='cygpath -w'
2374 else
2375 CYGPATH_W=echo
2380 # Define the identity of the package.
2381 PACKAGE='parallel'
2382 VERSION='20240322'
2385 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2388 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2390 # Some tools Automake needs.
2392 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2395 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2398 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2401 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2404 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2406 # For better backward compatibility. To be removed once Automake 1.9.x
2407 # dies out for good. For more background, see:
2408 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2409 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2410 mkdir_p='$(MKDIR_P)'
2412 # We need awk for the "check" target (and possibly the TAP driver). The
2413 # system "awk" is bad on some platforms.
2414 # Always define AMTAR for backward compatibility. Yes, it's still used
2415 # in the wild :-( We should find a proper way to deprecate it ...
2416 AMTAR='$${TAR-tar}'
2419 # We'll loop over all known methods to create a tar archive until one works.
2420 _am_tools='gnutar pax cpio none'
2422 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2428 # Variables for tags utilities; see am/tags.am
2429 if test -z "$CTAGS"; then
2430 CTAGS=ctags
2433 if test -z "$ETAGS"; then
2434 ETAGS=etags
2437 if test -z "$CSCOPE"; then
2438 CSCOPE=cscope
2443 # POSIX will say in a future version that running "rm -f" with no argument
2444 # is OK; and we want to be able to make that assumption in our Makefile
2445 # recipes. So use an aggressive probe to check that the usage we want is
2446 # actually supported "in the wild" to an acceptable degree.
2447 # See automake bug#10828.
2448 # To make any issue more visible, cause the running configure to be aborted
2449 # by default if the 'rm' program in use doesn't match our expectations; the
2450 # user can still override this though.
2451 if rm -f && rm -fr && rm -rf; then : OK; else
2452 cat >&2 <<'END'
2453 Oops!
2455 Your 'rm' program seems unable to run without file operands specified
2456 on the command line, even when the '-f' option is present. This is contrary
2457 to the behaviour of most rm programs out there, and not conforming with
2458 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2460 Please tell bug-automake@gnu.org about your system, including the value
2461 of your $PATH and any error possibly output before this message. This
2462 can help us improve future automake versions.
2465 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2466 echo 'Configuration will proceed anyway, since you have set the' >&2
2467 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2468 echo >&2
2469 else
2470 cat >&2 <<'END'
2471 Aborting the configuration process, to ensure you take notice of the issue.
2473 You can download and install GNU coreutils to get an 'rm' implementation
2474 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2476 If you want to complete the configuration process using your problematic
2477 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2478 to "yes", and re-run configure.
2481 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2485 ac_config_headers="$ac_config_headers config.h"
2487 ac_config_files="$ac_config_files Makefile src/Makefile"
2490 # Check whether --enable-documentation was given.
2491 if test ${enable_documentation+y}
2492 then :
2493 enableval=$enable_documentation;
2494 else $as_nop
2495 enable_documentation=yes
2498 if test x$enable_documentation = xyes; then
2499 DOCUMENTATION_TRUE=
2500 DOCUMENTATION_FALSE='#'
2501 else
2502 DOCUMENTATION_TRUE='#'
2503 DOCUMENTATION_FALSE=
2506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2507 printf %s "checking whether ln -s works... " >&6; }
2508 LN_S=$as_ln_s
2509 if test "$LN_S" = "ln -s"; then
2510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2511 printf "%s\n" "yes" >&6; }
2512 else
2513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2514 printf "%s\n" "no, using $LN_S" >&6; }
2517 cat >confcache <<\_ACEOF
2518 # This file is a shell script that caches the results of configure
2519 # tests run on this system so they can be shared between configure
2520 # scripts and configure runs, see configure's option --config-cache.
2521 # It is not useful on other systems. If it contains results you don't
2522 # want to keep, you may remove or edit it.
2524 # config.status only pays attention to the cache file if you give it
2525 # the --recheck option to rerun configure.
2527 # `ac_cv_env_foo' variables (set or unset) will be overridden when
2528 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2529 # following values.
2531 _ACEOF
2533 # The following way of writing the cache mishandles newlines in values,
2534 # but we know of no workaround that is simple, portable, and efficient.
2535 # So, we kill variables containing newlines.
2536 # Ultrix sh set writes to stderr and can't be redirected directly,
2537 # and sets the high bit in the cache file unless we assign to the vars.
2539 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2540 eval ac_val=\$$ac_var
2541 case $ac_val in #(
2542 *${as_nl}*)
2543 case $ac_var in #(
2544 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2545 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2546 esac
2547 case $ac_var in #(
2548 _ | IFS | as_nl) ;; #(
2549 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2550 *) { eval $ac_var=; unset $ac_var;} ;;
2551 esac ;;
2552 esac
2553 done
2555 (set) 2>&1 |
2556 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2557 *${as_nl}ac_space=\ *)
2558 # `set' does not quote correctly, so add quotes: double-quote
2559 # substitution turns \\\\ into \\, and sed turns \\ into \.
2560 sed -n \
2561 "s/'/'\\\\''/g;
2562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2563 ;; #(
2565 # `set' quotes correctly as required by POSIX, so do not add quotes.
2566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2568 esac |
2569 sort
2571 sed '
2572 /^ac_cv_env_/b end
2573 t clear
2574 :clear
2575 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
2576 t end
2577 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2578 :end' >>confcache
2579 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2580 if test -w "$cache_file"; then
2581 if test "x$cache_file" != "x/dev/null"; then
2582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2583 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
2584 if test ! -f "$cache_file" || test -h "$cache_file"; then
2585 cat confcache >"$cache_file"
2586 else
2587 case $cache_file in #(
2588 */* | ?:*)
2589 mv -f confcache "$cache_file"$$ &&
2590 mv -f "$cache_file"$$ "$cache_file" ;; #(
2592 mv -f confcache "$cache_file" ;;
2593 esac
2596 else
2597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2598 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
2601 rm -f confcache
2603 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2604 # Let make expand exec_prefix.
2605 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2607 DEFS=-DHAVE_CONFIG_H
2609 ac_libobjs=
2610 ac_ltlibobjs=
2612 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2613 # 1. Remove the extension, and $U if already installed.
2614 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2615 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
2616 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2617 # will be set to the directory where LIBOBJS objects are built.
2618 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2619 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2620 done
2621 LIBOBJS=$ac_libobjs
2623 LTLIBOBJS=$ac_ltlibobjs
2626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
2627 printf %s "checking that generated files are newer than configure... " >&6; }
2628 if test -n "$am_sleep_pid"; then
2629 # Hide warnings about reused PIDs.
2630 wait $am_sleep_pid 2>/dev/null
2632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
2633 printf "%s\n" "done" >&6; }
2635 if test -z "${DOCUMENTATION_TRUE}" && test -z "${DOCUMENTATION_FALSE}"; then
2636 as_fn_error $? "conditional \"DOCUMENTATION\" was never defined.
2637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
2640 : "${CONFIG_STATUS=./config.status}"
2641 ac_write_fail=0
2642 ac_clean_files_save=$ac_clean_files
2643 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2645 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
2646 as_write_fail=0
2647 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2648 #! $SHELL
2649 # Generated by $as_me.
2650 # Run this file to recreate the current configuration.
2651 # Compiler output produced by configure, useful for debugging
2652 # configure, is in config.log if it exists.
2654 debug=false
2655 ac_cs_recheck=false
2656 ac_cs_silent=false
2658 SHELL=\${CONFIG_SHELL-$SHELL}
2659 export SHELL
2660 _ASEOF
2661 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2662 ## -------------------- ##
2663 ## M4sh Initialization. ##
2664 ## -------------------- ##
2666 # Be more Bourne compatible
2667 DUALCASE=1; export DUALCASE # for MKS sh
2668 as_nop=:
2669 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
2670 then :
2671 emulate sh
2672 NULLCMD=:
2673 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2674 # is contrary to our usage. Disable this feature.
2675 alias -g '${1+"$@"}'='"$@"'
2676 setopt NO_GLOB_SUBST
2677 else $as_nop
2678 case `(set -o) 2>/dev/null` in #(
2679 *posix*) :
2680 set -o posix ;; #(
2681 *) :
2683 esac
2688 # Reset variables that may have inherited troublesome values from
2689 # the environment.
2691 # IFS needs to be set, to space, tab, and newline, in precisely that order.
2692 # (If _AS_PATH_WALK were called with IFS unset, it would have the
2693 # side effect of setting IFS to empty, thus disabling word splitting.)
2694 # Quoting is to prevent editors from complaining about space-tab.
2695 as_nl='
2697 export as_nl
2698 IFS=" "" $as_nl"
2700 PS1='$ '
2701 PS2='> '
2702 PS4='+ '
2704 # Ensure predictable behavior from utilities with locale-dependent output.
2705 LC_ALL=C
2706 export LC_ALL
2707 LANGUAGE=C
2708 export LANGUAGE
2710 # We cannot yet rely on "unset" to work, but we need these variables
2711 # to be unset--not just set to an empty or harmless value--now, to
2712 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
2713 # also avoids known problems related to "unset" and subshell syntax
2714 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
2715 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
2716 do eval test \${$as_var+y} \
2717 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2718 done
2720 # Ensure that fds 0, 1, and 2 are open.
2721 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
2722 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
2723 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
2725 # The user is always right.
2726 if ${PATH_SEPARATOR+false} :; then
2727 PATH_SEPARATOR=:
2728 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2729 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2730 PATH_SEPARATOR=';'
2735 # Find who we are. Look in the path if we contain no directory separator.
2736 as_myself=
2737 case $0 in #((
2738 *[\\/]* ) as_myself=$0 ;;
2739 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 for as_dir in $PATH
2742 IFS=$as_save_IFS
2743 case $as_dir in #(((
2744 '') as_dir=./ ;;
2745 */) ;;
2746 *) as_dir=$as_dir/ ;;
2747 esac
2748 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
2749 done
2750 IFS=$as_save_IFS
2753 esac
2754 # We did not find ourselves, most probably we were run as `sh COMMAND'
2755 # in which case we are not to be found in the path.
2756 if test "x$as_myself" = x; then
2757 as_myself=$0
2759 if test ! -f "$as_myself"; then
2760 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2761 exit 1
2766 # as_fn_error STATUS ERROR [LINENO LOG_FD]
2767 # ----------------------------------------
2768 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2769 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2770 # script with STATUS, using 1 if that was 0.
2771 as_fn_error ()
2773 as_status=$1; test $as_status -eq 0 && as_status=1
2774 if test "$4"; then
2775 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2778 printf "%s\n" "$as_me: error: $2" >&2
2779 as_fn_exit $as_status
2780 } # as_fn_error
2784 # as_fn_set_status STATUS
2785 # -----------------------
2786 # Set $? to STATUS, without forking.
2787 as_fn_set_status ()
2789 return $1
2790 } # as_fn_set_status
2792 # as_fn_exit STATUS
2793 # -----------------
2794 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2795 as_fn_exit ()
2797 set +e
2798 as_fn_set_status $1
2799 exit $1
2800 } # as_fn_exit
2802 # as_fn_unset VAR
2803 # ---------------
2804 # Portably unset VAR.
2805 as_fn_unset ()
2807 { eval $1=; unset $1;}
2809 as_unset=as_fn_unset
2811 # as_fn_append VAR VALUE
2812 # ----------------------
2813 # Append the text in VALUE to the end of the definition contained in VAR. Take
2814 # advantage of any shell optimizations that allow amortized linear growth over
2815 # repeated appends, instead of the typical quadratic growth present in naive
2816 # implementations.
2817 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
2818 then :
2819 eval 'as_fn_append ()
2821 eval $1+=\$2
2823 else $as_nop
2824 as_fn_append ()
2826 eval $1=\$$1\$2
2828 fi # as_fn_append
2830 # as_fn_arith ARG...
2831 # ------------------
2832 # Perform arithmetic evaluation on the ARGs, and store the result in the
2833 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2834 # must be portable across $(()) and expr.
2835 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
2836 then :
2837 eval 'as_fn_arith ()
2839 as_val=$(( $* ))
2841 else $as_nop
2842 as_fn_arith ()
2844 as_val=`expr "$@" || test $? -eq 1`
2846 fi # as_fn_arith
2849 if expr a : '\(a\)' >/dev/null 2>&1 &&
2850 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2851 as_expr=expr
2852 else
2853 as_expr=false
2856 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2857 as_basename=basename
2858 else
2859 as_basename=false
2862 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2863 as_dirname=dirname
2864 else
2865 as_dirname=false
2868 as_me=`$as_basename -- "$0" ||
2869 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2870 X"$0" : 'X\(//\)$' \| \
2871 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2872 printf "%s\n" X/"$0" |
2873 sed '/^.*\/\([^/][^/]*\)\/*$/{
2874 s//\1/
2877 /^X\/\(\/\/\)$/{
2878 s//\1/
2881 /^X\/\(\/\).*/{
2882 s//\1/
2885 s/.*/./; q'`
2887 # Avoid depending upon Character Ranges.
2888 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2889 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2890 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2891 as_cr_digits='0123456789'
2892 as_cr_alnum=$as_cr_Letters$as_cr_digits
2895 # Determine whether it's possible to make 'echo' print without a newline.
2896 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
2897 # for compatibility with existing Makefiles.
2898 ECHO_C= ECHO_N= ECHO_T=
2899 case `echo -n x` in #(((((
2900 -n*)
2901 case `echo 'xy\c'` in
2902 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2903 xy) ECHO_C='\c';;
2904 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2905 ECHO_T=' ';;
2906 esac;;
2908 ECHO_N='-n';;
2909 esac
2911 # For backward compatibility with old third-party macros, we provide
2912 # the shell variables $as_echo and $as_echo_n. New code should use
2913 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
2914 as_echo='printf %s\n'
2915 as_echo_n='printf %s'
2917 rm -f conf$$ conf$$.exe conf$$.file
2918 if test -d conf$$.dir; then
2919 rm -f conf$$.dir/conf$$.file
2920 else
2921 rm -f conf$$.dir
2922 mkdir conf$$.dir 2>/dev/null
2924 if (echo >conf$$.file) 2>/dev/null; then
2925 if ln -s conf$$.file conf$$ 2>/dev/null; then
2926 as_ln_s='ln -s'
2927 # ... but there are two gotchas:
2928 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2929 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2930 # In both cases, we have to default to `cp -pR'.
2931 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2932 as_ln_s='cp -pR'
2933 elif ln conf$$.file conf$$ 2>/dev/null; then
2934 as_ln_s=ln
2935 else
2936 as_ln_s='cp -pR'
2938 else
2939 as_ln_s='cp -pR'
2941 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2942 rmdir conf$$.dir 2>/dev/null
2945 # as_fn_mkdir_p
2946 # -------------
2947 # Create "$as_dir" as a directory, including parents if necessary.
2948 as_fn_mkdir_p ()
2951 case $as_dir in #(
2952 -*) as_dir=./$as_dir;;
2953 esac
2954 test -d "$as_dir" || eval $as_mkdir_p || {
2955 as_dirs=
2956 while :; do
2957 case $as_dir in #(
2958 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2959 *) as_qdir=$as_dir;;
2960 esac
2961 as_dirs="'$as_qdir' $as_dirs"
2962 as_dir=`$as_dirname -- "$as_dir" ||
2963 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2964 X"$as_dir" : 'X\(//\)[^/]' \| \
2965 X"$as_dir" : 'X\(//\)$' \| \
2966 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2967 printf "%s\n" X"$as_dir" |
2968 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2969 s//\1/
2972 /^X\(\/\/\)[^/].*/{
2973 s//\1/
2976 /^X\(\/\/\)$/{
2977 s//\1/
2980 /^X\(\/\).*/{
2981 s//\1/
2984 s/.*/./; q'`
2985 test -d "$as_dir" && break
2986 done
2987 test -z "$as_dirs" || eval "mkdir $as_dirs"
2988 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2991 } # as_fn_mkdir_p
2992 if mkdir -p . 2>/dev/null; then
2993 as_mkdir_p='mkdir -p "$as_dir"'
2994 else
2995 test -d ./-p && rmdir ./-p
2996 as_mkdir_p=false
3000 # as_fn_executable_p FILE
3001 # -----------------------
3002 # Test if FILE is an executable regular file.
3003 as_fn_executable_p ()
3005 test -f "$1" && test -x "$1"
3006 } # as_fn_executable_p
3007 as_test_x='test -x'
3008 as_executable_p=as_fn_executable_p
3010 # Sed expression to map a string onto a valid CPP name.
3011 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3013 # Sed expression to map a string onto a valid variable name.
3014 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3017 exec 6>&1
3018 ## ----------------------------------- ##
3019 ## Main body of $CONFIG_STATUS script. ##
3020 ## ----------------------------------- ##
3021 _ASEOF
3022 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3025 # Save the log message, to keep $0 and so on meaningful, and to
3026 # report actual input values of CONFIG_FILES etc. instead of their
3027 # values after options handling.
3028 ac_log="
3029 This file was extended by parallel $as_me 20240322, which was
3030 generated by GNU Autoconf 2.71. Invocation command line was
3032 CONFIG_FILES = $CONFIG_FILES
3033 CONFIG_HEADERS = $CONFIG_HEADERS
3034 CONFIG_LINKS = $CONFIG_LINKS
3035 CONFIG_COMMANDS = $CONFIG_COMMANDS
3036 $ $0 $@
3038 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3041 _ACEOF
3043 case $ac_config_files in *"
3044 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3045 esac
3047 case $ac_config_headers in *"
3048 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3049 esac
3052 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3053 # Files that config.status was made for.
3054 config_files="$ac_config_files"
3055 config_headers="$ac_config_headers"
3057 _ACEOF
3059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3060 ac_cs_usage="\
3061 \`$as_me' instantiates files and other configuration actions
3062 from templates according to the current configuration. Unless the files
3063 and actions are specified as TAGs, all are instantiated by default.
3065 Usage: $0 [OPTION]... [TAG]...
3067 -h, --help print this help, then exit
3068 -V, --version print version number and configuration settings, then exit
3069 --config print configuration, then exit
3070 -q, --quiet, --silent
3071 do not print progress messages
3072 -d, --debug don't remove temporary files
3073 --recheck update $as_me by reconfiguring in the same conditions
3074 --file=FILE[:TEMPLATE]
3075 instantiate the configuration file FILE
3076 --header=FILE[:TEMPLATE]
3077 instantiate the configuration header FILE
3079 Configuration files:
3080 $config_files
3082 Configuration headers:
3083 $config_headers
3085 Report bugs to <bug-parallel@gnu.org>."
3087 _ACEOF
3088 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
3089 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
3090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3091 ac_cs_config='$ac_cs_config_escaped'
3092 ac_cs_version="\\
3093 parallel config.status 20240322
3094 configured by $0, generated by GNU Autoconf 2.71,
3095 with options \\"\$ac_cs_config\\"
3097 Copyright (C) 2021 Free Software Foundation, Inc.
3098 This config.status script is free software; the Free Software Foundation
3099 gives unlimited permission to copy, distribute and modify it."
3101 ac_pwd='$ac_pwd'
3102 srcdir='$srcdir'
3103 INSTALL='$INSTALL'
3104 MKDIR_P='$MKDIR_P'
3105 AWK='$AWK'
3106 test -n "\$AWK" || AWK=awk
3107 _ACEOF
3109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3110 # The default lists apply if the user does not specify any file.
3111 ac_need_defaults=:
3112 while test $# != 0
3114 case $1 in
3115 --*=?*)
3116 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3117 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3118 ac_shift=:
3120 --*=)
3121 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3122 ac_optarg=
3123 ac_shift=:
3126 ac_option=$1
3127 ac_optarg=$2
3128 ac_shift=shift
3130 esac
3132 case $ac_option in
3133 # Handling of the options.
3134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3135 ac_cs_recheck=: ;;
3136 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3137 printf "%s\n" "$ac_cs_version"; exit ;;
3138 --config | --confi | --conf | --con | --co | --c )
3139 printf "%s\n" "$ac_cs_config"; exit ;;
3140 --debug | --debu | --deb | --de | --d | -d )
3141 debug=: ;;
3142 --file | --fil | --fi | --f )
3143 $ac_shift
3144 case $ac_optarg in
3145 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3146 '') as_fn_error $? "missing file argument" ;;
3147 esac
3148 as_fn_append CONFIG_FILES " '$ac_optarg'"
3149 ac_need_defaults=false;;
3150 --header | --heade | --head | --hea )
3151 $ac_shift
3152 case $ac_optarg in
3153 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3154 esac
3155 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3156 ac_need_defaults=false;;
3157 --he | --h)
3158 # Conflict between --help and --header
3159 as_fn_error $? "ambiguous option: \`$1'
3160 Try \`$0 --help' for more information.";;
3161 --help | --hel | -h )
3162 printf "%s\n" "$ac_cs_usage"; exit ;;
3163 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3164 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3165 ac_cs_silent=: ;;
3167 # This is an error.
3168 -*) as_fn_error $? "unrecognized option: \`$1'
3169 Try \`$0 --help' for more information." ;;
3171 *) as_fn_append ac_config_targets " $1"
3172 ac_need_defaults=false ;;
3174 esac
3175 shift
3176 done
3178 ac_configure_extra_args=
3180 if $ac_cs_silent; then
3181 exec 6>/dev/null
3182 ac_configure_extra_args="$ac_configure_extra_args --silent"
3185 _ACEOF
3186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3187 if \$ac_cs_recheck; then
3188 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3189 shift
3190 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
3191 CONFIG_SHELL='$SHELL'
3192 export CONFIG_SHELL
3193 exec "\$@"
3196 _ACEOF
3197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3198 exec 5>>config.log
3200 echo
3201 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3202 ## Running $as_me. ##
3203 _ASBOX
3204 printf "%s\n" "$ac_log"
3205 } >&5
3207 _ACEOF
3208 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3209 _ACEOF
3211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3213 # Handling of arguments.
3214 for ac_config_target in $ac_config_targets
3216 case $ac_config_target in
3217 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3218 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3219 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3221 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3222 esac
3223 done
3226 # If the user did not use the arguments to specify the items to instantiate,
3227 # then the envvar interface is used. Set only those that are not.
3228 # We use the long form for the default assignment because of an extremely
3229 # bizarre bug on SunOS 4.1.3.
3230 if $ac_need_defaults; then
3231 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
3232 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
3235 # Have a temporary directory for convenience. Make it in the build tree
3236 # simply because there is no reason against having it here, and in addition,
3237 # creating and moving files from /tmp can sometimes cause problems.
3238 # Hook for its removal unless debugging.
3239 # Note that there is a small window in which the directory will not be cleaned:
3240 # after its creation but before its name has been assigned to `$tmp'.
3241 $debug ||
3243 tmp= ac_tmp=
3244 trap 'exit_status=$?
3245 : "${ac_tmp:=$tmp}"
3246 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3248 trap 'as_fn_exit 1' 1 2 13 15
3250 # Create a (secure) tmp directory for tmp files.
3253 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3254 test -d "$tmp"
3255 } ||
3257 tmp=./conf$$-$RANDOM
3258 (umask 077 && mkdir "$tmp")
3259 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3260 ac_tmp=$tmp
3262 # Set up the scripts for CONFIG_FILES section.
3263 # No need to generate them if there are no CONFIG_FILES.
3264 # This happens for instance with `./config.status config.h'.
3265 if test -n "$CONFIG_FILES"; then
3268 ac_cr=`echo X | tr X '\015'`
3269 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3270 # But we know of no other shell where ac_cr would be empty at this
3271 # point, so we can use a bashism as a fallback.
3272 if test "x$ac_cr" = x; then
3273 eval ac_cr=\$\'\\r\'
3275 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3276 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3277 ac_cs_awk_cr='\\r'
3278 else
3279 ac_cs_awk_cr=$ac_cr
3282 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3283 _ACEOF
3287 echo "cat >conf$$subs.awk <<_ACEOF" &&
3288 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3289 echo "_ACEOF"
3290 } >conf$$subs.sh ||
3291 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3292 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3293 ac_delim='%!_!# '
3294 for ac_last_try in false false false false false :; do
3295 . ./conf$$subs.sh ||
3296 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3298 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3299 if test $ac_delim_n = $ac_delim_num; then
3300 break
3301 elif $ac_last_try; then
3302 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3303 else
3304 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3306 done
3307 rm -f conf$$subs.sh
3309 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3310 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3311 _ACEOF
3312 sed -n '
3314 s/^/S["/; s/!.*/"]=/
3317 s/^[^!]*!//
3318 :repl
3319 t repl
3320 s/'"$ac_delim"'$//
3321 t delim
3324 s/\(.\{148\}\)..*/\1/
3325 t more1
3326 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3329 b repl
3330 :more1
3331 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3334 s/.\{148\}//
3335 t nl
3336 :delim
3338 s/\(.\{148\}\)..*/\1/
3339 t more2
3340 s/["\\]/\\&/g; s/^/"/; s/$/"/
3343 :more2
3344 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3347 s/.\{148\}//
3348 t delim
3349 ' <conf$$subs.awk | sed '
3350 /^[^""]/{
3352 s/\n//
3354 ' >>$CONFIG_STATUS || ac_write_fail=1
3355 rm -f conf$$subs.awk
3356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3357 _ACAWK
3358 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3359 for (key in S) S_is_set[key] = 1
3360 FS = "\a"
3364 line = $ 0
3365 nfields = split(line, field, "@")
3366 substed = 0
3367 len = length(field[1])
3368 for (i = 2; i < nfields; i++) {
3369 key = field[i]
3370 keylen = length(key)
3371 if (S_is_set[key]) {
3372 value = S[key]
3373 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3374 len += length(value) + length(field[++i])
3375 substed = 1
3376 } else
3377 len += 1 + keylen
3380 print line
3383 _ACAWK
3384 _ACEOF
3385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3386 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3387 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3388 else
3390 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3391 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3392 _ACEOF
3394 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3395 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3396 # trailing colons and then remove the whole line if VPATH becomes empty
3397 # (actually we leave an empty line to preserve line numbers).
3398 if test "x$srcdir" = x.; then
3399 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3401 s///
3402 s/^/:/
3403 s/[ ]*$/:/
3404 s/:\$(srcdir):/:/g
3405 s/:\${srcdir}:/:/g
3406 s/:@srcdir@:/:/g
3407 s/^:*//
3408 s/:*$//
3410 s/\(=[ ]*\).*/\1/
3412 s/\n//
3413 s/^[^=]*=[ ]*$//
3417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3418 fi # test -n "$CONFIG_FILES"
3420 # Set up the scripts for CONFIG_HEADERS section.
3421 # No need to generate them if there are no CONFIG_HEADERS.
3422 # This happens for instance with `./config.status Makefile'.
3423 if test -n "$CONFIG_HEADERS"; then
3424 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3425 BEGIN {
3426 _ACEOF
3428 # Transform confdefs.h into an awk script `defines.awk', embedded as
3429 # here-document in config.status, that substitutes the proper values into
3430 # config.h.in to produce config.h.
3432 # Create a delimiter string that does not exist in confdefs.h, to ease
3433 # handling of long lines.
3434 ac_delim='%!_!# '
3435 for ac_last_try in false false :; do
3436 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3437 if test -z "$ac_tt"; then
3438 break
3439 elif $ac_last_try; then
3440 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3441 else
3442 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3444 done
3446 # For the awk script, D is an array of macro values keyed by name,
3447 # likewise P contains macro parameters if any. Preserve backslash
3448 # newline sequences.
3450 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3451 sed -n '
3452 s/.\{148\}/&'"$ac_delim"'/g
3453 t rset
3454 :rset
3455 s/^[ ]*#[ ]*define[ ][ ]*/ /
3456 t def
3458 :def
3459 s/\\$//
3460 t bsnl
3461 s/["\\]/\\&/g
3462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3463 D["\1"]=" \3"/p
3464 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3466 :bsnl
3467 s/["\\]/\\&/g
3468 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3469 D["\1"]=" \3\\\\\\n"\\/p
3470 t cont
3471 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3472 t cont
3474 :cont
3476 s/.\{148\}/&'"$ac_delim"'/g
3477 t clear
3478 :clear
3479 s/\\$//
3480 t bsnlc
3481 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3483 :bsnlc
3484 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3485 b cont
3486 ' <confdefs.h | sed '
3487 s/'"$ac_delim"'/"\\\
3488 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3491 for (key in D) D_is_set[key] = 1
3492 FS = "\a"
3494 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3495 line = \$ 0
3496 split(line, arg, " ")
3497 if (arg[1] == "#") {
3498 defundef = arg[2]
3499 mac1 = arg[3]
3500 } else {
3501 defundef = substr(arg[1], 2)
3502 mac1 = arg[2]
3504 split(mac1, mac2, "(") #)
3505 macro = mac2[1]
3506 prefix = substr(line, 1, index(line, defundef) - 1)
3507 if (D_is_set[macro]) {
3508 # Preserve the white space surrounding the "#".
3509 print prefix "define", macro P[macro] D[macro]
3510 next
3511 } else {
3512 # Replace #undef with comments. This is necessary, for example,
3513 # in the case of _POSIX_SOURCE, which is predefined and required
3514 # on some systems where configure will not decide to define it.
3515 if (defundef == "undef") {
3516 print "/*", prefix defundef, macro, "*/"
3517 next
3521 { print }
3522 _ACAWK
3523 _ACEOF
3524 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3525 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3526 fi # test -n "$CONFIG_HEADERS"
3529 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
3530 shift
3531 for ac_tag
3533 case $ac_tag in
3534 :[FHLC]) ac_mode=$ac_tag; continue;;
3535 esac
3536 case $ac_mode$ac_tag in
3537 :[FHL]*:*);;
3538 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3539 :[FH]-) ac_tag=-:-;;
3540 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3541 esac
3542 ac_save_IFS=$IFS
3543 IFS=:
3544 set x $ac_tag
3545 IFS=$ac_save_IFS
3546 shift
3547 ac_file=$1
3548 shift
3550 case $ac_mode in
3551 :L) ac_source=$1;;
3552 :[FH])
3553 ac_file_inputs=
3554 for ac_f
3556 case $ac_f in
3557 -) ac_f="$ac_tmp/stdin";;
3558 *) # Look for the file first in the build tree, then in the source tree
3559 # (if the path is not absolute). The absolute path cannot be DOS-style,
3560 # because $ac_f cannot contain `:'.
3561 test -f "$ac_f" ||
3562 case $ac_f in
3563 [\\/$]*) false;;
3564 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3565 esac ||
3566 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3567 esac
3568 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3569 as_fn_append ac_file_inputs " '$ac_f'"
3570 done
3572 # Let's still pretend it is `configure' which instantiates (i.e., don't
3573 # use $as_me), people would be surprised to read:
3574 # /* config.h. Generated by config.status. */
3575 configure_input='Generated from '`
3576 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3577 `' by configure.'
3578 if test x"$ac_file" != x-; then
3579 configure_input="$ac_file. $configure_input"
3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3581 printf "%s\n" "$as_me: creating $ac_file" >&6;}
3583 # Neutralize special characters interpreted by sed in replacement strings.
3584 case $configure_input in #(
3585 *\&* | *\|* | *\\* )
3586 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
3587 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3588 *) ac_sed_conf_input=$configure_input;;
3589 esac
3591 case $ac_tag in
3592 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3593 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3594 esac
3596 esac
3598 ac_dir=`$as_dirname -- "$ac_file" ||
3599 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3600 X"$ac_file" : 'X\(//\)[^/]' \| \
3601 X"$ac_file" : 'X\(//\)$' \| \
3602 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3603 printf "%s\n" X"$ac_file" |
3604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3605 s//\1/
3608 /^X\(\/\/\)[^/].*/{
3609 s//\1/
3612 /^X\(\/\/\)$/{
3613 s//\1/
3616 /^X\(\/\).*/{
3617 s//\1/
3620 s/.*/./; q'`
3621 as_dir="$ac_dir"; as_fn_mkdir_p
3622 ac_builddir=.
3624 case "$ac_dir" in
3625 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3627 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
3628 # A ".." for each directory in $ac_dir_suffix.
3629 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3630 case $ac_top_builddir_sub in
3631 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3632 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3633 esac ;;
3634 esac
3635 ac_abs_top_builddir=$ac_pwd
3636 ac_abs_builddir=$ac_pwd$ac_dir_suffix
3637 # for backward compatibility:
3638 ac_top_builddir=$ac_top_build_prefix
3640 case $srcdir in
3641 .) # We are building in place.
3642 ac_srcdir=.
3643 ac_top_srcdir=$ac_top_builddir_sub
3644 ac_abs_top_srcdir=$ac_pwd ;;
3645 [\\/]* | ?:[\\/]* ) # Absolute name.
3646 ac_srcdir=$srcdir$ac_dir_suffix;
3647 ac_top_srcdir=$srcdir
3648 ac_abs_top_srcdir=$srcdir ;;
3649 *) # Relative name.
3650 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3651 ac_top_srcdir=$ac_top_build_prefix$srcdir
3652 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3653 esac
3654 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3657 case $ac_mode in
3660 # CONFIG_FILE
3663 case $INSTALL in
3664 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3665 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3666 esac
3667 ac_MKDIR_P=$MKDIR_P
3668 case $MKDIR_P in
3669 [\\/$]* | ?:[\\/]* ) ;;
3670 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3671 esac
3672 _ACEOF
3674 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3675 # If the template does not know about datarootdir, expand it.
3676 # FIXME: This hack should be removed a few years after 2.60.
3677 ac_datarootdir_hack=; ac_datarootdir_seen=
3678 ac_sed_dataroot='
3679 /datarootdir/ {
3683 /@datadir@/p
3684 /@docdir@/p
3685 /@infodir@/p
3686 /@localedir@/p
3687 /@mandir@/p'
3688 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3689 *datarootdir*) ac_datarootdir_seen=yes;;
3690 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3692 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3693 _ACEOF
3694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3695 ac_datarootdir_hack='
3696 s&@datadir@&$datadir&g
3697 s&@docdir@&$docdir&g
3698 s&@infodir@&$infodir&g
3699 s&@localedir@&$localedir&g
3700 s&@mandir@&$mandir&g
3701 s&\\\${datarootdir}&$datarootdir&g' ;;
3702 esac
3703 _ACEOF
3705 # Neutralize VPATH when `$srcdir' = `.'.
3706 # Shell code in configure.ac might set extrasub.
3707 # FIXME: do we really want to maintain this feature?
3708 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3709 ac_sed_extra="$ac_vpsub
3710 $extrasub
3711 _ACEOF
3712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3715 s|@configure_input@|$ac_sed_conf_input|;t t
3716 s&@top_builddir@&$ac_top_builddir_sub&;t t
3717 s&@top_build_prefix@&$ac_top_build_prefix&;t t
3718 s&@srcdir@&$ac_srcdir&;t t
3719 s&@abs_srcdir@&$ac_abs_srcdir&;t t
3720 s&@top_srcdir@&$ac_top_srcdir&;t t
3721 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3722 s&@builddir@&$ac_builddir&;t t
3723 s&@abs_builddir@&$ac_abs_builddir&;t t
3724 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3725 s&@INSTALL@&$ac_INSTALL&;t t
3726 s&@MKDIR_P@&$ac_MKDIR_P&;t t
3727 $ac_datarootdir_hack
3729 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3730 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3732 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3733 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3734 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3735 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3737 which seems to be undefined. Please make sure it is defined" >&5
3738 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3739 which seems to be undefined. Please make sure it is defined" >&2;}
3741 rm -f "$ac_tmp/stdin"
3742 case $ac_file in
3743 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3744 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3745 esac \
3746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3750 # CONFIG_HEADER
3752 if test x"$ac_file" != x-; then
3754 printf "%s\n" "/* $configure_input */" >&1 \
3755 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
3756 } >"$ac_tmp/config.h" \
3757 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3758 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
3759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3760 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
3761 else
3762 rm -f "$ac_file"
3763 mv "$ac_tmp/config.h" "$ac_file" \
3764 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3766 else
3767 printf "%s\n" "/* $configure_input */" >&1 \
3768 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
3769 || as_fn_error $? "could not create -" "$LINENO" 5
3771 # Compute "$ac_file"'s index in $config_headers.
3772 _am_arg="$ac_file"
3773 _am_stamp_count=1
3774 for _am_header in $config_headers :; do
3775 case $_am_header in
3776 $_am_arg | $_am_arg:* )
3777 break ;;
3779 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3780 esac
3781 done
3782 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
3783 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3784 X"$_am_arg" : 'X\(//\)[^/]' \| \
3785 X"$_am_arg" : 'X\(//\)$' \| \
3786 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
3787 printf "%s\n" X"$_am_arg" |
3788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3789 s//\1/
3792 /^X\(\/\/\)[^/].*/{
3793 s//\1/
3796 /^X\(\/\/\)$/{
3797 s//\1/
3800 /^X\(\/\).*/{
3801 s//\1/
3804 s/.*/./; q'`/stamp-h$_am_stamp_count
3808 esac
3810 done # for ac_tag
3813 as_fn_exit 0
3814 _ACEOF
3815 ac_clean_files=$ac_clean_files_save
3817 test $ac_write_fail = 0 ||
3818 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3821 # configure is writing to config.log, and then calls config.status.
3822 # config.status does its own redirection, appending to config.log.
3823 # Unfortunately, on DOS this fails, as config.log is still kept open
3824 # by configure, so config.status won't be able to write to it; its
3825 # output is simply discarded. So we exec the FD to /dev/null,
3826 # effectively closing config.log, so it can be properly (re)opened and
3827 # appended to by config.status. When coming back to configure, we
3828 # need to make the FD available again.
3829 if test "$no_create" != yes; then
3830 ac_cs_success=:
3831 ac_config_status_args=
3832 test "$silent" = yes &&
3833 ac_config_status_args="$ac_config_status_args --quiet"
3834 exec 5>/dev/null
3835 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3836 exec 5>>config.log
3837 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3838 # would make configure fail if this is the last instruction.
3839 $ac_cs_success || as_fn_exit 1
3841 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3843 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}