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