Debian Codegraph @

configure

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