Debian Codegraph @

modules/pcre/configure

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