Debian Codegraph @

configure

raw
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for ANU p-Quotient Program package.
4 #
5 # Report bugs to <https://github.com/gap-packages/anupq/issues>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
10 #
11 #
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
17
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35 esac
36 fi
37
38
39
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
42
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
48 '
49 export as_nl
50 IFS=" "" $as_nl"
51
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
55
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
61
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
71
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
83 }
84 fi
85
86
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
93 do
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158 esac
159 fi
160 "
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
166
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
174
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177 fi
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
192 fi
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
195
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
200 do
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
209 /*)
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
220 fi
221 fi
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
229
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
235 fi
236 fi
237
238
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
260 fi
261
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell [email protected] and
271 $0: https://github.com/gap-packages/anupq/issues about your
272 $0: system, including any error possibly output before this
273 $0: message. Then install a modern shell, or manually run
274 $0: the script under such a shell if you do have one."
275 fi
276 exit 1
277 fi
278 fi
279 fi
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
285
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
293 {
294 { eval $1=; unset $1;}
295 }
296 as_unset=as_fn_unset
297
298
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
303 {
304 return $1
305 } # as_fn_set_status
306
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
311 {
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
320 {
321 return $?
322 }
323 as_nop=as_fn_nop
324
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
329 {
330
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
354 q
355 }
356 /^X\(\/\/\)$/{
357 s//\1/
358 q
359 }
360 /^X\(\/\).*/{
361 s//\1/
362 q
363 }
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
369
370
371 } # as_fn_mkdir_p
372
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
377 {
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
389 {
390 eval $1+=\$2
391 }'
392 else $as_nop
393 as_fn_append ()
394 {
395 eval $1=\$$1\$2
396 }
397 fi # as_fn_append
398
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
407 {
408 as_val=$(( $* ))
409 }'
410 else $as_nop
411 as_fn_arith ()
412 {
413 as_val=`expr "$@" || test $? -eq 1`
414 }
415 fi # as_fn_arith
416
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
421 {
422 return $?
423 }
424 as_nop=as_fn_nop
425
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
432 {
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 fi
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
441
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
447 fi
448
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
453 fi
454
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
459 fi
460
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\/\)$/{
471 s//\1/
472 q
473 }
474 /^X\/\(\/\).*/{
475 s//\1/
476 q
477 }
478 s/.*/./; q'`
479
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
486
487
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
494 p
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
500 b
501 :lineno
502 N
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
521 }
522
523
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
536 *)
537 ECHO_N='-n';;
538 esac
539
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
545
546
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
553 fi
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
567 fi
568 else
569 as_ln_s='cp -pR'
570 fi
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
573
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
579 fi
580
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
583
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589
590
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
593
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
598
599 #
600 # Initializations.
601 #
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
610
611 # Identity of this package.
612 PACKAGE_NAME='ANU p-Quotient Program'
613 PACKAGE_TARNAME='anupq'
614 PACKAGE_VERSION='package'
615 PACKAGE_STRING='ANU p-Quotient Program package'
616 PACKAGE_BUGREPORT='https://github.com/gap-packages/anupq/issues'
617 PACKAGE_URL='https://gap-packages.github.io/anupq/'
618
619 ac_unique_file="src/pquotient.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
650
651 ac_header_c_list=
652 ac_subst_vars='am__EXEEXT_FALSE
653 am__EXEEXT_TRUE
654 LTLIBOBJS
655 LIBOBJS
656 GAP_EXEC
657 GMP_LIBS
658 GMP_LDFLAGS
659 GMP_CPPFLAGS
660 GAP
661 GAP_LDFLAGS
662 GAP_CFLAGS
663 GAP_CPPFLAGS
664 GAPROOT
665 GAPARCH
666 SED
667 am__fastdepCC_FALSE
668 am__fastdepCC_TRUE
669 CCDEPMODE
670 am__nodep
671 AMDEPBACKSLASH
672 AMDEP_FALSE
673 AMDEP_TRUE
674 am__include
675 DEPDIR
676 OBJEXT
677 EXEEXT
678 ac_ct_CC
679 CPPFLAGS
680 LDFLAGS
681 CFLAGS
682 CC
683 MAINT
684 MAINTAINER_MODE_FALSE
685 MAINTAINER_MODE_TRUE
686 AM_BACKSLASH
687 AM_DEFAULT_VERBOSITY
688 AM_DEFAULT_V
689 AM_V
690 CSCOPE
691 ETAGS
692 CTAGS
693 am__untar
694 am__tar
695 AMTAR
696 am__leading_dot
697 SET_MAKE
698 AWK
699 mkdir_p
700 MKDIR_P
701 INSTALL_STRIP_PROGRAM
702 STRIP
703 install_sh
704 MAKEINFO
705 AUTOHEADER
706 AUTOMAKE
707 AUTOCONF
708 ACLOCAL
709 VERSION
710 PACKAGE
711 CYGPATH_W
712 am__isrc
713 INSTALL_DATA
714 INSTALL_SCRIPT
715 INSTALL_PROGRAM
716 target_alias
717 host_alias
718 build_alias
719 LIBS
720 ECHO_T
721 ECHO_N
722 ECHO_C
723 DEFS
724 mandir
725 localedir
726 libdir
727 psdir
728 pdfdir
729 dvidir
730 htmldir
731 infodir
732 docdir
733 oldincludedir
734 includedir
735 runstatedir
736 localstatedir
737 sharedstatedir
738 sysconfdir
739 datadir
740 datarootdir
741 libexecdir
742 sbindir
743 bindir
744 program_transform_name
745 prefix
746 exec_prefix
747 PACKAGE_URL
748 PACKAGE_BUGREPORT
749 PACKAGE_STRING
750 PACKAGE_VERSION
751 PACKAGE_TARNAME
752 PACKAGE_NAME
753 PATH_SEPARATOR
754 SHELL
755 am__quote'
756 ac_subst_files=''
757 ac_user_opts='
758 enable_option_checking
759 enable_silent_rules
760 enable_maintainer_mode
761 enable_dependency_tracking
762 with_gaproot
763 with_gmp
764 '
765 ac_precious_vars='build_alias
766 host_alias
767 target_alias
768 CC
769 CFLAGS
770 LDFLAGS
771 LIBS
772 CPPFLAGS'
773
774
775 # Initialize some variables set by options.
776 ac_init_help=
777 ac_init_version=false
778 ac_unrecognized_opts=
779 ac_unrecognized_sep=
780 # The variables have the same names as the options, with
781 # dashes changed to underlines.
782 cache_file=/dev/null
783 exec_prefix=NONE
784 no_create=
785 no_recursion=
786 prefix=NONE
787 program_prefix=NONE
788 program_suffix=NONE
789 program_transform_name=s,x,x,
790 silent=
791 site=
792 srcdir=
793 verbose=
794 x_includes=NONE
795 x_libraries=NONE
796
797 # Installation directory options.
798 # These are left unexpanded so users can "make install exec_prefix=/foo"
799 # and all the variables that are supposed to be based on exec_prefix
800 # by default will actually change.
801 # Use braces instead of parens because sh, perl, etc. also accept them.
802 # (The list follows the same order as the GNU Coding Standards.)
803 bindir='${exec_prefix}/bin'
804 sbindir='${exec_prefix}/sbin'
805 libexecdir='${exec_prefix}/libexec'
806 datarootdir='${prefix}/share'
807 datadir='${datarootdir}'
808 sysconfdir='${prefix}/etc'
809 sharedstatedir='${prefix}/com'
810 localstatedir='${prefix}/var'
811 runstatedir='${localstatedir}/run'
812 includedir='${prefix}/include'
813 oldincludedir='/usr/include'
814 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
815 infodir='${datarootdir}/info'
816 htmldir='${docdir}'
817 dvidir='${docdir}'
818 pdfdir='${docdir}'
819 psdir='${docdir}'
820 libdir='${exec_prefix}/lib'
821 localedir='${datarootdir}/locale'
822 mandir='${datarootdir}/man'
823
824 ac_prev=
825 ac_dashdash=
826 for ac_option
827 do
828 # If the previous option needs an argument, assign it.
829 if test -n "$ac_prev"; then
830 eval $ac_prev=\$ac_option
831 ac_prev=
832 continue
833 fi
834
835 case $ac_option in
836 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837 *=) ac_optarg= ;;
838 *) ac_optarg=yes ;;
839 esac
840
841 case $ac_dashdash$ac_option in
842 --)
843 ac_dashdash=yes ;;
844
845 -bindir | --bindir | --bindi | --bind | --bin | --bi)
846 ac_prev=bindir ;;
847 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
848 bindir=$ac_optarg ;;
849
850 -build | --build | --buil | --bui | --bu)
851 ac_prev=build_alias ;;
852 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
853 build_alias=$ac_optarg ;;
854
855 -cache-file | --cache-file | --cache-fil | --cache-fi \
856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
857 ac_prev=cache_file ;;
858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
860 cache_file=$ac_optarg ;;
861
862 --config-cache | -C)
863 cache_file=config.cache ;;
864
865 -datadir | --datadir | --datadi | --datad)
866 ac_prev=datadir ;;
867 -datadir=* | --datadir=* | --datadi=* | --datad=*)
868 datadir=$ac_optarg ;;
869
870 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
871 | --dataroo | --dataro | --datar)
872 ac_prev=datarootdir ;;
873 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
874 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
875 datarootdir=$ac_optarg ;;
876
877 -disable-* | --disable-*)
878 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
879 # Reject names that are not valid shell variable names.
880 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
881 as_fn_error $? "invalid feature name: \`$ac_useropt'"
882 ac_useropt_orig=$ac_useropt
883 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
884 case $ac_user_opts in
885 *"
886 "enable_$ac_useropt"
887 "*) ;;
888 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
889 ac_unrecognized_sep=', ';;
890 esac
891 eval enable_$ac_useropt=no ;;
892
893 -docdir | --docdir | --docdi | --doc | --do)
894 ac_prev=docdir ;;
895 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
896 docdir=$ac_optarg ;;
897
898 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
899 ac_prev=dvidir ;;
900 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
901 dvidir=$ac_optarg ;;
902
903 -enable-* | --enable-*)
904 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
905 # Reject names that are not valid shell variable names.
906 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
907 as_fn_error $? "invalid feature name: \`$ac_useropt'"
908 ac_useropt_orig=$ac_useropt
909 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
911 *"
912 "enable_$ac_useropt"
913 "*) ;;
914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
915 ac_unrecognized_sep=', ';;
916 esac
917 eval enable_$ac_useropt=\$ac_optarg ;;
918
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
927
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
931
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
938
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
943
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
949
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
956
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
961
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
966
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
973
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
978
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
985
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
990
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
994
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
998
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1002
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1011
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1016
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1023
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1030
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1047
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1052
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1057
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1061
1062 -runstatedir | --runstatedir | --runstatedi | --runstated \
1063 | --runstate | --runstat | --runsta | --runst | --runs \
1064 | --run | --ru | --r)
1065 ac_prev=runstatedir ;;
1066 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1067 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1068 | --run=* | --ru=* | --r=*)
1069 runstatedir=$ac_optarg ;;
1070
1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1072 ac_prev=sbindir ;;
1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1074 | --sbi=* | --sb=*)
1075 sbindir=$ac_optarg ;;
1076
1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079 | --sharedst | --shareds | --shared | --share | --shar \
1080 | --sha | --sh)
1081 ac_prev=sharedstatedir ;;
1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1085 | --sha=* | --sh=*)
1086 sharedstatedir=$ac_optarg ;;
1087
1088 -site | --site | --sit)
1089 ac_prev=site ;;
1090 -site=* | --site=* | --sit=*)
1091 site=$ac_optarg ;;
1092
1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1094 ac_prev=srcdir ;;
1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 srcdir=$ac_optarg ;;
1097
1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099 | --syscon | --sysco | --sysc | --sys | --sy)
1100 ac_prev=sysconfdir ;;
1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 sysconfdir=$ac_optarg ;;
1104
1105 -target | --target | --targe | --targ | --tar | --ta | --t)
1106 ac_prev=target_alias ;;
1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 target_alias=$ac_optarg ;;
1109
1110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 verbose=yes ;;
1112
1113 -version | --version | --versio | --versi | --vers | -V)
1114 ac_init_version=: ;;
1115
1116 -with-* | --with-*)
1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid package name: \`$ac_useropt'"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1124 *"
1125 "with_$ac_useropt"
1126 "*) ;;
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1129 esac
1130 eval with_$ac_useropt=\$ac_optarg ;;
1131
1132 -without-* | --without-*)
1133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136 as_fn_error $? "invalid package name: \`$ac_useropt'"
1137 ac_useropt_orig=$ac_useropt
1138 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1140 *"
1141 "with_$ac_useropt"
1142 "*) ;;
1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep=', ';;
1145 esac
1146 eval with_$ac_useropt=no ;;
1147
1148 --x)
1149 # Obsolete; use --with-x.
1150 with_x=yes ;;
1151
1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1153 | --x-incl | --x-inc | --x-in | --x-i)
1154 ac_prev=x_includes ;;
1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157 x_includes=$ac_optarg ;;
1158
1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1161 ac_prev=x_libraries ;;
1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164 x_libraries=$ac_optarg ;;
1165
1166 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1168 ;;
1169
1170 *=*)
1171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' | [0-9]* | *[!_$as_cr_alnum]* )
1175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1176 esac
1177 eval $ac_envvar=\$ac_optarg
1178 export $ac_envvar ;;
1179
1180 *)
1181 # FIXME: should be removed in autoconf 3.0.
1182 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1186 ;;
1187
1188 esac
1189 done
1190
1191 if test -n "$ac_prev"; then
1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error $? "missing argument to $ac_option"
1194 fi
1195
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1198 no) ;;
1199 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1200 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1201 esac
1202 fi
1203
1204 # Check all directory arguments for consistency.
1205 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir runstatedir
1209 do
1210 eval ac_val=\$$ac_var
1211 # Remove trailing slashes.
1212 case $ac_val in
1213 */ )
1214 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\$ac_val;;
1216 esac
1217 # Be sure to have absolute directory names.
1218 case $ac_val in
1219 [\\/$]* | ?:[\\/]* ) continue;;
1220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1221 esac
1222 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1223 done
1224
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1228 build=$build_alias
1229 host=$host_alias
1230 target=$target_alias
1231
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x; then
1234 if test "x$build_alias" = x; then
1235 cross_compiling=maybe
1236 elif test "x$build_alias" != "x$host_alias"; then
1237 cross_compiling=yes
1238 fi
1239 fi
1240
1241 ac_tool_prefix=
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1243
1244 test "$silent" = yes && exec 6>/dev/null
1245
1246
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error $? "working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error $? "pwd does not report name of working directory"
1253
1254
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 printf "%s\n" X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266 s//\1/
1267 q
1268 }
1269 /^X\(\/\/\)[^/].*/{
1270 s//\1/
1271 q
1272 }
1273 /^X\(\/\/\)$/{
1274 s//\1/
1275 q
1276 }
1277 /^X\(\/\).*/{
1278 s//\1/
1279 q
1280 }
1281 s/.*/./; q'`
1282 srcdir=$ac_confdir
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1284 srcdir=..
1285 fi
1286 else
1287 ac_srcdir_defaulted=no
1288 fi
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1292 fi
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1294 ac_abs_confdir=`(
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1296 pwd)`
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1299 srcdir=.
1300 fi
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1304 case $srcdir in
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1306 esac
1307 for ac_var in $ac_precious_vars; do
1308 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_${ac_var}_value=\$${ac_var}
1310 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1312 done
1313
1314 #
1315 # Report the --help message.
1316 #
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1320 cat <<_ACEOF
1321 \`configure' configures ANU p-Quotient Program package to adapt to many kinds of systems.
1322
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1324
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1327
1328 Defaults for the options are specified in brackets.
1329
1330 Configuration:
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking ...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1340
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1345 [PREFIX]
1346
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1351
1352 For better control, use the options below.
1353
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/anupq]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1375 _ACEOF
1376
1377 cat <<\_ACEOF
1378
1379 Program names:
1380 --program-prefix=PREFIX prepend PREFIX to installed program names
1381 --program-suffix=SUFFIX append SUFFIX to installed program names
1382 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1383 _ACEOF
1384 fi
1385
1386 if test -n "$ac_init_help"; then
1387 case $ac_init_help in
1388 short | recursive ) echo "Configuration of ANU p-Quotient Program package:";;
1389 esac
1390 cat <<\_ACEOF
1391
1392 Optional Features:
1393 --disable-option-checking ignore unrecognized --enable/--with options
1394 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1395 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1396 --enable-silent-rules less verbose build output (undo: "make V=1")
1397 --disable-silent-rules verbose build output (undo: "make V=0")
1398 --enable-maintainer-mode
1399 enable make rules and dependencies not useful (and
1400 sometimes confusing) to the casual installer
1401 --enable-dependency-tracking
1402 do not reject slow dependency extractors
1403 --disable-dependency-tracking
1404 speeds up one-time build
1405
1406 Optional Packages:
1407 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1408 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1409 --with-gaproot=<path> specify root of GAP installation
1410 --with-gmp[=PREFIX] prefix of GMP installation. e.g. /usr/local
1411
1412 Some influential environment variables:
1413 CC C compiler command
1414 CFLAGS C compiler flags
1415 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1416 nonstandard directory <lib dir>
1417 LIBS libraries to pass to the linker, e.g. -l<library>
1418 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1419 you have headers in a nonstandard directory <include dir>
1420
1421 Use these variables to override the choices made by `configure' or to help
1422 it to find libraries and programs with nonstandard names/locations.
1423
1424 Report bugs to <https://github.com/gap-packages/anupq/issues>.
1425 ANU p-Quotient Program home page: <https://gap-packages.github.io/anupq/>.
1426 _ACEOF
1427 ac_status=$?
1428 fi
1429
1430 if test "$ac_init_help" = "recursive"; then
1431 # If there are subdirs, report their specific --help.
1432 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1433 test -d "$ac_dir" ||
1434 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1435 continue
1436 ac_builddir=.
1437
1438 case "$ac_dir" in
1439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1440 *)
1441 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1442 # A ".." for each directory in $ac_dir_suffix.
1443 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1444 case $ac_top_builddir_sub in
1445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1447 esac ;;
1448 esac
1449 ac_abs_top_builddir=$ac_pwd
1450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1451 # for backward compatibility:
1452 ac_top_builddir=$ac_top_build_prefix
1453
1454 case $srcdir in
1455 .) # We are building in place.
1456 ac_srcdir=.
1457 ac_top_srcdir=$ac_top_builddir_sub
1458 ac_abs_top_srcdir=$ac_pwd ;;
1459 [\\/]* | ?:[\\/]* ) # Absolute name.
1460 ac_srcdir=$srcdir$ac_dir_suffix;
1461 ac_top_srcdir=$srcdir
1462 ac_abs_top_srcdir=$srcdir ;;
1463 *) # Relative name.
1464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1465 ac_top_srcdir=$ac_top_build_prefix$srcdir
1466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1467 esac
1468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1469
1470 cd "$ac_dir" || { ac_status=$?; continue; }
1471 # Check for configure.gnu first; this name is used for a wrapper for
1472 # Metaconfig's "Configure" on case-insensitive file systems.
1473 if test -f "$ac_srcdir/configure.gnu"; then
1474 echo &&
1475 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1476 elif test -f "$ac_srcdir/configure"; then
1477 echo &&
1478 $SHELL "$ac_srcdir/configure" --help=recursive
1479 else
1480 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1481 fi || ac_status=$?
1482 cd "$ac_pwd" || { ac_status=$?; break; }
1483 done
1484 fi
1485
1486 test -n "$ac_init_help" && exit $ac_status
1487 if $ac_init_version; then
1488 cat <<\_ACEOF
1489 ANU p-Quotient Program configure package
1490 generated by GNU Autoconf 2.71
1491
1492 Copyright (C) 2021 Free Software Foundation, Inc.
1493 This configure script is free software; the Free Software Foundation
1494 gives unlimited permission to copy, distribute and modify it.
1495 _ACEOF
1496 exit
1497 fi
1498
1499 ## ------------------------ ##
1500 ## Autoconf initialization. ##
1501 ## ------------------------ ##
1502
1503 # ac_fn_c_try_compile LINENO
1504 # --------------------------
1505 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1506 ac_fn_c_try_compile ()
1507 {
1508 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1509 rm -f conftest.$ac_objext conftest.beam
1510 if { { ac_try="$ac_compile"
1511 case "(($ac_try" in
1512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1513 *) ac_try_echo=$ac_try;;
1514 esac
1515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1516 printf "%s\n" "$ac_try_echo"; } >&5
1517 (eval "$ac_compile") 2>conftest.err
1518 ac_status=$?
1519 if test -s conftest.err; then
1520 grep -v '^ *+' conftest.err >conftest.er1
1521 cat conftest.er1 >&5
1522 mv -f conftest.er1 conftest.err
1523 fi
1524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1525 test $ac_status = 0; } && {
1526 test -z "$ac_c_werror_flag" ||
1527 test ! -s conftest.err
1528 } && test -s conftest.$ac_objext
1529 then :
1530 ac_retval=0
1531 else $as_nop
1532 printf "%s\n" "$as_me: failed program was:" >&5
1533 sed 's/^/| /' conftest.$ac_ext >&5
1534
1535 ac_retval=1
1536 fi
1537 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1538 as_fn_set_status $ac_retval
1539
1540 } # ac_fn_c_try_compile
1541
1542 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1543 # -------------------------------------------------------
1544 # Tests whether HEADER exists and can be compiled using the include files in
1545 # INCLUDES, setting the cache variable VAR accordingly.
1546 ac_fn_c_check_header_compile ()
1547 {
1548 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1550 printf %s "checking for $2... " >&6; }
1551 if eval test \${$3+y}
1552 then :
1553 printf %s "(cached) " >&6
1554 else $as_nop
1555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1556 /* end confdefs.h. */
1557 $4
1558 #include <$2>
1559 _ACEOF
1560 if ac_fn_c_try_compile "$LINENO"
1561 then :
1562 eval "$3=yes"
1563 else $as_nop
1564 eval "$3=no"
1565 fi
1566 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1567 fi
1568 eval ac_res=\$$3
1569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1570 printf "%s\n" "$ac_res" >&6; }
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572
1573 } # ac_fn_c_check_header_compile
1574
1575 # ac_fn_c_try_link LINENO
1576 # -----------------------
1577 # Try to link conftest.$ac_ext, and return whether this succeeded.
1578 ac_fn_c_try_link ()
1579 {
1580 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1582 if { { ac_try="$ac_link"
1583 case "(($ac_try" in
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1586 esac
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 printf "%s\n" "$ac_try_echo"; } >&5
1589 (eval "$ac_link") 2>conftest.err
1590 ac_status=$?
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1593 cat conftest.er1 >&5
1594 mv -f conftest.er1 conftest.err
1595 fi
1596 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } && {
1598 test -z "$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1600 } && test -s conftest$ac_exeext && {
1601 test "$cross_compiling" = yes ||
1602 test -x conftest$ac_exeext
1603 }
1604 then :
1605 ac_retval=0
1606 else $as_nop
1607 printf "%s\n" "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1609
1610 ac_retval=1
1611 fi
1612 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1613 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1614 # interfere with the next link command; also delete a directory that is
1615 # left behind by Apple's compiler. We do this before executing the actions.
1616 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1617 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 as_fn_set_status $ac_retval
1619
1620 } # ac_fn_c_try_link
1621
1622 # ac_fn_c_check_func LINENO FUNC VAR
1623 # ----------------------------------
1624 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1625 ac_fn_c_check_func ()
1626 {
1627 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1629 printf %s "checking for $2... " >&6; }
1630 if eval test \${$3+y}
1631 then :
1632 printf %s "(cached) " >&6
1633 else $as_nop
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1636 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1638 #define $2 innocuous_$2
1639
1640 /* System header to define __stub macros and hopefully few prototypes,
1641 which can conflict with char $2 (); below. */
1642
1643 #include <limits.h>
1644 #undef $2
1645
1646 /* Override any GCC internal prototype to avoid an error.
1647 Use char because int might match the return type of a GCC
1648 builtin and then its argument prototype would still apply. */
1649 #ifdef __cplusplus
1650 extern "C"
1651 #endif
1652 char $2 ();
1653 /* The GNU C library defines this for functions which it implements
1654 to always fail with ENOSYS. Some functions are actually named
1655 something starting with __ and the normal name is an alias. */
1656 #if defined __stub_$2 || defined __stub___$2
1657 choke me
1658 #endif
1659
1660 int
1661 main (void)
1662 {
1663 return $2 ();
1664 ;
1665 return 0;
1666 }
1667 _ACEOF
1668 if ac_fn_c_try_link "$LINENO"
1669 then :
1670 eval "$3=yes"
1671 else $as_nop
1672 eval "$3=no"
1673 fi
1674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1675 conftest$ac_exeext conftest.$ac_ext
1676 fi
1677 eval ac_res=\$$3
1678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1679 printf "%s\n" "$ac_res" >&6; }
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681
1682 } # ac_fn_c_check_func
1683 ac_configure_args_raw=
1684 for ac_arg
1685 do
1686 case $ac_arg in
1687 *\'*)
1688 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1689 esac
1690 as_fn_append ac_configure_args_raw " '$ac_arg'"
1691 done
1692
1693 case $ac_configure_args_raw in
1694 *$as_nl*)
1695 ac_safe_unquote= ;;
1696 *)
1697 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1698 ac_unsafe_a="$ac_unsafe_z#~"
1699 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1700 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1701 esac
1702
1703 cat >config.log <<_ACEOF
1704 This file contains any messages produced by compilers while
1705 running configure, to aid debugging if configure makes a mistake.
1706
1707 It was created by ANU p-Quotient Program $as_me package, which was
1708 generated by GNU Autoconf 2.71. Invocation command line was
1709
1710 $ $0$ac_configure_args_raw
1711
1712 _ACEOF
1713 exec 5>>config.log
1714 {
1715 cat <<_ASUNAME
1716 ## --------- ##
1717 ## Platform. ##
1718 ## --------- ##
1719
1720 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1721 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1722 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1723 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1724 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1725
1726 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1727 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1728
1729 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1730 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1731 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1732 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1733 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1734 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1735 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1736
1737 _ASUNAME
1738
1739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1740 for as_dir in $PATH
1741 do
1742 IFS=$as_save_IFS
1743 case $as_dir in #(((
1744 '') as_dir=./ ;;
1745 */) ;;
1746 *) as_dir=$as_dir/ ;;
1747 esac
1748 printf "%s\n" "PATH: $as_dir"
1749 done
1750 IFS=$as_save_IFS
1751
1752 } >&5
1753
1754 cat >&5 <<_ACEOF
1755
1756
1757 ## ----------- ##
1758 ## Core tests. ##
1759 ## ----------- ##
1760
1761 _ACEOF
1762
1763
1764 # Keep a trace of the command line.
1765 # Strip out --no-create and --no-recursion so they do not pile up.
1766 # Strip out --silent because we don't want to record it for future runs.
1767 # Also quote any args containing shell meta-characters.
1768 # Make two passes to allow for proper duplicate-argument suppression.
1769 ac_configure_args=
1770 ac_configure_args0=
1771 ac_configure_args1=
1772 ac_must_keep_next=false
1773 for ac_pass in 1 2
1774 do
1775 for ac_arg
1776 do
1777 case $ac_arg in
1778 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1779 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1780 | -silent | --silent | --silen | --sile | --sil)
1781 continue ;;
1782 *\'*)
1783 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 esac
1785 case $ac_pass in
1786 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1787 2)
1788 as_fn_append ac_configure_args1 " '$ac_arg'"
1789 if test $ac_must_keep_next = true; then
1790 ac_must_keep_next=false # Got value, back to normal.
1791 else
1792 case $ac_arg in
1793 *=* | --config-cache | -C | -disable-* | --disable-* \
1794 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1795 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1796 | -with-* | --with-* | -without-* | --without-* | --x)
1797 case "$ac_configure_args0 " in
1798 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1799 esac
1800 ;;
1801 -* ) ac_must_keep_next=true ;;
1802 esac
1803 fi
1804 as_fn_append ac_configure_args " '$ac_arg'"
1805 ;;
1806 esac
1807 done
1808 done
1809 { ac_configure_args0=; unset ac_configure_args0;}
1810 { ac_configure_args1=; unset ac_configure_args1;}
1811
1812 # When interrupted or exit'd, cleanup temporary files, and complete
1813 # config.log. We remove comments because anyway the quotes in there
1814 # would cause problems or look ugly.
1815 # WARNING: Use '\'' to represent an apostrophe within the trap.
1816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1817 trap 'exit_status=$?
1818 # Sanitize IFS.
1819 IFS=" "" $as_nl"
1820 # Save into config.log some information that might help in debugging.
1821 {
1822 echo
1823
1824 printf "%s\n" "## ---------------- ##
1825 ## Cache variables. ##
1826 ## ---------------- ##"
1827 echo
1828 # The following way of writing the cache mishandles newlines in values,
1829 (
1830 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1831 eval ac_val=\$$ac_var
1832 case $ac_val in #(
1833 *${as_nl}*)
1834 case $ac_var in #(
1835 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1836 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1837 esac
1838 case $ac_var in #(
1839 _ | IFS | as_nl) ;; #(
1840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1841 *) { eval $ac_var=; unset $ac_var;} ;;
1842 esac ;;
1843 esac
1844 done
1845 (set) 2>&1 |
1846 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1847 *${as_nl}ac_space=\ *)
1848 sed -n \
1849 "s/'\''/'\''\\\\'\'''\''/g;
1850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1851 ;; #(
1852 *)
1853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1854 ;;
1855 esac |
1856 sort
1857 )
1858 echo
1859
1860 printf "%s\n" "## ----------------- ##
1861 ## Output variables. ##
1862 ## ----------------- ##"
1863 echo
1864 for ac_var in $ac_subst_vars
1865 do
1866 eval ac_val=\$$ac_var
1867 case $ac_val in
1868 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1869 esac
1870 printf "%s\n" "$ac_var='\''$ac_val'\''"
1871 done | sort
1872 echo
1873
1874 if test -n "$ac_subst_files"; then
1875 printf "%s\n" "## ------------------- ##
1876 ## File substitutions. ##
1877 ## ------------------- ##"
1878 echo
1879 for ac_var in $ac_subst_files
1880 do
1881 eval ac_val=\$$ac_var
1882 case $ac_val in
1883 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1884 esac
1885 printf "%s\n" "$ac_var='\''$ac_val'\''"
1886 done | sort
1887 echo
1888 fi
1889
1890 if test -s confdefs.h; then
1891 printf "%s\n" "## ----------- ##
1892 ## confdefs.h. ##
1893 ## ----------- ##"
1894 echo
1895 cat confdefs.h
1896 echo
1897 fi
1898 test "$ac_signal" != 0 &&
1899 printf "%s\n" "$as_me: caught signal $ac_signal"
1900 printf "%s\n" "$as_me: exit $exit_status"
1901 } >&5
1902 rm -f core *.core core.conftest.* &&
1903 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1904 exit $exit_status
1905 ' 0
1906 for ac_signal in 1 2 13 15; do
1907 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1908 done
1909 ac_signal=0
1910
1911 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1912 rm -f -r conftest* confdefs.h
1913
1914 printf "%s\n" "/* confdefs.h */" > confdefs.h
1915
1916 # Predefined preprocessor variables.
1917
1918 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1919
1920 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1921
1922 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1923
1924 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1925
1926 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1927
1928 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1929
1930
1931 # Let the site file select an alternate cache file if it wants to.
1932 # Prefer an explicitly selected file to automatically selected ones.
1933 if test -n "$CONFIG_SITE"; then
1934 ac_site_files="$CONFIG_SITE"
1935 elif test "x$prefix" != xNONE; then
1936 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1937 else
1938 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1939 fi
1940
1941 for ac_site_file in $ac_site_files
1942 do
1943 case $ac_site_file in #(
1944 */*) :
1945 ;; #(
1946 *) :
1947 ac_site_file=./$ac_site_file ;;
1948 esac
1949 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1951 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1952 sed 's/^/| /' "$ac_site_file" >&5
1953 . "$ac_site_file" \
1954 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1955 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1956 as_fn_error $? "failed to load site script $ac_site_file
1957 See \`config.log' for more details" "$LINENO" 5; }
1958 fi
1959 done
1960
1961 if test -r "$cache_file"; then
1962 # Some versions of bash will fail to source /dev/null (special files
1963 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1964 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1966 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1967 case $cache_file in
1968 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1969 *) . "./$cache_file";;
1970 esac
1971 fi
1972 else
1973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1974 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1975 >$cache_file
1976 fi
1977
1978 # Test code for whether the C compiler supports C89 (global declarations)
1979 ac_c_conftest_c89_globals='
1980 /* Does the compiler advertise C89 conformance?
1981 Do not test the value of __STDC__, because some compilers set it to 0
1982 while being otherwise adequately conformant. */
1983 #if !defined __STDC__
1984 # error "Compiler does not advertise C89 conformance"
1985 #endif
1986
1987 #include <stddef.h>
1988 #include <stdarg.h>
1989 struct stat;
1990 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1991 struct buf { int x; };
1992 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1993 static char *e (p, i)
1994 char **p;
1995 int i;
1996 {
1997 return p[i];
1998 }
1999 static char *f (char * (*g) (char **, int), char **p, ...)
2000 {
2001 char *s;
2002 va_list v;
2003 va_start (v,p);
2004 s = g (p, va_arg (v,int));
2005 va_end (v);
2006 return s;
2007 }
2008
2009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2010 function prototypes and stuff, but not \xHH hex character constants.
2011 These do not provoke an error unfortunately, instead are silently treated
2012 as an "x". The following induces an error, until -std is added to get
2013 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2014 array size at least. It is necessary to write \x00 == 0 to get something
2015 that is true only with -std. */
2016 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2017
2018 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2019 inside strings and character constants. */
2020 #define FOO(x) '\''x'\''
2021 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2022
2023 int test (int i, double x);
2024 struct s1 {int (*f) (int a);};
2025 struct s2 {int (*f) (double a);};
2026 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2027 int, int);'
2028
2029 # Test code for whether the C compiler supports C89 (body of main).
2030 ac_c_conftest_c89_main='
2031 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2032 '
2033
2034 # Test code for whether the C compiler supports C99 (global declarations)
2035 ac_c_conftest_c99_globals='
2036 // Does the compiler advertise C99 conformance?
2037 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2038 # error "Compiler does not advertise C99 conformance"
2039 #endif
2040
2041 #include <stdbool.h>
2042 extern int puts (const char *);
2043 extern int printf (const char *, ...);
2044 extern int dprintf (int, const char *, ...);
2045 extern void *malloc (size_t);
2046
2047 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2048 // dprintf is used instead of fprintf to avoid needing to declare
2049 // FILE and stderr.
2050 #define debug(...) dprintf (2, __VA_ARGS__)
2051 #define showlist(...) puts (#__VA_ARGS__)
2052 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2053 static void
2054 test_varargs_macros (void)
2055 {
2056 int x = 1234;
2057 int y = 5678;
2058 debug ("Flag");
2059 debug ("X = %d\n", x);
2060 showlist (The first, second, and third items.);
2061 report (x>y, "x is %d but y is %d", x, y);
2062 }
2063
2064 // Check long long types.
2065 #define BIG64 18446744073709551615ull
2066 #define BIG32 4294967295ul
2067 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2068 #if !BIG_OK
2069 #error "your preprocessor is broken"
2070 #endif
2071 #if BIG_OK
2072 #else
2073 #error "your preprocessor is broken"
2074 #endif
2075 static long long int bignum = -9223372036854775807LL;
2076 static unsigned long long int ubignum = BIG64;
2077
2078 struct incomplete_array
2079 {
2080 int datasize;
2081 double data[];
2082 };
2083
2084 struct named_init {
2085 int number;
2086 const wchar_t *name;
2087 double average;
2088 };
2089
2090 typedef const char *ccp;
2091
2092 static inline int
2093 test_restrict (ccp restrict text)
2094 {
2095 // See if C++-style comments work.
2096 // Iterate through items via the restricted pointer.
2097 // Also check for declarations in for loops.
2098 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2099 continue;
2100 return 0;
2101 }
2102
2103 // Check varargs and va_copy.
2104 static bool
2105 test_varargs (const char *format, ...)
2106 {
2107 va_list args;
2108 va_start (args, format);
2109 va_list args_copy;
2110 va_copy (args_copy, args);
2111
2112 const char *str = "";
2113 int number = 0;
2114 float fnumber = 0;
2115
2116 while (*format)
2117 {
2118 switch (*format++)
2119 {
2120 case '\''s'\'': // string
2121 str = va_arg (args_copy, const char *);
2122 break;
2123 case '\''d'\'': // int
2124 number = va_arg (args_copy, int);
2125 break;
2126 case '\''f'\'': // float
2127 fnumber = va_arg (args_copy, double);
2128 break;
2129 default:
2130 break;
2131 }
2132 }
2133 va_end (args_copy);
2134 va_end (args);
2135
2136 return *str && number && fnumber;
2137 }
2138 '
2139
2140 # Test code for whether the C compiler supports C99 (body of main).
2141 ac_c_conftest_c99_main='
2142 // Check bool.
2143 _Bool success = false;
2144 success |= (argc != 0);
2145
2146 // Check restrict.
2147 if (test_restrict ("String literal") == 0)
2148 success = true;
2149 char *restrict newvar = "Another string";
2150
2151 // Check varargs.
2152 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2153 test_varargs_macros ();
2154
2155 // Check flexible array members.
2156 struct incomplete_array *ia =
2157 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2158 ia->datasize = 10;
2159 for (int i = 0; i < ia->datasize; ++i)
2160 ia->data[i] = i * 1.234;
2161
2162 // Check named initializers.
2163 struct named_init ni = {
2164 .number = 34,
2165 .name = L"Test wide string",
2166 .average = 543.34343,
2167 };
2168
2169 ni.number = 58;
2170
2171 int dynamic_array[ni.number];
2172 dynamic_array[0] = argv[0][0];
2173 dynamic_array[ni.number - 1] = 543;
2174
2175 // work around unused variable warnings
2176 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2177 || dynamic_array[ni.number - 1] != 543);
2178 '
2179
2180 # Test code for whether the C compiler supports C11 (global declarations)
2181 ac_c_conftest_c11_globals='
2182 // Does the compiler advertise C11 conformance?
2183 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2184 # error "Compiler does not advertise C11 conformance"
2185 #endif
2186
2187 // Check _Alignas.
2188 char _Alignas (double) aligned_as_double;
2189 char _Alignas (0) no_special_alignment;
2190 extern char aligned_as_int;
2191 char _Alignas (0) _Alignas (int) aligned_as_int;
2192
2193 // Check _Alignof.
2194 enum
2195 {
2196 int_alignment = _Alignof (int),
2197 int_array_alignment = _Alignof (int[100]),
2198 char_alignment = _Alignof (char)
2199 };
2200 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2201
2202 // Check _Noreturn.
2203 int _Noreturn does_not_return (void) { for (;;) continue; }
2204
2205 // Check _Static_assert.
2206 struct test_static_assert
2207 {
2208 int x;
2209 _Static_assert (sizeof (int) <= sizeof (long int),
2210 "_Static_assert does not work in struct");
2211 long int y;
2212 };
2213
2214 // Check UTF-8 literals.
2215 #define u8 syntax error!
2216 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2217
2218 // Check duplicate typedefs.
2219 typedef long *long_ptr;
2220 typedef long int *long_ptr;
2221 typedef long_ptr long_ptr;
2222
2223 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2224 struct anonymous
2225 {
2226 union {
2227 struct { int i; int j; };
2228 struct { int k; long int l; } w;
2229 };
2230 int m;
2231 } v1;
2232 '
2233
2234 # Test code for whether the C compiler supports C11 (body of main).
2235 ac_c_conftest_c11_main='
2236 _Static_assert ((offsetof (struct anonymous, i)
2237 == offsetof (struct anonymous, w.k)),
2238 "Anonymous union alignment botch");
2239 v1.i = 2;
2240 v1.w.k = 5;
2241 ok |= v1.i != 5;
2242 '
2243
2244 # Test code for whether the C compiler supports C11 (complete).
2245 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2246 ${ac_c_conftest_c99_globals}
2247 ${ac_c_conftest_c11_globals}
2248
2249 int
2250 main (int argc, char **argv)
2251 {
2252 int ok = 0;
2253 ${ac_c_conftest_c89_main}
2254 ${ac_c_conftest_c99_main}
2255 ${ac_c_conftest_c11_main}
2256 return ok;
2257 }
2258 "
2259
2260 # Test code for whether the C compiler supports C99 (complete).
2261 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2262 ${ac_c_conftest_c99_globals}
2263
2264 int
2265 main (int argc, char **argv)
2266 {
2267 int ok = 0;
2268 ${ac_c_conftest_c89_main}
2269 ${ac_c_conftest_c99_main}
2270 return ok;
2271 }
2272 "
2273
2274 # Test code for whether the C compiler supports C89 (complete).
2275 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2276
2277 int
2278 main (int argc, char **argv)
2279 {
2280 int ok = 0;
2281 ${ac_c_conftest_c89_main}
2282 return ok;
2283 }
2284 "
2285
2286 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2287 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2288 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2289 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2290 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2291 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2292 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2293 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2294 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2295
2296 # Auxiliary files required by this configure script.
2297 ac_aux_files="compile missing install-sh"
2298
2299 # Locations in which to look for auxiliary files.
2300 ac_aux_dir_candidates="${srcdir}/cnf"
2301
2302 # Search for a directory containing all of the required auxiliary files,
2303 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2304 # If we don't find one directory that contains all the files we need,
2305 # we report the set of missing files from the *first* directory in
2306 # $ac_aux_dir_candidates and give up.
2307 ac_missing_aux_files=""
2308 ac_first_candidate=:
2309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 as_found=false
2312 for as_dir in $ac_aux_dir_candidates
2313 do
2314 IFS=$as_save_IFS
2315 case $as_dir in #(((
2316 '') as_dir=./ ;;
2317 */) ;;
2318 *) as_dir=$as_dir/ ;;
2319 esac
2320 as_found=:
2321
2322 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2323 ac_aux_dir_found=yes
2324 ac_install_sh=
2325 for ac_aux in $ac_aux_files
2326 do
2327 # As a special case, if "install-sh" is required, that requirement
2328 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2329 # and $ac_install_sh is set appropriately for whichever one is found.
2330 if test x"$ac_aux" = x"install-sh"
2331 then
2332 if test -f "${as_dir}install-sh"; then
2333 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2334 ac_install_sh="${as_dir}install-sh -c"
2335 elif test -f "${as_dir}install.sh"; then
2336 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2337 ac_install_sh="${as_dir}install.sh -c"
2338 elif test -f "${as_dir}shtool"; then
2339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2340 ac_install_sh="${as_dir}shtool install -c"
2341 else
2342 ac_aux_dir_found=no
2343 if $ac_first_candidate; then
2344 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2345 else
2346 break
2347 fi
2348 fi
2349 else
2350 if test -f "${as_dir}${ac_aux}"; then
2351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2352 else
2353 ac_aux_dir_found=no
2354 if $ac_first_candidate; then
2355 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2356 else
2357 break
2358 fi
2359 fi
2360 fi
2361 done
2362 if test "$ac_aux_dir_found" = yes; then
2363 ac_aux_dir="$as_dir"
2364 break
2365 fi
2366 ac_first_candidate=false
2367
2368 as_found=false
2369 done
2370 IFS=$as_save_IFS
2371 if $as_found
2372 then :
2373
2374 else $as_nop
2375 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2376 fi
2377
2378
2379 # These three variables are undocumented and unsupported,
2380 # and are intended to be withdrawn in a future Autoconf release.
2381 # They can cause serious problems if a builder's source tree is in a directory
2382 # whose full name contains unusual characters.
2383 if test -f "${ac_aux_dir}config.guess"; then
2384 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2385 fi
2386 if test -f "${ac_aux_dir}config.sub"; then
2387 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2388 fi
2389 if test -f "$ac_aux_dir/configure"; then
2390 ac_configure="$SHELL ${ac_aux_dir}configure"
2391 fi
2392
2393 # Check that the precious variables saved in the cache have kept the same
2394 # value.
2395 ac_cache_corrupted=false
2396 for ac_var in $ac_precious_vars; do
2397 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2398 eval ac_new_set=\$ac_env_${ac_var}_set
2399 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2400 eval ac_new_val=\$ac_env_${ac_var}_value
2401 case $ac_old_set,$ac_new_set in
2402 set,)
2403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2404 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2405 ac_cache_corrupted=: ;;
2406 ,set)
2407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2408 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2409 ac_cache_corrupted=: ;;
2410 ,);;
2411 *)
2412 if test "x$ac_old_val" != "x$ac_new_val"; then
2413 # differences in whitespace do not lead to failure.
2414 ac_old_val_w=`echo x $ac_old_val`
2415 ac_new_val_w=`echo x $ac_new_val`
2416 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2418 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2419 ac_cache_corrupted=:
2420 else
2421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2422 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2423 eval $ac_var=\$ac_old_val
2424 fi
2425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2426 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2428 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2429 fi;;
2430 esac
2431 # Pass precious variables to config.status.
2432 if test "$ac_new_set" = set; then
2433 case $ac_new_val in
2434 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2435 *) ac_arg=$ac_var=$ac_new_val ;;
2436 esac
2437 case " $ac_configure_args " in
2438 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2439 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2440 esac
2441 fi
2442 done
2443 if $ac_cache_corrupted; then
2444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2445 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2447 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2448 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2449 and start over" "$LINENO" 5
2450 fi
2451 ## -------------------- ##
2452 ## Main body of script. ##
2453 ## -------------------- ##
2454
2455 ac_ext=c
2456 ac_cpp='$CPP $CPPFLAGS'
2457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2460
2461
2462
2463 ac_config_headers="$ac_config_headers include/config.h:include/config.hin"
2464
2465
2466
2467 am__api_version='1.16'
2468
2469
2470
2471 # Find a good install program. We prefer a C program (faster),
2472 # so one script is as good as another. But avoid the broken or
2473 # incompatible versions:
2474 # SysV /etc/install, /usr/sbin/install
2475 # SunOS /usr/etc/install
2476 # IRIX /sbin/install
2477 # AIX /bin/install
2478 # AmigaOS /C/install, which installs bootblocks on floppy discs
2479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2482 # OS/2's system install, which has a completely different semantic
2483 # ./install, which can be erroneously created by make from ./install.sh.
2484 # Reject install programs that cannot install multiple files.
2485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2486 printf %s "checking for a BSD-compatible install... " >&6; }
2487 if test -z "$INSTALL"; then
2488 if test ${ac_cv_path_install+y}
2489 then :
2490 printf %s "(cached) " >&6
2491 else $as_nop
2492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 for as_dir in $PATH
2494 do
2495 IFS=$as_save_IFS
2496 case $as_dir in #(((
2497 '') as_dir=./ ;;
2498 */) ;;
2499 *) as_dir=$as_dir/ ;;
2500 esac
2501 # Account for fact that we put trailing slashes in our PATH walk.
2502 case $as_dir in #((
2503 ./ | /[cC]/* | \
2504 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2505 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2506 /usr/ucb/* ) ;;
2507 *)
2508 # OSF1 and SCO ODT 3.0 have their own names for install.
2509 # Don't use installbsd from OSF since it installs stuff as root
2510 # by default.
2511 for ac_prog in ginstall scoinst install; do
2512 for ac_exec_ext in '' $ac_executable_extensions; do
2513 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2514 if test $ac_prog = install &&
2515 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2516 # AIX install. It has an incompatible calling convention.
2517 :
2518 elif test $ac_prog = install &&
2519 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2520 # program-specific install script used by HP pwplus--don't use.
2521 :
2522 else
2523 rm -rf conftest.one conftest.two conftest.dir
2524 echo one > conftest.one
2525 echo two > conftest.two
2526 mkdir conftest.dir
2527 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2528 test -s conftest.one && test -s conftest.two &&
2529 test -s conftest.dir/conftest.one &&
2530 test -s conftest.dir/conftest.two
2531 then
2532 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2533 break 3
2534 fi
2535 fi
2536 fi
2537 done
2538 done
2539 ;;
2540 esac
2541
2542 done
2543 IFS=$as_save_IFS
2544
2545 rm -rf conftest.one conftest.two conftest.dir
2546
2547 fi
2548 if test ${ac_cv_path_install+y}; then
2549 INSTALL=$ac_cv_path_install
2550 else
2551 # As a last resort, use the slow shell script. Don't cache a
2552 # value for INSTALL within a source directory, because that will
2553 # break other packages using the cache if that directory is
2554 # removed, or if the value is a relative name.
2555 INSTALL=$ac_install_sh
2556 fi
2557 fi
2558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2559 printf "%s\n" "$INSTALL" >&6; }
2560
2561 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2562 # It thinks the first close brace ends the variable substitution.
2563 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2564
2565 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2566
2567 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2568
2569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2570 printf %s "checking whether build environment is sane... " >&6; }
2571 # Reject unsafe characters in $srcdir or the absolute working directory
2572 # name. Accept space and tab only in the latter.
2573 am_lf='
2574 '
2575 case `pwd` in
2576 *[\\\"\#\$\&\'\`$am_lf]*)
2577 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2578 esac
2579 case $srcdir in
2580 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2581 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2582 esac
2583
2584 # Do 'set' in a subshell so we don't clobber the current shell's
2585 # arguments. Must try -L first in case configure is actually a
2586 # symlink; some systems play weird games with the mod time of symlinks
2587 # (eg FreeBSD returns the mod time of the symlink's containing
2588 # directory).
2589 if (
2590 am_has_slept=no
2591 for am_try in 1 2; do
2592 echo "timestamp, slept: $am_has_slept" > conftest.file
2593 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2594 if test "$*" = "X"; then
2595 # -L didn't work.
2596 set X `ls -t "$srcdir/configure" conftest.file`
2597 fi
2598 if test "$*" != "X $srcdir/configure conftest.file" \
2599 && test "$*" != "X conftest.file $srcdir/configure"; then
2600
2601 # If neither matched, then we have a broken ls. This can happen
2602 # if, for instance, CONFIG_SHELL is bash and it inherits a
2603 # broken ls alias from the environment. This has actually
2604 # happened. Such a system could not be considered "sane".
2605 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2606 alias in your environment" "$LINENO" 5
2607 fi
2608 if test "$2" = conftest.file || test $am_try -eq 2; then
2609 break
2610 fi
2611 # Just in case.
2612 sleep 1
2613 am_has_slept=yes
2614 done
2615 test "$2" = conftest.file
2616 )
2617 then
2618 # Ok.
2619 :
2620 else
2621 as_fn_error $? "newly created file is older than distributed files!
2622 Check your system clock" "$LINENO" 5
2623 fi
2624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2625 printf "%s\n" "yes" >&6; }
2626 # If we didn't sleep, we still need to ensure time stamps of config.status and
2627 # generated files are strictly newer.
2628 am_sleep_pid=
2629 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2630 ( sleep 1 ) &
2631 am_sleep_pid=$!
2632 fi
2633
2634 rm -f conftest.file
2635
2636 test "$program_prefix" != NONE &&
2637 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2638 # Use a double $ so make ignores it.
2639 test "$program_suffix" != NONE &&
2640 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2641 # Double any \ or $.
2642 # By default was `s,x,x', remove it if useless.
2643 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2644 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2645
2646
2647 # Expand $ac_aux_dir to an absolute path.
2648 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2649
2650
2651 if test x"${MISSING+set}" != xset; then
2652 MISSING="\${SHELL} '$am_aux_dir/missing'"
2653 fi
2654 # Use eval to expand $SHELL
2655 if eval "$MISSING --is-lightweight"; then
2656 am_missing_run="$MISSING "
2657 else
2658 am_missing_run=
2659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2660 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2661 fi
2662
2663 if test x"${install_sh+set}" != xset; then
2664 case $am_aux_dir in
2665 *\ * | *\ *)
2666 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2667 *)
2668 install_sh="\${SHELL} $am_aux_dir/install-sh"
2669 esac
2670 fi
2671
2672 # Installed binaries are usually stripped using 'strip' when the user
2673 # run "make install-strip". However 'strip' might not be the right
2674 # tool to use in cross-compilation environments, therefore Automake
2675 # will honor the 'STRIP' environment variable to overrule this program.
2676 if test "$cross_compiling" != no; then
2677 if test -n "$ac_tool_prefix"; then
2678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679 set dummy ${ac_tool_prefix}strip; ac_word=$2
2680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681 printf %s "checking for $ac_word... " >&6; }
2682 if test ${ac_cv_prog_STRIP+y}
2683 then :
2684 printf %s "(cached) " >&6
2685 else $as_nop
2686 if test -n "$STRIP"; then
2687 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2688 else
2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690 for as_dir in $PATH
2691 do
2692 IFS=$as_save_IFS
2693 case $as_dir in #(((
2694 '') as_dir=./ ;;
2695 */) ;;
2696 *) as_dir=$as_dir/ ;;
2697 esac
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2700 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2702 break 2
2703 fi
2704 done
2705 done
2706 IFS=$as_save_IFS
2707
2708 fi
2709 fi
2710 STRIP=$ac_cv_prog_STRIP
2711 if test -n "$STRIP"; then
2712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2713 printf "%s\n" "$STRIP" >&6; }
2714 else
2715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2716 printf "%s\n" "no" >&6; }
2717 fi
2718
2719
2720 fi
2721 if test -z "$ac_cv_prog_STRIP"; then
2722 ac_ct_STRIP=$STRIP
2723 # Extract the first word of "strip", so it can be a program name with args.
2724 set dummy strip; ac_word=$2
2725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726 printf %s "checking for $ac_word... " >&6; }
2727 if test ${ac_cv_prog_ac_ct_STRIP+y}
2728 then :
2729 printf %s "(cached) " >&6
2730 else $as_nop
2731 if test -n "$ac_ct_STRIP"; then
2732 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2733 else
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2735 for as_dir in $PATH
2736 do
2737 IFS=$as_save_IFS
2738 case $as_dir in #(((
2739 '') as_dir=./ ;;
2740 */) ;;
2741 *) as_dir=$as_dir/ ;;
2742 esac
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_ac_ct_STRIP="strip"
2746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2747 break 2
2748 fi
2749 done
2750 done
2751 IFS=$as_save_IFS
2752
2753 fi
2754 fi
2755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2756 if test -n "$ac_ct_STRIP"; then
2757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2758 printf "%s\n" "$ac_ct_STRIP" >&6; }
2759 else
2760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2761 printf "%s\n" "no" >&6; }
2762 fi
2763
2764 if test "x$ac_ct_STRIP" = x; then
2765 STRIP=":"
2766 else
2767 case $cross_compiling:$ac_tool_warned in
2768 yes:)
2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2770 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2771 ac_tool_warned=yes ;;
2772 esac
2773 STRIP=$ac_ct_STRIP
2774 fi
2775 else
2776 STRIP="$ac_cv_prog_STRIP"
2777 fi
2778
2779 fi
2780 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2781
2782
2783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2784 printf %s "checking for a race-free mkdir -p... " >&6; }
2785 if test -z "$MKDIR_P"; then
2786 if test ${ac_cv_path_mkdir+y}
2787 then :
2788 printf %s "(cached) " >&6
2789 else $as_nop
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2792 do
2793 IFS=$as_save_IFS
2794 case $as_dir in #(((
2795 '') as_dir=./ ;;
2796 */) ;;
2797 *) as_dir=$as_dir/ ;;
2798 esac
2799 for ac_prog in mkdir gmkdir; do
2800 for ac_exec_ext in '' $ac_executable_extensions; do
2801 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2802 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2803 'mkdir ('*'coreutils) '* | \
2804 'BusyBox '* | \
2805 'mkdir (fileutils) '4.1*)
2806 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2807 break 3;;
2808 esac
2809 done
2810 done
2811 done
2812 IFS=$as_save_IFS
2813
2814 fi
2815
2816 test -d ./--version && rmdir ./--version
2817 if test ${ac_cv_path_mkdir+y}; then
2818 MKDIR_P="$ac_cv_path_mkdir -p"
2819 else
2820 # As a last resort, use the slow shell script. Don't cache a
2821 # value for MKDIR_P within a source directory, because that will
2822 # break other packages using the cache if that directory is
2823 # removed, or if the value is a relative name.
2824 MKDIR_P="$ac_install_sh -d"
2825 fi
2826 fi
2827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2828 printf "%s\n" "$MKDIR_P" >&6; }
2829
2830 for ac_prog in gawk mawk nawk awk
2831 do
2832 # Extract the first word of "$ac_prog", so it can be a program name with args.
2833 set dummy $ac_prog; ac_word=$2
2834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2835 printf %s "checking for $ac_word... " >&6; }
2836 if test ${ac_cv_prog_AWK+y}
2837 then :
2838 printf %s "(cached) " >&6
2839 else $as_nop
2840 if test -n "$AWK"; then
2841 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2842 else
2843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 for as_dir in $PATH
2845 do
2846 IFS=$as_save_IFS
2847 case $as_dir in #(((
2848 '') as_dir=./ ;;
2849 */) ;;
2850 *) as_dir=$as_dir/ ;;
2851 esac
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_AWK="$ac_prog"
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2856 break 2
2857 fi
2858 done
2859 done
2860 IFS=$as_save_IFS
2861
2862 fi
2863 fi
2864 AWK=$ac_cv_prog_AWK
2865 if test -n "$AWK"; then
2866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2867 printf "%s\n" "$AWK" >&6; }
2868 else
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870 printf "%s\n" "no" >&6; }
2871 fi
2872
2873
2874 test -n "$AWK" && break
2875 done
2876
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2878 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2879 set x ${MAKE-make}
2880 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2881 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2882 then :
2883 printf %s "(cached) " >&6
2884 else $as_nop
2885 cat >conftest.make <<\_ACEOF
2886 SHELL = /bin/sh
2887 all:
2888 @echo '@@@%%%=$(MAKE)=@@@%%%'
2889 _ACEOF
2890 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2891 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2892 *@@@%%%=?*=@@@%%%*)
2893 eval ac_cv_prog_make_${ac_make}_set=yes;;
2894 *)
2895 eval ac_cv_prog_make_${ac_make}_set=no;;
2896 esac
2897 rm -f conftest.make
2898 fi
2899 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2901 printf "%s\n" "yes" >&6; }
2902 SET_MAKE=
2903 else
2904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2905 printf "%s\n" "no" >&6; }
2906 SET_MAKE="MAKE=${MAKE-make}"
2907 fi
2908
2909 rm -rf .tst 2>/dev/null
2910 mkdir .tst 2>/dev/null
2911 if test -d .tst; then
2912 am__leading_dot=.
2913 else
2914 am__leading_dot=_
2915 fi
2916 rmdir .tst 2>/dev/null
2917
2918 # Check whether --enable-silent-rules was given.
2919 if test ${enable_silent_rules+y}
2920 then :
2921 enableval=$enable_silent_rules;
2922 fi
2923
2924 case $enable_silent_rules in # (((
2925 yes) AM_DEFAULT_VERBOSITY=0;;
2926 no) AM_DEFAULT_VERBOSITY=1;;
2927 *) AM_DEFAULT_VERBOSITY=1;;
2928 esac
2929 am_make=${MAKE-make}
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2931 printf %s "checking whether $am_make supports nested variables... " >&6; }
2932 if test ${am_cv_make_support_nested_variables+y}
2933 then :
2934 printf %s "(cached) " >&6
2935 else $as_nop
2936 if printf "%s\n" 'TRUE=$(BAR$(V))
2937 BAR0=false
2938 BAR1=true
2939 V=1
2940 am__doit:
2941 @$(TRUE)
2942 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2943 am_cv_make_support_nested_variables=yes
2944 else
2945 am_cv_make_support_nested_variables=no
2946 fi
2947 fi
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2949 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2950 if test $am_cv_make_support_nested_variables = yes; then
2951 AM_V='$(V)'
2952 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2953 else
2954 AM_V=$AM_DEFAULT_VERBOSITY
2955 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2956 fi
2957 AM_BACKSLASH='\'
2958
2959 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2960 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2961 # is not polluted with repeated "-I."
2962 am__isrc=' -I$(srcdir)'
2963 # test to see if srcdir already configured
2964 if test -f $srcdir/config.status; then
2965 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2966 fi
2967 fi
2968
2969 # test whether we have cygpath
2970 if test -z "$CYGPATH_W"; then
2971 if (cygpath --version) >/dev/null 2>/dev/null; then
2972 CYGPATH_W='cygpath -w'
2973 else
2974 CYGPATH_W=echo
2975 fi
2976 fi
2977
2978
2979 # Define the identity of the package.
2980 PACKAGE='anupq'
2981 VERSION='package'
2982
2983
2984 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2985
2986
2987 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2988
2989 # Some tools Automake needs.
2990
2991 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2992
2993
2994 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2995
2996
2997 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2998
2999
3000 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3001
3002
3003 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3004
3005 # For better backward compatibility. To be removed once Automake 1.9.x
3006 # dies out for good. For more background, see:
3007 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3008 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3009 mkdir_p='$(MKDIR_P)'
3010
3011 # We need awk for the "check" target (and possibly the TAP driver). The
3012 # system "awk" is bad on some platforms.
3013 # Always define AMTAR for backward compatibility. Yes, it's still used
3014 # in the wild :-( We should find a proper way to deprecate it ...
3015 AMTAR='$${TAR-tar}'
3016
3017
3018 # We'll loop over all known methods to create a tar archive until one works.
3019 _am_tools='gnutar pax cpio none'
3020
3021 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3022
3023
3024
3025
3026
3027 # Variables for tags utilities; see am/tags.am
3028 if test -z "$CTAGS"; then
3029 CTAGS=ctags
3030 fi
3031
3032 if test -z "$ETAGS"; then
3033 ETAGS=etags
3034 fi
3035
3036 if test -z "$CSCOPE"; then
3037 CSCOPE=cscope
3038 fi
3039
3040
3041
3042 # POSIX will say in a future version that running "rm -f" with no argument
3043 # is OK; and we want to be able to make that assumption in our Makefile
3044 # recipes. So use an aggressive probe to check that the usage we want is
3045 # actually supported "in the wild" to an acceptable degree.
3046 # See automake bug#10828.
3047 # To make any issue more visible, cause the running configure to be aborted
3048 # by default if the 'rm' program in use doesn't match our expectations; the
3049 # user can still override this though.
3050 if rm -f && rm -fr && rm -rf; then : OK; else
3051 cat >&2 <<'END'
3052 Oops!
3053
3054 Your 'rm' program seems unable to run without file operands specified
3055 on the command line, even when the '-f' option is present. This is contrary
3056 to the behaviour of most rm programs out there, and not conforming with
3057 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3058
3059 Please tell [email protected] about your system, including the value
3060 of your $PATH and any error possibly output before this message. This
3061 can help us improve future automake versions.
3062
3063 END
3064 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3065 echo 'Configuration will proceed anyway, since you have set the' >&2
3066 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3067 echo >&2
3068 else
3069 cat >&2 <<'END'
3070 Aborting the configuration process, to ensure you take notice of the issue.
3071
3072 You can download and install GNU coreutils to get an 'rm' implementation
3073 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3074
3075 If you want to complete the configuration process using your problematic
3076 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3077 to "yes", and re-run configure.
3078
3079 END
3080 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3081 fi
3082 fi
3083
3084 # Check whether --enable-silent-rules was given.
3085 if test ${enable_silent_rules+y}
3086 then :
3087 enableval=$enable_silent_rules;
3088 fi
3089
3090 case $enable_silent_rules in # (((
3091 yes) AM_DEFAULT_VERBOSITY=0;;
3092 no) AM_DEFAULT_VERBOSITY=1;;
3093 *) AM_DEFAULT_VERBOSITY=0;;
3094 esac
3095 am_make=${MAKE-make}
3096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3097 printf %s "checking whether $am_make supports nested variables... " >&6; }
3098 if test ${am_cv_make_support_nested_variables+y}
3099 then :
3100 printf %s "(cached) " >&6
3101 else $as_nop
3102 if printf "%s\n" 'TRUE=$(BAR$(V))
3103 BAR0=false
3104 BAR1=true
3105 V=1
3106 am__doit:
3107 @$(TRUE)
3108 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3109 am_cv_make_support_nested_variables=yes
3110 else
3111 am_cv_make_support_nested_variables=no
3112 fi
3113 fi
3114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3115 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3116 if test $am_cv_make_support_nested_variables = yes; then
3117 AM_V='$(V)'
3118 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3119 else
3120 AM_V=$AM_DEFAULT_VERBOSITY
3121 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3122 fi
3123 AM_BACKSLASH='\'
3124
3125
3126
3127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3128 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3129 # Check whether --enable-maintainer-mode was given.
3130 if test ${enable_maintainer_mode+y}
3131 then :
3132 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3133 else $as_nop
3134 USE_MAINTAINER_MODE=no
3135 fi
3136
3137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3138 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
3139 if test $USE_MAINTAINER_MODE = yes; then
3140 MAINTAINER_MODE_TRUE=
3141 MAINTAINER_MODE_FALSE='#'
3142 else
3143 MAINTAINER_MODE_TRUE='#'
3144 MAINTAINER_MODE_FALSE=
3145 fi
3146
3147 MAINT=$MAINTAINER_MODE_TRUE
3148
3149
3150
3151 ac_ext=c
3152 ac_cpp='$CPP $CPPFLAGS'
3153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3156
3157
3158 for ac_prog in gawk mawk nawk awk
3159 do
3160 # Extract the first word of "$ac_prog", so it can be a program name with args.
3161 set dummy $ac_prog; ac_word=$2
3162 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3163 printf %s "checking for $ac_word... " >&6; }
3164 if test ${ac_cv_prog_AWK+y}
3165 then :
3166 printf %s "(cached) " >&6
3167 else $as_nop
3168 if test -n "$AWK"; then
3169 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174 IFS=$as_save_IFS
3175 case $as_dir in #(((
3176 '') as_dir=./ ;;
3177 */) ;;
3178 *) as_dir=$as_dir/ ;;
3179 esac
3180 for ac_exec_ext in '' $ac_executable_extensions; do
3181 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3182 ac_cv_prog_AWK="$ac_prog"
3183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3184 break 2
3185 fi
3186 done
3187 done
3188 IFS=$as_save_IFS
3189
3190 fi
3191 fi
3192 AWK=$ac_cv_prog_AWK
3193 if test -n "$AWK"; then
3194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3195 printf "%s\n" "$AWK" >&6; }
3196 else
3197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3198 printf "%s\n" "no" >&6; }
3199 fi
3200
3201
3202 test -n "$AWK" && break
3203 done
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214 ac_ext=c
3215 ac_cpp='$CPP $CPPFLAGS'
3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219 if test -n "$ac_tool_prefix"; then
3220 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3221 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223 printf %s "checking for $ac_word... " >&6; }
3224 if test ${ac_cv_prog_CC+y}
3225 then :
3226 printf %s "(cached) " >&6
3227 else $as_nop
3228 if test -n "$CC"; then
3229 ac_cv_prog_CC="$CC" # Let the user override the test.
3230 else
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH
3233 do
3234 IFS=$as_save_IFS
3235 case $as_dir in #(((
3236 '') as_dir=./ ;;
3237 */) ;;
3238 *) as_dir=$as_dir/ ;;
3239 esac
3240 for ac_exec_ext in '' $ac_executable_extensions; do
3241 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3242 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3244 break 2
3245 fi
3246 done
3247 done
3248 IFS=$as_save_IFS
3249
3250 fi
3251 fi
3252 CC=$ac_cv_prog_CC
3253 if test -n "$CC"; then
3254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3255 printf "%s\n" "$CC" >&6; }
3256 else
3257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258 printf "%s\n" "no" >&6; }
3259 fi
3260
3261
3262 fi
3263 if test -z "$ac_cv_prog_CC"; then
3264 ac_ct_CC=$CC
3265 # Extract the first word of "gcc", so it can be a program name with args.
3266 set dummy gcc; ac_word=$2
3267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268 printf %s "checking for $ac_word... " >&6; }
3269 if test ${ac_cv_prog_ac_ct_CC+y}
3270 then :
3271 printf %s "(cached) " >&6
3272 else $as_nop
3273 if test -n "$ac_ct_CC"; then
3274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 case $as_dir in #(((
3281 '') as_dir=./ ;;
3282 */) ;;
3283 *) as_dir=$as_dir/ ;;
3284 esac
3285 for ac_exec_ext in '' $ac_executable_extensions; do
3286 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_ac_ct_CC="gcc"
3288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3289 break 2
3290 fi
3291 done
3292 done
3293 IFS=$as_save_IFS
3294
3295 fi
3296 fi
3297 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3298 if test -n "$ac_ct_CC"; then
3299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3300 printf "%s\n" "$ac_ct_CC" >&6; }
3301 else
3302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303 printf "%s\n" "no" >&6; }
3304 fi
3305
3306 if test "x$ac_ct_CC" = x; then
3307 CC=""
3308 else
3309 case $cross_compiling:$ac_tool_warned in
3310 yes:)
3311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3312 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3313 ac_tool_warned=yes ;;
3314 esac
3315 CC=$ac_ct_CC
3316 fi
3317 else
3318 CC="$ac_cv_prog_CC"
3319 fi
3320
3321 if test -z "$CC"; then
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cc; ac_word=$2
3325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326 printf %s "checking for $ac_word... " >&6; }
3327 if test ${ac_cv_prog_CC+y}
3328 then :
3329 printf %s "(cached) " >&6
3330 else $as_nop
3331 if test -n "$CC"; then
3332 ac_cv_prog_CC="$CC" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3336 do
3337 IFS=$as_save_IFS
3338 case $as_dir in #(((
3339 '') as_dir=./ ;;
3340 */) ;;
3341 *) as_dir=$as_dir/ ;;
3342 esac
3343 for ac_exec_ext in '' $ac_executable_extensions; do
3344 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3345 ac_cv_prog_CC="${ac_tool_prefix}cc"
3346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3347 break 2
3348 fi
3349 done
3350 done
3351 IFS=$as_save_IFS
3352
3353 fi
3354 fi
3355 CC=$ac_cv_prog_CC
3356 if test -n "$CC"; then
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3358 printf "%s\n" "$CC" >&6; }
3359 else
3360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361 printf "%s\n" "no" >&6; }
3362 fi
3363
3364
3365 fi
3366 fi
3367 if test -z "$CC"; then
3368 # Extract the first word of "cc", so it can be a program name with args.
3369 set dummy cc; ac_word=$2
3370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3371 printf %s "checking for $ac_word... " >&6; }
3372 if test ${ac_cv_prog_CC+y}
3373 then :
3374 printf %s "(cached) " >&6
3375 else $as_nop
3376 if test -n "$CC"; then
3377 ac_cv_prog_CC="$CC" # Let the user override the test.
3378 else
3379 ac_prog_rejected=no
3380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381 for as_dir in $PATH
3382 do
3383 IFS=$as_save_IFS
3384 case $as_dir in #(((
3385 '') as_dir=./ ;;
3386 */) ;;
3387 *) as_dir=$as_dir/ ;;
3388 esac
3389 for ac_exec_ext in '' $ac_executable_extensions; do
3390 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3391 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3392 ac_prog_rejected=yes
3393 continue
3394 fi
3395 ac_cv_prog_CC="cc"
3396 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3397 break 2
3398 fi
3399 done
3400 done
3401 IFS=$as_save_IFS
3402
3403 if test $ac_prog_rejected = yes; then
3404 # We found a bogon in the path, so make sure we never use it.
3405 set dummy $ac_cv_prog_CC
3406 shift
3407 if test $# != 0; then
3408 # We chose a different compiler from the bogus one.
3409 # However, it has the same basename, so the bogon will be chosen
3410 # first if we set CC to just the basename; use the full file name.
3411 shift
3412 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3413 fi
3414 fi
3415 fi
3416 fi
3417 CC=$ac_cv_prog_CC
3418 if test -n "$CC"; then
3419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3420 printf "%s\n" "$CC" >&6; }
3421 else
3422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3423 printf "%s\n" "no" >&6; }
3424 fi
3425
3426
3427 fi
3428 if test -z "$CC"; then
3429 if test -n "$ac_tool_prefix"; then
3430 for ac_prog in cl.exe
3431 do
3432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3435 printf %s "checking for $ac_word... " >&6; }
3436 if test ${ac_cv_prog_CC+y}
3437 then :
3438 printf %s "(cached) " >&6
3439 else $as_nop
3440 if test -n "$CC"; then
3441 ac_cv_prog_CC="$CC" # Let the user override the test.
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH
3445 do
3446 IFS=$as_save_IFS
3447 case $as_dir in #(((
3448 '') as_dir=./ ;;
3449 */) ;;
3450 *) as_dir=$as_dir/ ;;
3451 esac
3452 for ac_exec_ext in '' $ac_executable_extensions; do
3453 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3454 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3455 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3456 break 2
3457 fi
3458 done
3459 done
3460 IFS=$as_save_IFS
3461
3462 fi
3463 fi
3464 CC=$ac_cv_prog_CC
3465 if test -n "$CC"; then
3466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3467 printf "%s\n" "$CC" >&6; }
3468 else
3469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 printf "%s\n" "no" >&6; }
3471 fi
3472
3473
3474 test -n "$CC" && break
3475 done
3476 fi
3477 if test -z "$CC"; then
3478 ac_ct_CC=$CC
3479 for ac_prog in cl.exe
3480 do
3481 # Extract the first word of "$ac_prog", so it can be a program name with args.
3482 set dummy $ac_prog; ac_word=$2
3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484 printf %s "checking for $ac_word... " >&6; }
3485 if test ${ac_cv_prog_ac_ct_CC+y}
3486 then :
3487 printf %s "(cached) " >&6
3488 else $as_nop
3489 if test -n "$ac_ct_CC"; then
3490 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3491 else
3492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493 for as_dir in $PATH
3494 do
3495 IFS=$as_save_IFS
3496 case $as_dir in #(((
3497 '') as_dir=./ ;;
3498 */) ;;
3499 *) as_dir=$as_dir/ ;;
3500 esac
3501 for ac_exec_ext in '' $ac_executable_extensions; do
3502 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3503 ac_cv_prog_ac_ct_CC="$ac_prog"
3504 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3505 break 2
3506 fi
3507 done
3508 done
3509 IFS=$as_save_IFS
3510
3511 fi
3512 fi
3513 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3514 if test -n "$ac_ct_CC"; then
3515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3516 printf "%s\n" "$ac_ct_CC" >&6; }
3517 else
3518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519 printf "%s\n" "no" >&6; }
3520 fi
3521
3522
3523 test -n "$ac_ct_CC" && break
3524 done
3525
3526 if test "x$ac_ct_CC" = x; then
3527 CC=""
3528 else
3529 case $cross_compiling:$ac_tool_warned in
3530 yes:)
3531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3532 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3533 ac_tool_warned=yes ;;
3534 esac
3535 CC=$ac_ct_CC
3536 fi
3537 fi
3538
3539 fi
3540 if test -z "$CC"; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}clang; ac_word=$2
3544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 printf %s "checking for $ac_word... " >&6; }
3546 if test ${ac_cv_prog_CC+y}
3547 then :
3548 printf %s "(cached) " >&6
3549 else $as_nop
3550 if test -n "$CC"; then
3551 ac_cv_prog_CC="$CC" # Let the user override the test.
3552 else
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3554 for as_dir in $PATH
3555 do
3556 IFS=$as_save_IFS
3557 case $as_dir in #(((
3558 '') as_dir=./ ;;
3559 */) ;;
3560 *) as_dir=$as_dir/ ;;
3561 esac
3562 for ac_exec_ext in '' $ac_executable_extensions; do
3563 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3564 ac_cv_prog_CC="${ac_tool_prefix}clang"
3565 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3566 break 2
3567 fi
3568 done
3569 done
3570 IFS=$as_save_IFS
3571
3572 fi
3573 fi
3574 CC=$ac_cv_prog_CC
3575 if test -n "$CC"; then
3576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3577 printf "%s\n" "$CC" >&6; }
3578 else
3579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3580 printf "%s\n" "no" >&6; }
3581 fi
3582
3583
3584 fi
3585 if test -z "$ac_cv_prog_CC"; then
3586 ac_ct_CC=$CC
3587 # Extract the first word of "clang", so it can be a program name with args.
3588 set dummy clang; ac_word=$2
3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 printf %s "checking for $ac_word... " >&6; }
3591 if test ${ac_cv_prog_ac_ct_CC+y}
3592 then :
3593 printf %s "(cached) " >&6
3594 else $as_nop
3595 if test -n "$ac_ct_CC"; then
3596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3597 else
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH
3600 do
3601 IFS=$as_save_IFS
3602 case $as_dir in #(((
3603 '') as_dir=./ ;;
3604 */) ;;
3605 *) as_dir=$as_dir/ ;;
3606 esac
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3609 ac_cv_prog_ac_ct_CC="clang"
3610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3611 break 2
3612 fi
3613 done
3614 done
3615 IFS=$as_save_IFS
3616
3617 fi
3618 fi
3619 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3620 if test -n "$ac_ct_CC"; then
3621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3622 printf "%s\n" "$ac_ct_CC" >&6; }
3623 else
3624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3625 printf "%s\n" "no" >&6; }
3626 fi
3627
3628 if test "x$ac_ct_CC" = x; then
3629 CC=""
3630 else
3631 case $cross_compiling:$ac_tool_warned in
3632 yes:)
3633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3634 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3635 ac_tool_warned=yes ;;
3636 esac
3637 CC=$ac_ct_CC
3638 fi
3639 else
3640 CC="$ac_cv_prog_CC"
3641 fi
3642
3643 fi
3644
3645
3646 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3647 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3648 as_fn_error $? "no acceptable C compiler found in \$PATH
3649 See \`config.log' for more details" "$LINENO" 5; }
3650
3651 # Provide some information about the compiler.
3652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3653 set X $ac_compile
3654 ac_compiler=$2
3655 for ac_option in --version -v -V -qversion -version; do
3656 { { ac_try="$ac_compiler $ac_option >&5"
3657 case "(($ac_try" in
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3660 esac
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 printf "%s\n" "$ac_try_echo"; } >&5
3663 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3664 ac_status=$?
3665 if test -s conftest.err; then
3666 sed '10a\
3667 ... rest of stderr output deleted ...
3668 10q' conftest.err >conftest.er1
3669 cat conftest.er1 >&5
3670 fi
3671 rm -f conftest.er1 conftest.err
3672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3673 test $ac_status = 0; }
3674 done
3675
3676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3677 /* end confdefs.h. */
3678
3679 int
3680 main (void)
3681 {
3682
3683 ;
3684 return 0;
3685 }
3686 _ACEOF
3687 ac_clean_files_save=$ac_clean_files
3688 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3689 # Try to create an executable without -o first, disregard a.out.
3690 # It will help us diagnose broken compilers, and finding out an intuition
3691 # of exeext.
3692 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3693 printf %s "checking whether the C compiler works... " >&6; }
3694 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3695
3696 # The possible output files:
3697 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3698
3699 ac_rmfiles=
3700 for ac_file in $ac_files
3701 do
3702 case $ac_file in
3703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3704 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3705 esac
3706 done
3707 rm -f $ac_rmfiles
3708
3709 if { { ac_try="$ac_link_default"
3710 case "(($ac_try" in
3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3713 esac
3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 printf "%s\n" "$ac_try_echo"; } >&5
3716 (eval "$ac_link_default") 2>&5
3717 ac_status=$?
3718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 test $ac_status = 0; }
3720 then :
3721 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3722 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3723 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3724 # so that the user can short-circuit this test for compilers unknown to
3725 # Autoconf.
3726 for ac_file in $ac_files ''
3727 do
3728 test -f "$ac_file" || continue
3729 case $ac_file in
3730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3731 ;;
3732 [ab].out )
3733 # We found the default executable, but exeext='' is most
3734 # certainly right.
3735 break;;
3736 *.* )
3737 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3738 then :; else
3739 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3740 fi
3741 # We set ac_cv_exeext here because the later test for it is not
3742 # safe: cross compilers may not add the suffix if given an `-o'
3743 # argument, so we may need to know it at that point already.
3744 # Even if this section looks crufty: it has the advantage of
3745 # actually working.
3746 break;;
3747 * )
3748 break;;
3749 esac
3750 done
3751 test "$ac_cv_exeext" = no && ac_cv_exeext=
3752
3753 else $as_nop
3754 ac_file=''
3755 fi
3756 if test -z "$ac_file"
3757 then :
3758 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 printf "%s\n" "no" >&6; }
3760 printf "%s\n" "$as_me: failed program was:" >&5
3761 sed 's/^/| /' conftest.$ac_ext >&5
3762
3763 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3764 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3765 as_fn_error 77 "C compiler cannot create executables
3766 See \`config.log' for more details" "$LINENO" 5; }
3767 else $as_nop
3768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3769 printf "%s\n" "yes" >&6; }
3770 fi
3771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3772 printf %s "checking for C compiler default output file name... " >&6; }
3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3774 printf "%s\n" "$ac_file" >&6; }
3775 ac_exeext=$ac_cv_exeext
3776
3777 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3778 ac_clean_files=$ac_clean_files_save
3779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3780 printf %s "checking for suffix of executables... " >&6; }
3781 if { { ac_try="$ac_link"
3782 case "(($ac_try" in
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3785 esac
3786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3787 printf "%s\n" "$ac_try_echo"; } >&5
3788 (eval "$ac_link") 2>&5
3789 ac_status=$?
3790 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3791 test $ac_status = 0; }
3792 then :
3793 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3794 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3795 # work properly (i.e., refer to `conftest.exe'), while it won't with
3796 # `rm'.
3797 for ac_file in conftest.exe conftest conftest.*; do
3798 test -f "$ac_file" || continue
3799 case $ac_file in
3800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3801 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3802 break;;
3803 * ) break;;
3804 esac
3805 done
3806 else $as_nop
3807 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3808 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3809 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3810 See \`config.log' for more details" "$LINENO" 5; }
3811 fi
3812 rm -f conftest conftest$ac_cv_exeext
3813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3814 printf "%s\n" "$ac_cv_exeext" >&6; }
3815
3816 rm -f conftest.$ac_ext
3817 EXEEXT=$ac_cv_exeext
3818 ac_exeext=$EXEEXT
3819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3821 #include <stdio.h>
3822 int
3823 main (void)
3824 {
3825 FILE *f = fopen ("conftest.out", "w");
3826 return ferror (f) || fclose (f) != 0;
3827
3828 ;
3829 return 0;
3830 }
3831 _ACEOF
3832 ac_clean_files="$ac_clean_files conftest.out"
3833 # Check that the compiler produces executables we can run. If not, either
3834 # the compiler is broken, or we cross compile.
3835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3836 printf %s "checking whether we are cross compiling... " >&6; }
3837 if test "$cross_compiling" != yes; then
3838 { { ac_try="$ac_link"
3839 case "(($ac_try" in
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3842 esac
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 printf "%s\n" "$ac_try_echo"; } >&5
3845 (eval "$ac_link") 2>&5
3846 ac_status=$?
3847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848 test $ac_status = 0; }
3849 if { ac_try='./conftest$ac_cv_exeext'
3850 { { case "(($ac_try" in
3851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3852 *) ac_try_echo=$ac_try;;
3853 esac
3854 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3855 printf "%s\n" "$ac_try_echo"; } >&5
3856 (eval "$ac_try") 2>&5
3857 ac_status=$?
3858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }; }; then
3860 cross_compiling=no
3861 else
3862 if test "$cross_compiling" = maybe; then
3863 cross_compiling=yes
3864 else
3865 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3866 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3867 as_fn_error 77 "cannot run C compiled programs.
3868 If you meant to cross compile, use \`--host'.
3869 See \`config.log' for more details" "$LINENO" 5; }
3870 fi
3871 fi
3872 fi
3873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3874 printf "%s\n" "$cross_compiling" >&6; }
3875
3876 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3877 ac_clean_files=$ac_clean_files_save
3878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3879 printf %s "checking for suffix of object files... " >&6; }
3880 if test ${ac_cv_objext+y}
3881 then :
3882 printf %s "(cached) " >&6
3883 else $as_nop
3884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3886
3887 int
3888 main (void)
3889 {
3890
3891 ;
3892 return 0;
3893 }
3894 _ACEOF
3895 rm -f conftest.o conftest.obj
3896 if { { ac_try="$ac_compile"
3897 case "(($ac_try" in
3898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3899 *) ac_try_echo=$ac_try;;
3900 esac
3901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3902 printf "%s\n" "$ac_try_echo"; } >&5
3903 (eval "$ac_compile") 2>&5
3904 ac_status=$?
3905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3906 test $ac_status = 0; }
3907 then :
3908 for ac_file in conftest.o conftest.obj conftest.*; do
3909 test -f "$ac_file" || continue;
3910 case $ac_file in
3911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3912 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3913 break;;
3914 esac
3915 done
3916 else $as_nop
3917 printf "%s\n" "$as_me: failed program was:" >&5
3918 sed 's/^/| /' conftest.$ac_ext >&5
3919
3920 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3921 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3922 as_fn_error $? "cannot compute suffix of object files: cannot compile
3923 See \`config.log' for more details" "$LINENO" 5; }
3924 fi
3925 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3926 fi
3927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3928 printf "%s\n" "$ac_cv_objext" >&6; }
3929 OBJEXT=$ac_cv_objext
3930 ac_objext=$OBJEXT
3931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3932 printf %s "checking whether the compiler supports GNU C... " >&6; }
3933 if test ${ac_cv_c_compiler_gnu+y}
3934 then :
3935 printf %s "(cached) " >&6
3936 else $as_nop
3937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3938 /* end confdefs.h. */
3939
3940 int
3941 main (void)
3942 {
3943 #ifndef __GNUC__
3944 choke me
3945 #endif
3946
3947 ;
3948 return 0;
3949 }
3950 _ACEOF
3951 if ac_fn_c_try_compile "$LINENO"
3952 then :
3953 ac_compiler_gnu=yes
3954 else $as_nop
3955 ac_compiler_gnu=no
3956 fi
3957 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3958 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3959
3960 fi
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3962 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3964
3965 if test $ac_compiler_gnu = yes; then
3966 GCC=yes
3967 else
3968 GCC=
3969 fi
3970 ac_test_CFLAGS=${CFLAGS+y}
3971 ac_save_CFLAGS=$CFLAGS
3972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3973 printf %s "checking whether $CC accepts -g... " >&6; }
3974 if test ${ac_cv_prog_cc_g+y}
3975 then :
3976 printf %s "(cached) " >&6
3977 else $as_nop
3978 ac_save_c_werror_flag=$ac_c_werror_flag
3979 ac_c_werror_flag=yes
3980 ac_cv_prog_cc_g=no
3981 CFLAGS="-g"
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984
3985 int
3986 main (void)
3987 {
3988
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 if ac_fn_c_try_compile "$LINENO"
3994 then :
3995 ac_cv_prog_cc_g=yes
3996 else $as_nop
3997 CFLAGS=""
3998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3999 /* end confdefs.h. */
4000
4001 int
4002 main (void)
4003 {
4004
4005 ;
4006 return 0;
4007 }
4008 _ACEOF
4009 if ac_fn_c_try_compile "$LINENO"
4010 then :
4011
4012 else $as_nop
4013 ac_c_werror_flag=$ac_save_c_werror_flag
4014 CFLAGS="-g"
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4017
4018 int
4019 main (void)
4020 {
4021
4022 ;
4023 return 0;
4024 }
4025 _ACEOF
4026 if ac_fn_c_try_compile "$LINENO"
4027 then :
4028 ac_cv_prog_cc_g=yes
4029 fi
4030 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4031 fi
4032 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4033 fi
4034 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4035 ac_c_werror_flag=$ac_save_c_werror_flag
4036 fi
4037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4038 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4039 if test $ac_test_CFLAGS; then
4040 CFLAGS=$ac_save_CFLAGS
4041 elif test $ac_cv_prog_cc_g = yes; then
4042 if test "$GCC" = yes; then
4043 CFLAGS="-g -O2"
4044 else
4045 CFLAGS="-g"
4046 fi
4047 else
4048 if test "$GCC" = yes; then
4049 CFLAGS="-O2"
4050 else
4051 CFLAGS=
4052 fi
4053 fi
4054 ac_prog_cc_stdc=no
4055 if test x$ac_prog_cc_stdc = xno
4056 then :
4057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4058 printf %s "checking for $CC option to enable C11 features... " >&6; }
4059 if test ${ac_cv_prog_cc_c11+y}
4060 then :
4061 printf %s "(cached) " >&6
4062 else $as_nop
4063 ac_cv_prog_cc_c11=no
4064 ac_save_CC=$CC
4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4066 /* end confdefs.h. */
4067 $ac_c_conftest_c11_program
4068 _ACEOF
4069 for ac_arg in '' -std=gnu11
4070 do
4071 CC="$ac_save_CC $ac_arg"
4072 if ac_fn_c_try_compile "$LINENO"
4073 then :
4074 ac_cv_prog_cc_c11=$ac_arg
4075 fi
4076 rm -f core conftest.err conftest.$ac_objext conftest.beam
4077 test "x$ac_cv_prog_cc_c11" != "xno" && break
4078 done
4079 rm -f conftest.$ac_ext
4080 CC=$ac_save_CC
4081 fi
4082
4083 if test "x$ac_cv_prog_cc_c11" = xno
4084 then :
4085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4086 printf "%s\n" "unsupported" >&6; }
4087 else $as_nop
4088 if test "x$ac_cv_prog_cc_c11" = x
4089 then :
4090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4091 printf "%s\n" "none needed" >&6; }
4092 else $as_nop
4093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4094 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4095 CC="$CC $ac_cv_prog_cc_c11"
4096 fi
4097 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4098 ac_prog_cc_stdc=c11
4099 fi
4100 fi
4101 if test x$ac_prog_cc_stdc = xno
4102 then :
4103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4104 printf %s "checking for $CC option to enable C99 features... " >&6; }
4105 if test ${ac_cv_prog_cc_c99+y}
4106 then :
4107 printf %s "(cached) " >&6
4108 else $as_nop
4109 ac_cv_prog_cc_c99=no
4110 ac_save_CC=$CC
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4113 $ac_c_conftest_c99_program
4114 _ACEOF
4115 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4116 do
4117 CC="$ac_save_CC $ac_arg"
4118 if ac_fn_c_try_compile "$LINENO"
4119 then :
4120 ac_cv_prog_cc_c99=$ac_arg
4121 fi
4122 rm -f core conftest.err conftest.$ac_objext conftest.beam
4123 test "x$ac_cv_prog_cc_c99" != "xno" && break
4124 done
4125 rm -f conftest.$ac_ext
4126 CC=$ac_save_CC
4127 fi
4128
4129 if test "x$ac_cv_prog_cc_c99" = xno
4130 then :
4131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4132 printf "%s\n" "unsupported" >&6; }
4133 else $as_nop
4134 if test "x$ac_cv_prog_cc_c99" = x
4135 then :
4136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4137 printf "%s\n" "none needed" >&6; }
4138 else $as_nop
4139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4140 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4141 CC="$CC $ac_cv_prog_cc_c99"
4142 fi
4143 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4144 ac_prog_cc_stdc=c99
4145 fi
4146 fi
4147 if test x$ac_prog_cc_stdc = xno
4148 then :
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4150 printf %s "checking for $CC option to enable C89 features... " >&6; }
4151 if test ${ac_cv_prog_cc_c89+y}
4152 then :
4153 printf %s "(cached) " >&6
4154 else $as_nop
4155 ac_cv_prog_cc_c89=no
4156 ac_save_CC=$CC
4157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4159 $ac_c_conftest_c89_program
4160 _ACEOF
4161 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4162 do
4163 CC="$ac_save_CC $ac_arg"
4164 if ac_fn_c_try_compile "$LINENO"
4165 then :
4166 ac_cv_prog_cc_c89=$ac_arg
4167 fi
4168 rm -f core conftest.err conftest.$ac_objext conftest.beam
4169 test "x$ac_cv_prog_cc_c89" != "xno" && break
4170 done
4171 rm -f conftest.$ac_ext
4172 CC=$ac_save_CC
4173 fi
4174
4175 if test "x$ac_cv_prog_cc_c89" = xno
4176 then :
4177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4178 printf "%s\n" "unsupported" >&6; }
4179 else $as_nop
4180 if test "x$ac_cv_prog_cc_c89" = x
4181 then :
4182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4183 printf "%s\n" "none needed" >&6; }
4184 else $as_nop
4185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4186 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4187 CC="$CC $ac_cv_prog_cc_c89"
4188 fi
4189 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4190 ac_prog_cc_stdc=c89
4191 fi
4192 fi
4193
4194 ac_ext=c
4195 ac_cpp='$CPP $CPPFLAGS'
4196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4199
4200
4201 ac_ext=c
4202 ac_cpp='$CPP $CPPFLAGS'
4203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4207 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4208 if test ${am_cv_prog_cc_c_o+y}
4209 then :
4210 printf %s "(cached) " >&6
4211 else $as_nop
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214
4215 int
4216 main (void)
4217 {
4218
4219 ;
4220 return 0;
4221 }
4222 _ACEOF
4223 # Make sure it works both with $CC and with simple cc.
4224 # Following AC_PROG_CC_C_O, we do the test twice because some
4225 # compilers refuse to overwrite an existing .o file with -o,
4226 # though they will create one.
4227 am_cv_prog_cc_c_o=yes
4228 for am_i in 1 2; do
4229 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4230 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4231 ac_status=$?
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } \
4234 && test -f conftest2.$ac_objext; then
4235 : OK
4236 else
4237 am_cv_prog_cc_c_o=no
4238 break
4239 fi
4240 done
4241 rm -f core conftest*
4242 unset am_i
4243 fi
4244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4245 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4246 if test "$am_cv_prog_cc_c_o" != yes; then
4247 # Losing compiler, so override with the script.
4248 # FIXME: It is wrong to rewrite CC.
4249 # But if we don't then we get into trouble of one sort or another.
4250 # A longer-term fix would be to have automake use am__CC in this case,
4251 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4252 CC="$am_aux_dir/compile $CC"
4253 fi
4254 ac_ext=c
4255 ac_cpp='$CPP $CPPFLAGS'
4256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4259
4260 DEPDIR="${am__leading_dot}deps"
4261
4262 ac_config_commands="$ac_config_commands depfiles"
4263
4264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4265 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4266 cat > confinc.mk << 'END'
4267 am__doit:
4268 @echo this is the am__doit target >confinc.out
4269 .PHONY: am__doit
4270 END
4271 am__include="#"
4272 am__quote=
4273 # BSD make does it like this.
4274 echo '.include "confinc.mk" # ignored' > confmf.BSD
4275 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4276 echo 'include confinc.mk # ignored' > confmf.GNU
4277 _am_result=no
4278 for s in GNU BSD; do
4279 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4280 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4281 ac_status=$?
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }
4284 case $?:`cat confinc.out 2>/dev/null` in #(
4285 '0:this is the am__doit target') :
4286 case $s in #(
4287 BSD) :
4288 am__include='.include' am__quote='"' ;; #(
4289 *) :
4290 am__include='include' am__quote='' ;;
4291 esac ;; #(
4292 *) :
4293 ;;
4294 esac
4295 if test "$am__include" != "#"; then
4296 _am_result="yes ($s style)"
4297 break
4298 fi
4299 done
4300 rm -f confinc.* confmf.*
4301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4302 printf "%s\n" "${_am_result}" >&6; }
4303
4304 # Check whether --enable-dependency-tracking was given.
4305 if test ${enable_dependency_tracking+y}
4306 then :
4307 enableval=$enable_dependency_tracking;
4308 fi
4309
4310 if test "x$enable_dependency_tracking" != xno; then
4311 am_depcomp="$ac_aux_dir/depcomp"
4312 AMDEPBACKSLASH='\'
4313 am__nodep='_no'
4314 fi
4315 if test "x$enable_dependency_tracking" != xno; then
4316 AMDEP_TRUE=
4317 AMDEP_FALSE='#'
4318 else
4319 AMDEP_TRUE='#'
4320 AMDEP_FALSE=
4321 fi
4322
4323
4324
4325 depcc="$CC" am_compiler_list=
4326
4327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4328 printf %s "checking dependency style of $depcc... " >&6; }
4329 if test ${am_cv_CC_dependencies_compiler_type+y}
4330 then :
4331 printf %s "(cached) " >&6
4332 else $as_nop
4333 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4334 # We make a subdir and do the tests there. Otherwise we can end up
4335 # making bogus files that we don't know about and never remove. For
4336 # instance it was reported that on HP-UX the gcc test will end up
4337 # making a dummy file named 'D' -- because '-MD' means "put the output
4338 # in D".
4339 rm -rf conftest.dir
4340 mkdir conftest.dir
4341 # Copy depcomp to subdir because otherwise we won't find it if we're
4342 # using a relative directory.
4343 cp "$am_depcomp" conftest.dir
4344 cd conftest.dir
4345 # We will build objects and dependencies in a subdirectory because
4346 # it helps to detect inapplicable dependency modes. For instance
4347 # both Tru64's cc and ICC support -MD to output dependencies as a
4348 # side effect of compilation, but ICC will put the dependencies in
4349 # the current directory while Tru64 will put them in the object
4350 # directory.
4351 mkdir sub
4352
4353 am_cv_CC_dependencies_compiler_type=none
4354 if test "$am_compiler_list" = ""; then
4355 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4356 fi
4357 am__universal=false
4358 case " $depcc " in #(
4359 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4360 esac
4361
4362 for depmode in $am_compiler_list; do
4363 # Setup a source with many dependencies, because some compilers
4364 # like to wrap large dependency lists on column 80 (with \), and
4365 # we should not choose a depcomp mode which is confused by this.
4366 #
4367 # We need to recreate these files for each test, as the compiler may
4368 # overwrite some of them when testing with obscure command lines.
4369 # This happens at least with the AIX C compiler.
4370 : > sub/conftest.c
4371 for i in 1 2 3 4 5 6; do
4372 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4373 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4374 # Solaris 10 /bin/sh.
4375 echo '/* dummy */' > sub/conftst$i.h
4376 done
4377 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4378
4379 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4380 # mode. It turns out that the SunPro C++ compiler does not properly
4381 # handle '-M -o', and we need to detect this. Also, some Intel
4382 # versions had trouble with output in subdirs.
4383 am__obj=sub/conftest.${OBJEXT-o}
4384 am__minus_obj="-o $am__obj"
4385 case $depmode in
4386 gcc)
4387 # This depmode causes a compiler race in universal mode.
4388 test "$am__universal" = false || continue
4389 ;;
4390 nosideeffect)
4391 # After this tag, mechanisms are not by side-effect, so they'll
4392 # only be used when explicitly requested.
4393 if test "x$enable_dependency_tracking" = xyes; then
4394 continue
4395 else
4396 break
4397 fi
4398 ;;
4399 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4400 # This compiler won't grok '-c -o', but also, the minuso test has
4401 # not run yet. These depmodes are late enough in the game, and
4402 # so weak that their functioning should not be impacted.
4403 am__obj=conftest.${OBJEXT-o}
4404 am__minus_obj=
4405 ;;
4406 none) break ;;
4407 esac
4408 if depmode=$depmode \
4409 source=sub/conftest.c object=$am__obj \
4410 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4411 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4412 >/dev/null 2>conftest.err &&
4413 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4414 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4415 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4416 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4417 # icc doesn't choke on unknown options, it will just issue warnings
4418 # or remarks (even with -Werror). So we grep stderr for any message
4419 # that says an option was ignored or not supported.
4420 # When given -MP, icc 7.0 and 7.1 complain thusly:
4421 # icc: Command line warning: ignoring option '-M'; no argument required
4422 # The diagnosis changed in icc 8.0:
4423 # icc: Command line remark: option '-MP' not supported
4424 if (grep 'ignoring option' conftest.err ||
4425 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4426 am_cv_CC_dependencies_compiler_type=$depmode
4427 break
4428 fi
4429 fi
4430 done
4431
4432 cd ..
4433 rm -rf conftest.dir
4434 else
4435 am_cv_CC_dependencies_compiler_type=none
4436 fi
4437
4438 fi
4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4440 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4441 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4442
4443 if
4444 test "x$enable_dependency_tracking" != xno \
4445 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4446 am__fastdepCC_TRUE=
4447 am__fastdepCC_FALSE='#'
4448 else
4449 am__fastdepCC_TRUE='#'
4450 am__fastdepCC_FALSE=
4451 fi
4452
4453
4454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4455 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4456 set x ${MAKE-make}
4457 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4458 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4459 then :
4460 printf %s "(cached) " >&6
4461 else $as_nop
4462 cat >conftest.make <<\_ACEOF
4463 SHELL = /bin/sh
4464 all:
4465 @echo '@@@%%%=$(MAKE)=@@@%%%'
4466 _ACEOF
4467 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4468 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4469 *@@@%%%=?*=@@@%%%*)
4470 eval ac_cv_prog_make_${ac_make}_set=yes;;
4471 *)
4472 eval ac_cv_prog_make_${ac_make}_set=no;;
4473 esac
4474 rm -f conftest.make
4475 fi
4476 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4478 printf "%s\n" "yes" >&6; }
4479 SET_MAKE=
4480 else
4481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482 printf "%s\n" "no" >&6; }
4483 SET_MAKE="MAKE=${MAKE-make}"
4484 fi
4485
4486
4487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4488 printf %s "checking for a sed that does not truncate output... " >&6; }
4489 if test ${ac_cv_path_SED+y}
4490 then :
4491 printf %s "(cached) " >&6
4492 else $as_nop
4493 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4494 for ac_i in 1 2 3 4 5 6 7; do
4495 ac_script="$ac_script$as_nl$ac_script"
4496 done
4497 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4498 { ac_script=; unset ac_script;}
4499 if test -z "$SED"; then
4500 ac_path_SED_found=false
4501 # Loop through the user's path and test for each of PROGNAME-LIST
4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 for as_dir in $PATH
4504 do
4505 IFS=$as_save_IFS
4506 case $as_dir in #(((
4507 '') as_dir=./ ;;
4508 */) ;;
4509 *) as_dir=$as_dir/ ;;
4510 esac
4511 for ac_prog in sed gsed
4512 do
4513 for ac_exec_ext in '' $ac_executable_extensions; do
4514 ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
4515 as_fn_executable_p "$ac_path_SED" || continue
4516 # Check for GNU ac_path_SED and select it if it is found.
4517 # Check for GNU $ac_path_SED
4518 case `"$ac_path_SED" --version 2>&1` in
4519 *GNU*)
4520 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4521 *)
4522 ac_count=0
4523 printf %s 0123456789 >"conftest.in"
4524 while :
4525 do
4526 cat "conftest.in" "conftest.in" >"conftest.tmp"
4527 mv "conftest.tmp" "conftest.in"
4528 cp "conftest.in" "conftest.nl"
4529 printf "%s\n" '' >> "conftest.nl"
4530 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4531 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4532 as_fn_arith $ac_count + 1 && ac_count=$as_val
4533 if test $ac_count -gt ${ac_path_SED_max-0}; then
4534 # Best one so far, save it but keep looking for a better one
4535 ac_cv_path_SED="$ac_path_SED"
4536 ac_path_SED_max=$ac_count
4537 fi
4538 # 10*(2^10) chars as input seems more than enough
4539 test $ac_count -gt 10 && break
4540 done
4541 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4542 esac
4543
4544 $ac_path_SED_found && break 3
4545 done
4546 done
4547 done
4548 IFS=$as_save_IFS
4549 if test -z "$ac_cv_path_SED"; then
4550 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4551 fi
4552 else
4553 ac_cv_path_SED=$SED
4554 fi
4555
4556 fi
4557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4558 printf "%s\n" "$ac_cv_path_SED" >&6; }
4559 SED="$ac_cv_path_SED"
4560 rm -f conftest.sed
4561
4562
4563
4564 ac_ext=c
4565 ac_cpp='$CPP $CPPFLAGS'
4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569
4570
4571 # Make sure CDPATH is portably set to a sensible value
4572 CDPATH=${ZSH_VERSION+.}:
4573
4574 GAP_CPPFLAGS=""
4575
4576 ######################################
4577 # Find the GAP root directory by
4578 # checking for the sysinfo.gap file
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GAP root directory" >&5
4580 printf %s "checking for GAP root directory... " >&6; }
4581 GAPROOT="../.."
4582
4583 # Allow the user to specify the location of GAP
4584
4585 # Check whether --with-gaproot was given.
4586 if test ${with_gaproot+y}
4587 then :
4588 withval=$with_gaproot; GAPROOT="$withval"
4589 fi
4590
4591
4592 # Convert the path to absolute
4593 GAPROOT=`cd $GAPROOT > /dev/null 2>&1 && pwd`
4594
4595 if test -e ${GAPROOT}/sysinfo.gap; then
4596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${GAPROOT}" >&5
4597 printf "%s\n" "${GAPROOT}" >&6; }
4598 else
4599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
4600 printf "%s\n" "Not found" >&6; }
4601
4602 echo ""
4603 echo "********************************************************************"
4604 echo " ERROR"
4605 echo ""
4606 echo " Cannot find your GAP installation. Please specify the location of"
4607 echo " GAP's root directory using --with-gaproot=<path>"
4608 echo ""
4609 echo " The GAP root directory (as far as this package is concerned) is"
4610 echo " the one containing the file sysinfo.gap"
4611 echo "********************************************************************"
4612 echo ""
4613
4614 as_fn_error $? "Unable to find GAP root directory" "$LINENO" 5
4615 fi
4616
4617 #####################################
4618 # Now find the architecture
4619
4620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GAP architecture" >&5
4621 printf %s "checking for GAP architecture... " >&6; }
4622 GAPARCH="Unknown"
4623 . $GAPROOT/sysinfo.gap
4624 if test "x$GAParch" != "x"; then
4625 GAPARCH=$GAParch
4626 fi
4627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GAPARCH" >&5
4628 printf "%s\n" "$GAPARCH" >&6; }
4629
4630 if test "x$GAPARCH" = "xUnknown" ; then
4631 echo ""
4632 echo "********************************************************************"
4633 echo " ERROR"
4634 echo ""
4635 echo " Found a GAP installation at $GAPROOT but could not find"
4636 echo " information about GAP's architecture in the file"
4637 echo " ${GAPROOT}/sysinfo.gap ."
4638 echo " This file should be present: please check your GAP installation."
4639 echo "********************************************************************"
4640 echo ""
4641
4642 as_fn_error $? "Unable to find plausible GAParch information." "$LINENO" 5
4643 fi
4644
4645 # require GAP >= 4.9
4646 if test "x$GAP_CPPFLAGS" = x; then
4647 echo ""
4648 echo "********************************************************************"
4649 echo " ERROR"
4650 echo ""
4651 echo " This version of GAP is too old and not supported by this package."
4652 echo "********************************************************************"
4653 echo ""
4654 as_fn_error $? "No GAP_CPPFLAGS is given" "$LINENO" 5
4655 fi
4656
4657 # compatibility with GAP 4.9 (not needed in GAP >= 4.10)
4658 GAP_CPPFLAGS="$GAP_CPPFLAGS -I${GAP_LIB_DIR}/src"
4659
4660
4661
4662
4663
4664
4665
4666 ac_ext=c
4667 ac_cpp='$CPP $CPPFLAGS'
4668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4671
4672
4673 GAP="${GAP:-${GAPROOT}/bin/gap.sh}"
4674
4675
4676 # newer GAP versions may set GMP_PREFIX in sysinfo.gap, try to use that
4677 GMP_PREFIX=${GMP_PREFIX:-yes}
4678
4679
4680
4681 # Check whether --with-gmp was given.
4682 if test ${with_gmp+y}
4683 then :
4684 withval=$with_gmp;
4685 else $as_nop
4686 with_gmp=${GMP_PREFIX}
4687 fi
4688
4689
4690 GMP_CPPFLAGS=""
4691 GMP_LDFLAGS=""
4692 GMP_LIBS="-lgmp"
4693
4694 if test "x$with_gmp" = "xno" ; then
4695 as_fn_error $? "GMP is required and cannot be disabled" "$LINENO" 5
4696 elif test "x$with_gmp" = "xyes" ; then
4697 # If a gaproot was specified, try to find GMP in there; otherwise, fall
4698 # back to whatever GMP may be found via user specified C/CPP/LDFLAGS
4699 if test "${with_gaproot+set}" = set; then
4700 if test -f ${with_gaproot}/extern/install/gmp/include/gmp.h && test -d ${with_gaproot}/extern/install/gmp/lib ; then
4701 GMP_CPPFLAGS="-I${with_gaproot}/extern/install/gmp/include"
4702 GMP_LDFLAGS="-L${with_gaproot}/extern/install/gmp/lib"
4703 fi
4704 fi
4705 else
4706 if test -d ${with_gmp}/include && test -d ${with_gmp}/lib ; then
4707 GMP_CPPFLAGS="-I${with_gmp}/include"
4708 GMP_LDFLAGS="-L${with_gmp}/lib"
4709 else
4710 as_fn_error $? "Could not locate libgmp in the specified location" "$LINENO" 5
4711 fi
4712 fi;
4713
4714 save_CPPFLAGS="$CPPFLAGS"
4715 save_LDFLAGS="$LDFLAGS"
4716 save_LIBS="$LIBS"
4717
4718 CPPFLAGS="$CPPFLAGS $GMP_CPPFLAGS"
4719 LDFLAGS="$LDFLAGS $GMP_LDFLAGS"
4720 LIBS="$LIBS $GMP_LIBS"
4721
4722
4723 ac_header= ac_cache=
4724 for ac_item in $ac_header_c_list
4725 do
4726 if test $ac_cache; then
4727 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4728 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4729 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4730 fi
4731 ac_header= ac_cache=
4732 elif test $ac_header; then
4733 ac_cache=$ac_item
4734 else
4735 ac_header=$ac_item
4736 fi
4737 done
4738
4739
4740
4741
4742
4743
4744
4745
4746 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4747 then :
4748
4749 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4750
4751 fi
4752 ac_fn_c_check_header_compile "$LINENO" "gmp.h" "ac_cv_header_gmp_h" "$ac_includes_default"
4753 if test "x$ac_cv_header_gmp_h" = xyes
4754 then :
4755
4756 # TODO: Disable linker check for now: It causes problems on Linux, because
4757 # libgmp.a is in the linker command line before the test C file. On the long
4758 # run, this should be re-enabled, though perhaps in a different form.
4759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether linking against GMP works" >&5
4760 printf %s "checking whether linking against GMP works... " >&6; }
4761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4762 /* end confdefs.h. */
4763 #include <gmp.h>
4764 int
4765 main (void)
4766 {
4767 __gmpz_init(0);
4768 ;
4769 return 0;
4770 }
4771 _ACEOF
4772 if ac_fn_c_try_link "$LINENO"
4773 then :
4774 have_gmp=yes
4775 fi
4776 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4777 conftest$ac_exeext conftest.$ac_ext
4778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_gmp" >&5
4779 printf "%s\n" "$have_gmp" >&6; }
4780
4781 fi
4782
4783
4784 # restore FLAGS
4785 CPPFLAGS="$save_CPPFLAGS"
4786 LDFLAGS="$save_LDFLAGS"
4787 LIBS="$save_LIBS"
4788
4789 if test "x$have_gmp" != xyes; then
4790 as_fn_error $? "Could not locate GMP, the GNU multiprecision library" "$LINENO" 5
4791 fi
4792
4793
4794
4795
4796
4797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
4798 printf %s "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
4799 if test ${ac_cv_header_sys_wait_h+y}
4800 then :
4801 printf %s "(cached) " >&6
4802 else $as_nop
4803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 #include <sys/types.h>
4806 #include <sys/wait.h>
4807 #ifndef WEXITSTATUS
4808 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
4809 #endif
4810 #ifndef WIFEXITED
4811 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4812 #endif
4813
4814 int
4815 main (void)
4816 {
4817 int s;
4818 wait (&s);
4819 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4820 ;
4821 return 0;
4822 }
4823 _ACEOF
4824 if ac_fn_c_try_compile "$LINENO"
4825 then :
4826 ac_cv_header_sys_wait_h=yes
4827 else $as_nop
4828 ac_cv_header_sys_wait_h=no
4829 fi
4830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4831 fi
4832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
4833 printf "%s\n" "$ac_cv_header_sys_wait_h" >&6; }
4834 if test $ac_cv_header_sys_wait_h = yes; then
4835
4836 printf "%s\n" "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
4837
4838 fi
4839
4840 ac_fn_c_check_func "$LINENO" "gethostname" "ac_cv_func_gethostname"
4841 if test "x$ac_cv_func_gethostname" = xyes
4842 then :
4843 printf "%s\n" "#define HAVE_GETHOSTNAME 1" >>confdefs.h
4844
4845 fi
4846 ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
4847 if test "x$ac_cv_func_strftime" = xyes
4848 then :
4849 printf "%s\n" "#define HAVE_STRFTIME 1" >>confdefs.h
4850
4851 fi
4852
4853
4854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing log10" >&5
4855 printf %s "checking for library containing log10... " >&6; }
4856 if test ${ac_cv_search_log10+y}
4857 then :
4858 printf %s "(cached) " >&6
4859 else $as_nop
4860 ac_func_search_save_LIBS=$LIBS
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4863
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4867 char log10 ();
4868 int
4869 main (void)
4870 {
4871 return log10 ();
4872 ;
4873 return 0;
4874 }
4875 _ACEOF
4876 for ac_lib in '' m
4877 do
4878 if test -z "$ac_lib"; then
4879 ac_res="none required"
4880 else
4881 ac_res=-l$ac_lib
4882 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4883 fi
4884 if ac_fn_c_try_link "$LINENO"
4885 then :
4886 ac_cv_search_log10=$ac_res
4887 fi
4888 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4889 conftest$ac_exeext
4890 if test ${ac_cv_search_log10+y}
4891 then :
4892 break
4893 fi
4894 done
4895 if test ${ac_cv_search_log10+y}
4896 then :
4897
4898 else $as_nop
4899 ac_cv_search_log10=no
4900 fi
4901 rm conftest.$ac_ext
4902 LIBS=$ac_func_search_save_LIBS
4903 fi
4904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_log10" >&5
4905 printf "%s\n" "$ac_cv_search_log10" >&6; }
4906 ac_res=$ac_cv_search_log10
4907 if test "$ac_res" != no
4908 then :
4909 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4910
4911 else $as_nop
4912
4913 as_fn_error $? "unable to find the log10() function" "$LINENO" 5
4914
4915 fi
4916
4917
4918
4919 # hack for testPq:
4920 GAP_EXEC="${GAP:-${GAPROOT}/bin/gap.sh}"
4921
4922
4923
4924 ac_config_files="$ac_config_files Makefile"
4925
4926 ac_config_files="$ac_config_files testPq"
4927
4928 cat >confcache <<\_ACEOF
4929 # This file is a shell script that caches the results of configure
4930 # tests run on this system so they can be shared between configure
4931 # scripts and configure runs, see configure's option --config-cache.
4932 # It is not useful on other systems. If it contains results you don't
4933 # want to keep, you may remove or edit it.
4934 #
4935 # config.status only pays attention to the cache file if you give it
4936 # the --recheck option to rerun configure.
4937 #
4938 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4939 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4940 # following values.
4941
4942 _ACEOF
4943
4944 # The following way of writing the cache mishandles newlines in values,
4945 # but we know of no workaround that is simple, portable, and efficient.
4946 # So, we kill variables containing newlines.
4947 # Ultrix sh set writes to stderr and can't be redirected directly,
4948 # and sets the high bit in the cache file unless we assign to the vars.
4949 (
4950 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4951 eval ac_val=\$$ac_var
4952 case $ac_val in #(
4953 *${as_nl}*)
4954 case $ac_var in #(
4955 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4956 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4957 esac
4958 case $ac_var in #(
4959 _ | IFS | as_nl) ;; #(
4960 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4961 *) { eval $ac_var=; unset $ac_var;} ;;
4962 esac ;;
4963 esac
4964 done
4965
4966 (set) 2>&1 |
4967 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4968 *${as_nl}ac_space=\ *)
4969 # `set' does not quote correctly, so add quotes: double-quote
4970 # substitution turns \\\\ into \\, and sed turns \\ into \.
4971 sed -n \
4972 "s/'/'\\\\''/g;
4973 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4974 ;; #(
4975 *)
4976 # `set' quotes correctly as required by POSIX, so do not add quotes.
4977 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4978 ;;
4979 esac |
4980 sort
4981 ) |
4982 sed '
4983 /^ac_cv_env_/b end
4984 t clear
4985 :clear
4986 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4987 t end
4988 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4989 :end' >>confcache
4990 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4991 if test -w "$cache_file"; then
4992 if test "x$cache_file" != "x/dev/null"; then
4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4994 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4995 if test ! -f "$cache_file" || test -h "$cache_file"; then
4996 cat confcache >"$cache_file"
4997 else
4998 case $cache_file in #(
4999 */* | ?:*)
5000 mv -f confcache "$cache_file"$$ &&
5001 mv -f "$cache_file"$$ "$cache_file" ;; #(
5002 *)
5003 mv -f confcache "$cache_file" ;;
5004 esac
5005 fi
5006 fi
5007 else
5008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5009 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5010 fi
5011 fi
5012 rm -f confcache
5013
5014 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5015 # Let make expand exec_prefix.
5016 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5017
5018 DEFS=-DHAVE_CONFIG_H
5019
5020 ac_libobjs=
5021 ac_ltlibobjs=
5022 U=
5023 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5024 # 1. Remove the extension, and $U if already installed.
5025 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5026 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5027 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5028 # will be set to the directory where LIBOBJS objects are built.
5029 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5030 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5031 done
5032 LIBOBJS=$ac_libobjs
5033
5034 LTLIBOBJS=$ac_ltlibobjs
5035
5036
5037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5038 printf %s "checking that generated files are newer than configure... " >&6; }
5039 if test -n "$am_sleep_pid"; then
5040 # Hide warnings about reused PIDs.
5041 wait $am_sleep_pid 2>/dev/null
5042 fi
5043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5044 printf "%s\n" "done" >&6; }
5045 if test -n "$EXEEXT"; then
5046 am__EXEEXT_TRUE=
5047 am__EXEEXT_FALSE='#'
5048 else
5049 am__EXEEXT_TRUE='#'
5050 am__EXEEXT_FALSE=
5051 fi
5052
5053 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5054 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5055 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5056 fi
5057 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5058 as_fn_error $? "conditional \"AMDEP\" was never defined.
5059 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5060 fi
5061 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5062 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5063 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5064 fi
5065
5066 : "${CONFIG_STATUS=./config.status}"
5067 ac_write_fail=0
5068 ac_clean_files_save=$ac_clean_files
5069 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5071 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5072 as_write_fail=0
5073 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5074 #! $SHELL
5075 # Generated by $as_me.
5076 # Run this file to recreate the current configuration.
5077 # Compiler output produced by configure, useful for debugging
5078 # configure, is in config.log if it exists.
5079
5080 debug=false
5081 ac_cs_recheck=false
5082 ac_cs_silent=false
5083
5084 SHELL=\${CONFIG_SHELL-$SHELL}
5085 export SHELL
5086 _ASEOF
5087 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5088 ## -------------------- ##
5089 ## M4sh Initialization. ##
5090 ## -------------------- ##
5091
5092 # Be more Bourne compatible
5093 DUALCASE=1; export DUALCASE # for MKS sh
5094 as_nop=:
5095 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5096 then :
5097 emulate sh
5098 NULLCMD=:
5099 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5100 # is contrary to our usage. Disable this feature.
5101 alias -g '${1+"$@"}'='"$@"'
5102 setopt NO_GLOB_SUBST
5103 else $as_nop
5104 case `(set -o) 2>/dev/null` in #(
5105 *posix*) :
5106 set -o posix ;; #(
5107 *) :
5108 ;;
5109 esac
5110 fi
5111
5112
5113
5114 # Reset variables that may have inherited troublesome values from
5115 # the environment.
5116
5117 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5118 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5119 # side effect of setting IFS to empty, thus disabling word splitting.)
5120 # Quoting is to prevent editors from complaining about space-tab.
5121 as_nl='
5122 '
5123 export as_nl
5124 IFS=" "" $as_nl"
5125
5126 PS1='$ '
5127 PS2='> '
5128 PS4='+ '
5129
5130 # Ensure predictable behavior from utilities with locale-dependent output.
5131 LC_ALL=C
5132 export LC_ALL
5133 LANGUAGE=C
5134 export LANGUAGE
5135
5136 # We cannot yet rely on "unset" to work, but we need these variables
5137 # to be unset--not just set to an empty or harmless value--now, to
5138 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5139 # also avoids known problems related to "unset" and subshell syntax
5140 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5141 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5142 do eval test \${$as_var+y} \
5143 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5144 done
5145
5146 # Ensure that fds 0, 1, and 2 are open.
5147 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5148 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5149 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5150
5151 # The user is always right.
5152 if ${PATH_SEPARATOR+false} :; then
5153 PATH_SEPARATOR=:
5154 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5155 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5156 PATH_SEPARATOR=';'
5157 }
5158 fi
5159
5160
5161 # Find who we are. Look in the path if we contain no directory separator.
5162 as_myself=
5163 case $0 in #((
5164 *[\\/]* ) as_myself=$0 ;;
5165 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5166 for as_dir in $PATH
5167 do
5168 IFS=$as_save_IFS
5169 case $as_dir in #(((
5170 '') as_dir=./ ;;
5171 */) ;;
5172 *) as_dir=$as_dir/ ;;
5173 esac
5174 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5175 done
5176 IFS=$as_save_IFS
5177
5178 ;;
5179 esac
5180 # We did not find ourselves, most probably we were run as `sh COMMAND'
5181 # in which case we are not to be found in the path.
5182 if test "x$as_myself" = x; then
5183 as_myself=$0
5184 fi
5185 if test ! -f "$as_myself"; then
5186 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5187 exit 1
5188 fi
5189
5190
5191
5192 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5193 # ----------------------------------------
5194 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5195 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5196 # script with STATUS, using 1 if that was 0.
5197 as_fn_error ()
5198 {
5199 as_status=$1; test $as_status -eq 0 && as_status=1
5200 if test "$4"; then
5201 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5203 fi
5204 printf "%s\n" "$as_me: error: $2" >&2
5205 as_fn_exit $as_status
5206 } # as_fn_error
5207
5208
5209
5210 # as_fn_set_status STATUS
5211 # -----------------------
5212 # Set $? to STATUS, without forking.
5213 as_fn_set_status ()
5214 {
5215 return $1
5216 } # as_fn_set_status
5217
5218 # as_fn_exit STATUS
5219 # -----------------
5220 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5221 as_fn_exit ()
5222 {
5223 set +e
5224 as_fn_set_status $1
5225 exit $1
5226 } # as_fn_exit
5227
5228 # as_fn_unset VAR
5229 # ---------------
5230 # Portably unset VAR.
5231 as_fn_unset ()
5232 {
5233 { eval $1=; unset $1;}
5234 }
5235 as_unset=as_fn_unset
5236
5237 # as_fn_append VAR VALUE
5238 # ----------------------
5239 # Append the text in VALUE to the end of the definition contained in VAR. Take
5240 # advantage of any shell optimizations that allow amortized linear growth over
5241 # repeated appends, instead of the typical quadratic growth present in naive
5242 # implementations.
5243 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5244 then :
5245 eval 'as_fn_append ()
5246 {
5247 eval $1+=\$2
5248 }'
5249 else $as_nop
5250 as_fn_append ()
5251 {
5252 eval $1=\$$1\$2
5253 }
5254 fi # as_fn_append
5255
5256 # as_fn_arith ARG...
5257 # ------------------
5258 # Perform arithmetic evaluation on the ARGs, and store the result in the
5259 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5260 # must be portable across $(()) and expr.
5261 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5262 then :
5263 eval 'as_fn_arith ()
5264 {
5265 as_val=$(( $* ))
5266 }'
5267 else $as_nop
5268 as_fn_arith ()
5269 {
5270 as_val=`expr "$@" || test $? -eq 1`
5271 }
5272 fi # as_fn_arith
5273
5274
5275 if expr a : '\(a\)' >/dev/null 2>&1 &&
5276 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5277 as_expr=expr
5278 else
5279 as_expr=false
5280 fi
5281
5282 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5283 as_basename=basename
5284 else
5285 as_basename=false
5286 fi
5287
5288 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5289 as_dirname=dirname
5290 else
5291 as_dirname=false
5292 fi
5293
5294 as_me=`$as_basename -- "$0" ||
5295 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5296 X"$0" : 'X\(//\)$' \| \
5297 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5298 printf "%s\n" X/"$0" |
5299 sed '/^.*\/\([^/][^/]*\)\/*$/{
5300 s//\1/
5301 q
5302 }
5303 /^X\/\(\/\/\)$/{
5304 s//\1/
5305 q
5306 }
5307 /^X\/\(\/\).*/{
5308 s//\1/
5309 q
5310 }
5311 s/.*/./; q'`
5312
5313 # Avoid depending upon Character Ranges.
5314 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5315 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5316 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5317 as_cr_digits='0123456789'
5318 as_cr_alnum=$as_cr_Letters$as_cr_digits
5319
5320
5321 # Determine whether it's possible to make 'echo' print without a newline.
5322 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5323 # for compatibility with existing Makefiles.
5324 ECHO_C= ECHO_N= ECHO_T=
5325 case `echo -n x` in #(((((
5326 -n*)
5327 case `echo 'xy\c'` in
5328 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5329 xy) ECHO_C='\c';;
5330 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5331 ECHO_T=' ';;
5332 esac;;
5333 *)
5334 ECHO_N='-n';;
5335 esac
5336
5337 # For backward compatibility with old third-party macros, we provide
5338 # the shell variables $as_echo and $as_echo_n. New code should use
5339 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5340 as_echo='printf %s\n'
5341 as_echo_n='printf %s'
5342
5343 rm -f conf$$ conf$$.exe conf$$.file
5344 if test -d conf$$.dir; then
5345 rm -f conf$$.dir/conf$$.file
5346 else
5347 rm -f conf$$.dir
5348 mkdir conf$$.dir 2>/dev/null
5349 fi
5350 if (echo >conf$$.file) 2>/dev/null; then
5351 if ln -s conf$$.file conf$$ 2>/dev/null; then
5352 as_ln_s='ln -s'
5353 # ... but there are two gotchas:
5354 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5355 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5356 # In both cases, we have to default to `cp -pR'.
5357 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5358 as_ln_s='cp -pR'
5359 elif ln conf$$.file conf$$ 2>/dev/null; then
5360 as_ln_s=ln
5361 else
5362 as_ln_s='cp -pR'
5363 fi
5364 else
5365 as_ln_s='cp -pR'
5366 fi
5367 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5368 rmdir conf$$.dir 2>/dev/null
5369
5370
5371 # as_fn_mkdir_p
5372 # -------------
5373 # Create "$as_dir" as a directory, including parents if necessary.
5374 as_fn_mkdir_p ()
5375 {
5376
5377 case $as_dir in #(
5378 -*) as_dir=./$as_dir;;
5379 esac
5380 test -d "$as_dir" || eval $as_mkdir_p || {
5381 as_dirs=
5382 while :; do
5383 case $as_dir in #(
5384 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5385 *) as_qdir=$as_dir;;
5386 esac
5387 as_dirs="'$as_qdir' $as_dirs"
5388 as_dir=`$as_dirname -- "$as_dir" ||
5389 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5390 X"$as_dir" : 'X\(//\)[^/]' \| \
5391 X"$as_dir" : 'X\(//\)$' \| \
5392 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5393 printf "%s\n" X"$as_dir" |
5394 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5395 s//\1/
5396 q
5397 }
5398 /^X\(\/\/\)[^/].*/{
5399 s//\1/
5400 q
5401 }
5402 /^X\(\/\/\)$/{
5403 s//\1/
5404 q
5405 }
5406 /^X\(\/\).*/{
5407 s//\1/
5408 q
5409 }
5410 s/.*/./; q'`
5411 test -d "$as_dir" && break
5412 done
5413 test -z "$as_dirs" || eval "mkdir $as_dirs"
5414 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5415
5416
5417 } # as_fn_mkdir_p
5418 if mkdir -p . 2>/dev/null; then
5419 as_mkdir_p='mkdir -p "$as_dir"'
5420 else
5421 test -d ./-p && rmdir ./-p
5422 as_mkdir_p=false
5423 fi
5424
5425
5426 # as_fn_executable_p FILE
5427 # -----------------------
5428 # Test if FILE is an executable regular file.
5429 as_fn_executable_p ()
5430 {
5431 test -f "$1" && test -x "$1"
5432 } # as_fn_executable_p
5433 as_test_x='test -x'
5434 as_executable_p=as_fn_executable_p
5435
5436 # Sed expression to map a string onto a valid CPP name.
5437 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5438
5439 # Sed expression to map a string onto a valid variable name.
5440 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5441
5442
5443 exec 6>&1
5444 ## ----------------------------------- ##
5445 ## Main body of $CONFIG_STATUS script. ##
5446 ## ----------------------------------- ##
5447 _ASEOF
5448 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5449
5450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5451 # Save the log message, to keep $0 and so on meaningful, and to
5452 # report actual input values of CONFIG_FILES etc. instead of their
5453 # values after options handling.
5454 ac_log="
5455 This file was extended by ANU p-Quotient Program $as_me package, which was
5456 generated by GNU Autoconf 2.71. Invocation command line was
5457
5458 CONFIG_FILES = $CONFIG_FILES
5459 CONFIG_HEADERS = $CONFIG_HEADERS
5460 CONFIG_LINKS = $CONFIG_LINKS
5461 CONFIG_COMMANDS = $CONFIG_COMMANDS
5462 $ $0 $@
5463
5464 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5465 "
5466
5467 _ACEOF
5468
5469 case $ac_config_files in *"
5470 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5471 esac
5472
5473 case $ac_config_headers in *"
5474 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5475 esac
5476
5477
5478 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5479 # Files that config.status was made for.
5480 config_files="$ac_config_files"
5481 config_headers="$ac_config_headers"
5482 config_commands="$ac_config_commands"
5483
5484 _ACEOF
5485
5486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5487 ac_cs_usage="\
5488 \`$as_me' instantiates files and other configuration actions
5489 from templates according to the current configuration. Unless the files
5490 and actions are specified as TAGs, all are instantiated by default.
5491
5492 Usage: $0 [OPTION]... [TAG]...
5493
5494 -h, --help print this help, then exit
5495 -V, --version print version number and configuration settings, then exit
5496 --config print configuration, then exit
5497 -q, --quiet, --silent
5498 do not print progress messages
5499 -d, --debug don't remove temporary files
5500 --recheck update $as_me by reconfiguring in the same conditions
5501 --file=FILE[:TEMPLATE]
5502 instantiate the configuration file FILE
5503 --header=FILE[:TEMPLATE]
5504 instantiate the configuration header FILE
5505
5506 Configuration files:
5507 $config_files
5508
5509 Configuration headers:
5510 $config_headers
5511
5512 Configuration commands:
5513 $config_commands
5514
5515 Report bugs to <https://github.com/gap-packages/anupq/issues>.
5516 ANU p-Quotient Program home page: <https://gap-packages.github.io/anupq/>."
5517
5518 _ACEOF
5519 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5520 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5522 ac_cs_config='$ac_cs_config_escaped'
5523 ac_cs_version="\\
5524 ANU p-Quotient Program config.status package
5525 configured by $0, generated by GNU Autoconf 2.71,
5526 with options \\"\$ac_cs_config\\"
5527
5528 Copyright (C) 2021 Free Software Foundation, Inc.
5529 This config.status script is free software; the Free Software Foundation
5530 gives unlimited permission to copy, distribute and modify it."
5531
5532 ac_pwd='$ac_pwd'
5533 srcdir='$srcdir'
5534 INSTALL='$INSTALL'
5535 MKDIR_P='$MKDIR_P'
5536 AWK='$AWK'
5537 test -n "\$AWK" || AWK=awk
5538 _ACEOF
5539
5540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5541 # The default lists apply if the user does not specify any file.
5542 ac_need_defaults=:
5543 while test $# != 0
5544 do
5545 case $1 in
5546 --*=?*)
5547 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5548 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5549 ac_shift=:
5550 ;;
5551 --*=)
5552 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5553 ac_optarg=
5554 ac_shift=:
5555 ;;
5556 *)
5557 ac_option=$1
5558 ac_optarg=$2
5559 ac_shift=shift
5560 ;;
5561 esac
5562
5563 case $ac_option in
5564 # Handling of the options.
5565 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5566 ac_cs_recheck=: ;;
5567 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5568 printf "%s\n" "$ac_cs_version"; exit ;;
5569 --config | --confi | --conf | --con | --co | --c )
5570 printf "%s\n" "$ac_cs_config"; exit ;;
5571 --debug | --debu | --deb | --de | --d | -d )
5572 debug=: ;;
5573 --file | --fil | --fi | --f )
5574 $ac_shift
5575 case $ac_optarg in
5576 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5577 '') as_fn_error $? "missing file argument" ;;
5578 esac
5579 as_fn_append CONFIG_FILES " '$ac_optarg'"
5580 ac_need_defaults=false;;
5581 --header | --heade | --head | --hea )
5582 $ac_shift
5583 case $ac_optarg in
5584 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5585 esac
5586 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5587 ac_need_defaults=false;;
5588 --he | --h)
5589 # Conflict between --help and --header
5590 as_fn_error $? "ambiguous option: \`$1'
5591 Try \`$0 --help' for more information.";;
5592 --help | --hel | -h )
5593 printf "%s\n" "$ac_cs_usage"; exit ;;
5594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5595 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5596 ac_cs_silent=: ;;
5597
5598 # This is an error.
5599 -*) as_fn_error $? "unrecognized option: \`$1'
5600 Try \`$0 --help' for more information." ;;
5601
5602 *) as_fn_append ac_config_targets " $1"
5603 ac_need_defaults=false ;;
5604
5605 esac
5606 shift
5607 done
5608
5609 ac_configure_extra_args=
5610
5611 if $ac_cs_silent; then
5612 exec 6>/dev/null
5613 ac_configure_extra_args="$ac_configure_extra_args --silent"
5614 fi
5615
5616 _ACEOF
5617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618 if \$ac_cs_recheck; then
5619 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5620 shift
5621 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5622 CONFIG_SHELL='$SHELL'
5623 export CONFIG_SHELL
5624 exec "\$@"
5625 fi
5626
5627 _ACEOF
5628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5629 exec 5>>config.log
5630 {
5631 echo
5632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5633 ## Running $as_me. ##
5634 _ASBOX
5635 printf "%s\n" "$ac_log"
5636 } >&5
5637
5638 _ACEOF
5639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5640 #
5641 # INIT-COMMANDS
5642 #
5643 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5644
5645 _ACEOF
5646
5647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5648
5649 # Handling of arguments.
5650 for ac_config_target in $ac_config_targets
5651 do
5652 case $ac_config_target in
5653 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h:include/config.hin" ;;
5654 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5656 "testPq") CONFIG_FILES="$CONFIG_FILES testPq" ;;
5657
5658 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5659 esac
5660 done
5661
5662
5663 # If the user did not use the arguments to specify the items to instantiate,
5664 # then the envvar interface is used. Set only those that are not.
5665 # We use the long form for the default assignment because of an extremely
5666 # bizarre bug on SunOS 4.1.3.
5667 if $ac_need_defaults; then
5668 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5669 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
5670 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5671 fi
5672
5673 # Have a temporary directory for convenience. Make it in the build tree
5674 # simply because there is no reason against having it here, and in addition,
5675 # creating and moving files from /tmp can sometimes cause problems.
5676 # Hook for its removal unless debugging.
5677 # Note that there is a small window in which the directory will not be cleaned:
5678 # after its creation but before its name has been assigned to `$tmp'.
5679 $debug ||
5680 {
5681 tmp= ac_tmp=
5682 trap 'exit_status=$?
5683 : "${ac_tmp:=$tmp}"
5684 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5685 ' 0
5686 trap 'as_fn_exit 1' 1 2 13 15
5687 }
5688 # Create a (secure) tmp directory for tmp files.
5689
5690 {
5691 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5692 test -d "$tmp"
5693 } ||
5694 {
5695 tmp=./conf$$-$RANDOM
5696 (umask 077 && mkdir "$tmp")
5697 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5698 ac_tmp=$tmp
5699
5700 # Set up the scripts for CONFIG_FILES section.
5701 # No need to generate them if there are no CONFIG_FILES.
5702 # This happens for instance with `./config.status config.h'.
5703 if test -n "$CONFIG_FILES"; then
5704
5705
5706 ac_cr=`echo X | tr X '\015'`
5707 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5708 # But we know of no other shell where ac_cr would be empty at this
5709 # point, so we can use a bashism as a fallback.
5710 if test "x$ac_cr" = x; then
5711 eval ac_cr=\$\'\\r\'
5712 fi
5713 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5714 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5715 ac_cs_awk_cr='\\r'
5716 else
5717 ac_cs_awk_cr=$ac_cr
5718 fi
5719
5720 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5721 _ACEOF
5722
5723
5724 {
5725 echo "cat >conf$$subs.awk <<_ACEOF" &&
5726 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5727 echo "_ACEOF"
5728 } >conf$$subs.sh ||
5729 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5730 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5731 ac_delim='%!_!# '
5732 for ac_last_try in false false false false false :; do
5733 . ./conf$$subs.sh ||
5734 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5735
5736 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5737 if test $ac_delim_n = $ac_delim_num; then
5738 break
5739 elif $ac_last_try; then
5740 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5741 else
5742 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5743 fi
5744 done
5745 rm -f conf$$subs.sh
5746
5747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5748 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5749 _ACEOF
5750 sed -n '
5751 h
5752 s/^/S["/; s/!.*/"]=/
5753 p
5754 g
5755 s/^[^!]*!//
5756 :repl
5757 t repl
5758 s/'"$ac_delim"'$//
5759 t delim
5760 :nl
5761 h
5762 s/\(.\{148\}\)..*/\1/
5763 t more1
5764 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5765 p
5766 n
5767 b repl
5768 :more1
5769 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5770 p
5771 g
5772 s/.\{148\}//
5773 t nl
5774 :delim
5775 h
5776 s/\(.\{148\}\)..*/\1/
5777 t more2
5778 s/["\\]/\\&/g; s/^/"/; s/$/"/
5779 p
5780 b
5781 :more2
5782 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5783 p
5784 g
5785 s/.\{148\}//
5786 t delim
5787 ' <conf$$subs.awk | sed '
5788 /^[^""]/{
5789 N
5790 s/\n//
5791 }
5792 ' >>$CONFIG_STATUS || ac_write_fail=1
5793 rm -f conf$$subs.awk
5794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5795 _ACAWK
5796 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5797 for (key in S) S_is_set[key] = 1
5798 FS = ""
5799
5800 }
5801 {
5802 line = $ 0
5803 nfields = split(line, field, "@")
5804 substed = 0
5805 len = length(field[1])
5806 for (i = 2; i < nfields; i++) {
5807 key = field[i]
5808 keylen = length(key)
5809 if (S_is_set[key]) {
5810 value = S[key]
5811 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5812 len += length(value) + length(field[++i])
5813 substed = 1
5814 } else
5815 len += 1 + keylen
5816 }
5817
5818 print line
5819 }
5820
5821 _ACAWK
5822 _ACEOF
5823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5824 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5825 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5826 else
5827 cat
5828 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5829 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5830 _ACEOF
5831
5832 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5833 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5834 # trailing colons and then remove the whole line if VPATH becomes empty
5835 # (actually we leave an empty line to preserve line numbers).
5836 if test "x$srcdir" = x.; then
5837 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5838 h
5839 s///
5840 s/^/:/
5841 s/[ ]*$/:/
5842 s/:\$(srcdir):/:/g
5843 s/:\${srcdir}:/:/g
5844 s/:@srcdir@:/:/g
5845 s/^:*//
5846 s/:*$//
5847 x
5848 s/\(=[ ]*\).*/\1/
5849 G
5850 s/\n//
5851 s/^[^=]*=[ ]*$//
5852 }'
5853 fi
5854
5855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5856 fi # test -n "$CONFIG_FILES"
5857
5858 # Set up the scripts for CONFIG_HEADERS section.
5859 # No need to generate them if there are no CONFIG_HEADERS.
5860 # This happens for instance with `./config.status Makefile'.
5861 if test -n "$CONFIG_HEADERS"; then
5862 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5863 BEGIN {
5864 _ACEOF
5865
5866 # Transform confdefs.h into an awk script `defines.awk', embedded as
5867 # here-document in config.status, that substitutes the proper values into
5868 # config.h.in to produce config.h.
5869
5870 # Create a delimiter string that does not exist in confdefs.h, to ease
5871 # handling of long lines.
5872 ac_delim='%!_!# '
5873 for ac_last_try in false false :; do
5874 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5875 if test -z "$ac_tt"; then
5876 break
5877 elif $ac_last_try; then
5878 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5879 else
5880 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5881 fi
5882 done
5883
5884 # For the awk script, D is an array of macro values keyed by name,
5885 # likewise P contains macro parameters if any. Preserve backslash
5886 # newline sequences.
5887
5888 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5889 sed -n '
5890 s/.\{148\}/&'"$ac_delim"'/g
5891 t rset
5892 :rset
5893 s/^[ ]*#[ ]*define[ ][ ]*/ /
5894 t def
5895 d
5896 :def
5897 s/\\$//
5898 t bsnl
5899 s/["\\]/\\&/g
5900 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5901 D["\1"]=" \3"/p
5902 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5903 d
5904 :bsnl
5905 s/["\\]/\\&/g
5906 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5907 D["\1"]=" \3\\\\\\n"\\/p
5908 t cont
5909 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5910 t cont
5911 d
5912 :cont
5913 n
5914 s/.\{148\}/&'"$ac_delim"'/g
5915 t clear
5916 :clear
5917 s/\\$//
5918 t bsnlc
5919 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5920 d
5921 :bsnlc
5922 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5923 b cont
5924 ' <confdefs.h | sed '
5925 s/'"$ac_delim"'/"\\\
5926 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5927
5928 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5929 for (key in D) D_is_set[key] = 1
5930 FS = ""
5931 }
5932 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5933 line = \$ 0
5934 split(line, arg, " ")
5935 if (arg[1] == "#") {
5936 defundef = arg[2]
5937 mac1 = arg[3]
5938 } else {
5939 defundef = substr(arg[1], 2)
5940 mac1 = arg[2]
5941 }
5942 split(mac1, mac2, "(") #)
5943 macro = mac2[1]
5944 prefix = substr(line, 1, index(line, defundef) - 1)
5945 if (D_is_set[macro]) {
5946 # Preserve the white space surrounding the "#".
5947 print prefix "define", macro P[macro] D[macro]
5948 next
5949 } else {
5950 # Replace #undef with comments. This is necessary, for example,
5951 # in the case of _POSIX_SOURCE, which is predefined and required
5952 # on some systems where configure will not decide to define it.
5953 if (defundef == "undef") {
5954 print "/*", prefix defundef, macro, "*/"
5955 next
5956 }
5957 }
5958 }
5959 { print }
5960 _ACAWK
5961 _ACEOF
5962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5963 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5964 fi # test -n "$CONFIG_HEADERS"
5965
5966
5967 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5968 shift
5969 for ac_tag
5970 do
5971 case $ac_tag in
5972 :[FHLC]) ac_mode=$ac_tag; continue;;
5973 esac
5974 case $ac_mode$ac_tag in
5975 :[FHL]*:*);;
5976 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5977 :[FH]-) ac_tag=-:-;;
5978 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5979 esac
5980 ac_save_IFS=$IFS
5981 IFS=:
5982 set x $ac_tag
5983 IFS=$ac_save_IFS
5984 shift
5985 ac_file=$1
5986 shift
5987
5988 case $ac_mode in
5989 :L) ac_source=$1;;
5990 :[FH])
5991 ac_file_inputs=
5992 for ac_f
5993 do
5994 case $ac_f in
5995 -) ac_f="$ac_tmp/stdin";;
5996 *) # Look for the file first in the build tree, then in the source tree
5997 # (if the path is not absolute). The absolute path cannot be DOS-style,
5998 # because $ac_f cannot contain `:'.
5999 test -f "$ac_f" ||
6000 case $ac_f in
6001 [\\/$]*) false;;
6002 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6003 esac ||
6004 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6005 esac
6006 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6007 as_fn_append ac_file_inputs " '$ac_f'"
6008 done
6009
6010 # Let's still pretend it is `configure' which instantiates (i.e., don't
6011 # use $as_me), people would be surprised to read:
6012 # /* config.h. Generated by config.status. */
6013 configure_input='Generated from '`
6014 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6015 `' by configure.'
6016 if test x"$ac_file" != x-; then
6017 configure_input="$ac_file. $configure_input"
6018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6019 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6020 fi
6021 # Neutralize special characters interpreted by sed in replacement strings.
6022 case $configure_input in #(
6023 *\&* | *\|* | *\\* )
6024 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6025 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6026 *) ac_sed_conf_input=$configure_input;;
6027 esac
6028
6029 case $ac_tag in
6030 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6031 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6032 esac
6033 ;;
6034 esac
6035
6036 ac_dir=`$as_dirname -- "$ac_file" ||
6037 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6038 X"$ac_file" : 'X\(//\)[^/]' \| \
6039 X"$ac_file" : 'X\(//\)$' \| \
6040 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6041 printf "%s\n" X"$ac_file" |
6042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6043 s//\1/
6044 q
6045 }
6046 /^X\(\/\/\)[^/].*/{
6047 s//\1/
6048 q
6049 }
6050 /^X\(\/\/\)$/{
6051 s//\1/
6052 q
6053 }
6054 /^X\(\/\).*/{
6055 s//\1/
6056 q
6057 }
6058 s/.*/./; q'`
6059 as_dir="$ac_dir"; as_fn_mkdir_p
6060 ac_builddir=.
6061
6062 case "$ac_dir" in
6063 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6064 *)
6065 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
6066 # A ".." for each directory in $ac_dir_suffix.
6067 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6068 case $ac_top_builddir_sub in
6069 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6070 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6071 esac ;;
6072 esac
6073 ac_abs_top_builddir=$ac_pwd
6074 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6075 # for backward compatibility:
6076 ac_top_builddir=$ac_top_build_prefix
6077
6078 case $srcdir in
6079 .) # We are building in place.
6080 ac_srcdir=.
6081 ac_top_srcdir=$ac_top_builddir_sub
6082 ac_abs_top_srcdir=$ac_pwd ;;
6083 [\\/]* | ?:[\\/]* ) # Absolute name.
6084 ac_srcdir=$srcdir$ac_dir_suffix;
6085 ac_top_srcdir=$srcdir
6086 ac_abs_top_srcdir=$srcdir ;;
6087 *) # Relative name.
6088 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6089 ac_top_srcdir=$ac_top_build_prefix$srcdir
6090 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6091 esac
6092 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6093
6094
6095 case $ac_mode in
6096 :F)
6097 #
6098 # CONFIG_FILE
6099 #
6100
6101 case $INSTALL in
6102 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6103 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6104 esac
6105 ac_MKDIR_P=$MKDIR_P
6106 case $MKDIR_P in
6107 [\\/$]* | ?:[\\/]* ) ;;
6108 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6109 esac
6110 _ACEOF
6111
6112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6113 # If the template does not know about datarootdir, expand it.
6114 # FIXME: This hack should be removed a few years after 2.60.
6115 ac_datarootdir_hack=; ac_datarootdir_seen=
6116 ac_sed_dataroot='
6117 /datarootdir/ {
6118 p
6119 q
6120 }
6121 /@datadir@/p
6122 /@docdir@/p
6123 /@infodir@/p
6124 /@localedir@/p
6125 /@mandir@/p'
6126 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6127 *datarootdir*) ac_datarootdir_seen=yes;;
6128 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6130 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6131 _ACEOF
6132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6133 ac_datarootdir_hack='
6134 s&@datadir@&$datadir&g
6135 s&@docdir@&$docdir&g
6136 s&@infodir@&$infodir&g
6137 s&@localedir@&$localedir&g
6138 s&@mandir@&$mandir&g
6139 s&\\\${datarootdir}&$datarootdir&g' ;;
6140 esac
6141 _ACEOF
6142
6143 # Neutralize VPATH when `$srcdir' = `.'.
6144 # Shell code in configure.ac might set extrasub.
6145 # FIXME: do we really want to maintain this feature?
6146 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6147 ac_sed_extra="$ac_vpsub
6148 $extrasub
6149 _ACEOF
6150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6151 :t
6152 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6153 s|@configure_input@|$ac_sed_conf_input|;t t
6154 s&@top_builddir@&$ac_top_builddir_sub&;t t
6155 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6156 s&@srcdir@&$ac_srcdir&;t t
6157 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6158 s&@top_srcdir@&$ac_top_srcdir&;t t
6159 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6160 s&@builddir@&$ac_builddir&;t t
6161 s&@abs_builddir@&$ac_abs_builddir&;t t
6162 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6163 s&@INSTALL@&$ac_INSTALL&;t t
6164 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6165 $ac_datarootdir_hack
6166 "
6167 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6168 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6169
6170 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6171 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6172 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6173 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6175 which seems to be undefined. Please make sure it is defined" >&5
6176 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6177 which seems to be undefined. Please make sure it is defined" >&2;}
6178
6179 rm -f "$ac_tmp/stdin"
6180 case $ac_file in
6181 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6182 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6183 esac \
6184 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6185 ;;
6186 :H)
6187 #
6188 # CONFIG_HEADER
6189 #
6190 if test x"$ac_file" != x-; then
6191 {
6192 printf "%s\n" "/* $configure_input */" >&1 \
6193 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6194 } >"$ac_tmp/config.h" \
6195 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6196 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6198 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
6199 else
6200 rm -f "$ac_file"
6201 mv "$ac_tmp/config.h" "$ac_file" \
6202 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6203 fi
6204 else
6205 printf "%s\n" "/* $configure_input */" >&1 \
6206 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6207 || as_fn_error $? "could not create -" "$LINENO" 5
6208 fi
6209 # Compute "$ac_file"'s index in $config_headers.
6210 _am_arg="$ac_file"
6211 _am_stamp_count=1
6212 for _am_header in $config_headers :; do
6213 case $_am_header in
6214 $_am_arg | $_am_arg:* )
6215 break ;;
6216 * )
6217 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6218 esac
6219 done
6220 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6221 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6222 X"$_am_arg" : 'X\(//\)[^/]' \| \
6223 X"$_am_arg" : 'X\(//\)$' \| \
6224 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6225 printf "%s\n" X"$_am_arg" |
6226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6227 s//\1/
6228 q
6229 }
6230 /^X\(\/\/\)[^/].*/{
6231 s//\1/
6232 q
6233 }
6234 /^X\(\/\/\)$/{
6235 s//\1/
6236 q
6237 }
6238 /^X\(\/\).*/{
6239 s//\1/
6240 q
6241 }
6242 s/.*/./; q'`/stamp-h$_am_stamp_count
6243 ;;
6244
6245 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6246 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6247 ;;
6248 esac
6249
6250
6251 case $ac_file$ac_mode in
6252 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6253 # Older Autoconf quotes --file arguments for eval, but not when files
6254 # are listed without --file. Let's play safe and only enable the eval
6255 # if we detect the quoting.
6256 # TODO: see whether this extra hack can be removed once we start
6257 # requiring Autoconf 2.70 or later.
6258 case $CONFIG_FILES in #(
6259 *\'*) :
6260 eval set x "$CONFIG_FILES" ;; #(
6261 *) :
6262 set x $CONFIG_FILES ;; #(
6263 *) :
6264 ;;
6265 esac
6266 shift
6267 # Used to flag and report bootstrapping failures.
6268 am_rc=0
6269 for am_mf
6270 do
6271 # Strip MF so we end up with the name of the file.
6272 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6273 # Check whether this is an Automake generated Makefile which includes
6274 # dependency-tracking related rules and includes.
6275 # Grep'ing the whole file directly is not great: AIX grep has a line
6276 # limit of 2048, but all sed's we know have understand at least 4000.
6277 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6278 || continue
6279 am_dirpart=`$as_dirname -- "$am_mf" ||
6280 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6281 X"$am_mf" : 'X\(//\)[^/]' \| \
6282 X"$am_mf" : 'X\(//\)$' \| \
6283 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6284 printf "%s\n" X"$am_mf" |
6285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6286 s//\1/
6287 q
6288 }
6289 /^X\(\/\/\)[^/].*/{
6290 s//\1/
6291 q
6292 }
6293 /^X\(\/\/\)$/{
6294 s//\1/
6295 q
6296 }
6297 /^X\(\/\).*/{
6298 s//\1/
6299 q
6300 }
6301 s/.*/./; q'`
6302 am_filepart=`$as_basename -- "$am_mf" ||
6303 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6304 X"$am_mf" : 'X\(//\)$' \| \
6305 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6306 printf "%s\n" X/"$am_mf" |
6307 sed '/^.*\/\([^/][^/]*\)\/*$/{
6308 s//\1/
6309 q
6310 }
6311 /^X\/\(\/\/\)$/{
6312 s//\1/
6313 q
6314 }
6315 /^X\/\(\/\).*/{
6316 s//\1/
6317 q
6318 }
6319 s/.*/./; q'`
6320 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6321 && sed -e '/# am--include-marker/d' "$am_filepart" \
6322 | $MAKE -f - am--depfiles" >&5
6323 (cd "$am_dirpart" \
6324 && sed -e '/# am--include-marker/d' "$am_filepart" \
6325 | $MAKE -f - am--depfiles) >&5 2>&5
6326 ac_status=$?
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); } || am_rc=$?
6329 done
6330 if test $am_rc -ne 0; then
6331 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6332 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6333 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6334 for automatic dependency tracking. If GNU make was not used, consider
6335 re-running the configure script with MAKE=\"gmake\" (or whatever is
6336 necessary). You can also try re-running configure with the
6337 '--disable-dependency-tracking' option to at least be able to build
6338 the package (albeit without support for automatic dependency tracking).
6339 See \`config.log' for more details" "$LINENO" 5; }
6340 fi
6341 { am_dirpart=; unset am_dirpart;}
6342 { am_filepart=; unset am_filepart;}
6343 { am_mf=; unset am_mf;}
6344 { am_rc=; unset am_rc;}
6345 rm -f conftest-deps.mk
6346 }
6347 ;;
6348 "testPq":F) chmod +x testPq ;;
6349
6350 esac
6351 done # for ac_tag
6352
6353
6354 as_fn_exit 0
6355 _ACEOF
6356 ac_clean_files=$ac_clean_files_save
6357
6358 test $ac_write_fail = 0 ||
6359 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6360
6361
6362 # configure is writing to config.log, and then calls config.status.
6363 # config.status does its own redirection, appending to config.log.
6364 # Unfortunately, on DOS this fails, as config.log is still kept open
6365 # by configure, so config.status won't be able to write to it; its
6366 # output is simply discarded. So we exec the FD to /dev/null,
6367 # effectively closing config.log, so it can be properly (re)opened and
6368 # appended to by config.status. When coming back to configure, we
6369 # need to make the FD available again.
6370 if test "$no_create" != yes; then
6371 ac_cs_success=:
6372 ac_config_status_args=
6373 test "$silent" = yes &&
6374 ac_config_status_args="$ac_config_status_args --quiet"
6375 exec 5>/dev/null
6376 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6377 exec 5>>config.log
6378 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6379 # would make configure fail if this is the last instruction.
6380 $ac_cs_success || as_fn_exit 1
6381 fi
6382 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6384 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6385 fi
6386
6387