Update upstream source from tag 'upstream/3.1.1'
[xfishtank.git] / configure
CommitLineData
4c1bd65b
MG
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
19DUALCASE=1; export DUALCASE # for MKS sh
20as_nop=:
21if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22then :
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
29else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
34 ;;
35esac
36fi
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.
47as_nl='
48'
49export as_nl
50IFS=" "" $as_nl"
51
52PS1='$ '
53PS2='> '
54PS4='+ '
55
56# Ensure predictable behavior from utilities with locale-dependent output.
57LC_ALL=C
58export LC_ALL
59LANGUAGE=C
60export 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).
67for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70done
71
72# Ensure that fds 0, 1, and 2 are open.
73if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76
77# The user is always right.
78if ${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 }
84fi
85
86
87# Find who we are. Look in the path if we contain no directory separator.
88as_myself=
89case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92for as_dir in $PATH
93do
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
102IFS=$as_save_IFS
103
104 ;;
105esac
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.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if 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
114fi
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.
125BASH_ENV=/dev/null
126ENV=/dev/null
127(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133esac
134exec $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'.
137printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138exit 255
139 fi
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145then :
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
152else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
157 ;;
158esac
159fi
160"
161 as_required="as_fn_return () { (exit \$1); }
162as_fn_success () { as_fn_return 0; }
163as_fn_failure () { as_fn_return 1; }
164as_fn_ret_success () { return 0; }
165as_fn_ret_failure () { return 1; }
166
167exitcode=0
168as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173then :
174
175else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
177fi
178test x\$exitcode = x0 || exit 1
179blah=\$(echo \$(echo blah))
180test x\"\$blah\" = xblah || exit 1
181test -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
187then :
188 as_have_required=yes
189else $as_nop
190 as_have_required=no
191fi
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
193then :
194
195else $as_nop
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197as_found=false
198for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199do
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
214then :
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
217then :
218 break 2
219fi
220fi
221 done;;
222 esac
223 as_found=false
224done
225IFS=$as_save_IFS
226if $as_found
227then :
228
229else $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
232then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
234fi
235fi
236
237
238 if test "x$CONFIG_SHELL" != x
239then :
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.
245BASH_ENV=/dev/null
246ENV=/dev/null
247(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248case $- in # ((((
249 *v*x* | *x*v* ) as_opts=-vx ;;
250 *v* ) as_opts=-v ;;
251 *x* ) as_opts=-x ;;
252 * ) as_opts= ;;
253esac
254exec $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'.
257printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
258exit 255
259fi
260
261 if test x$as_have_required = xno
262then :
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
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293 { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297
298# as_fn_set_status STATUS
299# -----------------------
300# Set $? to STATUS, without forking.
301as_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.
309as_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 $?.
318as_fn_nop ()
319{
320 return $?
321}
322as_nop=as_fn_nop
323
324# as_fn_mkdir_p
325# -------------
326# Create "$as_dir" as a directory, including parents if necessary.
327as_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 ||
346printf "%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.
375as_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.
385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386then :
387 eval 'as_fn_append ()
388 {
389 eval $1+=\$2
390 }'
391else $as_nop
392 as_fn_append ()
393 {
394 eval $1=\$$1\$2
395 }
396fi # 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.
403if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
404then :
405 eval 'as_fn_arith ()
406 {
407 as_val=$(( $* ))
408 }'
409else $as_nop
410 as_fn_arith ()
411 {
412 as_val=`expr "$@" || test $? -eq 1`
413 }
414fi # as_fn_arith
415
416# as_fn_nop
417# ---------
418# Do nothing but, unlike ":", preserve the value of $?.
419as_fn_nop ()
420{
421 return $?
422}
423as_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.
430as_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
441if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
443 as_expr=expr
444else
445 as_expr=false
446fi
447
448if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
449 as_basename=basename
450else
451 as_basename=false
452fi
453
454if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
455 as_dirname=dirname
456else
457 as_dirname=false
458fi
459
460as_me=`$as_basename -- "$0" ||
461$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464printf "%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.
480as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483as_cr_digits='0123456789'
484as_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.
526ECHO_C= ECHO_N= ECHO_T=
527case `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';;
537esac
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.
542as_echo='printf %s\n'
543as_echo_n='printf %s'
544
545
546rm -f conf$$ conf$$.exe conf$$.file
547if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
549else
550 rm -f conf$$.dir
551 mkdir conf$$.dir 2>/dev/null
552fi
553if (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
567else
568 as_ln_s='cp -pR'
569fi
570rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571rmdir conf$$.dir 2>/dev/null
572
573if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
575else
576 test -d ./-p && rmdir ./-p
577 as_mkdir_p=false
578fi
579
580as_test_x='test -x'
581as_executable_p=as_fn_executable_p
582
583# Sed expression to map a string onto a valid CPP name.
584as_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.
587as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
588
589
590test -n "$DJDIR" || exec 7<&0 </dev/null
591exec 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.
596ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
597
598#
599# Initializations.
600#
601ac_default_prefix=/usr/local
602ac_clean_files=
603ac_config_libobj_dir=.
604LIBOBJS=
605cross_compiling=no
606subdirs=
607MFLAGS=
608MAKEFLAGS=
609
610# Identity of this package.
611PACKAGE_NAME='xfishtank'
612PACKAGE_TARNAME='xfishtank'
613PACKAGE_VERSION='3.1.1'
614PACKAGE_STRING='xfishtank 3.1.1'
615PACKAGE_BUGREPORT='wvermin@gmail.com'
616PACKAGE_URL='https://www.ratrabbit.nl/ratrabbit/software/xfishtank'
617
618ac_unique_file="src/xfishtank.h"
619ac_subst_vars='am__EXEEXT_FALSE
620am__EXEEXT_TRUE
621LTLIBOBJS
622LIBOBJS
623GTK_LIBS
624GTK_CFLAGS
625X11_LIBS
626X11_CFLAGS
627PKG_CONFIG_LIBDIR
628PKG_CONFIG_PATH
629PKG_CONFIG
630am__fastdepCC_FALSE
631am__fastdepCC_TRUE
632CCDEPMODE
633am__nodep
634AMDEPBACKSLASH
635AMDEP_FALSE
636AMDEP_TRUE
637am__include
638DEPDIR
639OBJEXT
640EXEEXT
641ac_ct_CC
642CPPFLAGS
643LDFLAGS
644CFLAGS
645CC
646MAKESELFREP_FALSE
647MAKESELFREP_TRUE
648AM_BACKSLASH
649AM_DEFAULT_VERBOSITY
650AM_DEFAULT_V
651AM_V
652CSCOPE
653ETAGS
654CTAGS
655am__untar
656am__tar
657AMTAR
658am__leading_dot
659SET_MAKE
660AWK
661mkdir_p
662MKDIR_P
663INSTALL_STRIP_PROGRAM
664STRIP
665install_sh
666MAKEINFO
667AUTOHEADER
668AUTOMAKE
669AUTOCONF
670ACLOCAL
671VERSION
672PACKAGE
673CYGPATH_W
674am__isrc
675INSTALL_DATA
676INSTALL_SCRIPT
677INSTALL_PROGRAM
678target_alias
679host_alias
680build_alias
681LIBS
682ECHO_T
683ECHO_N
684ECHO_C
685DEFS
686mandir
687localedir
688libdir
689psdir
690pdfdir
691dvidir
692htmldir
693infodir
694docdir
695oldincludedir
696includedir
697runstatedir
698localstatedir
699sharedstatedir
700sysconfdir
701datadir
702datarootdir
703libexecdir
704sbindir
705bindir
706program_transform_name
707prefix
708exec_prefix
709PACKAGE_URL
710PACKAGE_BUGREPORT
711PACKAGE_STRING
712PACKAGE_VERSION
713PACKAGE_TARNAME
714PACKAGE_NAME
715PATH_SEPARATOR
716SHELL
717am__quote'
718ac_subst_files=''
719ac_user_opts='
720enable_option_checking
721enable_silent_rules
722enable_selfrep
723enable_dependency_tracking
724'
725 ac_precious_vars='build_alias
726host_alias
727target_alias
728CC
729CFLAGS
730LDFLAGS
731LIBS
732CPPFLAGS
733PKG_CONFIG
734PKG_CONFIG_PATH
735PKG_CONFIG_LIBDIR
736X11_CFLAGS
737X11_LIBS
738GTK_CFLAGS
739GTK_LIBS'
740
741
742# Initialize some variables set by options.
743ac_init_help=
744ac_init_version=false
745ac_unrecognized_opts=
746ac_unrecognized_sep=
747# The variables have the same names as the options, with
748# dashes changed to underlines.
749cache_file=/dev/null
750exec_prefix=NONE
751no_create=
752no_recursion=
753prefix=NONE
754program_prefix=NONE
755program_suffix=NONE
756program_transform_name=s,x,x,
757silent=
758site=
759srcdir=
760verbose=
761x_includes=NONE
762x_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.)
770bindir='${exec_prefix}/bin'
771sbindir='${exec_prefix}/sbin'
772libexecdir='${exec_prefix}/libexec'
773datarootdir='${prefix}/share'
774datadir='${datarootdir}'
775sysconfdir='${prefix}/etc'
776sharedstatedir='${prefix}/com'
777localstatedir='${prefix}/var'
778runstatedir='${localstatedir}/run'
779includedir='${prefix}/include'
780oldincludedir='/usr/include'
781docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
782infodir='${datarootdir}/info'
783htmldir='${docdir}'
784dvidir='${docdir}'
785pdfdir='${docdir}'
786psdir='${docdir}'
787libdir='${exec_prefix}/lib'
788localedir='${datarootdir}/locale'
789mandir='${datarootdir}/man'
790
791ac_prev=
792ac_dashdash=
793for ac_option
794do
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'
1134Try \`$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
1156done
1157
1158if test -n "$ac_prev"; then
1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1160 as_fn_error $? "missing argument to $ac_option"
1161fi
1162
1163if 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
1169fi
1170
1171# Check all directory arguments for consistency.
1172for 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
1176do
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"
1190done
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.
1195build=$build_alias
1196host=$host_alias
1197target=$target_alias
1198
1199# FIXME: To remove some day.
1200if 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
1206fi
1207
1208ac_tool_prefix=
1209test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210
1211test "$silent" = yes && exec 6>/dev/null
1212
1213
1214ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215ac_ls_di=`ls -di .` &&
1216ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 as_fn_error $? "working directory cannot be determined"
1218test "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.
1223if 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 ||
1231printf "%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
1253else
1254 ac_srcdir_defaulted=no
1255fi
1256if 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"
1259fi
1260ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1261ac_abs_confdir=`(
1262 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1263 pwd)`
1264# When building in place, set srcdir=.
1265if test "$ac_abs_confdir" = "$ac_pwd"; then
1266 srcdir=.
1267fi
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.
1271case $srcdir in
1272*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1273esac
1274for 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}
1279done
1280
1281#
1282# Report the --help message.
1283#
1284if 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
1290Usage: $0 [OPTION]... [VAR=VALUE]...
1291
1292To assign environment variables (e.g., CC, CFLAGS...), specify them as
1293VAR=VALUE. See below for descriptions of some of the useful variables.
1294
1295Defaults for the options are specified in brackets.
1296
1297Configuration:
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
1308Installation 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
1314By default, \`make install' will install all the files in
1315\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1316an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1317for instance \`--prefix=\$HOME'.
1318
1319For better control, use the options below.
1320
1321Fine 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
1346Program 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
1351fi
1352
1353if 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
1359Optional 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
1371Some 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
1389Use these variables to override the choices made by `configure' or to help
1390it to find libraries and programs with nonstandard names/locations.
1391
1392Report bugs to <wvermin@gmail.com>.
1393xfishtank home page: <https://www.ratrabbit.nl/ratrabbit/software/xfishtank>.
1394_ACEOF
1395ac_status=$?
1396fi
1397
1398if 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
1406case "$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 ;;
1416esac
1417ac_abs_top_builddir=$ac_pwd
1418ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419# for backward compatibility:
1420ac_top_builddir=$ac_top_build_prefix
1421
1422case $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 ;;
1435esac
1436ac_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
1452fi
1453
1454test -n "$ac_init_help" && exit $ac_status
1455if $ac_init_version; then
1456 cat <<\_ACEOF
1457xfishtank configure 3.1.1
1458generated by GNU Autoconf 2.71
1459
1460Copyright (C) 2021 Free Software Foundation, Inc.
1461This configure script is free software; the Free Software Foundation
1462gives unlimited permission to copy, distribute and modify it.
1463_ACEOF
1464 exit
1465fi
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.
1474ac_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"
1479case "(($ac_try" in
1480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481 *) ac_try_echo=$ac_try;;
1482esac
1483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484printf "%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
1497then :
1498 ac_retval=0
1499else $as_nop
1500 printf "%s\n" "$as_me: failed program was:" >&5
1501sed 's/^/| /' conftest.$ac_ext >&5
1502
1503 ac_retval=1
1504fi
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.
1513ac_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"
1518case "(($ac_try" in
1519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1520 *) ac_try_echo=$ac_try;;
1521esac
1522eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1523printf "%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 }
1539then :
1540 ac_retval=0
1541else $as_nop
1542 printf "%s\n" "$as_me: failed program was:" >&5
1543sed 's/^/| /' conftest.$ac_ext >&5
1544
1545 ac_retval=1
1546fi
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
1560ac_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
1564printf %s "checking for $2... " >&6; }
1565if eval test \${$3+y}
1566then :
1567 printf %s "(cached) " >&6
1568else $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
1585extern "C"
1586#endif
1587char $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
1592choke me
1593#endif
1594
1595int
1596main (void)
1597{
1598return $2 ();
1599 ;
1600 return 0;
1601}
1602_ACEOF
1603if ac_fn_c_try_link "$LINENO"
1604then :
1605 eval "$3=yes"
1606else $as_nop
1607 eval "$3=no"
1608fi
1609rm -f core conftest.err conftest.$ac_objext conftest.beam \
1610 conftest$ac_exeext conftest.$ac_ext
1611fi
1612eval ac_res=\$$3
1613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614printf "%s\n" "$ac_res" >&6; }
1615 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1616
1617} # ac_fn_c_check_func
1618ac_configure_args_raw=
1619for ac_arg
1620do
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'"
1626done
1627
1628case $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"`;;
1636esac
1637
1638cat >config.log <<_ACEOF
1639This file contains any messages produced by compilers while
1640running configure, to aid debugging if configure makes a mistake.
1641
1642It was created by xfishtank $as_me 3.1.1, which was
1643generated by GNU Autoconf 2.71. Invocation command line was
1644
1645 $ $0$ac_configure_args_raw
1646
1647_ACEOF
1648exec 5>>config.log
1649{
1650cat <<_ASUNAME
1651## --------- ##
1652## Platform. ##
1653## --------- ##
1654
1655hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1656uname -m = `(uname -m) 2>/dev/null || echo unknown`
1657uname -r = `(uname -r) 2>/dev/null || echo unknown`
1658uname -s = `(uname -s) 2>/dev/null || echo unknown`
1659uname -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
1674as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1675for as_dir in $PATH
1676do
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
1685IFS=$as_save_IFS
1686
1687} >&5
1688
1689cat >&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.
1704ac_configure_args=
1705ac_configure_args0=
1706ac_configure_args1=
1707ac_must_keep_next=false
1708for ac_pass in 1 2
1709do
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
1743done
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.
1752trap '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
1771printf "%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
1841for ac_signal in 1 2 13 15; do
1842 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1843done
1844ac_signal=0
1845
1846# confdefs.h avoids OS command line length limits that DEFS can exceed.
1847rm -f -r conftest* confdefs.h
1848
1849printf "%s\n" "/* confdefs.h */" > confdefs.h
1850
1851# Predefined preprocessor variables.
1852
1853printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1854
1855printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1856
1857printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1858
1859printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1860
1861printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1862
1863printf "%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.
1868if test -n "$CONFIG_SITE"; then
1869 ac_site_files="$CONFIG_SITE"
1870elif test "x$prefix" != xNONE; then
1871 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1872else
1873 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1874fi
1875
1876for ac_site_file in $ac_site_files
1877do
1878 case $ac_site_file in #(
1879 */*) :
1880 ;; #(
1881 *) :
1882 ac_site_file=./$ac_site_file ;;
1883esac
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
1886printf "%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
1890printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1891as_fn_error $? "failed to load site script $ac_site_file
1892See \`config.log' for more details" "$LINENO" 5; }
1893 fi
1894done
1895
1896if 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
1901printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1902 case $cache_file in
1903 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1904 *) . "./$cache_file";;
1905 esac
1906 fi
1907else
1908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1909printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1910 >$cache_file
1911fi
1912
1913# Test code for whether the C compiler supports C89 (global declarations)
1914ac_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>
1924struct stat;
1925/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1926struct buf { int x; };
1927struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1928static char *e (p, i)
1929 char **p;
1930 int i;
1931{
1932 return p[i];
1933}
1934static 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. */
1951int 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'\''
1956int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1957
1958int test (int i, double x);
1959struct s1 {int (*f) (int a);};
1960struct s2 {int (*f) (double a);};
1961int 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).
1965ac_c_conftest_c89_main='
1966ok |= (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)
1970ac_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>
1977extern int puts (const char *);
1978extern int printf (const char *, ...);
1979extern int dprintf (int, const char *, ...);
1980extern 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__))
1988static void
1989test_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
2010static long long int bignum = -9223372036854775807LL;
2011static unsigned long long int ubignum = BIG64;
2012
2013struct incomplete_array
2014{
2015 int datasize;
2016 double data[];
2017};
2018
2019struct named_init {
2020 int number;
2021 const wchar_t *name;
2022 double average;
2023};
2024
2025typedef const char *ccp;
2026
2027static inline int
2028test_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.
2039static bool
2040test_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).
2076ac_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)
2116ac_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.
2123char _Alignas (double) aligned_as_double;
2124char _Alignas (0) no_special_alignment;
2125extern char aligned_as_int;
2126char _Alignas (0) _Alignas (int) aligned_as_int;
2127
2128// Check _Alignof.
2129enum
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.
2138int _Noreturn does_not_return (void) { for (;;) continue; }
2139
2140// Check _Static_assert.
2141struct 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!
2151char const utf8_literal[] = u8"happens to be ASCII" "another string";
2152
2153// Check duplicate typedefs.
2154typedef long *long_ptr;
2155typedef long int *long_ptr;
2156typedef long_ptr long_ptr;
2157
2158// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2159struct 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).
2170ac_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).
2180ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2181${ac_c_conftest_c99_globals}
2182${ac_c_conftest_c11_globals}
2183
2184int
2185main (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).
2196ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2197${ac_c_conftest_c99_globals}
2198
2199int
2200main (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).
2210ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2211
2212int
2213main (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.
2223ac_aux_files="compile missing install-sh"
2224
2225# Locations in which to look for auxiliary files.
2226ac_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.
2233ac_missing_aux_files=""
2234ac_first_candidate=:
2235printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237as_found=false
2238for as_dir in $ac_aux_dir_candidates
2239do
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
2295done
2296IFS=$as_save_IFS
2297if $as_found
2298then :
2299
2300else $as_nop
2301 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2302fi
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.
2309if test -f "${ac_aux_dir}config.guess"; then
2310 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2311fi
2312if test -f "${ac_aux_dir}config.sub"; then
2313 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2314fi
2315if test -f "$ac_aux_dir/configure"; then
2316 ac_configure="$SHELL ${ac_aux_dir}configure"
2317fi
2318
2319# Check that the precious variables saved in the cache have kept the same
2320# value.
2321ac_cache_corrupted=false
2322for 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
2330printf "%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
2334printf "%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
2344printf "%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
2348printf "%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
2352printf "%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
2354printf "%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
2368done
2369if $ac_cache_corrupted; then
2370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371printf "%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
2373printf "%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
2376fi
2377## -------------------- ##
2378## Main body of script. ##
2379## -------------------- ##
2380
2381ac_ext=c
2382ac_cpp='$CPP $CPPFLAGS'
2383ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2384ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2385ac_compiler_gnu=$ac_cv_c_compiler_gnu
2386
2387
2388
2389ac_config_headers="$ac_config_headers config.h"
2390
2391am__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
2410printf %s "checking for a BSD-compatible install... " >&6; }
2411if test -z "$INSTALL"; then
2412if test ${ac_cv_path_install+y}
2413then :
2414 printf %s "(cached) " >&6
2415else $as_nop
2416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2417for as_dir in $PATH
2418do
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.
2426case $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 ;;
2464esac
2465
2466 done
2467IFS=$as_save_IFS
2468
2469rm -rf conftest.one conftest.two conftest.dir
2470
2471fi
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
2481fi
2482{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2483printf "%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.
2487test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2488
2489test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2490
2491test -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
2494printf %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.
2497am_lf='
2498'
2499case `pwd` in
2500 *[\\\"\#\$\&\'\`$am_lf]*)
2501 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2502esac
2503case $srcdir in
2504 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2505 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2506esac
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).
2513if (
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 )
2541then
2542 # Ok.
2543 :
2544else
2545 as_fn_error $? "newly created file is older than distributed files!
2546Check your system clock" "$LINENO" 5
2547fi
2548{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2549printf "%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.
2552am_sleep_pid=
2553if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2554 ( sleep 1 ) &
2555 am_sleep_pid=$!
2556fi
2557
2558rm -f conftest.file
2559
2560test "$program_prefix" != NONE &&
2561 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2562# Use a double $ so make ignores it.
2563test "$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.
2567ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2568program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2569
2570
2571# Expand $ac_aux_dir to an absolute path.
2572am_aux_dir=`cd "$ac_aux_dir" && pwd`
2573
2574
2575 if test x"${MISSING+set}" != xset; then
2576 MISSING="\${SHELL} '$am_aux_dir/missing'"
2577fi
2578# Use eval to expand $SHELL
2579if eval "$MISSING --is-lightweight"; then
2580 am_missing_run="$MISSING "
2581else
2582 am_missing_run=
2583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2584printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2585fi
2586
2587if 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
2594fi
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.
2600if 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.
2603set dummy ${ac_tool_prefix}strip; ac_word=$2
2604{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605printf %s "checking for $ac_word... " >&6; }
2606if test ${ac_cv_prog_STRIP+y}
2607then :
2608 printf %s "(cached) " >&6
2609else $as_nop
2610 if test -n "$STRIP"; then
2611 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2612else
2613as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614for as_dir in $PATH
2615do
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
2628done
2629 done
2630IFS=$as_save_IFS
2631
2632fi
2633fi
2634STRIP=$ac_cv_prog_STRIP
2635if test -n "$STRIP"; then
2636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2637printf "%s\n" "$STRIP" >&6; }
2638else
2639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2640printf "%s\n" "no" >&6; }
2641fi
2642
2643
2644fi
2645if 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.
2648set dummy strip; ac_word=$2
2649{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650printf %s "checking for $ac_word... " >&6; }
2651if test ${ac_cv_prog_ac_ct_STRIP+y}
2652then :
2653 printf %s "(cached) " >&6
2654else $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.
2657else
2658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659for as_dir in $PATH
2660do
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
2673done
2674 done
2675IFS=$as_save_IFS
2676
2677fi
2678fi
2679ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2680if test -n "$ac_ct_STRIP"; then
2681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2682printf "%s\n" "$ac_ct_STRIP" >&6; }
2683else
2684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2685printf "%s\n" "no" >&6; }
2686fi
2687
2688 if test "x$ac_ct_STRIP" = x; then
2689 STRIP=":"
2690 else
2691 case $cross_compiling:$ac_tool_warned in
2692yes:)
2693{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2694printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2695ac_tool_warned=yes ;;
2696esac
2697 STRIP=$ac_ct_STRIP
2698 fi
2699else
2700 STRIP="$ac_cv_prog_STRIP"
2701fi
2702
2703fi
2704INSTALL_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
2708printf %s "checking for a race-free mkdir -p... " >&6; }
2709if test -z "$MKDIR_P"; then
2710 if test ${ac_cv_path_mkdir+y}
2711then :
2712 printf %s "(cached) " >&6
2713else $as_nop
2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2715for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2716do
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
2736IFS=$as_save_IFS
2737
2738fi
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
2750fi
2751{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2752printf "%s\n" "$MKDIR_P" >&6; }
2753
2754for ac_prog in gawk mawk nawk awk
2755do
2756 # Extract the first word of "$ac_prog", so it can be a program name with args.
2757set dummy $ac_prog; ac_word=$2
2758{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2759printf %s "checking for $ac_word... " >&6; }
2760if test ${ac_cv_prog_AWK+y}
2761then :
2762 printf %s "(cached) " >&6
2763else $as_nop
2764 if test -n "$AWK"; then
2765 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2766else
2767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2768for as_dir in $PATH
2769do
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
2782done
2783 done
2784IFS=$as_save_IFS
2785
2786fi
2787fi
2788AWK=$ac_cv_prog_AWK
2789if test -n "$AWK"; then
2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2791printf "%s\n" "$AWK" >&6; }
2792else
2793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794printf "%s\n" "no" >&6; }
2795fi
2796
2797
2798 test -n "$AWK" && break
2799done
2800
2801{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2802printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2803set x ${MAKE-make}
2804ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2805if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2806then :
2807 printf %s "(cached) " >&6
2808else $as_nop
2809 cat >conftest.make <<\_ACEOF
2810SHELL = /bin/sh
2811all:
2812 @echo '@@@%%%=$(MAKE)=@@@%%%'
2813_ACEOF
2814# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2815case `${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;;
2820esac
2821rm -f conftest.make
2822fi
2823if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2825printf "%s\n" "yes" >&6; }
2826 SET_MAKE=
2827else
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829printf "%s\n" "no" >&6; }
2830 SET_MAKE="MAKE=${MAKE-make}"
2831fi
2832
2833rm -rf .tst 2>/dev/null
2834mkdir .tst 2>/dev/null
2835if test -d .tst; then
2836 am__leading_dot=.
2837else
2838 am__leading_dot=_
2839fi
2840rmdir .tst 2>/dev/null
2841
2842# Check whether --enable-silent-rules was given.
2843if test ${enable_silent_rules+y}
2844then :
2845 enableval=$enable_silent_rules;
2846fi
2847
2848case $enable_silent_rules in # (((
2849 yes) AM_DEFAULT_VERBOSITY=0;;
2850 no) AM_DEFAULT_VERBOSITY=1;;
2851 *) AM_DEFAULT_VERBOSITY=1;;
2852esac
2853am_make=${MAKE-make}
2854{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2855printf %s "checking whether $am_make supports nested variables... " >&6; }
2856if test ${am_cv_make_support_nested_variables+y}
2857then :
2858 printf %s "(cached) " >&6
2859else $as_nop
2860 if printf "%s\n" 'TRUE=$(BAR$(V))
2861BAR0=false
2862BAR1=true
2863V=1
2864am__doit:
2865 @$(TRUE)
2866.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2867 am_cv_make_support_nested_variables=yes
2868else
2869 am_cv_make_support_nested_variables=no
2870fi
2871fi
2872{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2873printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2874if test $am_cv_make_support_nested_variables = yes; then
2875 AM_V='$(V)'
2876 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2877else
2878 AM_V=$AM_DEFAULT_VERBOSITY
2879 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2880fi
2881AM_BACKSLASH='\'
2882
2883if 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
2891fi
2892
2893# test whether we have cygpath
2894if 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
2900fi
2901
2902
2903# Define the identity of the package.
2904 PACKAGE='xfishtank'
2905 VERSION='3.1.1'
2906
2907
2908printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2909
2910
2911printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2912
2913# Some tools Automake needs.
2914
2915ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2916
2917
2918AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2919
2920
2921AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2922
2923
2924AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2925
2926
2927MAKEINFO=${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>
2933mkdir_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 ...
2939AMTAR='$${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
2945am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2946
2947
2948
2949
2950
2951# Variables for tags utilities; see am/tags.am
2952if test -z "$CTAGS"; then
2953 CTAGS=ctags
2954fi
2955
2956if test -z "$ETAGS"; then
2957 ETAGS=etags
2958fi
2959
2960if test -z "$CSCOPE"; then
2961 CSCOPE=cscope
2962fi
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.
2974if rm -f && rm -fr && rm -rf; then : OK; else
2975 cat >&2 <<'END'
2976Oops!
2977
2978Your 'rm' program seems unable to run without file operands specified
2979on the command line, even when the '-f' option is present. This is contrary
2980to the behaviour of most rm programs out there, and not conforming with
2981the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2982
2983Please tell bug-automake@gnu.org about your system, including the value
2984of your $PATH and any error possibly output before this message. This
2985can help us improve future automake versions.
2986
2987END
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'
2994Aborting the configuration process, to ensure you take notice of the issue.
2995
2996You can download and install GNU coreutils to get an 'rm' implementation
2997that behaves properly: <https://www.gnu.org/software/coreutils/>.
2998
2999If you want to complete the configuration process using your problematic
3000'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3001to "yes", and re-run configure.
3002
3003END
3004 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3005 fi
3006fi
3007
3008./prevent-remakes
3009# Check whether --enable-silent-rules was given.
3010if test ${enable_silent_rules+y}
3011then :
3012 enableval=$enable_silent_rules;
3013fi
3014
3015case $enable_silent_rules in # (((
3016 yes) AM_DEFAULT_VERBOSITY=0;;
3017 no) AM_DEFAULT_VERBOSITY=1;;
3018 *) AM_DEFAULT_VERBOSITY=0;;
3019esac
3020am_make=${MAKE-make}
3021{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3022printf %s "checking whether $am_make supports nested variables... " >&6; }
3023if test ${am_cv_make_support_nested_variables+y}
3024then :
3025 printf %s "(cached) " >&6
3026else $as_nop
3027 if printf "%s\n" 'TRUE=$(BAR$(V))
3028BAR0=false
3029BAR1=true
3030V=1
3031am__doit:
3032 @$(TRUE)
3033.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3034 am_cv_make_support_nested_variables=yes
3035else
3036 am_cv_make_support_nested_variables=no
3037fi
3038fi
3039{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3040printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3041if test $am_cv_make_support_nested_variables = yes; then
3042 AM_V='$(V)'
3043 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3044else
3045 AM_V=$AM_DEFAULT_VERBOSITY
3046 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3047fi
3048AM_BACKSLASH='\'
3049
3050
3051# Check whether --enable-selfrep was given.
3052if test ${enable_selfrep+y}
3053then :
3054 enableval=$enable_selfrep;
3055else $as_nop
3056 enable_selfrep=yes
3057fi
3058
3059 if test "x$enable_selfrep" = "xyes"; then
3060 MAKESELFREP_TRUE=
3061 MAKESELFREP_FALSE='#'
3062else
3063 MAKESELFREP_TRUE='#'
3064 MAKESELFREP_FALSE=
3065fi
3066
3067
3068PACKAGE_VERSION=VERSION
3069
3070PACKAGE_NAME=PACKAGE
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082ac_ext=c
3083ac_cpp='$CPP $CPPFLAGS'
3084ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3085ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3086ac_compiler_gnu=$ac_cv_c_compiler_gnu
3087if 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.
3089set dummy ${ac_tool_prefix}gcc; ac_word=$2
3090{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091printf %s "checking for $ac_word... " >&6; }
3092if test ${ac_cv_prog_CC+y}
3093then :
3094 printf %s "(cached) " >&6
3095else $as_nop
3096 if test -n "$CC"; then
3097 ac_cv_prog_CC="$CC" # Let the user override the test.
3098else
3099as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100for as_dir in $PATH
3101do
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
3114done
3115 done
3116IFS=$as_save_IFS
3117
3118fi
3119fi
3120CC=$ac_cv_prog_CC
3121if test -n "$CC"; then
3122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123printf "%s\n" "$CC" >&6; }
3124else
3125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126printf "%s\n" "no" >&6; }
3127fi
3128
3129
3130fi
3131if 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.
3134set dummy gcc; ac_word=$2
3135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3136printf %s "checking for $ac_word... " >&6; }
3137if test ${ac_cv_prog_ac_ct_CC+y}
3138then :
3139 printf %s "(cached) " >&6
3140else $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.
3143else
3144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145for as_dir in $PATH
3146do
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
3159done
3160 done
3161IFS=$as_save_IFS
3162
3163fi
3164fi
3165ac_ct_CC=$ac_cv_prog_ac_ct_CC
3166if test -n "$ac_ct_CC"; then
3167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3168printf "%s\n" "$ac_ct_CC" >&6; }
3169else
3170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171printf "%s\n" "no" >&6; }
3172fi
3173
3174 if test "x$ac_ct_CC" = x; then
3175 CC=""
3176 else
3177 case $cross_compiling:$ac_tool_warned in
3178yes:)
3179{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3180printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3181ac_tool_warned=yes ;;
3182esac
3183 CC=$ac_ct_CC
3184 fi
3185else
3186 CC="$ac_cv_prog_CC"
3187fi
3188
3189if 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.
3192set dummy ${ac_tool_prefix}cc; ac_word=$2
3193{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194printf %s "checking for $ac_word... " >&6; }
3195if test ${ac_cv_prog_CC+y}
3196then :
3197 printf %s "(cached) " >&6
3198else $as_nop
3199 if test -n "$CC"; then
3200 ac_cv_prog_CC="$CC" # Let the user override the test.
3201else
3202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3203for as_dir in $PATH
3204do
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
3217done
3218 done
3219IFS=$as_save_IFS
3220
3221fi
3222fi
3223CC=$ac_cv_prog_CC
3224if test -n "$CC"; then
3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3226printf "%s\n" "$CC" >&6; }
3227else
3228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229printf "%s\n" "no" >&6; }
3230fi
3231
3232
3233 fi
3234fi
3235if test -z "$CC"; then
3236 # Extract the first word of "cc", so it can be a program name with args.
3237set dummy cc; ac_word=$2
3238{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3239printf %s "checking for $ac_word... " >&6; }
3240if test ${ac_cv_prog_CC+y}
3241then :
3242 printf %s "(cached) " >&6
3243else $as_nop
3244 if test -n "$CC"; then
3245 ac_cv_prog_CC="$CC" # Let the user override the test.
3246else
3247 ac_prog_rejected=no
3248as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3249for as_dir in $PATH
3250do
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
3267done
3268 done
3269IFS=$as_save_IFS
3270
3271if 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
3282fi
3283fi
3284fi
3285CC=$ac_cv_prog_CC
3286if test -n "$CC"; then
3287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288printf "%s\n" "$CC" >&6; }
3289else
3290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291printf "%s\n" "no" >&6; }
3292fi
3293
3294
3295fi
3296if 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.
3301set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3302{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303printf %s "checking for $ac_word... " >&6; }
3304if test ${ac_cv_prog_CC+y}
3305then :
3306 printf %s "(cached) " >&6
3307else $as_nop
3308 if test -n "$CC"; then
3309 ac_cv_prog_CC="$CC" # Let the user override the test.
3310else
3311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3312for as_dir in $PATH
3313do
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
3326done
3327 done
3328IFS=$as_save_IFS
3329
3330fi
3331fi
3332CC=$ac_cv_prog_CC
3333if test -n "$CC"; then
3334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3335printf "%s\n" "$CC" >&6; }
3336else
3337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3338printf "%s\n" "no" >&6; }
3339fi
3340
3341
3342 test -n "$CC" && break
3343 done
3344fi
3345if test -z "$CC"; then
3346 ac_ct_CC=$CC
3347 for ac_prog in cl.exe
3348do
3349 # Extract the first word of "$ac_prog", so it can be a program name with args.
3350set dummy $ac_prog; ac_word=$2
3351{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3352printf %s "checking for $ac_word... " >&6; }
3353if test ${ac_cv_prog_ac_ct_CC+y}
3354then :
3355 printf %s "(cached) " >&6
3356else $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.
3359else
3360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3361for as_dir in $PATH
3362do
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
3375done
3376 done
3377IFS=$as_save_IFS
3378
3379fi
3380fi
3381ac_ct_CC=$ac_cv_prog_ac_ct_CC
3382if test -n "$ac_ct_CC"; then
3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3384printf "%s\n" "$ac_ct_CC" >&6; }
3385else
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3387printf "%s\n" "no" >&6; }
3388fi
3389
3390
3391 test -n "$ac_ct_CC" && break
3392done
3393
3394 if test "x$ac_ct_CC" = x; then
3395 CC=""
3396 else
3397 case $cross_compiling:$ac_tool_warned in
3398yes:)
3399{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3400printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3401ac_tool_warned=yes ;;
3402esac
3403 CC=$ac_ct_CC
3404 fi
3405fi
3406
3407fi
3408if 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.
3411set dummy ${ac_tool_prefix}clang; ac_word=$2
3412{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413printf %s "checking for $ac_word... " >&6; }
3414if test ${ac_cv_prog_CC+y}
3415then :
3416 printf %s "(cached) " >&6
3417else $as_nop
3418 if test -n "$CC"; then
3419 ac_cv_prog_CC="$CC" # Let the user override the test.
3420else
3421as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422for as_dir in $PATH
3423do
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
3436done
3437 done
3438IFS=$as_save_IFS
3439
3440fi
3441fi
3442CC=$ac_cv_prog_CC
3443if test -n "$CC"; then
3444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3445printf "%s\n" "$CC" >&6; }
3446else
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448printf "%s\n" "no" >&6; }
3449fi
3450
3451
3452fi
3453if 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.
3456set dummy clang; ac_word=$2
3457{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458printf %s "checking for $ac_word... " >&6; }
3459if test ${ac_cv_prog_ac_ct_CC+y}
3460then :
3461 printf %s "(cached) " >&6
3462else $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.
3465else
3466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467for as_dir in $PATH
3468do
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
3481done
3482 done
3483IFS=$as_save_IFS
3484
3485fi
3486fi
3487ac_ct_CC=$ac_cv_prog_ac_ct_CC
3488if test -n "$ac_ct_CC"; then
3489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3490printf "%s\n" "$ac_ct_CC" >&6; }
3491else
3492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3493printf "%s\n" "no" >&6; }
3494fi
3495
3496 if test "x$ac_ct_CC" = x; then
3497 CC=""
3498 else
3499 case $cross_compiling:$ac_tool_warned in
3500yes:)
3501{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3502printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3503ac_tool_warned=yes ;;
3504esac
3505 CC=$ac_ct_CC
3506 fi
3507else
3508 CC="$ac_cv_prog_CC"
3509fi
3510
3511fi
3512
3513
3514test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3515printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3516as_fn_error $? "no acceptable C compiler found in \$PATH
3517See \`config.log' for more details" "$LINENO" 5; }
3518
3519# Provide some information about the compiler.
3520printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3521set X $ac_compile
3522ac_compiler=$2
3523for ac_option in --version -v -V -qversion -version; do
3524 { { ac_try="$ac_compiler $ac_option >&5"
3525case "(($ac_try" in
3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3528esac
3529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3530printf "%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; }
3542done
3543
3544cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h. */
3546
3547int
3548main (void)
3549{
3550
3551 ;
3552 return 0;
3553}
3554_ACEOF
3555ac_clean_files_save=$ac_clean_files
3556ac_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
3561printf %s "checking whether the C compiler works... " >&6; }
3562ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3563
3564# The possible output files:
3565ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3566
3567ac_rmfiles=
3568for ac_file in $ac_files
3569do
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
3574done
3575rm -f $ac_rmfiles
3576
3577if { { ac_try="$ac_link_default"
3578case "(($ac_try" in
3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3581esac
3582eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583printf "%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; }
3588then :
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.
3594for ac_file in $ac_files ''
3595do
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
3618done
3619test "$ac_cv_exeext" = no && ac_cv_exeext=
3620
3621else $as_nop
3622 ac_file=''
3623fi
3624if test -z "$ac_file"
3625then :
3626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627printf "%s\n" "no" >&6; }
3628printf "%s\n" "$as_me: failed program was:" >&5
3629sed 's/^/| /' conftest.$ac_ext >&5
3630
3631{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3632printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3633as_fn_error 77 "C compiler cannot create executables
3634See \`config.log' for more details" "$LINENO" 5; }
3635else $as_nop
3636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3637printf "%s\n" "yes" >&6; }
3638fi
3639{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3640printf %s "checking for C compiler default output file name... " >&6; }
3641{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3642printf "%s\n" "$ac_file" >&6; }
3643ac_exeext=$ac_cv_exeext
3644
3645rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3646ac_clean_files=$ac_clean_files_save
3647{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3648printf %s "checking for suffix of executables... " >&6; }
3649if { { ac_try="$ac_link"
3650case "(($ac_try" in
3651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652 *) ac_try_echo=$ac_try;;
3653esac
3654eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655printf "%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; }
3660then :
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'.
3665for 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
3673done
3674else $as_nop
3675 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3676printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3677as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3678See \`config.log' for more details" "$LINENO" 5; }
3679fi
3680rm -f conftest conftest$ac_cv_exeext
3681{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3682printf "%s\n" "$ac_cv_exeext" >&6; }
3683
3684rm -f conftest.$ac_ext
3685EXEEXT=$ac_cv_exeext
3686ac_exeext=$EXEEXT
3687cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3688/* end confdefs.h. */
3689#include <stdio.h>
3690int
3691main (void)
3692{
3693FILE *f = fopen ("conftest.out", "w");
3694 return ferror (f) || fclose (f) != 0;
3695
3696 ;
3697 return 0;
3698}
3699_ACEOF
3700ac_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
3704printf %s "checking whether we are cross compiling... " >&6; }
3705if test "$cross_compiling" != yes; then
3706 { { ac_try="$ac_link"
3707case "(($ac_try" in
3708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3709 *) ac_try_echo=$ac_try;;
3710esac
3711eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3712printf "%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;;
3721esac
3722eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3723printf "%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
3734printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3735as_fn_error 77 "cannot run C compiled programs.
3736If you meant to cross compile, use \`--host'.
3737See \`config.log' for more details" "$LINENO" 5; }
3738 fi
3739 fi
3740fi
3741{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3742printf "%s\n" "$cross_compiling" >&6; }
3743
3744rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3745ac_clean_files=$ac_clean_files_save
3746{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3747printf %s "checking for suffix of object files... " >&6; }
3748if test ${ac_cv_objext+y}
3749then :
3750 printf %s "(cached) " >&6
3751else $as_nop
3752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3753/* end confdefs.h. */
3754
3755int
3756main (void)
3757{
3758
3759 ;
3760 return 0;
3761}
3762_ACEOF
3763rm -f conftest.o conftest.obj
3764if { { ac_try="$ac_compile"
3765case "(($ac_try" in
3766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767 *) ac_try_echo=$ac_try;;
3768esac
3769eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3770printf "%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; }
3775then :
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
3783done
3784else $as_nop
3785 printf "%s\n" "$as_me: failed program was:" >&5
3786sed 's/^/| /' conftest.$ac_ext >&5
3787
3788{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3790as_fn_error $? "cannot compute suffix of object files: cannot compile
3791See \`config.log' for more details" "$LINENO" 5; }
3792fi
3793rm -f conftest.$ac_cv_objext conftest.$ac_ext
3794fi
3795{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3796printf "%s\n" "$ac_cv_objext" >&6; }
3797OBJEXT=$ac_cv_objext
3798ac_objext=$OBJEXT
3799{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3800printf %s "checking whether the compiler supports GNU C... " >&6; }
3801if test ${ac_cv_c_compiler_gnu+y}
3802then :
3803 printf %s "(cached) " >&6
3804else $as_nop
3805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3806/* end confdefs.h. */
3807
3808int
3809main (void)
3810{
3811#ifndef __GNUC__
3812 choke me
3813#endif
3814
3815 ;
3816 return 0;
3817}
3818_ACEOF
3819if ac_fn_c_try_compile "$LINENO"
3820then :
3821 ac_compiler_gnu=yes
3822else $as_nop
3823 ac_compiler_gnu=no
3824fi
3825rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3826ac_cv_c_compiler_gnu=$ac_compiler_gnu
3827
3828fi
3829{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3830printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3831ac_compiler_gnu=$ac_cv_c_compiler_gnu
3832
3833if test $ac_compiler_gnu = yes; then
3834 GCC=yes
3835else
3836 GCC=
3837fi
3838ac_test_CFLAGS=${CFLAGS+y}
3839ac_save_CFLAGS=$CFLAGS
3840{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3841printf %s "checking whether $CC accepts -g... " >&6; }
3842if test ${ac_cv_prog_cc_g+y}
3843then :
3844 printf %s "(cached) " >&6
3845else $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
3853int
3854main (void)
3855{
3856
3857 ;
3858 return 0;
3859}
3860_ACEOF
3861if ac_fn_c_try_compile "$LINENO"
3862then :
3863 ac_cv_prog_cc_g=yes
3864else $as_nop
3865 CFLAGS=""
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867/* end confdefs.h. */
3868
3869int
3870main (void)
3871{
3872
3873 ;
3874 return 0;
3875}
3876_ACEOF
3877if ac_fn_c_try_compile "$LINENO"
3878then :
3879
3880else $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
3886int
3887main (void)
3888{
3889
3890 ;
3891 return 0;
3892}
3893_ACEOF
3894if ac_fn_c_try_compile "$LINENO"
3895then :
3896 ac_cv_prog_cc_g=yes
3897fi
3898rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3899fi
3900rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3901fi
3902rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3903 ac_c_werror_flag=$ac_save_c_werror_flag
3904fi
3905{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3906printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3907if test $ac_test_CFLAGS; then
3908 CFLAGS=$ac_save_CFLAGS
3909elif 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
3915else
3916 if test "$GCC" = yes; then
3917 CFLAGS="-O2"
3918 else
3919 CFLAGS=
3920 fi
3921fi
3922ac_prog_cc_stdc=no
3923if test x$ac_prog_cc_stdc = xno
3924then :
3925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3926printf %s "checking for $CC option to enable C11 features... " >&6; }
3927if test ${ac_cv_prog_cc_c11+y}
3928then :
3929 printf %s "(cached) " >&6
3930else $as_nop
3931 ac_cv_prog_cc_c11=no
3932ac_save_CC=$CC
3933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934/* end confdefs.h. */
3935$ac_c_conftest_c11_program
3936_ACEOF
3937for ac_arg in '' -std=gnu11
3938do
3939 CC="$ac_save_CC $ac_arg"
3940 if ac_fn_c_try_compile "$LINENO"
3941then :
3942 ac_cv_prog_cc_c11=$ac_arg
3943fi
3944rm -f core conftest.err conftest.$ac_objext conftest.beam
3945 test "x$ac_cv_prog_cc_c11" != "xno" && break
3946done
3947rm -f conftest.$ac_ext
3948CC=$ac_save_CC
3949fi
3950
3951if test "x$ac_cv_prog_cc_c11" = xno
3952then :
3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3954printf "%s\n" "unsupported" >&6; }
3955else $as_nop
3956 if test "x$ac_cv_prog_cc_c11" = x
3957then :
3958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3959printf "%s\n" "none needed" >&6; }
3960else $as_nop
3961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3962printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3963 CC="$CC $ac_cv_prog_cc_c11"
3964fi
3965 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3966 ac_prog_cc_stdc=c11
3967fi
3968fi
3969if test x$ac_prog_cc_stdc = xno
3970then :
3971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3972printf %s "checking for $CC option to enable C99 features... " >&6; }
3973if test ${ac_cv_prog_cc_c99+y}
3974then :
3975 printf %s "(cached) " >&6
3976else $as_nop
3977 ac_cv_prog_cc_c99=no
3978ac_save_CC=$CC
3979cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980/* end confdefs.h. */
3981$ac_c_conftest_c99_program
3982_ACEOF
3983for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3984do
3985 CC="$ac_save_CC $ac_arg"
3986 if ac_fn_c_try_compile "$LINENO"
3987then :
3988 ac_cv_prog_cc_c99=$ac_arg
3989fi
3990rm -f core conftest.err conftest.$ac_objext conftest.beam
3991 test "x$ac_cv_prog_cc_c99" != "xno" && break
3992done
3993rm -f conftest.$ac_ext
3994CC=$ac_save_CC
3995fi
3996
3997if test "x$ac_cv_prog_cc_c99" = xno
3998then :
3999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4000printf "%s\n" "unsupported" >&6; }
4001else $as_nop
4002 if test "x$ac_cv_prog_cc_c99" = x
4003then :
4004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4005printf "%s\n" "none needed" >&6; }
4006else $as_nop
4007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4008printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4009 CC="$CC $ac_cv_prog_cc_c99"
4010fi
4011 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4012 ac_prog_cc_stdc=c99
4013fi
4014fi
4015if test x$ac_prog_cc_stdc = xno
4016then :
4017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4018printf %s "checking for $CC option to enable C89 features... " >&6; }
4019if test ${ac_cv_prog_cc_c89+y}
4020then :
4021 printf %s "(cached) " >&6
4022else $as_nop
4023 ac_cv_prog_cc_c89=no
4024ac_save_CC=$CC
4025cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026/* end confdefs.h. */
4027$ac_c_conftest_c89_program
4028_ACEOF
4029for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4030do
4031 CC="$ac_save_CC $ac_arg"
4032 if ac_fn_c_try_compile "$LINENO"
4033then :
4034 ac_cv_prog_cc_c89=$ac_arg
4035fi
4036rm -f core conftest.err conftest.$ac_objext conftest.beam
4037 test "x$ac_cv_prog_cc_c89" != "xno" && break
4038done
4039rm -f conftest.$ac_ext
4040CC=$ac_save_CC
4041fi
4042
4043if test "x$ac_cv_prog_cc_c89" = xno
4044then :
4045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4046printf "%s\n" "unsupported" >&6; }
4047else $as_nop
4048 if test "x$ac_cv_prog_cc_c89" = x
4049then :
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4051printf "%s\n" "none needed" >&6; }
4052else $as_nop
4053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4054printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4055 CC="$CC $ac_cv_prog_cc_c89"
4056fi
4057 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4058 ac_prog_cc_stdc=c89
4059fi
4060fi
4061
4062ac_ext=c
4063ac_cpp='$CPP $CPPFLAGS'
4064ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4065ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4066ac_compiler_gnu=$ac_cv_c_compiler_gnu
4067
4068
4069 ac_ext=c
4070ac_cpp='$CPP $CPPFLAGS'
4071ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4072ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4073ac_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
4075printf %s "checking whether $CC understands -c and -o together... " >&6; }
4076if test ${am_cv_prog_cc_c_o+y}
4077then :
4078 printf %s "(cached) " >&6
4079else $as_nop
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081/* end confdefs.h. */
4082
4083int
4084main (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
4111fi
4112{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4113printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4114if 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"
4121fi
4122ac_ext=c
4123ac_cpp='$CPP $CPPFLAGS'
4124ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4125ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4126ac_compiler_gnu=$ac_cv_c_compiler_gnu
4127
4128DEPDIR="${am__leading_dot}deps"
4129
4130ac_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
4133printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4134cat > confinc.mk << 'END'
4135am__doit:
4136 @echo this is the am__doit target >confinc.out
4137.PHONY: am__doit
4138END
4139am__include="#"
4140am__quote=
4141# BSD make does it like this.
4142echo '.include "confinc.mk" # ignored' > confmf.BSD
4143# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4144echo 'include confinc.mk # ignored' > confmf.GNU
4145_am_result=no
4146for 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='' ;;
4159esac ;; #(
4160 *) :
4161 ;;
4162esac
4163 if test "$am__include" != "#"; then
4164 _am_result="yes ($s style)"
4165 break
4166 fi
4167done
4168rm -f confinc.* confmf.*
4169{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4170printf "%s\n" "${_am_result}" >&6; }
4171
4172# Check whether --enable-dependency-tracking was given.
4173if test ${enable_dependency_tracking+y}
4174then :
4175 enableval=$enable_dependency_tracking;
4176fi
4177
4178if test "x$enable_dependency_tracking" != xno; then
4179 am_depcomp="$ac_aux_dir/depcomp"
4180 AMDEPBACKSLASH='\'
4181 am__nodep='_no'
4182fi
4183 if test "x$enable_dependency_tracking" != xno; then
4184 AMDEP_TRUE=
4185 AMDEP_FALSE='#'
4186else
4187 AMDEP_TRUE='#'
4188 AMDEP_FALSE=
4189fi
4190
4191
4192
4193depcc="$CC" am_compiler_list=
4194
4195{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4196printf %s "checking dependency style of $depcc... " >&6; }
4197if test ${am_cv_CC_dependencies_compiler_type+y}
4198then :
4199 printf %s "(cached) " >&6
4200else $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
4302else
4303 am_cv_CC_dependencies_compiler_type=none
4304fi
4305
4306fi
4307{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4308printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4309CCDEPMODE=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='#'
4316else
4317 am__fastdepCC_TRUE='#'
4318 am__fastdepCC_FALSE=
4319fi
4320
4321
4322
4323
4324LIBS="-lm"
4325
4326
4327
4328
4329
4330
4331
4332
4333if 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.
4336set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4337{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338printf %s "checking for $ac_word... " >&6; }
4339if test ${ac_cv_path_PKG_CONFIG+y}
4340then :
4341 printf %s "(cached) " >&6
4342else $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
4349for as_dir in $PATH
4350do
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
4363done
4364 done
4365IFS=$as_save_IFS
4366
4367 ;;
4368esac
4369fi
4370PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4371if test -n "$PKG_CONFIG"; then
4372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4373printf "%s\n" "$PKG_CONFIG" >&6; }
4374else
4375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4376printf "%s\n" "no" >&6; }
4377fi
4378
4379
4380fi
4381if 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.
4384set dummy pkg-config; ac_word=$2
4385{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4386printf %s "checking for $ac_word... " >&6; }
4387if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
4388then :
4389 printf %s "(cached) " >&6
4390else $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
4397for as_dir in $PATH
4398do
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
4411done
4412 done
4413IFS=$as_save_IFS
4414
4415 ;;
4416esac
4417fi
4418ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4419if test -n "$ac_pt_PKG_CONFIG"; then
4420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4421printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
4422else
4423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424printf "%s\n" "no" >&6; }
4425fi
4426
4427 if test "x$ac_pt_PKG_CONFIG" = x; then
4428 PKG_CONFIG=""
4429 else
4430 case $cross_compiling:$ac_tool_warned in
4431yes:)
4432{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4433printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4434ac_tool_warned=yes ;;
4435esac
4436 PKG_CONFIG=$ac_pt_PKG_CONFIG
4437 fi
4438else
4439 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4440fi
4441
4442fi
4443if 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
4446printf %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
4449printf "%s\n" "yes" >&6; }
4450 else
4451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452printf "%s\n" "no" >&6; }
4453 PKG_CONFIG=""
4454 fi
4455fi
4456
4457
4458pkg_failed=no
4459{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for x11 xext xpm" >&5
4460printf %s "checking for x11 xext xpm... " >&6; }
4461
4462if 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
4473else
4474 pkg_failed=yes
4475fi
4476 else
4477 pkg_failed=untried
4478fi
4479if 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
4490else
4491 pkg_failed=yes
4492fi
4493 else
4494 pkg_failed=untried
4495fi
4496
4497
4498
4499if test $pkg_failed = yes; then
4500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4501printf "%s\n" "no" >&6; }
4502
4503if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4504 _pkg_short_errors_supported=yes
4505else
4506 _pkg_short_errors_supported=no
4507fi
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
4520Consider adjusting the PKG_CONFIG_PATH environment variable if you
4521installed software in a non-standard prefix.
4522
4523Alternatively, you may set the environment variables X11_CFLAGS
4524and X11_LIBS to avoid the need to call pkg-config.
4525See the pkg-config man page for more details." "$LINENO" 5
4526elif test $pkg_failed = untried; then
4527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528printf "%s\n" "no" >&6; }
4529 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4530printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4531as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4532is in your PATH or set the PKG_CONFIG environment variable to the full
4533path to pkg-config.
4534
4535Alternatively, you may set the environment variables X11_CFLAGS
4536and X11_LIBS to avoid the need to call pkg-config.
4537See the pkg-config man page for more details.
4538
4539To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4540See \`config.log' for more details" "$LINENO" 5; }
4541else
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
4545printf "%s\n" "yes" >&6; }
4546
4547fi
4548
4549pkg_failed=no
4550{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 gmodule-2.0" >&5
4551printf %s "checking for gtk+-3.0 gmodule-2.0... " >&6; }
4552
4553if 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
4564else
4565 pkg_failed=yes
4566fi
4567 else
4568 pkg_failed=untried
4569fi
4570if 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
4581else
4582 pkg_failed=yes
4583fi
4584 else
4585 pkg_failed=untried
4586fi
4587
4588
4589
4590if test $pkg_failed = yes; then
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4592printf "%s\n" "no" >&6; }
4593
4594if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
4595 _pkg_short_errors_supported=yes
4596else
4597 _pkg_short_errors_supported=no
4598fi
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
4611Consider adjusting the PKG_CONFIG_PATH environment variable if you
4612installed software in a non-standard prefix.
4613
4614Alternatively, you may set the environment variables GTK_CFLAGS
4615and GTK_LIBS to avoid the need to call pkg-config.
4616See the pkg-config man page for more details." "$LINENO" 5
4617elif test $pkg_failed = untried; then
4618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4619printf "%s\n" "no" >&6; }
4620 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4621printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4622as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
4623is in your PATH or set the PKG_CONFIG environment variable to the full
4624path to pkg-config.
4625
4626Alternatively, you may set the environment variables GTK_CFLAGS
4627and GTK_LIBS to avoid the need to call pkg-config.
4628See the pkg-config man page for more details.
4629
4630To get pkg-config, see <http://pkg-config.freedesktop.org/>.
4631See \`config.log' for more details" "$LINENO" 5; }
4632else
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
4636printf "%s\n" "yes" >&6; }
4637
4638fi
4639
4640# check for availability of double buffering
4641LIBS="$X11_LIBS"
4642
4643ac_fn_c_check_func "$LINENO" "XdbeAllocateBackBufferName" "ac_cv_func_XdbeAllocateBackBufferName"
4644if test "x$ac_cv_func_XdbeAllocateBackBufferName" = xyes
4645then :
4646 printf "%s\n" "#define HAVE_XDBEALLOCATEBACKBUFFERNAME 1" >>confdefs.h
4647
4648fi
4649
4650
4651LIBS="-lm"
4652
4653ac_config_files="$ac_config_files Makefile src/Makefile"
4654
4655cat >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
4683printf "%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
4717if 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
4721printf "%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
4736printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4737 fi
4738fi
4739rm -f confcache
4740
4741test "x$prefix" = xNONE && prefix=$ac_default_prefix
4742# Let make expand exec_prefix.
4743test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4744
4745DEFS=-DHAVE_CONFIG_H
4746
4747ac_libobjs=
4748ac_ltlibobjs=
4749U=
4750for 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'
4758done
4759LIBOBJS=$ac_libobjs
4760
4761LTLIBOBJS=$ac_ltlibobjs
4762
4763
4764{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4765printf %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
4771printf "%s\n" "done" >&6; }
4772 if test -n "$EXEEXT"; then
4773 am__EXEEXT_TRUE=
4774 am__EXEEXT_FALSE='#'
4775else
4776 am__EXEEXT_TRUE='#'
4777 am__EXEEXT_FALSE=
4778fi
4779
4780if test -z "${MAKESELFREP_TRUE}" && test -z "${MAKESELFREP_FALSE}"; then
4781 as_fn_error $? "conditional \"MAKESELFREP\" was never defined.
4782Usually this means the macro was only invoked conditionally." "$LINENO" 5
4783fi
4784if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4785 as_fn_error $? "conditional \"AMDEP\" was never defined.
4786Usually this means the macro was only invoked conditionally." "$LINENO" 5
4787fi
4788if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4789 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4790Usually this means the macro was only invoked conditionally." "$LINENO" 5
4791fi
4792
4793: "${CONFIG_STATUS=./config.status}"
4794ac_write_fail=0
4795ac_clean_files_save=$ac_clean_files
4796ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4797{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4798printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4799as_write_fail=0
4800cat >$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
4807debug=false
4808ac_cs_recheck=false
4809ac_cs_silent=false
4810
4811SHELL=\${CONFIG_SHELL-$SHELL}
4812export SHELL
4813_ASEOF
4814cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4815## -------------------- ##
4816## M4sh Initialization. ##
4817## -------------------- ##
4818
4819# Be more Bourne compatible
4820DUALCASE=1; export DUALCASE # for MKS sh
4821as_nop=:
4822if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4823then :
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
4830else $as_nop
4831 case `(set -o) 2>/dev/null` in #(
4832 *posix*) :
4833 set -o posix ;; #(
4834 *) :
4835 ;;
4836esac
4837fi
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.
4848as_nl='
4849'
4850export as_nl
4851IFS=" "" $as_nl"
4852
4853PS1='$ '
4854PS2='> '
4855PS4='+ '
4856
4857# Ensure predictable behavior from utilities with locale-dependent output.
4858LC_ALL=C
4859export LC_ALL
4860LANGUAGE=C
4861export 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).
4868for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4869do eval test \${$as_var+y} \
4870 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4871done
4872
4873# Ensure that fds 0, 1, and 2 are open.
4874if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4875if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4876if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4877
4878# The user is always right.
4879if ${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 }
4885fi
4886
4887
4888# Find who we are. Look in the path if we contain no directory separator.
4889as_myself=
4890case $0 in #((
4891 *[\\/]* ) as_myself=$0 ;;
4892 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893for as_dir in $PATH
4894do
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
4903IFS=$as_save_IFS
4904
4905 ;;
4906esac
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.
4909if test "x$as_myself" = x; then
4910 as_myself=$0
4911fi
4912if 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
4915fi
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.
4924as_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.
4940as_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.
4948as_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.
4958as_fn_unset ()
4959{
4960 { eval $1=; unset $1;}
4961}
4962as_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.
4970if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4971then :
4972 eval 'as_fn_append ()
4973 {
4974 eval $1+=\$2
4975 }'
4976else $as_nop
4977 as_fn_append ()
4978 {
4979 eval $1=\$$1\$2
4980 }
4981fi # 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.
4988if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4989then :
4990 eval 'as_fn_arith ()
4991 {
4992 as_val=$(( $* ))
4993 }'
4994else $as_nop
4995 as_fn_arith ()
4996 {
4997 as_val=`expr "$@" || test $? -eq 1`
4998 }
4999fi # as_fn_arith
5000
5001
5002if expr a : '\(a\)' >/dev/null 2>&1 &&
5003 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5004 as_expr=expr
5005else
5006 as_expr=false
5007fi
5008
5009if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5010 as_basename=basename
5011else
5012 as_basename=false
5013fi
5014
5015if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5016 as_dirname=dirname
5017else
5018 as_dirname=false
5019fi
5020
5021as_me=`$as_basename -- "$0" ||
5022$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5023 X"$0" : 'X\(//\)$' \| \
5024 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5025printf "%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.
5041as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5042as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5043as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5044as_cr_digits='0123456789'
5045as_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.
5051ECHO_C= ECHO_N= ECHO_T=
5052case `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';;
5062esac
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.
5067as_echo='printf %s\n'
5068as_echo_n='printf %s'
5069
5070rm -f conf$$ conf$$.exe conf$$.file
5071if test -d conf$$.dir; then
5072 rm -f conf$$.dir/conf$$.file
5073else
5074 rm -f conf$$.dir
5075 mkdir conf$$.dir 2>/dev/null
5076fi
5077if (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
5091else
5092 as_ln_s='cp -pR'
5093fi
5094rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5095rmdir conf$$.dir 2>/dev/null
5096
5097
5098# as_fn_mkdir_p
5099# -------------
5100# Create "$as_dir" as a directory, including parents if necessary.
5101as_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 ||
5120printf "%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
5145if mkdir -p . 2>/dev/null; then
5146 as_mkdir_p='mkdir -p "$as_dir"'
5147else
5148 test -d ./-p && rmdir ./-p
5149 as_mkdir_p=false
5150fi
5151
5152
5153# as_fn_executable_p FILE
5154# -----------------------
5155# Test if FILE is an executable regular file.
5156as_fn_executable_p ()
5157{
5158 test -f "$1" && test -x "$1"
5159} # as_fn_executable_p
5160as_test_x='test -x'
5161as_executable_p=as_fn_executable_p
5162
5163# Sed expression to map a string onto a valid CPP name.
5164as_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.
5167as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5168
5169
5170exec 6>&1
5171## ----------------------------------- ##
5172## Main body of $CONFIG_STATUS script. ##
5173## ----------------------------------- ##
5174_ASEOF
5175test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5176
5177cat >>$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.
5181ac_log="
5182This file was extended by xfishtank $as_me 3.1.1, which was
5183generated 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
5191on `(hostname || uname -n) 2>/dev/null | sed 1q`
5192"
5193
5194_ACEOF
5195
5196case $ac_config_files in *"
5197"*) set x $ac_config_files; shift; ac_config_files=$*;;
5198esac
5199
5200case $ac_config_headers in *"
5201"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5202esac
5203
5204
5205cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5206# Files that config.status was made for.
5207config_files="$ac_config_files"
5208config_headers="$ac_config_headers"
5209config_commands="$ac_config_commands"
5210
5211_ACEOF
5212
5213cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5214ac_cs_usage="\
5215\`$as_me' instantiates files and other configuration actions
5216from templates according to the current configuration. Unless the files
5217and actions are specified as TAGs, all are instantiated by default.
5218
5219Usage: $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
5233Configuration files:
5234$config_files
5235
5236Configuration headers:
5237$config_headers
5238
5239Configuration commands:
5240$config_commands
5241
5242Report bugs to <wvermin@gmail.com>.
5243xfishtank home page: <https://www.ratrabbit.nl/ratrabbit/software/xfishtank>."
5244
5245_ACEOF
5246ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5247ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5248cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5249ac_cs_config='$ac_cs_config_escaped'
5250ac_cs_version="\\
5251xfishtank config.status 3.1.1
5252configured by $0, generated by GNU Autoconf 2.71,
5253 with options \\"\$ac_cs_config\\"
5254
5255Copyright (C) 2021 Free Software Foundation, Inc.
5256This config.status script is free software; the Free Software Foundation
5257gives unlimited permission to copy, distribute and modify it."
5258
5259ac_pwd='$ac_pwd'
5260srcdir='$srcdir'
5261INSTALL='$INSTALL'
5262MKDIR_P='$MKDIR_P'
5263AWK='$AWK'
5264test -n "\$AWK" || AWK=awk
5265_ACEOF
5266
5267cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5268# The default lists apply if the user does not specify any file.
5269ac_need_defaults=:
5270while test $# != 0
5271do
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'
5318Try \`$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'
5327Try \`$0 --help' for more information." ;;
5328
5329 *) as_fn_append ac_config_targets " $1"
5330 ac_need_defaults=false ;;
5331
5332 esac
5333 shift
5334done
5335
5336ac_configure_extra_args=
5337
5338if $ac_cs_silent; then
5339 exec 6>/dev/null
5340 ac_configure_extra_args="$ac_configure_extra_args --silent"
5341fi
5342
5343_ACEOF
5344cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5345if \$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 "\$@"
5352fi
5353
5354_ACEOF
5355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5356exec 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
5366cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5367#
5368# INIT-COMMANDS
5369#
5370AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5371
5372_ACEOF
5373
5374cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5375
5376# Handling of arguments.
5377for ac_config_target in $ac_config_targets
5378do
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
5387done
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.
5394if $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
5398fi
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
5425ac_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'.
5430if test -n "$CONFIG_FILES"; then
5431
5432
5433ac_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.
5437if test "x$ac_cr" = x; then
5438 eval ac_cr=\$\'\\r\'
5439fi
5440ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5441if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5442 ac_cs_awk_cr='\\r'
5443else
5444 ac_cs_awk_cr=$ac_cr
5445fi
5446
5447echo '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
5457ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5458ac_delim='%!_!# '
5459for 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
5471done
5472rm -f conf$$subs.sh
5473
5474cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5475cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5476_ACEOF
5477sed -n '
5478h
5479s/^/S["/; s/!.*/"]=/
5480p
5481g
5482s/^[^!]*!//
5483:repl
5484t repl
5485s/'"$ac_delim"'$//
5486t delim
5487:nl
5488h
5489s/\(.\{148\}\)..*/\1/
5490t more1
5491s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5492p
5493n
5494b repl
5495:more1
5496s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5497p
5498g
5499s/.\{148\}//
5500t nl
5501:delim
5502h
5503s/\(.\{148\}\)..*/\1/
5504t more2
5505s/["\\]/\\&/g; s/^/"/; s/$/"/
5506p
5507b
5508:more2
5509s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5510p
5511g
5512s/.\{148\}//
5513t delim
5514' <conf$$subs.awk | sed '
5515/^[^""]/{
5516 N
5517 s/\n//
5518}
5519' >>$CONFIG_STATUS || ac_write_fail=1
5520rm -f conf$$subs.awk
5521cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5522_ACAWK
5523cat >>"\$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
5550cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5551if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5552 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5553else
5554 cat
5555fi < "$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).
5563if test "x$srcdir" = x.; then
5564 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5565h
5566s///
5567s/^/:/
5568s/[ ]*$/:/
5569s/:\$(srcdir):/:/g
5570s/:\${srcdir}:/:/g
5571s/:@srcdir@:/:/g
5572s/^:*//
5573s/:*$//
5574x
5575s/\(=[ ]*\).*/\1/
5576G
5577s/\n//
5578s/^[^=]*=[ ]*$//
5579}'
5580fi
5581
5582cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5583fi # 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'.
5588if test -n "$CONFIG_HEADERS"; then
5589cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5590BEGIN {
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.
5599ac_delim='%!_!# '
5600for 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
5609done
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
5615ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5616sed -n '
5617s/.\{148\}/&'"$ac_delim"'/g
5618t rset
5619:rset
5620s/^[ ]*#[ ]*define[ ][ ]*/ /
5621t def
5622d
5623:def
5624s/\\$//
5625t bsnl
5626s/["\\]/\\&/g
5627s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5628D["\1"]=" \3"/p
5629s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5630d
5631:bsnl
5632s/["\\]/\\&/g
5633s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5634D["\1"]=" \3\\\\\\n"\\/p
5635t cont
5636s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5637t cont
5638d
5639:cont
5640n
5641s/.\{148\}/&'"$ac_delim"'/g
5642t clear
5643:clear
5644s/\\$//
5645t bsnlc
5646s/["\\]/\\&/g; s/^/"/; s/$/"/p
5647d
5648:bsnlc
5649s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5650b cont
5651' <confdefs.h | sed '
5652s/'"$ac_delim"'/"\\\
5653"/g' >>$CONFIG_STATUS || ac_write_fail=1
5654
5655cat >>$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
5689cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5690 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5691fi # test -n "$CONFIG_HEADERS"
5692
5693
5694eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
5695shift
5696for ac_tag
5697do
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
5746printf "%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 ||
5768printf "%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
5789case "$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 ;;
5799esac
5800ac_abs_top_builddir=$ac_pwd
5801ac_abs_builddir=$ac_pwd$ac_dir_suffix
5802# for backward compatibility:
5803ac_top_builddir=$ac_top_build_prefix
5804
5805case $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 ;;
5818esac
5819ac_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
5839cat >>$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.
5842ac_datarootdir_hack=; ac_datarootdir_seen=
5843ac_sed_dataroot='
5844/datarootdir/ {
5845 p
5846 q
5847}
5848/@datadir@/p
5849/@docdir@/p
5850/@infodir@/p
5851/@localedir@/p
5852/@mandir@/p'
5853case `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
5857printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5858_ACEOF
5859cat >>$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' ;;
5867esac
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?
5873cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5874ac_sed_extra="$ac_vpsub
5875$extrasub
5876_ACEOF
5877cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5878:t
5879/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5880s|@configure_input@|$ac_sed_conf_input|;t t
5881s&@top_builddir@&$ac_top_builddir_sub&;t t
5882s&@top_build_prefix@&$ac_top_build_prefix&;t t
5883s&@srcdir@&$ac_srcdir&;t t
5884s&@abs_srcdir@&$ac_abs_srcdir&;t t
5885s&@top_srcdir@&$ac_top_srcdir&;t t
5886s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5887s&@builddir@&$ac_builddir&;t t
5888s&@abs_builddir@&$ac_abs_builddir&;t t
5889s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5890s&@INSTALL@&$ac_INSTALL&;t t
5891s&@MKDIR_P@&$ac_MKDIR_P&;t t
5892$ac_datarootdir_hack
5893"
5894eval 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
5897test -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'
5902which seems to be undefined. Please make sure it is defined" >&5
5903printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5904which 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
5925printf "%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
5939for _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
5946done
5947echo "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 ||
5952printf "%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
5973printf "%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 ;;
5992esac
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 ||
6011printf "%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 ||
6033printf "%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
6059printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6060as_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).
6066See \`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
6077done # for ac_tag
6078
6079
6080as_fn_exit 0
6081_ACEOF
6082ac_clean_files=$ac_clean_files_save
6083
6084test $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.
6096if 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
6107fi
6108if 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
6110printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6111fi
6112
6113
6114if test "x$enable_selfrep" = "xyes"
6115then :
6116 ${MAKE:=make} dist
6117fi
6118
6119
This page took 0.312326 seconds and 4 git commands to generate.