Debian Codegraph @

configure

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