2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for puzzles 20161228.7cae89f.
5 # Report bugs to <anakin@pobox.com>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
201 if (eval "$as_required") 2>/dev/null; then :
206 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 test -z "$as_dir" && as_dir=.
218 for as_base in sh bash ksh sh5; do
219 # Try only shells that exist, to save several forks.
220 as_shell=$as_dir/$as_base
221 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
222 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
223 CONFIG_SHELL=$as_shell as_have_required=yes
224 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
233 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x; then :
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.
247 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 *v*x* | *x*v* ) as_opts=-vx ;;
254 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
255 # Admittedly, this is quite paranoid, since all the known shells bail
256 # out after a failed `exec'.
257 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno; then :
262 $as_echo "$0: This script requires a shell more modern than all"
263 $as_echo "$0: the shells that I found on your system."
264 if test x${ZSH_VERSION+set} = xset ; then
265 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 $as_echo "$0: Please tell bug-autoconf@gnu.org and anakin@pobox.com
269 $0: about your system, including any error possibly output
270 $0: before this message. Then install a modern shell, or
271 $0: manually run the script under such a shell if you do
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Create "$as_dir" as a directory, including parents if necessary.
321 -*) as_dir=./$as_dir;;
323 test -d "$as_dir" || eval $as_mkdir_p || {
327 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
330 as_dirs="'$as_qdir' $as_dirs"
331 as_dir=`$as_dirname -- "$as_dir" ||
332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
333 X"$as_dir" : 'X\(//\)[^/]' \| \
334 X"$as_dir" : 'X\(//\)$' \| \
335 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
336 $as_echo X"$as_dir" |
337 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
354 test -d "$as_dir" && break
356 test -z "$as_dirs" || eval "mkdir $as_dirs"
357 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
362 # as_fn_executable_p FILE
363 # -----------------------
364 # Test if FILE is an executable regular file.
365 as_fn_executable_p ()
367 test -f "$1" && test -x "$1"
368 } # as_fn_executable_p
369 # as_fn_append VAR VALUE
370 # ----------------------
371 # Append the text in VALUE to the end of the definition contained in VAR. Take
372 # advantage of any shell optimizations that allow amortized linear growth over
373 # repeated appends, instead of the typical quadratic growth present in naive
375 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
376 eval 'as_fn_append ()
389 # Perform arithmetic evaluation on the ARGs, and store the result in the
390 # global $as_val. Take advantage of shells that can avoid forks. The arguments
391 # must be portable across $(()) and expr.
392 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
400 as_val=`expr "$@" || test $? -eq 1`
405 # as_fn_error STATUS ERROR [LINENO LOG_FD]
406 # ----------------------------------------
407 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
408 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
409 # script with STATUS, using 1 if that was 0.
412 as_status=$1; test $as_status -eq 0 && as_status=1
414 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
415 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 $as_echo "$as_me: error: $2" >&2
418 as_fn_exit $as_status
421 if expr a : '\(a\)' >/dev/null 2>&1 &&
422 test "X`expr 00001 : '.*\(...\)'`" = X001; then
428 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
434 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
440 as_me=`$as_basename -- "$0" ||
441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
442 X"$0" : 'X\(//\)$' \| \
443 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 sed '/^.*\/\([^/][^/]*\)\/*$/{
459 # Avoid depending upon Character Ranges.
460 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
461 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
462 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
463 as_cr_digits='0123456789'
464 as_cr_alnum=$as_cr_Letters$as_cr_digits
467 as_lineno_1=$LINENO as_lineno_1a=$LINENO
468 as_lineno_2=$LINENO as_lineno_2a=$LINENO
469 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
470 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
471 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
487 chmod +x "$as_me.lineno" ||
488 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
491 # already done that, so ensure we don't try to do so again and fall
492 # in an infinite loop. This has already happened in practice.
493 _as_can_reexec=no; export _as_can_reexec
494 # Don't try to exec as it changes $[0], causing all sort of problems
495 # (the dirname of $[0] is not the place where we might find the
496 # original and so on. Autoconf is especially sensitive to this).
498 # Exit status is that of the last command.
502 ECHO_C= ECHO_N= ECHO_T=
503 case `echo -n x` in #(((((
505 case `echo 'xy\c'` in
506 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 rm -f conf$$ conf$$.exe conf$$.file
516 if test -d conf$$.dir; then
517 rm -f conf$$.dir/conf$$.file
520 mkdir conf$$.dir 2>/dev/null
522 if (echo >conf$$.file) 2>/dev/null; then
523 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 # ... but there are two gotchas:
526 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
527 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
528 # In both cases, we have to default to `cp -pR'.
529 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 elif ln conf$$.file conf$$ 2>/dev/null; then
539 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
540 rmdir conf$$.dir 2>/dev/null
542 if mkdir -p . 2>/dev/null; then
543 as_mkdir_p='mkdir -p "$as_dir"'
545 test -d ./-p && rmdir ./-p
550 as_executable_p=as_fn_executable_p
552 # Sed expression to map a string onto a valid CPP name.
553 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555 # Sed expression to map a string onto a valid variable name.
556 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
559 test -n "$DJDIR" || exec 7<&0 </dev/null
563 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
564 # so uname gets run too.
565 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
570 ac_default_prefix=/usr/local
572 ac_config_libobj_dir=.
579 # Identity of this package.
580 PACKAGE_NAME='puzzles'
581 PACKAGE_TARNAME='puzzles'
582 PACKAGE_VERSION='20161228.7cae89f'
583 PACKAGE_STRING='puzzles 20161228.7cae89f'
584 PACKAGE_BUGREPORT='anakin@pobox.com'
587 ac_unique_file="midend.c"
588 ac_subst_vars='am__EXEEXT_FALSE
627 INSTALL_STRIP_PROGRAM
670 program_transform_name
683 enable_option_checking
685 enable_dependency_tracking
689 ac_precious_vars='build_alias
702 # Initialize some variables set by options.
704 ac_init_version=false
705 ac_unrecognized_opts=
707 # The variables have the same names as the options, with
708 # dashes changed to underlines.
716 program_transform_name=s,x,x,
724 # Installation directory options.
725 # These are left unexpanded so users can "make install exec_prefix=/foo"
726 # and all the variables that are supposed to be based on exec_prefix
727 # by default will actually change.
728 # Use braces instead of parens because sh, perl, etc. also accept them.
729 # (The list follows the same order as the GNU Coding Standards.)
730 bindir='${exec_prefix}/bin'
731 sbindir='${exec_prefix}/sbin'
732 libexecdir='${exec_prefix}/libexec'
733 datarootdir='${prefix}/share'
734 datadir='${datarootdir}'
735 sysconfdir='${prefix}/etc'
736 sharedstatedir='${prefix}/com'
737 localstatedir='${prefix}/var'
738 runstatedir='${localstatedir}/run'
739 includedir='${prefix}/include'
740 oldincludedir='/usr/include'
741 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
742 infodir='${datarootdir}/info'
747 libdir='${exec_prefix}/lib'
748 localedir='${datarootdir}/locale'
749 mandir='${datarootdir}/man'
755 # If the previous option needs an argument, assign it.
756 if test -n "$ac_prev"; then
757 eval $ac_prev=\$ac_option
763 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768 # Accept the important Cygnus configure options, so we can diagnose typos.
770 case $ac_dashdash$ac_option in
774 -bindir | --bindir | --bindi | --bind | --bin | --bi)
776 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
779 -build | --build | --buil | --bui | --bu)
780 ac_prev=build_alias ;;
781 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
782 build_alias=$ac_optarg ;;
784 -cache-file | --cache-file | --cache-fil | --cache-fi \
785 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
786 ac_prev=cache_file ;;
787 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
788 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
789 cache_file=$ac_optarg ;;
792 cache_file=config.cache ;;
794 -datadir | --datadir | --datadi | --datad)
796 -datadir=* | --datadir=* | --datadi=* | --datad=*)
797 datadir=$ac_optarg ;;
799 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
800 | --dataroo | --dataro | --datar)
801 ac_prev=datarootdir ;;
802 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
803 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
804 datarootdir=$ac_optarg ;;
806 -disable-* | --disable-*)
807 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
808 # Reject names that are not valid shell variable names.
809 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
810 as_fn_error $? "invalid feature name: $ac_useropt"
811 ac_useropt_orig=$ac_useropt
812 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
813 case $ac_user_opts in
817 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
818 ac_unrecognized_sep=', ';;
820 eval enable_$ac_useropt=no ;;
822 -docdir | --docdir | --docdi | --doc | --do)
824 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
827 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
829 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
832 -enable-* | --enable-*)
833 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
834 # Reject names that are not valid shell variable names.
835 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
836 as_fn_error $? "invalid feature name: $ac_useropt"
837 ac_useropt_orig=$ac_useropt
838 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
839 case $ac_user_opts in
843 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
844 ac_unrecognized_sep=', ';;
846 eval enable_$ac_useropt=\$ac_optarg ;;
848 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
849 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
850 | --exec | --exe | --ex)
851 ac_prev=exec_prefix ;;
852 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
853 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
854 | --exec=* | --exe=* | --ex=*)
855 exec_prefix=$ac_optarg ;;
857 -gas | --gas | --ga | --g)
858 # Obsolete; use --with-gas.
861 -help | --help | --hel | --he | -h)
863 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
864 ac_init_help=recursive ;;
865 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
866 ac_init_help=short ;;
868 -host | --host | --hos | --ho)
869 ac_prev=host_alias ;;
870 -host=* | --host=* | --hos=* | --ho=*)
871 host_alias=$ac_optarg ;;
873 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
875 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
877 htmldir=$ac_optarg ;;
879 -includedir | --includedir | --includedi | --included | --include \
880 | --includ | --inclu | --incl | --inc)
881 ac_prev=includedir ;;
882 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
883 | --includ=* | --inclu=* | --incl=* | --inc=*)
884 includedir=$ac_optarg ;;
886 -infodir | --infodir | --infodi | --infod | --info | --inf)
888 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
889 infodir=$ac_optarg ;;
891 -libdir | --libdir | --libdi | --libd)
893 -libdir=* | --libdir=* | --libdi=* | --libd=*)
896 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
897 | --libexe | --libex | --libe)
898 ac_prev=libexecdir ;;
899 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
900 | --libexe=* | --libex=* | --libe=*)
901 libexecdir=$ac_optarg ;;
903 -localedir | --localedir | --localedi | --localed | --locale)
905 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
906 localedir=$ac_optarg ;;
908 -localstatedir | --localstatedir | --localstatedi | --localstated \
909 | --localstate | --localstat | --localsta | --localst | --locals)
910 ac_prev=localstatedir ;;
911 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
912 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
913 localstatedir=$ac_optarg ;;
915 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
917 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
921 # Obsolete; use --without-fp.
924 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
925 | --no-cr | --no-c | -n)
928 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
929 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
932 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
933 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
934 | --oldin | --oldi | --old | --ol | --o)
935 ac_prev=oldincludedir ;;
936 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
937 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
938 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
939 oldincludedir=$ac_optarg ;;
941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
946 -program-prefix | --program-prefix | --program-prefi | --program-pref \
947 | --program-pre | --program-pr | --program-p)
948 ac_prev=program_prefix ;;
949 -program-prefix=* | --program-prefix=* | --program-prefi=* \
950 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
951 program_prefix=$ac_optarg ;;
953 -program-suffix | --program-suffix | --program-suffi | --program-suff \
954 | --program-suf | --program-su | --program-s)
955 ac_prev=program_suffix ;;
956 -program-suffix=* | --program-suffix=* | --program-suffi=* \
957 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
958 program_suffix=$ac_optarg ;;
960 -program-transform-name | --program-transform-name \
961 | --program-transform-nam | --program-transform-na \
962 | --program-transform-n | --program-transform- \
963 | --program-transform | --program-transfor \
964 | --program-transfo | --program-transf \
965 | --program-trans | --program-tran \
966 | --progr-tra | --program-tr | --program-t)
967 ac_prev=program_transform_name ;;
968 -program-transform-name=* | --program-transform-name=* \
969 | --program-transform-nam=* | --program-transform-na=* \
970 | --program-transform-n=* | --program-transform-=* \
971 | --program-transform=* | --program-transfor=* \
972 | --program-transfo=* | --program-transf=* \
973 | --program-trans=* | --program-tran=* \
974 | --progr-tra=* | --program-tr=* | --program-t=*)
975 program_transform_name=$ac_optarg ;;
977 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
979 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
982 -psdir | --psdir | --psdi | --psd | --ps)
984 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
987 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988 | -silent | --silent | --silen | --sile | --sil)
991 -runstatedir | --runstatedir | --runstatedi | --runstated \
992 | --runstate | --runstat | --runsta | --runst | --runs \
993 | --run | --ru | --r)
994 ac_prev=runstatedir ;;
995 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
996 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
997 | --run=* | --ru=* | --r=*)
998 runstatedir=$ac_optarg ;;
1000 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1002 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1004 sbindir=$ac_optarg ;;
1006 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1007 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1008 | --sharedst | --shareds | --shared | --share | --shar \
1010 ac_prev=sharedstatedir ;;
1011 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1012 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1013 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1015 sharedstatedir=$ac_optarg ;;
1017 -site | --site | --sit)
1019 -site=* | --site=* | --sit=*)
1022 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1024 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1025 srcdir=$ac_optarg ;;
1027 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1028 | --syscon | --sysco | --sysc | --sys | --sy)
1029 ac_prev=sysconfdir ;;
1030 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1031 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1032 sysconfdir=$ac_optarg ;;
1034 -target | --target | --targe | --targ | --tar | --ta | --t)
1035 ac_prev=target_alias ;;
1036 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1037 target_alias=$ac_optarg ;;
1039 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1042 -version | --version | --versio | --versi | --vers | -V)
1043 ac_init_version=: ;;
1046 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error $? "invalid package name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1059 eval with_$ac_useropt=\$ac_optarg ;;
1061 -without-* | --without-*)
1062 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1065 as_fn_error $? "invalid package name: $ac_useropt"
1066 ac_useropt_orig=$ac_useropt
1067 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1068 case $ac_user_opts in
1072 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1073 ac_unrecognized_sep=', ';;
1075 eval with_$ac_useropt=no ;;
1078 # Obsolete; use --with-x.
1081 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1082 | --x-incl | --x-inc | --x-in | --x-i)
1083 ac_prev=x_includes ;;
1084 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1085 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1086 x_includes=$ac_optarg ;;
1088 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1089 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1090 ac_prev=x_libraries ;;
1091 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1092 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1093 x_libraries=$ac_optarg ;;
1095 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1096 Try \`$0 --help' for more information"
1100 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1101 # Reject names that are not valid shell variable names.
1102 case $ac_envvar in #(
1103 '' | [0-9]* | *[!_$as_cr_alnum]* )
1104 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1106 eval $ac_envvar=\$ac_optarg
1107 export $ac_envvar ;;
1110 # FIXME: should be removed in autoconf 3.0.
1111 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1112 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1113 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1114 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1120 if test -n "$ac_prev"; then
1121 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1122 as_fn_error $? "missing argument to $ac_option"
1125 if test -n "$ac_unrecognized_opts"; then
1126 case $enable_option_checking in
1128 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1129 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1133 # Check all directory arguments for consistency.
1134 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1135 datadir sysconfdir sharedstatedir localstatedir includedir \
1136 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1137 libdir localedir mandir runstatedir
1139 eval ac_val=\$$ac_var
1140 # Remove trailing slashes.
1143 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1144 eval $ac_var=\$ac_val;;
1146 # Be sure to have absolute directory names.
1148 [\\/$]* | ?:[\\/]* ) continue;;
1149 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1151 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1159 target=$target_alias
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x; then
1163 if test "x$build_alias" = x; then
1164 cross_compiling=maybe
1165 elif test "x$build_alias" != "x$host_alias"; then
1171 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1173 test "$silent" = yes && exec 6>/dev/null
1176 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1177 ac_ls_di=`ls -di .` &&
1178 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1179 as_fn_error $? "working directory cannot be determined"
1180 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1181 as_fn_error $? "pwd does not report name of working directory"
1184 # Find the source files, if location was not specified.
1185 if test -z "$srcdir"; then
1186 ac_srcdir_defaulted=yes
1187 # Try the directory containing this script, then the parent directory.
1188 ac_confdir=`$as_dirname -- "$as_myself" ||
1189 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1190 X"$as_myself" : 'X\(//\)[^/]' \| \
1191 X"$as_myself" : 'X\(//\)$' \| \
1192 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1193 $as_echo X"$as_myself" |
1194 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1212 if test ! -r "$srcdir/$ac_unique_file"; then
1216 ac_srcdir_defaulted=no
1218 if test ! -r "$srcdir/$ac_unique_file"; then
1219 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1220 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1222 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1224 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1226 # When building in place, set srcdir=.
1227 if test "$ac_abs_confdir" = "$ac_pwd"; then
1230 # Remove unnecessary trailing slashes from srcdir.
1231 # Double slashes in file names in object file debugging info
1232 # mess up M-x gdb in Emacs.
1234 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1236 for ac_var in $ac_precious_vars; do
1237 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_env_${ac_var}_value=\$${ac_var}
1239 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1240 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1244 # Report the --help message.
1246 if test "$ac_init_help" = "long"; then
1247 # Omit some internal or obsolete options to make the list less imposing.
1248 # This message is too long to be a string in the A/UX 3.1 sh.
1250 \`configure' configures puzzles 20161228.7cae89f to adapt to many kinds of systems.
1252 Usage: $0 [OPTION]... [VAR=VALUE]...
1254 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1255 VAR=VALUE. See below for descriptions of some of the useful variables.
1257 Defaults for the options are specified in brackets.
1260 -h, --help display this help and exit
1261 --help=short display options specific to this package
1262 --help=recursive display the short help of all the included packages
1263 -V, --version display version information and exit
1264 -q, --quiet, --silent do not print \`checking ...' messages
1265 --cache-file=FILE cache test results in FILE [disabled]
1266 -C, --config-cache alias for \`--cache-file=config.cache'
1267 -n, --no-create do not create output files
1268 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1270 Installation directories:
1271 --prefix=PREFIX install architecture-independent files in PREFIX
1272 [$ac_default_prefix]
1273 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1276 By default, \`make install' will install all the files in
1277 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1278 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1279 for instance \`--prefix=\$HOME'.
1281 For better control, use the options below.
1283 Fine tuning of the installation directories:
1284 --bindir=DIR user executables [EPREFIX/bin]
1285 --sbindir=DIR system admin executables [EPREFIX/sbin]
1286 --libexecdir=DIR program executables [EPREFIX/libexec]
1287 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1288 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1289 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1290 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1291 --libdir=DIR object code libraries [EPREFIX/lib]
1292 --includedir=DIR C header files [PREFIX/include]
1293 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1294 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1295 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1296 --infodir=DIR info documentation [DATAROOTDIR/info]
1297 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1298 --mandir=DIR man documentation [DATAROOTDIR/man]
1299 --docdir=DIR documentation root [DATAROOTDIR/doc/puzzles]
1300 --htmldir=DIR html documentation [DOCDIR]
1301 --dvidir=DIR dvi documentation [DOCDIR]
1302 --pdfdir=DIR pdf documentation [DOCDIR]
1303 --psdir=DIR ps documentation [DOCDIR]
1309 --program-prefix=PREFIX prepend PREFIX to installed program names
1310 --program-suffix=SUFFIX append SUFFIX to installed program names
1311 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1315 if test -n "$ac_init_help"; then
1316 case $ac_init_help in
1317 short | recursive ) echo "Configuration of puzzles 20161228.7cae89f:";;
1322 --disable-option-checking ignore unrecognized --enable/--with options
1323 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1324 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1325 --enable-silent-rules less verbose build output (undo: "make V=1")
1326 --disable-silent-rules verbose build output (undo: "make V=0")
1327 --enable-dependency-tracking
1328 do not reject slow dependency extractors
1329 --disable-dependency-tracking
1330 speeds up one-time build
1331 --disable-gtktest do not try to compile and run a test GTK+ program
1334 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1335 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1336 --with-gtk=VER specify GTK version to use (`2' or `3')
1338 Some influential environment variables:
1339 CC C compiler command
1340 CFLAGS C compiler flags
1341 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1342 nonstandard directory <lib dir>
1343 LIBS libraries to pass to the linker, e.g. -l<library>
1344 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1345 you have headers in a nonstandard directory <include dir>
1346 PKG_CONFIG path to pkg-config utility
1348 directories to add to pkg-config's search path
1350 path overriding pkg-config's built-in search path
1352 Use these variables to override the choices made by `configure' or to help
1353 it to find libraries and programs with nonstandard names/locations.
1355 Report bugs to <anakin@pobox.com>.
1360 if test "$ac_init_help" = "recursive"; then
1361 # If there are subdirs, report their specific --help.
1362 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1363 test -d "$ac_dir" ||
1364 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1369 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1371 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1372 # A ".." for each directory in $ac_dir_suffix.
1373 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1374 case $ac_top_builddir_sub in
1375 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1376 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1379 ac_abs_top_builddir=$ac_pwd
1380 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1381 # for backward compatibility:
1382 ac_top_builddir=$ac_top_build_prefix
1385 .) # We are building in place.
1387 ac_top_srcdir=$ac_top_builddir_sub
1388 ac_abs_top_srcdir=$ac_pwd ;;
1389 [\\/]* | ?:[\\/]* ) # Absolute name.
1390 ac_srcdir=$srcdir$ac_dir_suffix;
1391 ac_top_srcdir=$srcdir
1392 ac_abs_top_srcdir=$srcdir ;;
1394 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1395 ac_top_srcdir=$ac_top_build_prefix$srcdir
1396 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1398 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1400 cd "$ac_dir" || { ac_status=$?; continue; }
1401 # Check for guested configure.
1402 if test -f "$ac_srcdir/configure.gnu"; then
1404 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1405 elif test -f "$ac_srcdir/configure"; then
1407 $SHELL "$ac_srcdir/configure" --help=recursive
1409 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1411 cd "$ac_pwd" || { ac_status=$?; break; }
1415 test -n "$ac_init_help" && exit $ac_status
1416 if $ac_init_version; then
1418 puzzles configure 20161228.7cae89f
1419 generated by GNU Autoconf 2.69
1421 Copyright (C) 2012 Free Software Foundation, Inc.
1422 This configure script is free software; the Free Software Foundation
1423 gives unlimited permission to copy, distribute and modify it.
1428 ## ------------------------ ##
1429 ## Autoconf initialization. ##
1430 ## ------------------------ ##
1432 # ac_fn_c_try_compile LINENO
1433 # --------------------------
1434 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1435 ac_fn_c_try_compile ()
1437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1438 rm -f conftest.$ac_objext
1439 if { { ac_try="$ac_compile"
1441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1442 *) ac_try_echo=$ac_try;;
1444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1445 $as_echo "$ac_try_echo"; } >&5
1446 (eval "$ac_compile") 2>conftest.err
1448 if test -s conftest.err; then
1449 grep -v '^ *+' conftest.err >conftest.er1
1450 cat conftest.er1 >&5
1451 mv -f conftest.er1 conftest.err
1453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1454 test $ac_status = 0; } && {
1455 test -z "$ac_c_werror_flag" ||
1456 test ! -s conftest.err
1457 } && test -s conftest.$ac_objext; then :
1460 $as_echo "$as_me: failed program was:" >&5
1461 sed 's/^/| /' conftest.$ac_ext >&5
1465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1466 as_fn_set_status $ac_retval
1468 } # ac_fn_c_try_compile
1470 # ac_fn_c_try_run LINENO
1471 # ----------------------
1472 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1473 # that executables *can* be run.
1476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1477 if { { ac_try="$ac_link"
1479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1480 *) ac_try_echo=$ac_try;;
1482 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1483 $as_echo "$ac_try_echo"; } >&5
1484 (eval "$ac_link") 2>&5
1486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1488 { { case "(($ac_try" in
1489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1490 *) ac_try_echo=$ac_try;;
1492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1493 $as_echo "$ac_try_echo"; } >&5
1494 (eval "$ac_try") 2>&5
1496 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1497 test $ac_status = 0; }; }; then :
1500 $as_echo "$as_me: program exited with status $ac_status" >&5
1501 $as_echo "$as_me: failed program was:" >&5
1502 sed 's/^/| /' conftest.$ac_ext >&5
1504 ac_retval=$ac_status
1506 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1507 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1508 as_fn_set_status $ac_retval
1512 # ac_fn_c_try_link LINENO
1513 # -----------------------
1514 # Try to link conftest.$ac_ext, and return whether this succeeded.
1517 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1518 rm -f conftest.$ac_objext conftest$ac_exeext
1519 if { { ac_try="$ac_link"
1521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1522 *) ac_try_echo=$ac_try;;
1524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1525 $as_echo "$ac_try_echo"; } >&5
1526 (eval "$ac_link") 2>conftest.err
1528 if test -s conftest.err; then
1529 grep -v '^ *+' conftest.err >conftest.er1
1530 cat conftest.er1 >&5
1531 mv -f conftest.er1 conftest.err
1533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1534 test $ac_status = 0; } && {
1535 test -z "$ac_c_werror_flag" ||
1536 test ! -s conftest.err
1537 } && test -s conftest$ac_exeext && {
1538 test "$cross_compiling" = yes ||
1539 test -x conftest$ac_exeext
1543 $as_echo "$as_me: failed program was:" >&5
1544 sed 's/^/| /' conftest.$ac_ext >&5
1548 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1549 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1550 # interfere with the next link command; also delete a directory that is
1551 # left behind by Apple's compiler. We do this before executing the actions.
1552 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1553 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554 as_fn_set_status $ac_retval
1556 } # ac_fn_c_try_link
1557 cat >config.log <<_ACEOF
1558 This file contains any messages produced by compilers while
1559 running configure, to aid debugging if configure makes a mistake.
1561 It was created by puzzles $as_me 20161228.7cae89f, which was
1562 generated by GNU Autoconf 2.69. Invocation command line was
1574 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1575 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1576 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1577 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1578 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1580 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1581 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1583 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1584 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1585 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1586 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1587 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1588 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1589 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1597 test -z "$as_dir" && as_dir=.
1598 $as_echo "PATH: $as_dir"
1614 # Keep a trace of the command line.
1615 # Strip out --no-create and --no-recursion so they do not pile up.
1616 # Strip out --silent because we don't want to record it for future runs.
1617 # Also quote any args containing shell meta-characters.
1618 # Make two passes to allow for proper duplicate-argument suppression.
1622 ac_must_keep_next=false
1628 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1629 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1630 | -silent | --silent | --silen | --sile | --sil)
1633 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1636 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1638 as_fn_append ac_configure_args1 " '$ac_arg'"
1639 if test $ac_must_keep_next = true; then
1640 ac_must_keep_next=false # Got value, back to normal.
1643 *=* | --config-cache | -C | -disable-* | --disable-* \
1644 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1645 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1646 | -with-* | --with-* | -without-* | --without-* | --x)
1647 case "$ac_configure_args0 " in
1648 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1651 -* ) ac_must_keep_next=true ;;
1654 as_fn_append ac_configure_args " '$ac_arg'"
1659 { ac_configure_args0=; unset ac_configure_args0;}
1660 { ac_configure_args1=; unset ac_configure_args1;}
1662 # When interrupted or exit'd, cleanup temporary files, and complete
1663 # config.log. We remove comments because anyway the quotes in there
1664 # would cause problems or look ugly.
1665 # WARNING: Use '\'' to represent an apostrophe within the trap.
1666 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1667 trap 'exit_status=$?
1668 # Save into config.log some information that might help in debugging.
1672 $as_echo "## ---------------- ##
1673 ## Cache variables. ##
1674 ## ---------------- ##"
1676 # The following way of writing the cache mishandles newlines in values,
1678 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1679 eval ac_val=\$$ac_var
1683 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1684 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1687 _ | IFS | as_nl) ;; #(
1688 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1689 *) { eval $ac_var=; unset $ac_var;} ;;
1694 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1695 *${as_nl}ac_space=\ *)
1697 "s/'\''/'\''\\\\'\'''\''/g;
1698 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1701 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1708 $as_echo "## ----------------- ##
1709 ## Output variables. ##
1710 ## ----------------- ##"
1712 for ac_var in $ac_subst_vars
1714 eval ac_val=\$$ac_var
1716 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1718 $as_echo "$ac_var='\''$ac_val'\''"
1722 if test -n "$ac_subst_files"; then
1723 $as_echo "## ------------------- ##
1724 ## File substitutions. ##
1725 ## ------------------- ##"
1727 for ac_var in $ac_subst_files
1729 eval ac_val=\$$ac_var
1731 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1733 $as_echo "$ac_var='\''$ac_val'\''"
1738 if test -s confdefs.h; then
1739 $as_echo "## ----------- ##
1746 test "$ac_signal" != 0 &&
1747 $as_echo "$as_me: caught signal $ac_signal"
1748 $as_echo "$as_me: exit $exit_status"
1750 rm -f core *.core core.conftest.* &&
1751 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1754 for ac_signal in 1 2 13 15; do
1755 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1759 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1760 rm -f -r conftest* confdefs.h
1762 $as_echo "/* confdefs.h */" > confdefs.h
1764 # Predefined preprocessor variables.
1766 cat >>confdefs.h <<_ACEOF
1767 #define PACKAGE_NAME "$PACKAGE_NAME"
1770 cat >>confdefs.h <<_ACEOF
1771 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_STRING "$PACKAGE_STRING"
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_URL "$PACKAGE_URL"
1791 # Let the site file select an alternate cache file if it wants to.
1792 # Prefer an explicitly selected file to automatically selected ones.
1795 if test -n "$CONFIG_SITE"; then
1796 # We do not want a PATH search for config.site.
1797 case $CONFIG_SITE in #((
1798 -*) ac_site_file1=./$CONFIG_SITE;;
1799 */*) ac_site_file1=$CONFIG_SITE;;
1800 *) ac_site_file1=./$CONFIG_SITE;;
1802 elif test "x$prefix" != xNONE; then
1803 ac_site_file1=$prefix/share/config.site
1804 ac_site_file2=$prefix/etc/config.site
1806 ac_site_file1=$ac_default_prefix/share/config.site
1807 ac_site_file2=$ac_default_prefix/etc/config.site
1809 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1811 test "x$ac_site_file" = xNONE && continue
1812 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1814 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1815 sed 's/^/| /' "$ac_site_file" >&5
1817 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1819 as_fn_error $? "failed to load site script $ac_site_file
1820 See \`config.log' for more details" "$LINENO" 5; }
1824 if test -r "$cache_file"; then
1825 # Some versions of bash will fail to source /dev/null (special files
1826 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1827 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1829 $as_echo "$as_me: loading cache $cache_file" >&6;}
1831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1832 *) . "./$cache_file";;
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1837 $as_echo "$as_me: creating cache $cache_file" >&6;}
1841 # Check that the precious variables saved in the cache have kept the same
1843 ac_cache_corrupted=false
1844 for ac_var in $ac_precious_vars; do
1845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1846 eval ac_new_set=\$ac_env_${ac_var}_set
1847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1848 eval ac_new_val=\$ac_env_${ac_var}_value
1849 case $ac_old_set,$ac_new_set in
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1853 ac_cache_corrupted=: ;;
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1857 ac_cache_corrupted=: ;;
1860 if test "x$ac_old_val" != "x$ac_new_val"; then
1861 # differences in whitespace do not lead to failure.
1862 ac_old_val_w=`echo x $ac_old_val`
1863 ac_new_val_w=`echo x $ac_new_val`
1864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1867 ac_cache_corrupted=:
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1871 eval $ac_var=\$ac_old_val
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1879 # Pass precious variables to config.status.
1880 if test "$ac_new_set" = set; then
1882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1883 *) ac_arg=$ac_var=$ac_new_val ;;
1885 case " $ac_configure_args " in
1886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1891 if $ac_cache_corrupted; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1896 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1898 ## -------------------- ##
1899 ## Main body of script. ##
1900 ## -------------------- ##
1903 ac_cpp='$CPP $CPPFLAGS'
1904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 am__api_version='1.15'
1913 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1914 if test -f "$ac_dir/install-sh"; then
1916 ac_install_sh="$ac_aux_dir/install-sh -c"
1918 elif test -f "$ac_dir/install.sh"; then
1920 ac_install_sh="$ac_aux_dir/install.sh -c"
1922 elif test -f "$ac_dir/shtool"; then
1924 ac_install_sh="$ac_aux_dir/shtool install -c"
1928 if test -z "$ac_aux_dir"; then
1929 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1932 # These three variables are undocumented and unsupported,
1933 # and are intended to be withdrawn in a future Autoconf release.
1934 # They can cause serious problems if a builder's source tree is in a directory
1935 # whose full name contains unusual characters.
1936 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1937 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1938 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1941 # Find a good install program. We prefer a C program (faster),
1942 # so one script is as good as another. But avoid the broken or
1943 # incompatible versions:
1944 # SysV /etc/install, /usr/sbin/install
1945 # SunOS /usr/etc/install
1946 # IRIX /sbin/install
1948 # AmigaOS /C/install, which installs bootblocks on floppy discs
1949 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1950 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1951 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1952 # OS/2's system install, which has a completely different semantic
1953 # ./install, which can be erroneously created by make from ./install.sh.
1954 # Reject install programs that cannot install multiple files.
1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1956 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1957 if test -z "$INSTALL"; then
1958 if ${ac_cv_path_install+:} false; then :
1959 $as_echo_n "(cached) " >&6
1961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1965 test -z "$as_dir" && as_dir=.
1966 # Account for people who put trailing slashes in PATH elements.
1967 case $as_dir/ in #((
1968 ./ | .// | /[cC]/* | \
1969 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1970 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1973 # OSF1 and SCO ODT 3.0 have their own names for install.
1974 # Don't use installbsd from OSF since it installs stuff as root
1976 for ac_prog in ginstall scoinst install; do
1977 for ac_exec_ext in '' $ac_executable_extensions; do
1978 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1979 if test $ac_prog = install &&
1980 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1981 # AIX install. It has an incompatible calling convention.
1983 elif test $ac_prog = install &&
1984 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1985 # program-specific install script used by HP pwplus--don't use.
1988 rm -rf conftest.one conftest.two conftest.dir
1989 echo one > conftest.one
1990 echo two > conftest.two
1992 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1993 test -s conftest.one && test -s conftest.two &&
1994 test -s conftest.dir/conftest.one &&
1995 test -s conftest.dir/conftest.two
1997 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2010 rm -rf conftest.one conftest.two conftest.dir
2013 if test "${ac_cv_path_install+set}" = set; then
2014 INSTALL=$ac_cv_path_install
2016 # As a last resort, use the slow shell script. Don't cache a
2017 # value for INSTALL within a source directory, because that will
2018 # break other packages using the cache if that directory is
2019 # removed, or if the value is a relative name.
2020 INSTALL=$ac_install_sh
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2024 $as_echo "$INSTALL" >&6; }
2026 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2027 # It thinks the first close brace ends the variable substitution.
2028 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2030 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2032 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2035 $as_echo_n "checking whether build environment is sane... " >&6; }
2036 # Reject unsafe characters in $srcdir or the absolute working directory
2037 # name. Accept space and tab only in the latter.
2041 *[\\\"\#\$\&\'\`$am_lf]*)
2042 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2045 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2046 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2049 # Do 'set' in a subshell so we don't clobber the current shell's
2050 # arguments. Must try -L first in case configure is actually a
2051 # symlink; some systems play weird games with the mod time of symlinks
2052 # (eg FreeBSD returns the mod time of the symlink's containing
2056 for am_try in 1 2; do
2057 echo "timestamp, slept: $am_has_slept" > conftest.file
2058 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2059 if test "$*" = "X"; then
2061 set X `ls -t "$srcdir/configure" conftest.file`
2063 if test "$*" != "X $srcdir/configure conftest.file" \
2064 && test "$*" != "X conftest.file $srcdir/configure"; then
2066 # If neither matched, then we have a broken ls. This can happen
2067 # if, for instance, CONFIG_SHELL is bash and it inherits a
2068 # broken ls alias from the environment. This has actually
2069 # happened. Such a system could not be considered "sane".
2070 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2071 alias in your environment" "$LINENO" 5
2073 if test "$2" = conftest.file || test $am_try -eq 2; then
2080 test "$2" = conftest.file
2086 as_fn_error $? "newly created file is older than distributed files!
2087 Check your system clock" "$LINENO" 5
2089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2090 $as_echo "yes" >&6; }
2091 # If we didn't sleep, we still need to ensure time stamps of config.status and
2092 # generated files are strictly newer.
2094 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2101 test "$program_prefix" != NONE &&
2102 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2103 # Use a double $ so make ignores it.
2104 test "$program_suffix" != NONE &&
2105 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2106 # Double any \ or $.
2107 # By default was `s,x,x', remove it if useless.
2108 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2109 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2111 # Expand $ac_aux_dir to an absolute path.
2112 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2114 if test x"${MISSING+set}" != xset; then
2117 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2119 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2122 # Use eval to expand $SHELL
2123 if eval "$MISSING --is-lightweight"; then
2124 am_missing_run="$MISSING "
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2128 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2131 if test x"${install_sh+set}" != xset; then
2134 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2136 install_sh="\${SHELL} $am_aux_dir/install-sh"
2140 # Installed binaries are usually stripped using 'strip' when the user
2141 # run "make install-strip". However 'strip' might not be the right
2142 # tool to use in cross-compilation environments, therefore Automake
2143 # will honor the 'STRIP' environment variable to overrule this program.
2144 if test "$cross_compiling" != no; then
2145 if test -n "$ac_tool_prefix"; then
2146 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2147 set dummy ${ac_tool_prefix}strip; ac_word=$2
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2149 $as_echo_n "checking for $ac_word... " >&6; }
2150 if ${ac_cv_prog_STRIP+:} false; then :
2151 $as_echo_n "(cached) " >&6
2153 if test -n "$STRIP"; then
2154 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160 test -z "$as_dir" && as_dir=.
2161 for ac_exec_ext in '' $ac_executable_extensions; do
2162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2163 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 STRIP=$ac_cv_prog_STRIP
2174 if test -n "$STRIP"; then
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2176 $as_echo "$STRIP" >&6; }
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2179 $as_echo "no" >&6; }
2184 if test -z "$ac_cv_prog_STRIP"; then
2186 # Extract the first word of "strip", so it can be a program name with args.
2187 set dummy strip; ac_word=$2
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2189 $as_echo_n "checking for $ac_word... " >&6; }
2190 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2191 $as_echo_n "(cached) " >&6
2193 if test -n "$ac_ct_STRIP"; then
2194 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2203 ac_cv_prog_ac_ct_STRIP="strip"
2204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2213 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2214 if test -n "$ac_ct_STRIP"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2216 $as_echo "$ac_ct_STRIP" >&6; }
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2219 $as_echo "no" >&6; }
2222 if test "x$ac_ct_STRIP" = x; then
2225 case $cross_compiling:$ac_tool_warned in
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2229 ac_tool_warned=yes ;;
2234 STRIP="$ac_cv_prog_STRIP"
2238 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2241 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2242 if test -z "$MKDIR_P"; then
2243 if ${ac_cv_path_mkdir+:} false; then :
2244 $as_echo_n "(cached) " >&6
2246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2250 test -z "$as_dir" && as_dir=.
2251 for ac_prog in mkdir gmkdir; do
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2254 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2255 'mkdir (GNU coreutils) '* | \
2256 'mkdir (coreutils) '* | \
2257 'mkdir (fileutils) '4.1*)
2258 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2268 test -d ./--version && rmdir ./--version
2269 if test "${ac_cv_path_mkdir+set}" = set; then
2270 MKDIR_P="$ac_cv_path_mkdir -p"
2272 # As a last resort, use the slow shell script. Don't cache a
2273 # value for MKDIR_P within a source directory, because that will
2274 # break other packages using the cache if that directory is
2275 # removed, or if the value is a relative name.
2276 MKDIR_P="$ac_install_sh -d"
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2280 $as_echo "$MKDIR_P" >&6; }
2282 for ac_prog in gawk mawk nawk awk
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2287 $as_echo_n "checking for $ac_word... " >&6; }
2288 if ${ac_cv_prog_AWK+:} false; then :
2289 $as_echo_n "(cached) " >&6
2291 if test -n "$AWK"; then
2292 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2301 ac_cv_prog_AWK="$ac_prog"
2302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2312 if test -n "$AWK"; then
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2314 $as_echo "$AWK" >&6; }
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2317 $as_echo "no" >&6; }
2321 test -n "$AWK" && break
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2325 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2327 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2328 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2329 $as_echo_n "(cached) " >&6
2331 cat >conftest.make <<\_ACEOF
2334 @echo '@@@%%%=$(MAKE)=@@@%%%'
2336 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2337 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2339 eval ac_cv_prog_make_${ac_make}_set=yes;;
2341 eval ac_cv_prog_make_${ac_make}_set=no;;
2345 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2347 $as_echo "yes" >&6; }
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2351 $as_echo "no" >&6; }
2352 SET_MAKE="MAKE=${MAKE-make}"
2355 rm -rf .tst 2>/dev/null
2356 mkdir .tst 2>/dev/null
2357 if test -d .tst; then
2362 rmdir .tst 2>/dev/null
2364 # Check whether --enable-silent-rules was given.
2365 if test "${enable_silent_rules+set}" = set; then :
2366 enableval=$enable_silent_rules;
2369 case $enable_silent_rules in # (((
2370 yes) AM_DEFAULT_VERBOSITY=0;;
2371 no) AM_DEFAULT_VERBOSITY=1;;
2372 *) AM_DEFAULT_VERBOSITY=1;;
2374 am_make=${MAKE-make}
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2376 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2377 if ${am_cv_make_support_nested_variables+:} false; then :
2378 $as_echo_n "(cached) " >&6
2380 if $as_echo 'TRUE=$(BAR$(V))
2386 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2387 am_cv_make_support_nested_variables=yes
2389 am_cv_make_support_nested_variables=no
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2393 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2394 if test $am_cv_make_support_nested_variables = yes; then
2396 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2398 AM_V=$AM_DEFAULT_VERBOSITY
2399 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2403 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2404 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2405 # is not polluted with repeated "-I."
2406 am__isrc=' -I$(srcdir)'
2407 # test to see if srcdir already configured
2408 if test -f $srcdir/config.status; then
2409 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2413 # test whether we have cygpath
2414 if test -z "$CYGPATH_W"; then
2415 if (cygpath --version) >/dev/null 2>/dev/null; then
2416 CYGPATH_W='cygpath -w'
2423 # Define the identity of the package.
2425 VERSION='20161228.7cae89f'
2428 cat >>confdefs.h <<_ACEOF
2429 #define PACKAGE "$PACKAGE"
2433 cat >>confdefs.h <<_ACEOF
2434 #define VERSION "$VERSION"
2437 # Some tools Automake needs.
2439 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2442 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2445 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2448 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2451 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2453 # For better backward compatibility. To be removed once Automake 1.9.x
2454 # dies out for good. For more background, see:
2455 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2456 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2457 mkdir_p='$(MKDIR_P)'
2459 # We need awk for the "check" target (and possibly the TAP driver). The
2460 # system "awk" is bad on some platforms.
2461 # Always define AMTAR for backward compatibility. Yes, it's still used
2462 # in the wild :-( We should find a proper way to deprecate it ...
2466 # We'll loop over all known methods to create a tar archive until one works.
2467 _am_tools='gnutar pax cpio none'
2469 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2476 # POSIX will say in a future version that running "rm -f" with no argument
2477 # is OK; and we want to be able to make that assumption in our Makefile
2478 # recipes. So use an aggressive probe to check that the usage we want is
2479 # actually supported "in the wild" to an acceptable degree.
2480 # See automake bug#10828.
2481 # To make any issue more visible, cause the running configure to be aborted
2482 # by default if the 'rm' program in use doesn't match our expectations; the
2483 # user can still override this though.
2484 if rm -f && rm -fr && rm -rf; then : OK; else
2488 Your 'rm' program seems unable to run without file operands specified
2489 on the command line, even when the '-f' option is present. This is contrary
2490 to the behaviour of most rm programs out there, and not conforming with
2491 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2493 Please tell bug-automake@gnu.org about your system, including the value
2494 of your $PATH and any error possibly output before this message. This
2495 can help us improve future automake versions.
2498 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2499 echo 'Configuration will proceed anyway, since you have set the' >&2
2500 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2504 Aborting the configuration process, to ensure you take notice of the issue.
2506 You can download and install GNU coreutils to get an 'rm' implementation
2507 that behaves properly: <http://www.gnu.org/software/coreutils/>.
2509 If you want to complete the configuration process using your problematic
2510 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2511 to "yes", and re-run configure.
2514 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2519 ac_cpp='$CPP $CPPFLAGS'
2520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2523 if test -n "$ac_tool_prefix"; then
2524 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2525 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if ${ac_cv_prog_CC+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$CC"; then
2532 ac_cv_prog_CC="$CC" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2552 if test -n "$CC"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2554 $as_echo "$CC" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2562 if test -z "$ac_cv_prog_CC"; then
2564 # Extract the first word of "gcc", so it can be a program name with args.
2565 set dummy gcc; ac_word=$2
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2567 $as_echo_n "checking for $ac_word... " >&6; }
2568 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2569 $as_echo_n "(cached) " >&6
2571 if test -n "$ac_ct_CC"; then
2572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2581 ac_cv_prog_ac_ct_CC="gcc"
2582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2592 if test -n "$ac_ct_CC"; then
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2594 $as_echo "$ac_ct_CC" >&6; }
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2597 $as_echo "no" >&6; }
2600 if test "x$ac_ct_CC" = x; then
2603 case $cross_compiling:$ac_tool_warned in
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2606 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2607 ac_tool_warned=yes ;;
2615 if test -z "$CC"; then
2616 if test -n "$ac_tool_prefix"; then
2617 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2618 set dummy ${ac_tool_prefix}cc; ac_word=$2
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2620 $as_echo_n "checking for $ac_word... " >&6; }
2621 if ${ac_cv_prog_CC+:} false; then :
2622 $as_echo_n "(cached) " >&6
2624 if test -n "$CC"; then
2625 ac_cv_prog_CC="$CC" # Let the user override the test.
2627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 test -z "$as_dir" && as_dir=.
2632 for ac_exec_ext in '' $ac_executable_extensions; do
2633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2634 ac_cv_prog_CC="${ac_tool_prefix}cc"
2635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2645 if test -n "$CC"; then
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2647 $as_echo "$CC" >&6; }
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2656 if test -z "$CC"; then
2657 # Extract the first word of "cc", so it can be a program name with args.
2658 set dummy cc; ac_word=$2
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2660 $as_echo_n "checking for $ac_word... " >&6; }
2661 if ${ac_cv_prog_CC+:} false; then :
2662 $as_echo_n "(cached) " >&6
2664 if test -n "$CC"; then
2665 ac_cv_prog_CC="$CC" # Let the user override the test.
2668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2672 test -z "$as_dir" && as_dir=.
2673 for ac_exec_ext in '' $ac_executable_extensions; do
2674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2675 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2676 ac_prog_rejected=yes
2680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2687 if test $ac_prog_rejected = yes; then
2688 # We found a bogon in the path, so make sure we never use it.
2689 set dummy $ac_cv_prog_CC
2691 if test $# != 0; then
2692 # We chose a different compiler from the bogus one.
2693 # However, it has the same basename, so the bogon will be chosen
2694 # first if we set CC to just the basename; use the full file name.
2696 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2702 if test -n "$CC"; then
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2704 $as_echo "$CC" >&6; }
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2707 $as_echo "no" >&6; }
2712 if test -z "$CC"; then
2713 if test -n "$ac_tool_prefix"; then
2714 for ac_prog in cl.exe
2716 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2717 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2719 $as_echo_n "checking for $ac_word... " >&6; }
2720 if ${ac_cv_prog_CC+:} false; then :
2721 $as_echo_n "(cached) " >&6
2723 if test -n "$CC"; then
2724 ac_cv_prog_CC="$CC" # Let the user override the test.
2726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 test -z "$as_dir" && as_dir=.
2731 for ac_exec_ext in '' $ac_executable_extensions; do
2732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2733 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 if test -n "$CC"; then
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2746 $as_echo "$CC" >&6; }
2748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749 $as_echo "no" >&6; }
2753 test -n "$CC" && break
2756 if test -z "$CC"; then
2758 for ac_prog in cl.exe
2760 # Extract the first word of "$ac_prog", so it can be a program name with args.
2761 set dummy $ac_prog; ac_word=$2
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2763 $as_echo_n "checking for $ac_word... " >&6; }
2764 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2765 $as_echo_n "(cached) " >&6
2767 if test -n "$ac_ct_CC"; then
2768 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774 test -z "$as_dir" && as_dir=.
2775 for ac_exec_ext in '' $ac_executable_extensions; do
2776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2777 ac_cv_prog_ac_ct_CC="$ac_prog"
2778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2790 $as_echo "$ac_ct_CC" >&6; }
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2793 $as_echo "no" >&6; }
2797 test -n "$ac_ct_CC" && break
2800 if test "x$ac_ct_CC" = x; then
2803 case $cross_compiling:$ac_tool_warned in
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2806 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2807 ac_tool_warned=yes ;;
2816 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2818 as_fn_error $? "no acceptable C compiler found in \$PATH
2819 See \`config.log' for more details" "$LINENO" 5; }
2821 # Provide some information about the compiler.
2822 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2825 for ac_option in --version -v -V -qversion; do
2826 { { ac_try="$ac_compiler $ac_option >&5"
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2835 if test -s conftest.err; then
2837 ... rest of stderr output deleted ...
2838 10q' conftest.err >conftest.er1
2839 cat conftest.er1 >&5
2841 rm -f conftest.er1 conftest.err
2842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2843 test $ac_status = 0; }
2846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2847 /* end confdefs.h. */
2857 ac_clean_files_save=$ac_clean_files
2858 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2859 # Try to create an executable without -o first, disregard a.out.
2860 # It will help us diagnose broken compilers, and finding out an intuition
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2863 $as_echo_n "checking whether the C compiler works... " >&6; }
2864 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2866 # The possible output files:
2867 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2870 for ac_file in $ac_files
2873 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2874 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2879 if { { ac_try="$ac_link_default"
2881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2882 *) ac_try_echo=$ac_try;;
2884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2885 $as_echo "$ac_try_echo"; } >&5
2886 (eval "$ac_link_default") 2>&5
2888 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2889 test $ac_status = 0; }; then :
2890 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2891 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2892 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2893 # so that the user can short-circuit this test for compilers unknown to
2895 for ac_file in $ac_files ''
2897 test -f "$ac_file" || continue
2899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2902 # We found the default executable, but exeext='' is most
2906 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2908 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2910 # We set ac_cv_exeext here because the later test for it is not
2911 # safe: cross compilers may not add the suffix if given an `-o'
2912 # argument, so we may need to know it at that point already.
2913 # Even if this section looks crufty: it has the advantage of
2920 test "$ac_cv_exeext" = no && ac_cv_exeext=
2925 if test -z "$ac_file"; then :
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2927 $as_echo "no" >&6; }
2928 $as_echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2932 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2933 as_fn_error 77 "C compiler cannot create executables
2934 See \`config.log' for more details" "$LINENO" 5; }
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2937 $as_echo "yes" >&6; }
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2940 $as_echo_n "checking for C compiler default output file name... " >&6; }
2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2942 $as_echo "$ac_file" >&6; }
2943 ac_exeext=$ac_cv_exeext
2945 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2946 ac_clean_files=$ac_clean_files_save
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2948 $as_echo_n "checking for suffix of executables... " >&6; }
2949 if { { ac_try="$ac_link"
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2954 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2955 $as_echo "$ac_try_echo"; } >&5
2956 (eval "$ac_link") 2>&5
2958 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2959 test $ac_status = 0; }; then :
2960 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2961 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2962 # work properly (i.e., refer to `conftest.exe'), while it won't with
2964 for ac_file in conftest.exe conftest conftest.*; do
2965 test -f "$ac_file" || continue
2967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2968 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2976 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2977 See \`config.log' for more details" "$LINENO" 5; }
2979 rm -f conftest conftest$ac_cv_exeext
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2981 $as_echo "$ac_cv_exeext" >&6; }
2983 rm -f conftest.$ac_ext
2984 EXEEXT=$ac_cv_exeext
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2992 FILE *f = fopen ("conftest.out", "w");
2993 return ferror (f) || fclose (f) != 0;
2999 ac_clean_files="$ac_clean_files conftest.out"
3000 # Check that the compiler produces executables we can run. If not, either
3001 # the compiler is broken, or we cross compile.
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3003 $as_echo_n "checking whether we are cross compiling... " >&6; }
3004 if test "$cross_compiling" != yes; then
3005 { { ac_try="$ac_link"
3007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3008 *) ac_try_echo=$ac_try;;
3010 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3011 $as_echo "$ac_try_echo"; } >&5
3012 (eval "$ac_link") 2>&5
3014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3015 test $ac_status = 0; }
3016 if { ac_try='./conftest$ac_cv_exeext'
3017 { { case "(($ac_try" in
3018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3019 *) ac_try_echo=$ac_try;;
3021 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3022 $as_echo "$ac_try_echo"; } >&5
3023 (eval "$ac_try") 2>&5
3025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3026 test $ac_status = 0; }; }; then
3029 if test "$cross_compiling" = maybe; then
3032 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3033 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3034 as_fn_error $? "cannot run C compiled programs.
3035 If you meant to cross compile, use \`--host'.
3036 See \`config.log' for more details" "$LINENO" 5; }
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3041 $as_echo "$cross_compiling" >&6; }
3043 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3044 ac_clean_files=$ac_clean_files_save
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3046 $as_echo_n "checking for suffix of object files... " >&6; }
3047 if ${ac_cv_objext+:} false; then :
3048 $as_echo_n "(cached) " >&6
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h. */
3061 rm -f conftest.o conftest.obj
3062 if { { ac_try="$ac_compile"
3064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3065 *) ac_try_echo=$ac_try;;
3067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3068 $as_echo "$ac_try_echo"; } >&5
3069 (eval "$ac_compile") 2>&5
3071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3072 test $ac_status = 0; }; then :
3073 for ac_file in conftest.o conftest.obj conftest.*; do
3074 test -f "$ac_file" || continue;
3076 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3077 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3082 $as_echo "$as_me: failed program was:" >&5
3083 sed 's/^/| /' conftest.$ac_ext >&5
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $? "cannot compute suffix of object files: cannot compile
3088 See \`config.log' for more details" "$LINENO" 5; }
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3093 $as_echo "$ac_cv_objext" >&6; }
3094 OBJEXT=$ac_cv_objext
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3097 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3098 if ${ac_cv_c_compiler_gnu+:} false; then :
3099 $as_echo_n "(cached) " >&6
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3115 if ac_fn_c_try_compile "$LINENO"; then :
3120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3125 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3126 if test $ac_compiler_gnu = yes; then
3131 ac_test_CFLAGS=${CFLAGS+set}
3132 ac_save_CFLAGS=$CFLAGS
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3134 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3135 if ${ac_cv_prog_cc_g+:} false; then :
3136 $as_echo_n "(cached) " >&6
3138 ac_save_c_werror_flag=$ac_c_werror_flag
3139 ac_c_werror_flag=yes
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3153 if ac_fn_c_try_compile "$LINENO"; then :
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 if ac_fn_c_try_compile "$LINENO"; then :
3171 ac_c_werror_flag=$ac_save_c_werror_flag
3173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3174 /* end confdefs.h. */
3184 if ac_fn_c_try_compile "$LINENO"; then :
3187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192 ac_c_werror_flag=$ac_save_c_werror_flag
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3195 $as_echo "$ac_cv_prog_cc_g" >&6; }
3196 if test "$ac_test_CFLAGS" = set; then
3197 CFLAGS=$ac_save_CFLAGS
3198 elif test $ac_cv_prog_cc_g = yes; then
3199 if test "$GCC" = yes; then
3205 if test "$GCC" = yes; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3212 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3213 if ${ac_cv_prog_cc_c89+:} false; then :
3214 $as_echo_n "(cached) " >&6
3216 ac_cv_prog_cc_c89=no
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3223 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3224 struct buf { int x; };
3225 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3226 static char *e (p, i)
3232 static char *f (char * (*g) (char **, int), char **p, ...)
3237 s = g (p, va_arg (v,int));
3242 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3243 function prototypes and stuff, but not '\xHH' hex character constants.
3244 These don't provoke an error unfortunately, instead are silently treated
3245 as 'x'. The following induces an error, until -std is added to get
3246 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3247 array size at least. It's necessary to write '\x00'==0 to get something
3248 that's true only with -std. */
3249 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3251 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3252 inside strings and character constants. */
3254 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3256 int test (int i, double x);
3257 struct s1 {int (*f) (int a);};
3258 struct s2 {int (*f) (double a);};
3259 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3265 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3270 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3271 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3273 CC="$ac_save_CC $ac_arg"
3274 if ac_fn_c_try_compile "$LINENO"; then :
3275 ac_cv_prog_cc_c89=$ac_arg
3277 rm -f core conftest.err conftest.$ac_objext
3278 test "x$ac_cv_prog_cc_c89" != "xno" && break
3280 rm -f conftest.$ac_ext
3285 case "x$ac_cv_prog_cc_c89" in
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3288 $as_echo "none needed" >&6; } ;;
3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3291 $as_echo "unsupported" >&6; } ;;
3293 CC="$CC $ac_cv_prog_cc_c89"
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3295 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3297 if test "x$ac_cv_prog_cc_c89" != xno; then :
3302 ac_cpp='$CPP $CPPFLAGS'
3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3308 ac_cpp='$CPP $CPPFLAGS'
3309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3313 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3314 if ${am_cv_prog_cc_c_o+:} false; then :
3315 $as_echo_n "(cached) " >&6
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3328 # Make sure it works both with $CC and with simple cc.
3329 # Following AC_PROG_CC_C_O, we do the test twice because some
3330 # compilers refuse to overwrite an existing .o file with -o,
3331 # though they will create one.
3332 am_cv_prog_cc_c_o=yes
3334 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3335 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338 (exit $ac_status); } \
3339 && test -f conftest2.$ac_objext; then
3342 am_cv_prog_cc_c_o=no
3346 rm -f core conftest*
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3350 $as_echo "$am_cv_prog_cc_c_o" >&6; }
3351 if test "$am_cv_prog_cc_c_o" != yes; then
3352 # Losing compiler, so override with the script.
3353 # FIXME: It is wrong to rewrite CC.
3354 # But if we don't then we get into trouble of one sort or another.
3355 # A longer-term fix would be to have automake use am__CC in this case,
3356 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3357 CC="$am_aux_dir/compile $CC"
3360 ac_cpp='$CPP $CPPFLAGS'
3361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3365 DEPDIR="${am__leading_dot}deps"
3367 ac_config_commands="$ac_config_commands depfiles"
3370 am_make=${MAKE-make}
3371 cat > confinc << 'END'
3373 @echo this is the am__doit target
3376 # If we don't find an include directive, just comment out the code.
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3378 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3382 # First try GNU make style include.
3383 echo "include confinc" > confmf
3384 # Ignore all kinds of additional output from 'make'.
3385 case `$am_make -s -f confmf 2> /dev/null` in #(
3386 *the\ am__doit\ target*)
3392 # Now try BSD make style include.
3393 if test "$am__include" = "#"; then
3394 echo '.include "confinc"' > confmf
3395 case `$am_make -s -f confmf 2> /dev/null` in #(
3396 *the\ am__doit\ target*)
3397 am__include=.include
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3406 $as_echo "$_am_result" >&6; }
3407 rm -f confinc confmf
3409 # Check whether --enable-dependency-tracking was given.
3410 if test "${enable_dependency_tracking+set}" = set; then :
3411 enableval=$enable_dependency_tracking;
3414 if test "x$enable_dependency_tracking" != xno; then
3415 am_depcomp="$ac_aux_dir/depcomp"
3419 if test "x$enable_dependency_tracking" != xno; then
3429 depcc="$CC" am_compiler_list=
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3432 $as_echo_n "checking dependency style of $depcc... " >&6; }
3433 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3434 $as_echo_n "(cached) " >&6
3436 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3437 # We make a subdir and do the tests there. Otherwise we can end up
3438 # making bogus files that we don't know about and never remove. For
3439 # instance it was reported that on HP-UX the gcc test will end up
3440 # making a dummy file named 'D' -- because '-MD' means "put the output
3444 # Copy depcomp to subdir because otherwise we won't find it if we're
3445 # using a relative directory.
3446 cp "$am_depcomp" conftest.dir
3448 # We will build objects and dependencies in a subdirectory because
3449 # it helps to detect inapplicable dependency modes. For instance
3450 # both Tru64's cc and ICC support -MD to output dependencies as a
3451 # side effect of compilation, but ICC will put the dependencies in
3452 # the current directory while Tru64 will put them in the object
3456 am_cv_CC_dependencies_compiler_type=none
3457 if test "$am_compiler_list" = ""; then
3458 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3461 case " $depcc " in #(
3462 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3465 for depmode in $am_compiler_list; do
3466 # Setup a source with many dependencies, because some compilers
3467 # like to wrap large dependency lists on column 80 (with \), and
3468 # we should not choose a depcomp mode which is confused by this.
3470 # We need to recreate these files for each test, as the compiler may
3471 # overwrite some of them when testing with obscure command lines.
3472 # This happens at least with the AIX C compiler.
3474 for i in 1 2 3 4 5 6; do
3475 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3476 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3477 # Solaris 10 /bin/sh.
3478 echo '/* dummy */' > sub/conftst$i.h
3480 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3482 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3483 # mode. It turns out that the SunPro C++ compiler does not properly
3484 # handle '-M -o', and we need to detect this. Also, some Intel
3485 # versions had trouble with output in subdirs.
3486 am__obj=sub/conftest.${OBJEXT-o}
3487 am__minus_obj="-o $am__obj"
3490 # This depmode causes a compiler race in universal mode.
3491 test "$am__universal" = false || continue
3494 # After this tag, mechanisms are not by side-effect, so they'll
3495 # only be used when explicitly requested.
3496 if test "x$enable_dependency_tracking" = xyes; then
3502 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3503 # This compiler won't grok '-c -o', but also, the minuso test has
3504 # not run yet. These depmodes are late enough in the game, and
3505 # so weak that their functioning should not be impacted.
3506 am__obj=conftest.${OBJEXT-o}
3511 if depmode=$depmode \
3512 source=sub/conftest.c object=$am__obj \
3513 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3514 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3515 >/dev/null 2>conftest.err &&
3516 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3517 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3518 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3519 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3520 # icc doesn't choke on unknown options, it will just issue warnings
3521 # or remarks (even with -Werror). So we grep stderr for any message
3522 # that says an option was ignored or not supported.
3523 # When given -MP, icc 7.0 and 7.1 complain thusly:
3524 # icc: Command line warning: ignoring option '-M'; no argument required
3525 # The diagnosis changed in icc 8.0:
3526 # icc: Command line remark: option '-MP' not supported
3527 if (grep 'ignoring option' conftest.err ||
3528 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3529 am_cv_CC_dependencies_compiler_type=$depmode
3538 am_cv_CC_dependencies_compiler_type=none
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3543 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3544 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3547 test "x$enable_dependency_tracking" != xno \
3548 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3550 am__fastdepCC_FALSE='#'
3552 am__fastdepCC_TRUE='#'
3553 am__fastdepCC_FALSE=
3559 # Check whether --with-gtk was given.
3560 if test "${with_gtk+set}" = set; then :
3561 withval=$with_gtk; gtk_version_desired="$withval"
3563 gtk_version_desired="any"
3567 case "$gtk_version_desired" in
3569 yes) gtk_version_desired="any" ;;
3570 *) as_fn_error $? "Invalid GTK version specified" "$LINENO" 5
3575 case "$gtk_version_desired:$gtk" in
3580 # Check whether --enable-gtktest was given.
3581 if test "${enable_gtktest+set}" = set; then :
3582 enableval=$enable_gtktest;
3587 min_gtk_version=3.0.0
3589 pkg_config_args="gtk+-3.0 >= $min_gtk_version"
3594 pkg_config_args="$pkg_config_args gthread-2.0"
3601 # Extract the first word of "pkg-config", so it can be a program name with args.
3602 set dummy pkg-config; ac_word=$2
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3604 $as_echo_n "checking for $ac_word... " >&6; }
3605 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3606 $as_echo_n "(cached) " >&6
3610 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
3632 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3633 if test -n "$PKG_CONFIG"; then
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3635 $as_echo "$PKG_CONFIG" >&6; }
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3643 if test x$PKG_CONFIG != xno ; then
3644 if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
3647 echo "*** pkg-config too old; version 0.7 or better required."
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
3656 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
3658 if test x$PKG_CONFIG != xno ; then
3659 ## don't try to run the test against uninstalled libtool libs
3660 if $PKG_CONFIG --uninstalled $pkg_config_args; then
3661 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
3665 if $PKG_CONFIG $pkg_config_args; then
3672 if test x"$no_gtk" = x ; then
3673 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
3674 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
3675 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
3676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3677 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
3678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3679 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
3680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3681 if test "x$enable_gtktest" = "xyes" ; then
3682 ac_save_CFLAGS="$CFLAGS"
3683 ac_save_LIBS="$LIBS"
3684 CFLAGS="$CFLAGS $GTK_CFLAGS"
3685 LIBS="$GTK_LIBS $LIBS"
3687 if test "$cross_compiling" = yes; then :
3688 echo $ac_n "cross compiling; assumed OK... $ac_c"
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3693 #include <gtk/gtk.h>
3700 unsigned int major, minor, micro;
3702 fclose (fopen ("conf.gtktest", "w"));
3704 if (sscanf("$min_gtk_version", "%u.%u.%u", &major, &minor, µ) != 3) {
3705 printf("%s, bad version string\n", "$min_gtk_version");
3709 if ((gtk_major_version != $gtk_config_major_version) ||
3710 (gtk_minor_version != $gtk_config_minor_version) ||
3711 (gtk_micro_version != $gtk_config_micro_version))
3713 printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
3714 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
3715 gtk_major_version, gtk_minor_version, gtk_micro_version);
3716 printf ("*** was found! If pkg-config was correct, then it is best\n");
3717 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
3718 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3719 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3720 printf("*** required on your system.\n");
3721 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
3722 printf("*** to point to the correct configuration files\n");
3724 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
3725 (gtk_minor_version != GTK_MINOR_VERSION) ||
3726 (gtk_micro_version != GTK_MICRO_VERSION))
3728 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
3729 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
3730 printf("*** library (version %d.%d.%d)\n",
3731 gtk_major_version, gtk_minor_version, gtk_micro_version);
3735 if ((gtk_major_version > major) ||
3736 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
3737 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
3743 printf("\n*** An old version of GTK+ (%u.%u.%u) was found.\n",
3744 gtk_major_version, gtk_minor_version, gtk_micro_version);
3745 printf("*** You need a version of GTK+ newer than %u.%u.%u. The latest version of\n",
3746 major, minor, micro);
3747 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
3749 printf("*** If you have already installed a sufficiently new version, this error\n");
3750 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
3751 printf("*** being found. The easiest way to fix this is to remove the old version\n");
3752 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
3753 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
3754 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3755 printf("*** so that the correct libraries are found at run-time))\n");
3762 if ac_fn_c_try_run "$LINENO"; then :
3767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3768 conftest.$ac_objext conftest.beam conftest.$ac_ext
3771 CFLAGS="$ac_save_CFLAGS"
3772 LIBS="$ac_save_LIBS"
3775 if test "x$no_gtk" = x ; then
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
3777 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3781 $as_echo "no" >&6; }
3782 if test "$PKG_CONFIG" = "no" ; then
3783 echo "*** A new enough version of pkg-config was not found."
3784 echo "*** See http://pkgconfig.sourceforge.net"
3786 if test -f conf.gtktest ; then
3789 echo "*** Could not run GTK+ test program, checking why..."
3790 ac_save_CFLAGS="$CFLAGS"
3791 ac_save_LIBS="$LIBS"
3792 CFLAGS="$CFLAGS $GTK_CFLAGS"
3793 LIBS="$LIBS $GTK_LIBS"
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3797 #include <gtk/gtk.h>
3803 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
3808 if ac_fn_c_try_link "$LINENO"; then :
3809 echo "*** The test program compiled, but did not run. This usually means"
3810 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
3811 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
3812 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3813 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3814 echo "*** is required on your system"
3816 echo "*** If you have an old version installed, it is best to remove it, although"
3817 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3819 echo "*** The test program failed to compile or link. See the file config.log for the"
3820 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
3822 rm -f core conftest.err conftest.$ac_objext \
3823 conftest$ac_exeext conftest.$ac_ext
3824 CFLAGS="$ac_save_CFLAGS"
3825 LIBS="$ac_save_LIBS"
3840 case "$gtk_version_desired:$gtk" in
3850 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3851 if test -n "$ac_tool_prefix"; then
3852 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3853 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3855 $as_echo_n "checking for $ac_word... " >&6; }
3856 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3857 $as_echo_n "(cached) " >&6
3861 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3868 test -z "$as_dir" && as_dir=.
3869 for ac_exec_ext in '' $ac_executable_extensions; do
3870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3871 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3883 if test -n "$PKG_CONFIG"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3885 $as_echo "$PKG_CONFIG" >&6; }
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3893 if test -z "$ac_cv_path_PKG_CONFIG"; then
3894 ac_pt_PKG_CONFIG=$PKG_CONFIG
3895 # Extract the first word of "pkg-config", so it can be a program name with args.
3896 set dummy pkg-config; ac_word=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3900 $as_echo_n "(cached) " >&6
3902 case $ac_pt_PKG_CONFIG in
3904 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3911 test -z "$as_dir" && as_dir=.
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3914 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3925 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3926 if test -n "$ac_pt_PKG_CONFIG"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3928 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3934 if test "x$ac_pt_PKG_CONFIG" = x; then
3937 case $cross_compiling:$ac_tool_warned in
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3940 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3941 ac_tool_warned=yes ;;
3943 PKG_CONFIG=$ac_pt_PKG_CONFIG
3946 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3950 if test -n "$PKG_CONFIG"; then
3951 _pkg_min_version=0.9.0
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3953 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3954 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3956 $as_echo "yes" >&6; }
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3959 $as_echo "no" >&6; }
3963 # Check whether --enable-gtktest was given.
3964 if test "${enable_gtktest+set}" = set; then :
3965 enableval=$enable_gtktest;
3971 pkg_config_args=gtk+-2.0
3976 pkg_config_args="$pkg_config_args gthread-2.0"
3991 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3992 if test -n "$ac_tool_prefix"; then
3993 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3994 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if ${ac_cv_path_PKG_CONFIG+:} false; then :
3998 $as_echo_n "(cached) " >&6
4002 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
4005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4009 test -z "$as_dir" && as_dir=.
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4012 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
4024 if test -n "$PKG_CONFIG"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4026 $as_echo "$PKG_CONFIG" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4034 if test -z "$ac_cv_path_PKG_CONFIG"; then
4035 ac_pt_PKG_CONFIG=$PKG_CONFIG
4036 # Extract the first word of "pkg-config", so it can be a program name with args.
4037 set dummy pkg-config; ac_word=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4041 $as_echo_n "(cached) " >&6
4043 case $ac_pt_PKG_CONFIG in
4045 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir=.
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4066 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4067 if test -n "$ac_pt_PKG_CONFIG"; then
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4069 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4072 $as_echo "no" >&6; }
4075 if test "x$ac_pt_PKG_CONFIG" = x; then
4078 case $cross_compiling:$ac_tool_warned in
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4082 ac_tool_warned=yes ;;
4084 PKG_CONFIG=$ac_pt_PKG_CONFIG
4087 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4091 if test -n "$PKG_CONFIG"; then
4092 _pkg_min_version=0.7
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4094 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4095 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4097 $as_echo "yes" >&6; }
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4100 $as_echo "no" >&6; }
4105 min_gtk_version=2.0.0
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
4107 $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
4109 if test x$PKG_CONFIG != xno ; then
4110 ## don't try to run the test against uninstalled libtool libs
4111 if $PKG_CONFIG --uninstalled $pkg_config_args; then
4112 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
4116 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
4123 if test x"$no_gtk" = x ; then
4124 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
4125 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
4126 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
4127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4128 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
4129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4130 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
4131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4132 if test "x$enable_gtktest" = "xyes" ; then
4133 ac_save_CFLAGS="$CFLAGS"
4134 ac_save_LIBS="$LIBS"
4135 CFLAGS="$CFLAGS $GTK_CFLAGS"
4136 LIBS="$GTK_LIBS $LIBS"
4138 if test "$cross_compiling" = yes; then :
4139 echo $ac_n "cross compiling; assumed OK... $ac_c"
4141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4142 /* end confdefs.h. */
4144 #include <gtk/gtk.h>
4151 int major, minor, micro;
4154 fclose (fopen ("conf.gtktest", "w"));
4156 /* HP/UX 9 (%@#!) writes to sscanf strings */
4157 tmp_version = g_strdup("$min_gtk_version");
4158 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
4159 printf("%s, bad version string\n", "$min_gtk_version");
4163 if ((gtk_major_version != $gtk_config_major_version) ||
4164 (gtk_minor_version != $gtk_config_minor_version) ||
4165 (gtk_micro_version != $gtk_config_micro_version))
4167 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
4168 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
4169 gtk_major_version, gtk_minor_version, gtk_micro_version);
4170 printf ("*** was found! If pkg-config was correct, then it is best\n");
4171 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
4172 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4173 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4174 printf("*** required on your system.\n");
4175 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
4176 printf("*** to point to the correct configuration files\n");
4178 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
4179 (gtk_minor_version != GTK_MINOR_VERSION) ||
4180 (gtk_micro_version != GTK_MICRO_VERSION))
4182 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
4183 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
4184 printf("*** library (version %d.%d.%d)\n",
4185 gtk_major_version, gtk_minor_version, gtk_micro_version);
4189 if ((gtk_major_version > major) ||
4190 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
4191 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
4197 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
4198 gtk_major_version, gtk_minor_version, gtk_micro_version);
4199 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
4200 major, minor, micro);
4201 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
4203 printf("*** If you have already installed a sufficiently new version, this error\n");
4204 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
4205 printf("*** being found. The easiest way to fix this is to remove the old version\n");
4206 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
4207 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
4208 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4209 printf("*** so that the correct libraries are found at run-time))\n");
4216 if ac_fn_c_try_run "$LINENO"; then :
4221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4222 conftest.$ac_objext conftest.beam conftest.$ac_ext
4225 CFLAGS="$ac_save_CFLAGS"
4226 LIBS="$ac_save_LIBS"
4229 if test "x$no_gtk" = x ; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
4231 $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235 $as_echo "no" >&6; }
4236 if test "$PKG_CONFIG" = "no" ; then
4237 echo "*** A new enough version of pkg-config was not found."
4238 echo "*** See http://pkgconfig.sourceforge.net"
4240 if test -f conf.gtktest ; then
4243 echo "*** Could not run GTK+ test program, checking why..."
4244 ac_save_CFLAGS="$CFLAGS"
4245 ac_save_LIBS="$LIBS"
4246 CFLAGS="$CFLAGS $GTK_CFLAGS"
4247 LIBS="$LIBS $GTK_LIBS"
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4251 #include <gtk/gtk.h>
4257 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
4262 if ac_fn_c_try_link "$LINENO"; then :
4263 echo "*** The test program compiled, but did not run. This usually means"
4264 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
4265 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
4266 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4267 echo "*** to the installed location Also, make sure you have run ldconfig if that"
4268 echo "*** is required on your system"
4270 echo "*** If you have an old version installed, it is best to remove it, although"
4271 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4273 echo "*** The test program failed to compile or link. See the file config.log for the"
4274 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
4276 rm -f core conftest.err conftest.$ac_objext \
4277 conftest$ac_exeext conftest.$ac_ext
4278 CFLAGS="$ac_save_CFLAGS"
4279 LIBS="$ac_save_LIBS"
4294 if test "$gtk" = "none"; then
4295 as_fn_error $? "cannot build without GTK 2 or GTK 3" "$LINENO" 5
4298 if test "x$GCC" = "xyes"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usable gcc warning flags" >&5
4300 $as_echo_n "checking for usable gcc warning flags... " >&6; }
4302 for flag in -Wall -Werror -std=c89 ; do
4303 ac_save_CFLAGS="$CFLAGS"
4304 ac_save_LIBS="$LIBS"
4305 CFLAGS="$CFLAGS$gccwarningflags $flag $GTK_CFLAGS"
4306 LIBS="$GTK_LIBS $LIBS"
4307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4308 /* end confdefs.h. */
4319 #include <sys/time.h>
4320 #include <sys/resource.h>
4322 #include <gtk/gtk.h>
4323 #include <gdk/gdkkeysyms.h>
4325 #include <gdk-pixbuf/gdk-pixbuf.h>
4327 #include <gdk/gdkx.h>
4328 #include <X11/Xlib.h>
4329 #include <X11/Xutil.h>
4330 #include <X11/Xatom.h>
4342 if ac_fn_c_try_compile "$LINENO"; then :
4343 gccwarningflags="$gccwarningflags $flag"
4345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4346 CFLAGS="$ac_save_CFLAGS"
4347 LIBS="$ac_save_LIBS"
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gccwarningflags" >&5
4350 $as_echo "$gccwarningflags" >&6; }
4351 CFLAGS="$CFLAGS$gccwarningflags"
4354 if test -n "$ac_tool_prefix"; then
4355 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4356 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_RANLIB+:} false; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$RANLIB"; then
4363 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir=.
4370 for ac_exec_ext in '' $ac_executable_extensions; do
4371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4372 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 RANLIB=$ac_cv_prog_RANLIB
4383 if test -n "$RANLIB"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4385 $as_echo "$RANLIB" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4393 if test -z "$ac_cv_prog_RANLIB"; then
4394 ac_ct_RANLIB=$RANLIB
4395 # Extract the first word of "ranlib", so it can be a program name with args.
4396 set dummy ranlib; ac_word=$2
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4398 $as_echo_n "checking for $ac_word... " >&6; }
4399 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 if test -n "$ac_ct_RANLIB"; then
4403 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir=.
4410 for ac_exec_ext in '' $ac_executable_extensions; do
4411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412 ac_cv_prog_ac_ct_RANLIB="ranlib"
4413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4422 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4423 if test -n "$ac_ct_RANLIB"; then
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4425 $as_echo "$ac_ct_RANLIB" >&6; }
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4428 $as_echo "no" >&6; }
4431 if test "x$ac_ct_RANLIB" = x; then
4434 case $cross_compiling:$ac_tool_warned in
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4438 ac_tool_warned=yes ;;
4440 RANLIB=$ac_ct_RANLIB
4443 RANLIB="$ac_cv_prog_RANLIB"
4447 ac_config_files="$ac_config_files Makefile"
4449 cat >confcache <<\_ACEOF
4450 # This file is a shell script that caches the results of configure
4451 # tests run on this system so they can be shared between configure
4452 # scripts and configure runs, see configure's option --config-cache.
4453 # It is not useful on other systems. If it contains results you don't
4454 # want to keep, you may remove or edit it.
4456 # config.status only pays attention to the cache file if you give it
4457 # the --recheck option to rerun configure.
4459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4465 # The following way of writing the cache mishandles newlines in values,
4466 # but we know of no workaround that is simple, portable, and efficient.
4467 # So, we kill variables containing newlines.
4468 # Ultrix sh set writes to stderr and can't be redirected directly,
4469 # and sets the high bit in the cache file unless we assign to the vars.
4471 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4472 eval ac_val=\$$ac_var
4476 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4477 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4480 _ | IFS | as_nl) ;; #(
4481 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4482 *) { eval $ac_var=; unset $ac_var;} ;;
4488 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4489 *${as_nl}ac_space=\ *)
4490 # `set' does not quote correctly, so add quotes: double-quote
4491 # substitution turns \\\\ into \\, and sed turns \\ into \.
4494 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4497 # `set' quotes correctly as required by POSIX, so do not add quotes.
4498 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4507 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4509 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4511 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4512 if test -w "$cache_file"; then
4513 if test "x$cache_file" != "x/dev/null"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4515 $as_echo "$as_me: updating cache $cache_file" >&6;}
4516 if test ! -f "$cache_file" || test -h "$cache_file"; then
4517 cat confcache >"$cache_file"
4519 case $cache_file in #(
4521 mv -f confcache "$cache_file"$$ &&
4522 mv -f "$cache_file"$$ "$cache_file" ;; #(
4524 mv -f confcache "$cache_file" ;;
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4530 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4535 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4536 # Let make expand exec_prefix.
4537 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4539 # Transform confdefs.h into DEFS.
4540 # Protect against shell expansion while executing Makefile rules.
4541 # Protect against Makefile macro expansion.
4543 # If the first sed substitution is executed (which looks for macros that
4544 # take arguments), then branch to the quote section. Otherwise,
4545 # look for a macro that doesn't take arguments.
4555 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4557 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4561 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4574 DEFS=`sed -n "$ac_script" confdefs.h`
4580 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4581 # 1. Remove the extension, and $U if already installed.
4582 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4583 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4584 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4585 # will be set to the directory where LIBOBJS objects are built.
4586 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4587 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4591 LTLIBOBJS=$ac_ltlibobjs
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
4595 $as_echo_n "checking that generated files are newer than configure... " >&6; }
4596 if test -n "$am_sleep_pid"; then
4597 # Hide warnings about reused PIDs.
4598 wait $am_sleep_pid 2>/dev/null
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
4601 $as_echo "done" >&6; }
4602 if test -n "$EXEEXT"; then
4604 am__EXEEXT_FALSE='#'
4610 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4611 as_fn_error $? "conditional \"AMDEP\" was never defined.
4612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4614 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4615 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
4616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
4619 : "${CONFIG_STATUS=./config.status}"
4621 ac_clean_files_save=$ac_clean_files
4622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4624 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4626 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4628 # Generated by $as_me.
4629 # Run this file to recreate the current configuration.
4630 # Compiler output produced by configure, useful for debugging
4631 # configure, is in config.log if it exists.
4637 SHELL=\${CONFIG_SHELL-$SHELL}
4640 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4641 ## -------------------- ##
4642 ## M4sh Initialization. ##
4643 ## -------------------- ##
4645 # Be more Bourne compatible
4646 DUALCASE=1; export DUALCASE # for MKS sh
4647 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4650 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4651 # is contrary to our usage. Disable this feature.
4652 alias -g '${1+"$@"}'='"$@"'
4653 setopt NO_GLOB_SUBST
4655 case `(set -o) 2>/dev/null` in #(
4667 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4668 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4669 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4670 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4671 # Prefer a ksh shell builtin over an external printf program on Solaris,
4672 # but without wasting forks for bash or zsh.
4673 if test -z "$BASH_VERSION$ZSH_VERSION" \
4674 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4675 as_echo='print -r --'
4676 as_echo_n='print -rn --'
4677 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4678 as_echo='printf %s\n'
4679 as_echo_n='printf %s'
4681 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4682 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4683 as_echo_n='/usr/ucb/echo -n'
4685 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4686 as_echo_n_body='eval
4690 expr "X$arg" : "X\\(.*\\)$as_nl";
4691 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4693 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4695 export as_echo_n_body
4696 as_echo_n='sh -c $as_echo_n_body as_echo'
4699 as_echo='sh -c $as_echo_body as_echo'
4702 # The user is always right.
4703 if test "${PATH_SEPARATOR+set}" != set; then
4705 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4706 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4713 # We need space, tab and new line, in precisely that order. Quoting is
4714 # there to prevent editors from complaining about space-tab.
4715 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4716 # splitting by setting IFS to empty value.)
4719 # Find who we are. Look in the path if we contain no directory separator.
4722 *[\\/]* ) as_myself=$0 ;;
4723 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir=.
4728 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4734 # We did not find ourselves, most probably we were run as `sh COMMAND'
4735 # in which case we are not to be found in the path.
4736 if test "x$as_myself" = x; then
4739 if test ! -f "$as_myself"; then
4740 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4744 # Unset variables that we do not need and which cause bugs (e.g. in
4745 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4746 # suppresses any "Segmentation fault" message there. '((' could
4747 # trigger a bug in pdksh 5.2.14.
4748 for as_var in BASH_ENV ENV MAIL MAILPATH
4749 do eval test x\${$as_var+set} = xset \
4750 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4763 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4766 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4767 # ----------------------------------------
4768 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4769 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4770 # script with STATUS, using 1 if that was 0.
4773 as_status=$1; test $as_status -eq 0 && as_status=1
4775 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4776 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4778 $as_echo "$as_me: error: $2" >&2
4779 as_fn_exit $as_status
4783 # as_fn_set_status STATUS
4784 # -----------------------
4785 # Set $? to STATUS, without forking.
4789 } # as_fn_set_status
4793 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4803 # Portably unset VAR.
4806 { eval $1=; unset $1;}
4808 as_unset=as_fn_unset
4809 # as_fn_append VAR VALUE
4810 # ----------------------
4811 # Append the text in VALUE to the end of the definition contained in VAR. Take
4812 # advantage of any shell optimizations that allow amortized linear growth over
4813 # repeated appends, instead of the typical quadratic growth present in naive
4815 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4816 eval 'as_fn_append ()
4827 # as_fn_arith ARG...
4828 # ------------------
4829 # Perform arithmetic evaluation on the ARGs, and store the result in the
4830 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4831 # must be portable across $(()) and expr.
4832 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4833 eval 'as_fn_arith ()
4840 as_val=`expr "$@" || test $? -eq 1`
4845 if expr a : '\(a\)' >/dev/null 2>&1 &&
4846 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4852 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4853 as_basename=basename
4858 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4864 as_me=`$as_basename -- "$0" ||
4865 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4866 X"$0" : 'X\(//\)$' \| \
4867 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4869 sed '/^.*\/\([^/][^/]*\)\/*$/{
4883 # Avoid depending upon Character Ranges.
4884 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4885 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4886 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4887 as_cr_digits='0123456789'
4888 as_cr_alnum=$as_cr_Letters$as_cr_digits
4890 ECHO_C= ECHO_N= ECHO_T=
4891 case `echo -n x` in #(((((
4893 case `echo 'xy\c'` in
4894 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4896 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4903 rm -f conf$$ conf$$.exe conf$$.file
4904 if test -d conf$$.dir; then
4905 rm -f conf$$.dir/conf$$.file
4908 mkdir conf$$.dir 2>/dev/null
4910 if (echo >conf$$.file) 2>/dev/null; then
4911 if ln -s conf$$.file conf$$ 2>/dev/null; then
4913 # ... but there are two gotchas:
4914 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4915 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4916 # In both cases, we have to default to `cp -pR'.
4917 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4919 elif ln conf$$.file conf$$ 2>/dev/null; then
4927 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4928 rmdir conf$$.dir 2>/dev/null
4933 # Create "$as_dir" as a directory, including parents if necessary.
4938 -*) as_dir=./$as_dir;;
4940 test -d "$as_dir" || eval $as_mkdir_p || {
4944 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4945 *) as_qdir=$as_dir;;
4947 as_dirs="'$as_qdir' $as_dirs"
4948 as_dir=`$as_dirname -- "$as_dir" ||
4949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4950 X"$as_dir" : 'X\(//\)[^/]' \| \
4951 X"$as_dir" : 'X\(//\)$' \| \
4952 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4953 $as_echo X"$as_dir" |
4954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4971 test -d "$as_dir" && break
4973 test -z "$as_dirs" || eval "mkdir $as_dirs"
4974 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4978 if mkdir -p . 2>/dev/null; then
4979 as_mkdir_p='mkdir -p "$as_dir"'
4981 test -d ./-p && rmdir ./-p
4986 # as_fn_executable_p FILE
4987 # -----------------------
4988 # Test if FILE is an executable regular file.
4989 as_fn_executable_p ()
4991 test -f "$1" && test -x "$1"
4992 } # as_fn_executable_p
4994 as_executable_p=as_fn_executable_p
4996 # Sed expression to map a string onto a valid CPP name.
4997 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4999 # Sed expression to map a string onto a valid variable name.
5000 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5004 ## ----------------------------------- ##
5005 ## Main body of $CONFIG_STATUS script. ##
5006 ## ----------------------------------- ##
5008 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5011 # Save the log message, to keep $0 and so on meaningful, and to
5012 # report actual input values of CONFIG_FILES etc. instead of their
5013 # values after options handling.
5015 This file was extended by puzzles $as_me 20161228.7cae89f, which was
5016 generated by GNU Autoconf 2.69. Invocation command line was
5018 CONFIG_FILES = $CONFIG_FILES
5019 CONFIG_HEADERS = $CONFIG_HEADERS
5020 CONFIG_LINKS = $CONFIG_LINKS
5021 CONFIG_COMMANDS = $CONFIG_COMMANDS
5024 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5029 case $ac_config_files in *"
5030 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5036 # Files that config.status was made for.
5037 config_files="$ac_config_files"
5038 config_commands="$ac_config_commands"
5042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5044 \`$as_me' instantiates files and other configuration actions
5045 from templates according to the current configuration. Unless the files
5046 and actions are specified as TAGs, all are instantiated by default.
5048 Usage: $0 [OPTION]... [TAG]...
5050 -h, --help print this help, then exit
5051 -V, --version print version number and configuration settings, then exit
5052 --config print configuration, then exit
5053 -q, --quiet, --silent
5054 do not print progress messages
5055 -d, --debug don't remove temporary files
5056 --recheck update $as_me by reconfiguring in the same conditions
5057 --file=FILE[:TEMPLATE]
5058 instantiate the configuration file FILE
5060 Configuration files:
5063 Configuration commands:
5066 Report bugs to <anakin@pobox.com>."
5069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5070 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5072 puzzles config.status 20161228.7cae89f
5073 configured by $0, generated by GNU Autoconf 2.69,
5074 with options \\"\$ac_cs_config\\"
5076 Copyright (C) 2012 Free Software Foundation, Inc.
5077 This config.status script is free software; the Free Software Foundation
5078 gives unlimited permission to copy, distribute and modify it."
5085 test -n "\$AWK" || AWK=awk
5088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5089 # The default lists apply if the user does not specify any file.
5095 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5096 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5100 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5112 # Handling of the options.
5113 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5115 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5116 $as_echo "$ac_cs_version"; exit ;;
5117 --config | --confi | --conf | --con | --co | --c )
5118 $as_echo "$ac_cs_config"; exit ;;
5119 --debug | --debu | --deb | --de | --d | -d )
5121 --file | --fil | --fi | --f )
5124 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5125 '') as_fn_error $? "missing file argument" ;;
5127 as_fn_append CONFIG_FILES " '$ac_optarg'"
5128 ac_need_defaults=false;;
5129 --he | --h | --help | --hel | -h )
5130 $as_echo "$ac_cs_usage"; exit ;;
5131 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5132 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5136 -*) as_fn_error $? "unrecognized option: \`$1'
5137 Try \`$0 --help' for more information." ;;
5139 *) as_fn_append ac_config_targets " $1"
5140 ac_need_defaults=false ;;
5146 ac_configure_extra_args=
5148 if $ac_cs_silent; then
5150 ac_configure_extra_args="$ac_configure_extra_args --silent"
5154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5155 if \$ac_cs_recheck; then
5156 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5158 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5159 CONFIG_SHELL='$SHELL'
5165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5169 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5170 ## Running $as_me. ##
5176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5180 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5186 # Handling of arguments.
5187 for ac_config_target in $ac_config_targets
5189 case $ac_config_target in
5190 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5191 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5193 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5198 # If the user did not use the arguments to specify the items to instantiate,
5199 # then the envvar interface is used. Set only those that are not.
5200 # We use the long form for the default assignment because of an extremely
5201 # bizarre bug on SunOS 4.1.3.
5202 if $ac_need_defaults; then
5203 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5204 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5207 # Have a temporary directory for convenience. Make it in the build tree
5208 # simply because there is no reason against having it here, and in addition,
5209 # creating and moving files from /tmp can sometimes cause problems.
5210 # Hook for its removal unless debugging.
5211 # Note that there is a small window in which the directory will not be cleaned:
5212 # after its creation but before its name has been assigned to `$tmp'.
5216 trap 'exit_status=$?
5218 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5220 trap 'as_fn_exit 1' 1 2 13 15
5222 # Create a (secure) tmp directory for tmp files.
5225 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5229 tmp=./conf$$-$RANDOM
5230 (umask 077 && mkdir "$tmp")
5231 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5234 # Set up the scripts for CONFIG_FILES section.
5235 # No need to generate them if there are no CONFIG_FILES.
5236 # This happens for instance with `./config.status config.h'.
5237 if test -n "$CONFIG_FILES"; then
5240 ac_cr=`echo X | tr X '\015'`
5241 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5242 # But we know of no other shell where ac_cr would be empty at this
5243 # point, so we can use a bashism as a fallback.
5244 if test "x$ac_cr" = x; then
5245 eval ac_cr=\$\'\\r\'
5247 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5248 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5254 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5259 echo "cat >conf$$subs.awk <<_ACEOF" &&
5260 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5263 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5264 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5266 for ac_last_try in false false false false false :; do
5267 . ./conf$$subs.sh ||
5268 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5270 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5271 if test $ac_delim_n = $ac_delim_num; then
5273 elif $ac_last_try; then
5274 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5276 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5282 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5286 s/^/S["/; s/!.*/"]=/
5296 s/\(.\{148\}\)..*/\1/
5298 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5303 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5310 s/\(.\{148\}\)..*/\1/
5312 s/["\\]/\\&/g; s/^/"/; s/$/"/
5316 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5321 ' <conf$$subs.awk | sed '
5326 ' >>$CONFIG_STATUS || ac_write_fail=1
5327 rm -f conf$$subs.awk
5328 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5330 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5331 for (key in S) S_is_set[key] = 1
5337 nfields = split(line, field, "@")
5339 len = length(field[1])
5340 for (i = 2; i < nfields; i++) {
5342 keylen = length(key)
5343 if (S_is_set[key]) {
5345 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5346 len += length(value) + length(field[++i])
5357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5358 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5359 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5362 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5363 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5366 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5367 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5368 # trailing colons and then remove the whole line if VPATH becomes empty
5369 # (actually we leave an empty line to preserve line numbers).
5370 if test "x$srcdir" = x.; then
5371 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5390 fi # test -n "$CONFIG_FILES"
5393 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5398 :[FHLC]) ac_mode=$ac_tag; continue;;
5400 case $ac_mode$ac_tag in
5402 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5403 :[FH]-) ac_tag=-:-;;
5404 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5421 -) ac_f="$ac_tmp/stdin";;
5422 *) # Look for the file first in the build tree, then in the source tree
5423 # (if the path is not absolute). The absolute path cannot be DOS-style,
5424 # because $ac_f cannot contain `:'.
5428 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5430 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5432 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5433 as_fn_append ac_file_inputs " '$ac_f'"
5436 # Let's still pretend it is `configure' which instantiates (i.e., don't
5437 # use $as_me), people would be surprised to read:
5438 # /* config.h. Generated by config.status. */
5439 configure_input='Generated from '`
5440 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5442 if test x"$ac_file" != x-; then
5443 configure_input="$ac_file. $configure_input"
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5445 $as_echo "$as_me: creating $ac_file" >&6;}
5447 # Neutralize special characters interpreted by sed in replacement strings.
5448 case $configure_input in #(
5449 *\&* | *\|* | *\\* )
5450 ac_sed_conf_input=`$as_echo "$configure_input" |
5451 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5452 *) ac_sed_conf_input=$configure_input;;
5456 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5457 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5462 ac_dir=`$as_dirname -- "$ac_file" ||
5463 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5464 X"$ac_file" : 'X\(//\)[^/]' \| \
5465 X"$ac_file" : 'X\(//\)$' \| \
5466 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5467 $as_echo X"$ac_file" |
5468 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5485 as_dir="$ac_dir"; as_fn_mkdir_p
5489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5492 # A ".." for each directory in $ac_dir_suffix.
5493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5494 case $ac_top_builddir_sub in
5495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5499 ac_abs_top_builddir=$ac_pwd
5500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5501 # for backward compatibility:
5502 ac_top_builddir=$ac_top_build_prefix
5505 .) # We are building in place.
5507 ac_top_srcdir=$ac_top_builddir_sub
5508 ac_abs_top_srcdir=$ac_pwd ;;
5509 [\\/]* | ?:[\\/]* ) # Absolute name.
5510 ac_srcdir=$srcdir$ac_dir_suffix;
5511 ac_top_srcdir=$srcdir
5512 ac_abs_top_srcdir=$srcdir ;;
5514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5515 ac_top_srcdir=$ac_top_build_prefix$srcdir
5516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5528 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5529 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5533 [\\/$]* | ?:[\\/]* ) ;;
5534 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5539 # If the template does not know about datarootdir, expand it.
5540 # FIXME: This hack should be removed a few years after 2.60.
5541 ac_datarootdir_hack=; ac_datarootdir_seen=
5552 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5553 *datarootdir*) ac_datarootdir_seen=yes;;
5554 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5556 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5559 ac_datarootdir_hack='
5560 s&@datadir@&$datadir&g
5561 s&@docdir@&$docdir&g
5562 s&@infodir@&$infodir&g
5563 s&@localedir@&$localedir&g
5564 s&@mandir@&$mandir&g
5565 s&\\\${datarootdir}&$datarootdir&g' ;;
5569 # Neutralize VPATH when `$srcdir' = `.'.
5570 # Shell code in configure.ac might set extrasub.
5571 # FIXME: do we really want to maintain this feature?
5572 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5573 ac_sed_extra="$ac_vpsub
5576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5578 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5579 s|@configure_input@|$ac_sed_conf_input|;t t
5580 s&@top_builddir@&$ac_top_builddir_sub&;t t
5581 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5582 s&@srcdir@&$ac_srcdir&;t t
5583 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5584 s&@top_srcdir@&$ac_top_srcdir&;t t
5585 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5586 s&@builddir@&$ac_builddir&;t t
5587 s&@abs_builddir@&$ac_abs_builddir&;t t
5588 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5589 s&@INSTALL@&$ac_INSTALL&;t t
5590 s&@MKDIR_P@&$ac_MKDIR_P&;t t
5591 $ac_datarootdir_hack
5593 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5594 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5596 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5597 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5598 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5599 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5601 which seems to be undefined. Please make sure it is defined" >&5
5602 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5603 which seems to be undefined. Please make sure it is defined" >&2;}
5605 rm -f "$ac_tmp/stdin"
5607 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5608 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5610 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5614 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
5615 $as_echo "$as_me: executing $ac_file commands" >&6;}
5620 case $ac_file$ac_mode in
5621 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5622 # Older Autoconf quotes --file arguments for eval, but not when files
5623 # are listed without --file. Let's play safe and only enable the eval
5624 # if we detect the quoting.
5625 case $CONFIG_FILES in
5626 *\'*) eval set x "$CONFIG_FILES" ;;
5627 *) set x $CONFIG_FILES ;;
5632 # Strip MF so we end up with the name of the file.
5633 mf=`echo "$mf" | sed -e 's/:.*$//'`
5634 # Check whether this is an Automake generated Makefile or not.
5635 # We used to match only the files named 'Makefile.in', but
5636 # some people rename them; so instead we look at the file content.
5637 # Grep'ing the first line is not enough: some people post-process
5638 # each Makefile.in and add a new line on top of each file to say so.
5639 # Grep'ing the whole file is not good either: AIX grep has a line
5640 # limit of 2048, but all sed's we know have understand at least 4000.
5641 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5642 dirpart=`$as_dirname -- "$mf" ||
5643 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5644 X"$mf" : 'X\(//\)[^/]' \| \
5645 X"$mf" : 'X\(//\)$' \| \
5646 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5668 # Extract the definition of DEPDIR, am__include, and am__quote
5669 # from the Makefile without running 'make'.
5670 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5671 test -z "$DEPDIR" && continue
5672 am__include=`sed -n 's/^am__include = //p' < "$mf"`
5673 test -z "$am__include" && continue
5674 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5675 # Find all dependency output files, they are included files with
5676 # $(DEPDIR) in their names. We invoke sed twice because it is the
5677 # simplest approach to changing $(DEPDIR) to its actual value in the
5679 for file in `sed -n "
5680 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5681 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
5682 # Make sure the directory exists.
5683 test -f "$dirpart/$file" && continue
5684 fdir=`$as_dirname -- "$file" ||
5685 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5686 X"$file" : 'X\(//\)[^/]' \| \
5687 X"$file" : 'X\(//\)$' \| \
5688 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5707 as_dir=$dirpart/$fdir; as_fn_mkdir_p
5708 # echo "creating $dirpart/$file"
5709 echo '# dummy' > "$dirpart/$file"
5721 ac_clean_files=$ac_clean_files_save
5723 test $ac_write_fail = 0 ||
5724 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5727 # configure is writing to config.log, and then calls config.status.
5728 # config.status does its own redirection, appending to config.log.
5729 # Unfortunately, on DOS this fails, as config.log is still kept open
5730 # by configure, so config.status won't be able to write to it; its
5731 # output is simply discarded. So we exec the FD to /dev/null,
5732 # effectively closing config.log, so it can be properly (re)opened and
5733 # appended to by config.status. When coming back to configure, we
5734 # need to make the FD available again.
5735 if test "$no_create" != yes; then
5737 ac_config_status_args=
5738 test "$silent" = yes &&
5739 ac_config_status_args="$ac_config_status_args --quiet"
5741 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5743 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5744 # would make configure fail if this is the last instruction.
5745 $ac_cs_success || as_fn_exit 1
5747 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5749 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}