2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for LFSbookja git.
5 # Report bugs to <matsuand AT users DOT osdn DOT me>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
40 # Reset variables that may have inherited troublesome values from
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
56 # Ensure predictable behavior from utilities with locale-dependent output.
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # Find who we are. Look in the path if we contain no directory separator.
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
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 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
129 *v*x* | *x*v* ) as_opts=-vx ;;
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
153 case \`(set -o) 2>/dev/null\` in #(
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
186 if (eval "$as_required") 2>/dev/null
192 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
204 *) as_dir=$as_dir/ ;;
209 for as_base in sh bash ksh sh5; do
210 # Try only shells that exist, to save several forks.
211 as_shell=$as_dir$as_base
212 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
213 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 CONFIG_SHELL=$as_shell as_have_required=yes
216 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
230 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x
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 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
261 if test x$as_have_required = xno
263 printf "%s\n" "$0: This script requires a shell more modern than all"
264 printf "%s\n" "$0: the shells that I found on your system."
265 if test ${ZSH_VERSION+y} ; then
266 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and matsuand AT users
270 $0: DOT osdn DOT me about your system, including any error
271 $0: possibly output before this message. Then install a
272 $0: modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Do nothing but, unlike ":", preserve the value of $?.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir=./$as_dir;;
333 test -d "$as_dir" || eval $as_mkdir_p || {
337 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs="'$as_qdir' $as_dirs"
341 as_dir=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 printf "%s\n" X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" || eval "mkdir $as_dirs"
367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p ()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 eval 'as_fn_append ()
400 # Perform arithmetic evaluation on the ARGs, and store the result in the
401 # global $as_val. Take advantage of shells that can avoid forks. The arguments
402 # must be portable across $(()) and expr.
403 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
412 as_val=`expr "$@" || test $? -eq 1`
418 # Do nothing but, unlike ":", preserve the value of $?.
425 # as_fn_error STATUS ERROR [LINENO LOG_FD]
426 # ----------------------------------------
427 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
428 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
429 # script with STATUS, using 1 if that was 0.
432 as_status=$1; test $as_status -eq 0 && as_status=1
434 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
437 printf "%s\n" "$as_me: error: $2" >&2
438 as_fn_exit $as_status
441 if expr a : '\(a\)' >/dev/null 2>&1 &&
442 test "X`expr 00001 : '.*\(...\)'`" = X001; then
448 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
454 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
460 as_me=`$as_basename -- "$0" ||
461 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
462 X"$0" : 'X\(//\)$' \| \
463 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
464 printf "%s\n" X/"$0" |
465 sed '/^.*\/\([^/][^/]*\)\/*$/{
479 # Avoid depending upon Character Ranges.
480 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
481 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
482 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
483 as_cr_digits='0123456789'
484 as_cr_alnum=$as_cr_Letters$as_cr_digits
487 as_lineno_1=$LINENO as_lineno_1a=$LINENO
488 as_lineno_2=$LINENO as_lineno_2a=$LINENO
489 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
490 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
491 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
503 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
507 chmod +x "$as_me.lineno" ||
508 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
510 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
511 # already done that, so ensure we don't try to do so again and fall
512 # in an infinite loop. This has already happened in practice.
513 _as_can_reexec=no; export _as_can_reexec
514 # Don't try to exec as it changes $[0], causing all sort of problems
515 # (the dirname of $[0] is not the place where we might find the
516 # original and so on. Autoconf is especially sensitive to this).
518 # Exit status is that of the last command.
523 # Determine whether it's possible to make 'echo' print without a newline.
524 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
525 # for compatibility with existing Makefiles.
526 ECHO_C= ECHO_N= ECHO_T=
527 case `echo -n x` in #(((((
529 case `echo 'xy\c'` in
530 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
539 # For backward compatibility with old third-party macros, we provide
540 # the shell variables $as_echo and $as_echo_n. New code should use
541 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
542 as_echo='printf %s\n'
543 as_echo_n='printf %s'
546 rm -f conf$$ conf$$.exe conf$$.file
547 if test -d conf$$.dir; then
548 rm -f conf$$.dir/conf$$.file
551 mkdir conf$$.dir 2>/dev/null
553 if (echo >conf$$.file) 2>/dev/null; then
554 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 # ... but there are two gotchas:
557 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
558 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
559 # In both cases, we have to default to `cp -pR'.
560 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 elif ln conf$$.file conf$$ 2>/dev/null; then
570 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
571 rmdir conf$$.dir 2>/dev/null
573 if mkdir -p . 2>/dev/null; then
574 as_mkdir_p='mkdir -p "$as_dir"'
576 test -d ./-p && rmdir ./-p
581 as_executable_p=as_fn_executable_p
583 # Sed expression to map a string onto a valid CPP name.
584 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
586 # Sed expression to map a string onto a valid variable name.
587 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
590 test -n "$DJDIR" || exec 7<&0 </dev/null
594 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
595 # so uname gets run too.
596 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
601 ac_default_prefix=/usr/local
603 ac_config_libobj_dir=.
610 # Identity of this package.
611 PACKAGE_NAME='LFSbookja'
612 PACKAGE_TARNAME='lfsbookja'
613 PACKAGE_VERSION='git'
614 PACKAGE_STRING='LFSbookja git'
615 PACKAGE_BUGREPORT='matsuand AT users DOT osdn DOT me'
618 ac_subst_vars='am__EXEEXT_FALSE
662 MAINTAINER_MODE_FALSE
676 INSTALL_STRIP_PROGRAM
719 program_transform_name
733 enable_option_checking
735 enable_maintainer_mode
737 enable_dependency_tracking
741 ac_precious_vars='build_alias
751 # Initialize some variables set by options.
753 ac_init_version=false
754 ac_unrecognized_opts=
756 # The variables have the same names as the options, with
757 # dashes changed to underlines.
765 program_transform_name=s,x,x,
773 # Installation directory options.
774 # These are left unexpanded so users can "make install exec_prefix=/foo"
775 # and all the variables that are supposed to be based on exec_prefix
776 # by default will actually change.
777 # Use braces instead of parens because sh, perl, etc. also accept them.
778 # (The list follows the same order as the GNU Coding Standards.)
779 bindir='${exec_prefix}/bin'
780 sbindir='${exec_prefix}/sbin'
781 libexecdir='${exec_prefix}/libexec'
782 datarootdir='${prefix}/share'
783 datadir='${datarootdir}'
784 sysconfdir='${prefix}/etc'
785 sharedstatedir='${prefix}/com'
786 localstatedir='${prefix}/var'
787 runstatedir='${localstatedir}/run'
788 includedir='${prefix}/include'
789 oldincludedir='/usr/include'
790 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
791 infodir='${datarootdir}/info'
796 libdir='${exec_prefix}/lib'
797 localedir='${datarootdir}/locale'
798 mandir='${datarootdir}/man'
804 # If the previous option needs an argument, assign it.
805 if test -n "$ac_prev"; then
806 eval $ac_prev=\$ac_option
812 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
817 case $ac_dashdash$ac_option in
821 -bindir | --bindir | --bindi | --bind | --bin | --bi)
823 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
826 -build | --build | --buil | --bui | --bu)
827 ac_prev=build_alias ;;
828 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
829 build_alias=$ac_optarg ;;
831 -cache-file | --cache-file | --cache-fil | --cache-fi \
832 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
833 ac_prev=cache_file ;;
834 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
835 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
836 cache_file=$ac_optarg ;;
839 cache_file=config.cache ;;
841 -datadir | --datadir | --datadi | --datad)
843 -datadir=* | --datadir=* | --datadi=* | --datad=*)
844 datadir=$ac_optarg ;;
846 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
847 | --dataroo | --dataro | --datar)
848 ac_prev=datarootdir ;;
849 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
850 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
851 datarootdir=$ac_optarg ;;
853 -disable-* | --disable-*)
854 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
855 # Reject names that are not valid shell variable names.
856 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
857 as_fn_error $? "invalid feature name: \`$ac_useropt'"
858 ac_useropt_orig=$ac_useropt
859 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
860 case $ac_user_opts in
864 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
865 ac_unrecognized_sep=', ';;
867 eval enable_$ac_useropt=no ;;
869 -docdir | --docdir | --docdi | --doc | --do)
871 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
874 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
876 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
879 -enable-* | --enable-*)
880 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
881 # Reject names that are not valid shell variable names.
882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
883 as_fn_error $? "invalid feature name: \`$ac_useropt'"
884 ac_useropt_orig=$ac_useropt
885 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
886 case $ac_user_opts in
890 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
891 ac_unrecognized_sep=', ';;
893 eval enable_$ac_useropt=\$ac_optarg ;;
895 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
896 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
897 | --exec | --exe | --ex)
898 ac_prev=exec_prefix ;;
899 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
900 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
901 | --exec=* | --exe=* | --ex=*)
902 exec_prefix=$ac_optarg ;;
904 -gas | --gas | --ga | --g)
905 # Obsolete; use --with-gas.
908 -help | --help | --hel | --he | -h)
910 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
911 ac_init_help=recursive ;;
912 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
913 ac_init_help=short ;;
915 -host | --host | --hos | --ho)
916 ac_prev=host_alias ;;
917 -host=* | --host=* | --hos=* | --ho=*)
918 host_alias=$ac_optarg ;;
920 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
922 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
924 htmldir=$ac_optarg ;;
926 -includedir | --includedir | --includedi | --included | --include \
927 | --includ | --inclu | --incl | --inc)
928 ac_prev=includedir ;;
929 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
930 | --includ=* | --inclu=* | --incl=* | --inc=*)
931 includedir=$ac_optarg ;;
933 -infodir | --infodir | --infodi | --infod | --info | --inf)
935 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
936 infodir=$ac_optarg ;;
938 -libdir | --libdir | --libdi | --libd)
940 -libdir=* | --libdir=* | --libdi=* | --libd=*)
943 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
944 | --libexe | --libex | --libe)
945 ac_prev=libexecdir ;;
946 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
947 | --libexe=* | --libex=* | --libe=*)
948 libexecdir=$ac_optarg ;;
950 -localedir | --localedir | --localedi | --localed | --locale)
952 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
953 localedir=$ac_optarg ;;
955 -localstatedir | --localstatedir | --localstatedi | --localstated \
956 | --localstate | --localstat | --localsta | --localst | --locals)
957 ac_prev=localstatedir ;;
958 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
959 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
960 localstatedir=$ac_optarg ;;
962 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
964 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
968 # Obsolete; use --without-fp.
971 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
972 | --no-cr | --no-c | -n)
975 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
976 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
979 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
980 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
981 | --oldin | --oldi | --old | --ol | --o)
982 ac_prev=oldincludedir ;;
983 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
984 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
985 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
986 oldincludedir=$ac_optarg ;;
988 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
990 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
993 -program-prefix | --program-prefix | --program-prefi | --program-pref \
994 | --program-pre | --program-pr | --program-p)
995 ac_prev=program_prefix ;;
996 -program-prefix=* | --program-prefix=* | --program-prefi=* \
997 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
998 program_prefix=$ac_optarg ;;
1000 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1001 | --program-suf | --program-su | --program-s)
1002 ac_prev=program_suffix ;;
1003 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1004 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1005 program_suffix=$ac_optarg ;;
1007 -program-transform-name | --program-transform-name \
1008 | --program-transform-nam | --program-transform-na \
1009 | --program-transform-n | --program-transform- \
1010 | --program-transform | --program-transfor \
1011 | --program-transfo | --program-transf \
1012 | --program-trans | --program-tran \
1013 | --progr-tra | --program-tr | --program-t)
1014 ac_prev=program_transform_name ;;
1015 -program-transform-name=* | --program-transform-name=* \
1016 | --program-transform-nam=* | --program-transform-na=* \
1017 | --program-transform-n=* | --program-transform-=* \
1018 | --program-transform=* | --program-transfor=* \
1019 | --program-transfo=* | --program-transf=* \
1020 | --program-trans=* | --program-tran=* \
1021 | --progr-tra=* | --program-tr=* | --program-t=*)
1022 program_transform_name=$ac_optarg ;;
1024 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1026 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1027 pdfdir=$ac_optarg ;;
1029 -psdir | --psdir | --psdi | --psd | --ps)
1031 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1034 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1035 | -silent | --silent | --silen | --sile | --sil)
1038 -runstatedir | --runstatedir | --runstatedi | --runstated \
1039 | --runstate | --runstat | --runsta | --runst | --runs \
1040 | --run | --ru | --r)
1041 ac_prev=runstatedir ;;
1042 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1043 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1044 | --run=* | --ru=* | --r=*)
1045 runstatedir=$ac_optarg ;;
1047 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1049 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1051 sbindir=$ac_optarg ;;
1053 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1054 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1055 | --sharedst | --shareds | --shared | --share | --shar \
1057 ac_prev=sharedstatedir ;;
1058 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1059 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1060 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1062 sharedstatedir=$ac_optarg ;;
1064 -site | --site | --sit)
1066 -site=* | --site=* | --sit=*)
1069 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1071 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1072 srcdir=$ac_optarg ;;
1074 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1075 | --syscon | --sysco | --sysc | --sys | --sy)
1076 ac_prev=sysconfdir ;;
1077 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1078 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1079 sysconfdir=$ac_optarg ;;
1081 -target | --target | --targe | --targ | --tar | --ta | --t)
1082 ac_prev=target_alias ;;
1083 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1084 target_alias=$ac_optarg ;;
1086 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1089 -version | --version | --versio | --versi | --vers | -V)
1090 ac_init_version=: ;;
1093 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid package name: \`$ac_useropt'"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1106 eval with_$ac_useropt=\$ac_optarg ;;
1108 -without-* | --without-*)
1109 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1112 as_fn_error $? "invalid package name: \`$ac_useropt'"
1113 ac_useropt_orig=$ac_useropt
1114 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1120 ac_unrecognized_sep=', ';;
1122 eval with_$ac_useropt=no ;;
1125 # Obsolete; use --with-x.
1128 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1129 | --x-incl | --x-inc | --x-in | --x-i)
1130 ac_prev=x_includes ;;
1131 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1132 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1133 x_includes=$ac_optarg ;;
1135 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1136 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1137 ac_prev=x_libraries ;;
1138 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1139 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1140 x_libraries=$ac_optarg ;;
1142 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1143 Try \`$0 --help' for more information"
1147 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1148 # Reject names that are not valid shell variable names.
1149 case $ac_envvar in #(
1150 '' | [0-9]* | *[!_$as_cr_alnum]* )
1151 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1153 eval $ac_envvar=\$ac_optarg
1154 export $ac_envvar ;;
1157 # FIXME: should be removed in autoconf 3.0.
1158 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1159 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1160 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1161 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1167 if test -n "$ac_prev"; then
1168 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1169 as_fn_error $? "missing argument to $ac_option"
1172 if test -n "$ac_unrecognized_opts"; then
1173 case $enable_option_checking in
1175 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1176 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180 # Check all directory arguments for consistency.
1181 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1182 datadir sysconfdir sharedstatedir localstatedir includedir \
1183 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1184 libdir localedir mandir runstatedir
1186 eval ac_val=\$$ac_var
1187 # Remove trailing slashes.
1190 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1191 eval $ac_var=\$ac_val;;
1193 # Be sure to have absolute directory names.
1195 [\\/$]* | ?:[\\/]* ) continue;;
1196 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1198 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1201 # There might be people who depend on the old broken behavior: `$host'
1202 # used to hold the argument of --host etc.
1203 # FIXME: To remove some day.
1206 target=$target_alias
1208 # FIXME: To remove some day.
1209 if test "x$host_alias" != x; then
1210 if test "x$build_alias" = x; then
1211 cross_compiling=maybe
1212 elif test "x$build_alias" != "x$host_alias"; then
1218 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1220 test "$silent" = yes && exec 6>/dev/null
1223 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1224 ac_ls_di=`ls -di .` &&
1225 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1226 as_fn_error $? "working directory cannot be determined"
1227 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1228 as_fn_error $? "pwd does not report name of working directory"
1231 # Find the source files, if location was not specified.
1232 if test -z "$srcdir"; then
1233 ac_srcdir_defaulted=yes
1234 # Try the directory containing this script, then the parent directory.
1235 ac_confdir=`$as_dirname -- "$as_myself" ||
1236 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1237 X"$as_myself" : 'X\(//\)[^/]' \| \
1238 X"$as_myself" : 'X\(//\)$' \| \
1239 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1240 printf "%s\n" X"$as_myself" |
1241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1259 if test ! -r "$srcdir/$ac_unique_file"; then
1263 ac_srcdir_defaulted=no
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1266 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1267 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1273 # When building in place, set srcdir=.
1274 if test "$ac_abs_confdir" = "$ac_pwd"; then
1277 # Remove unnecessary trailing slashes from srcdir.
1278 # Double slashes in file names in object file debugging info
1279 # mess up M-x gdb in Emacs.
1281 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 for ac_var in $ac_precious_vars; do
1284 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1285 eval ac_env_${ac_var}_value=\$${ac_var}
1286 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1287 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1291 # Report the --help message.
1293 if test "$ac_init_help" = "long"; then
1294 # Omit some internal or obsolete options to make the list less imposing.
1295 # This message is too long to be a string in the A/UX 3.1 sh.
1297 \`configure' configures LFSbookja git to adapt to many kinds of systems.
1299 Usage: $0 [OPTION]... [VAR=VALUE]...
1301 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1302 VAR=VALUE. See below for descriptions of some of the useful variables.
1304 Defaults for the options are specified in brackets.
1307 -h, --help display this help and exit
1308 --help=short display options specific to this package
1309 --help=recursive display the short help of all the included packages
1310 -V, --version display version information and exit
1311 -q, --quiet, --silent do not print \`checking ...' messages
1312 --cache-file=FILE cache test results in FILE [disabled]
1313 -C, --config-cache alias for \`--cache-file=config.cache'
1314 -n, --no-create do not create output files
1315 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1317 Installation directories:
1318 --prefix=PREFIX install architecture-independent files in PREFIX
1319 [$ac_default_prefix]
1320 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1323 By default, \`make install' will install all the files in
1324 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1325 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1326 for instance \`--prefix=\$HOME'.
1328 For better control, use the options below.
1330 Fine tuning of the installation directories:
1331 --bindir=DIR user executables [EPREFIX/bin]
1332 --sbindir=DIR system admin executables [EPREFIX/sbin]
1333 --libexecdir=DIR program executables [EPREFIX/libexec]
1334 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1335 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1336 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1337 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/lfsbookja]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --program-prefix=PREFIX prepend PREFIX to installed program names
1357 --program-suffix=SUFFIX append SUFFIX to installed program names
1358 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive ) echo "Configuration of LFSbookja git:";;
1369 --disable-option-checking ignore unrecognized --enable/--with options
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --enable-silent-rules less verbose build output (undo: "make V=1")
1373 --disable-silent-rules verbose build output (undo: "make V=0")
1374 --enable-maintainer-mode
1375 enable make rules and dependencies not useful (and
1376 sometimes confusing) to the casual installer
1377 --enable-dependency-tracking
1378 do not reject slow dependency extractors
1379 --disable-dependency-tracking
1380 speeds up one-time build
1383 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1384 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1385 --with-bookdir=DIR Specify BOOK sources directory [DIR=../BOOK]
1386 --with-rev=REV Specify BOOK revision [REV=sysv]
1387 --with-takaogfontdir=DIR
1388 Path to directory for TakaoFont files
1390 Some influential environment variables:
1391 CC C compiler command
1392 CFLAGS C compiler flags
1393 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1394 nonstandard directory <lib dir>
1395 LIBS libraries to pass to the linker, e.g. -l<library>
1396 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1397 you have headers in a nonstandard directory <include dir>
1399 Use these variables to override the choices made by `configure' or to help
1400 it to find libraries and programs with nonstandard names/locations.
1402 Report bugs to <matsuand AT users DOT osdn DOT me>.
1407 if test "$ac_init_help" = "recursive"; then
1408 # If there are subdirs, report their specific --help.
1409 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1410 test -d "$ac_dir" ||
1411 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1416 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1419 # A ".." for each directory in $ac_dir_suffix.
1420 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1421 case $ac_top_builddir_sub in
1422 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1423 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1426 ac_abs_top_builddir=$ac_pwd
1427 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1428 # for backward compatibility:
1429 ac_top_builddir=$ac_top_build_prefix
1432 .) # We are building in place.
1434 ac_top_srcdir=$ac_top_builddir_sub
1435 ac_abs_top_srcdir=$ac_pwd ;;
1436 [\\/]* | ?:[\\/]* ) # Absolute name.
1437 ac_srcdir=$srcdir$ac_dir_suffix;
1438 ac_top_srcdir=$srcdir
1439 ac_abs_top_srcdir=$srcdir ;;
1441 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1442 ac_top_srcdir=$ac_top_build_prefix$srcdir
1443 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1445 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1447 cd "$ac_dir" || { ac_status=$?; continue; }
1448 # Check for configure.gnu first; this name is used for a wrapper for
1449 # Metaconfig's "Configure" on case-insensitive file systems.
1450 if test -f "$ac_srcdir/configure.gnu"; then
1452 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1453 elif test -f "$ac_srcdir/configure"; then
1455 $SHELL "$ac_srcdir/configure" --help=recursive
1457 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1459 cd "$ac_pwd" || { ac_status=$?; break; }
1463 test -n "$ac_init_help" && exit $ac_status
1464 if $ac_init_version; then
1466 LFSbookja configure git
1467 generated by GNU Autoconf 2.71
1469 Copyright (C) 2021 Free Software Foundation, Inc.
1470 This configure script is free software; the Free Software Foundation
1471 gives unlimited permission to copy, distribute and modify it.
1476 ## ------------------------ ##
1477 ## Autoconf initialization. ##
1478 ## ------------------------ ##
1480 # ac_fn_c_try_compile LINENO
1481 # --------------------------
1482 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1483 ac_fn_c_try_compile ()
1485 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1486 rm -f conftest.$ac_objext conftest.beam
1487 if { { ac_try="$ac_compile"
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 printf "%s\n" "$ac_try_echo"; } >&5
1494 (eval "$ac_compile") 2>conftest.err
1496 if test -s conftest.err; then
1497 grep -v '^ *+' conftest.err >conftest.er1
1498 cat conftest.er1 >&5
1499 mv -f conftest.er1 conftest.err
1501 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1502 test $ac_status = 0; } && {
1503 test -z "$ac_c_werror_flag" ||
1504 test ! -s conftest.err
1505 } && test -s conftest.$ac_objext
1509 printf "%s\n" "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.$ac_ext >&5
1514 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515 as_fn_set_status $ac_retval
1517 } # ac_fn_c_try_compile
1518 ac_configure_args_raw=
1523 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1525 as_fn_append ac_configure_args_raw " '$ac_arg'"
1528 case $ac_configure_args_raw in
1532 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1533 ac_unsafe_a="$ac_unsafe_z#~"
1534 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1535 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1538 cat >config.log <<_ACEOF
1539 This file contains any messages produced by compilers while
1540 running configure, to aid debugging if configure makes a mistake.
1542 It was created by LFSbookja $as_me git, which was
1543 generated by GNU Autoconf 2.71. Invocation command line was
1545 $ $0$ac_configure_args_raw
1555 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1556 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1557 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1558 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1559 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1561 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1562 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1564 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1565 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1566 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1567 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1568 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1569 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1570 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 case $as_dir in #(((
1581 *) as_dir=$as_dir/ ;;
1583 printf "%s\n" "PATH: $as_dir"
1599 # Keep a trace of the command line.
1600 # Strip out --no-create and --no-recursion so they do not pile up.
1601 # Strip out --silent because we don't want to record it for future runs.
1602 # Also quote any args containing shell meta-characters.
1603 # Make two passes to allow for proper duplicate-argument suppression.
1607 ac_must_keep_next=false
1613 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1614 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1615 | -silent | --silent | --silen | --sile | --sil)
1618 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1621 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1623 as_fn_append ac_configure_args1 " '$ac_arg'"
1624 if test $ac_must_keep_next = true; then
1625 ac_must_keep_next=false # Got value, back to normal.
1628 *=* | --config-cache | -C | -disable-* | --disable-* \
1629 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1630 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1631 | -with-* | --with-* | -without-* | --without-* | --x)
1632 case "$ac_configure_args0 " in
1633 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1636 -* ) ac_must_keep_next=true ;;
1639 as_fn_append ac_configure_args " '$ac_arg'"
1644 { ac_configure_args0=; unset ac_configure_args0;}
1645 { ac_configure_args1=; unset ac_configure_args1;}
1647 # When interrupted or exit'd, cleanup temporary files, and complete
1648 # config.log. We remove comments because anyway the quotes in there
1649 # would cause problems or look ugly.
1650 # WARNING: Use '\'' to represent an apostrophe within the trap.
1651 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1652 trap 'exit_status=$?
1655 # Save into config.log some information that might help in debugging.
1659 printf "%s\n" "## ---------------- ##
1660 ## Cache variables. ##
1661 ## ---------------- ##"
1663 # The following way of writing the cache mishandles newlines in values,
1665 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1666 eval ac_val=\$$ac_var
1670 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1671 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1674 _ | IFS | as_nl) ;; #(
1675 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1676 *) { eval $ac_var=; unset $ac_var;} ;;
1681 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1682 *${as_nl}ac_space=\ *)
1684 "s/'\''/'\''\\\\'\'''\''/g;
1685 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1695 printf "%s\n" "## ----------------- ##
1696 ## Output variables. ##
1697 ## ----------------- ##"
1699 for ac_var in $ac_subst_vars
1701 eval ac_val=\$$ac_var
1703 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1705 printf "%s\n" "$ac_var='\''$ac_val'\''"
1709 if test -n "$ac_subst_files"; then
1710 printf "%s\n" "## ------------------- ##
1711 ## File substitutions. ##
1712 ## ------------------- ##"
1714 for ac_var in $ac_subst_files
1716 eval ac_val=\$$ac_var
1718 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1720 printf "%s\n" "$ac_var='\''$ac_val'\''"
1725 if test -s confdefs.h; then
1726 printf "%s\n" "## ----------- ##
1733 test "$ac_signal" != 0 &&
1734 printf "%s\n" "$as_me: caught signal $ac_signal"
1735 printf "%s\n" "$as_me: exit $exit_status"
1737 rm -f core *.core core.conftest.* &&
1738 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1741 for ac_signal in 1 2 13 15; do
1742 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1746 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1747 rm -f -r conftest* confdefs.h
1749 printf "%s\n" "/* confdefs.h */" > confdefs.h
1751 # Predefined preprocessor variables.
1753 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1755 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1757 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1759 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1761 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1763 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1766 # Let the site file select an alternate cache file if it wants to.
1767 # Prefer an explicitly selected file to automatically selected ones.
1768 if test -n "$CONFIG_SITE"; then
1769 ac_site_files="$CONFIG_SITE"
1770 elif test "x$prefix" != xNONE; then
1771 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1773 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1776 for ac_site_file in $ac_site_files
1778 case $ac_site_file in #(
1782 ac_site_file=./$ac_site_file ;;
1784 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1786 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1787 sed 's/^/| /' "$ac_site_file" >&5
1789 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1790 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1791 as_fn_error $? "failed to load site script $ac_site_file
1792 See \`config.log' for more details" "$LINENO" 5; }
1796 if test -r "$cache_file"; then
1797 # Some versions of bash will fail to source /dev/null (special files
1798 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1799 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1801 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1803 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1804 *) . "./$cache_file";;
1808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1809 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1813 # Test code for whether the C compiler supports C89 (global declarations)
1814 ac_c_conftest_c89_globals='
1815 /* Does the compiler advertise C89 conformance?
1816 Do not test the value of __STDC__, because some compilers set it to 0
1817 while being otherwise adequately conformant. */
1818 #if !defined __STDC__
1819 # error "Compiler does not advertise C89 conformance"
1825 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1826 struct buf { int x; };
1827 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1828 static char *e (p, i)
1834 static char *f (char * (*g) (char **, int), char **p, ...)
1839 s = g (p, va_arg (v,int));
1844 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1845 function prototypes and stuff, but not \xHH hex character constants.
1846 These do not provoke an error unfortunately, instead are silently treated
1847 as an "x". The following induces an error, until -std is added to get
1848 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1849 array size at least. It is necessary to write \x00 == 0 to get something
1850 that is true only with -std. */
1851 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1853 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1854 inside strings and character constants. */
1855 #define FOO(x) '\''x'\''
1856 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1858 int test (int i, double x);
1859 struct s1 {int (*f) (int a);};
1860 struct s2 {int (*f) (double a);};
1861 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1864 # Test code for whether the C compiler supports C89 (body of main).
1865 ac_c_conftest_c89_main='
1866 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1869 # Test code for whether the C compiler supports C99 (global declarations)
1870 ac_c_conftest_c99_globals='
1871 // Does the compiler advertise C99 conformance?
1872 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1873 # error "Compiler does not advertise C99 conformance"
1876 #include <stdbool.h>
1877 extern int puts (const char *);
1878 extern int printf (const char *, ...);
1879 extern int dprintf (int, const char *, ...);
1880 extern void *malloc (size_t);
1882 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1883 // dprintf is used instead of fprintf to avoid needing to declare
1885 #define debug(...) dprintf (2, __VA_ARGS__)
1886 #define showlist(...) puts (#__VA_ARGS__)
1887 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1889 test_varargs_macros (void)
1894 debug ("X = %d\n", x);
1895 showlist (The first, second, and third items.);
1896 report (x>y, "x is %d but y is %d", x, y);
1899 // Check long long types.
1900 #define BIG64 18446744073709551615ull
1901 #define BIG32 4294967295ul
1902 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1904 #error "your preprocessor is broken"
1908 #error "your preprocessor is broken"
1910 static long long int bignum = -9223372036854775807LL;
1911 static unsigned long long int ubignum = BIG64;
1913 struct incomplete_array
1921 const wchar_t *name;
1925 typedef const char *ccp;
1928 test_restrict (ccp restrict text)
1930 // See if C++-style comments work.
1931 // Iterate through items via the restricted pointer.
1932 // Also check for declarations in for loops.
1933 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1938 // Check varargs and va_copy.
1940 test_varargs (const char *format, ...)
1943 va_start (args, format);
1945 va_copy (args_copy, args);
1947 const char *str = "";
1955 case '\''s'\'': // string
1956 str = va_arg (args_copy, const char *);
1958 case '\''d'\'': // int
1959 number = va_arg (args_copy, int);
1961 case '\''f'\'': // float
1962 fnumber = va_arg (args_copy, double);
1971 return *str && number && fnumber;
1975 # Test code for whether the C compiler supports C99 (body of main).
1976 ac_c_conftest_c99_main='
1978 _Bool success = false;
1979 success |= (argc != 0);
1982 if (test_restrict ("String literal") == 0)
1984 char *restrict newvar = "Another string";
1987 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
1988 test_varargs_macros ();
1990 // Check flexible array members.
1991 struct incomplete_array *ia =
1992 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1994 for (int i = 0; i < ia->datasize; ++i)
1995 ia->data[i] = i * 1.234;
1997 // Check named initializers.
1998 struct named_init ni = {
2000 .name = L"Test wide string",
2001 .average = 543.34343,
2006 int dynamic_array[ni.number];
2007 dynamic_array[0] = argv[0][0];
2008 dynamic_array[ni.number - 1] = 543;
2010 // work around unused variable warnings
2011 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2012 || dynamic_array[ni.number - 1] != 543);
2015 # Test code for whether the C compiler supports C11 (global declarations)
2016 ac_c_conftest_c11_globals='
2017 // Does the compiler advertise C11 conformance?
2018 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2019 # error "Compiler does not advertise C11 conformance"
2023 char _Alignas (double) aligned_as_double;
2024 char _Alignas (0) no_special_alignment;
2025 extern char aligned_as_int;
2026 char _Alignas (0) _Alignas (int) aligned_as_int;
2031 int_alignment = _Alignof (int),
2032 int_array_alignment = _Alignof (int[100]),
2033 char_alignment = _Alignof (char)
2035 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2038 int _Noreturn does_not_return (void) { for (;;) continue; }
2040 // Check _Static_assert.
2041 struct test_static_assert
2044 _Static_assert (sizeof (int) <= sizeof (long int),
2045 "_Static_assert does not work in struct");
2049 // Check UTF-8 literals.
2050 #define u8 syntax error!
2051 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2053 // Check duplicate typedefs.
2054 typedef long *long_ptr;
2055 typedef long int *long_ptr;
2056 typedef long_ptr long_ptr;
2058 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2062 struct { int i; int j; };
2063 struct { int k; long int l; } w;
2069 # Test code for whether the C compiler supports C11 (body of main).
2070 ac_c_conftest_c11_main='
2071 _Static_assert ((offsetof (struct anonymous, i)
2072 == offsetof (struct anonymous, w.k)),
2073 "Anonymous union alignment botch");
2079 # Test code for whether the C compiler supports C11 (complete).
2080 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2081 ${ac_c_conftest_c99_globals}
2082 ${ac_c_conftest_c11_globals}
2085 main (int argc, char **argv)
2088 ${ac_c_conftest_c89_main}
2089 ${ac_c_conftest_c99_main}
2090 ${ac_c_conftest_c11_main}
2095 # Test code for whether the C compiler supports C99 (complete).
2096 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2097 ${ac_c_conftest_c99_globals}
2100 main (int argc, char **argv)
2103 ${ac_c_conftest_c89_main}
2104 ${ac_c_conftest_c99_main}
2109 # Test code for whether the C compiler supports C89 (complete).
2110 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2113 main (int argc, char **argv)
2116 ${ac_c_conftest_c89_main}
2122 # Auxiliary files required by this configure script.
2123 ac_aux_files="compile missing install-sh"
2125 # Locations in which to look for auxiliary files.
2126 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2128 # Search for a directory containing all of the required auxiliary files,
2129 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2130 # If we don't find one directory that contains all the files we need,
2131 # we report the set of missing files from the *first* directory in
2132 # $ac_aux_dir_candidates and give up.
2133 ac_missing_aux_files=""
2134 ac_first_candidate=:
2135 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 for as_dir in $ac_aux_dir_candidates
2141 case $as_dir in #(((
2144 *) as_dir=$as_dir/ ;;
2148 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2149 ac_aux_dir_found=yes
2151 for ac_aux in $ac_aux_files
2153 # As a special case, if "install-sh" is required, that requirement
2154 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2155 # and $ac_install_sh is set appropriately for whichever one is found.
2156 if test x"$ac_aux" = x"install-sh"
2158 if test -f "${as_dir}install-sh"; then
2159 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2160 ac_install_sh="${as_dir}install-sh -c"
2161 elif test -f "${as_dir}install.sh"; then
2162 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2163 ac_install_sh="${as_dir}install.sh -c"
2164 elif test -f "${as_dir}shtool"; then
2165 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2166 ac_install_sh="${as_dir}shtool install -c"
2169 if $ac_first_candidate; then
2170 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2176 if test -f "${as_dir}${ac_aux}"; then
2177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2180 if $ac_first_candidate; then
2181 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2188 if test "$ac_aux_dir_found" = yes; then
2189 ac_aux_dir="$as_dir"
2192 ac_first_candidate=false
2201 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2205 # These three variables are undocumented and unsupported,
2206 # and are intended to be withdrawn in a future Autoconf release.
2207 # They can cause serious problems if a builder's source tree is in a directory
2208 # whose full name contains unusual characters.
2209 if test -f "${ac_aux_dir}config.guess"; then
2210 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2212 if test -f "${ac_aux_dir}config.sub"; then
2213 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2215 if test -f "$ac_aux_dir/configure"; then
2216 ac_configure="$SHELL ${ac_aux_dir}configure"
2219 # Check that the precious variables saved in the cache have kept the same
2221 ac_cache_corrupted=false
2222 for ac_var in $ac_precious_vars; do
2223 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2224 eval ac_new_set=\$ac_env_${ac_var}_set
2225 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2226 eval ac_new_val=\$ac_env_${ac_var}_value
2227 case $ac_old_set,$ac_new_set in
2229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2230 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2231 ac_cache_corrupted=: ;;
2233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2234 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2235 ac_cache_corrupted=: ;;
2238 if test "x$ac_old_val" != "x$ac_new_val"; then
2239 # differences in whitespace do not lead to failure.
2240 ac_old_val_w=`echo x $ac_old_val`
2241 ac_new_val_w=`echo x $ac_new_val`
2242 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2244 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2245 ac_cache_corrupted=:
2247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2248 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2249 eval $ac_var=\$ac_old_val
2251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2252 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2254 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2257 # Pass precious variables to config.status.
2258 if test "$ac_new_set" = set; then
2260 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2261 *) ac_arg=$ac_var=$ac_new_val ;;
2263 case " $ac_configure_args " in
2264 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2265 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2269 if $ac_cache_corrupted; then
2270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2273 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2274 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2275 and start over" "$LINENO" 5
2277 ## -------------------- ##
2278 ## Main body of script. ##
2279 ## -------------------- ##
2282 ac_cpp='$CPP $CPPFLAGS'
2283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2288 am__api_version='1.16'
2292 # Find a good install program. We prefer a C program (faster),
2293 # so one script is as good as another. But avoid the broken or
2294 # incompatible versions:
2295 # SysV /etc/install, /usr/sbin/install
2296 # SunOS /usr/etc/install
2297 # IRIX /sbin/install
2299 # AmigaOS /C/install, which installs bootblocks on floppy discs
2300 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2301 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2302 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2303 # OS/2's system install, which has a completely different semantic
2304 # ./install, which can be erroneously created by make from ./install.sh.
2305 # Reject install programs that cannot install multiple files.
2306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2307 printf %s "checking for a BSD-compatible install... " >&6; }
2308 if test -z "$INSTALL"; then
2309 if test ${ac_cv_path_install+y}
2311 printf %s "(cached) " >&6
2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 case $as_dir in #(((
2320 *) as_dir=$as_dir/ ;;
2322 # Account for fact that we put trailing slashes in our PATH walk.
2325 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2326 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2329 # OSF1 and SCO ODT 3.0 have their own names for install.
2330 # Don't use installbsd from OSF since it installs stuff as root
2332 for ac_prog in ginstall scoinst install; do
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2335 if test $ac_prog = install &&
2336 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2337 # AIX install. It has an incompatible calling convention.
2339 elif test $ac_prog = install &&
2340 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2341 # program-specific install script used by HP pwplus--don't use.
2344 rm -rf conftest.one conftest.two conftest.dir
2345 echo one > conftest.one
2346 echo two > conftest.two
2348 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2349 test -s conftest.one && test -s conftest.two &&
2350 test -s conftest.dir/conftest.one &&
2351 test -s conftest.dir/conftest.two
2353 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2366 rm -rf conftest.one conftest.two conftest.dir
2369 if test ${ac_cv_path_install+y}; then
2370 INSTALL=$ac_cv_path_install
2372 # As a last resort, use the slow shell script. Don't cache a
2373 # value for INSTALL within a source directory, because that will
2374 # break other packages using the cache if that directory is
2375 # removed, or if the value is a relative name.
2376 INSTALL=$ac_install_sh
2379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2380 printf "%s\n" "$INSTALL" >&6; }
2382 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2383 # It thinks the first close brace ends the variable substitution.
2384 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2386 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2388 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2391 printf %s "checking whether build environment is sane... " >&6; }
2392 # Reject unsafe characters in $srcdir or the absolute working directory
2393 # name. Accept space and tab only in the latter.
2397 *[\\\"\#\$\&\'\`$am_lf]*)
2398 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2401 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2402 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2405 # Do 'set' in a subshell so we don't clobber the current shell's
2406 # arguments. Must try -L first in case configure is actually a
2407 # symlink; some systems play weird games with the mod time of symlinks
2408 # (eg FreeBSD returns the mod time of the symlink's containing
2412 for am_try in 1 2; do
2413 echo "timestamp, slept: $am_has_slept" > conftest.file
2414 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2415 if test "$*" = "X"; then
2417 set X `ls -t "$srcdir/configure" conftest.file`
2419 if test "$*" != "X $srcdir/configure conftest.file" \
2420 && test "$*" != "X conftest.file $srcdir/configure"; then
2422 # If neither matched, then we have a broken ls. This can happen
2423 # if, for instance, CONFIG_SHELL is bash and it inherits a
2424 # broken ls alias from the environment. This has actually
2425 # happened. Such a system could not be considered "sane".
2426 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2427 alias in your environment" "$LINENO" 5
2429 if test "$2" = conftest.file || test $am_try -eq 2; then
2436 test "$2" = conftest.file
2442 as_fn_error $? "newly created file is older than distributed files!
2443 Check your system clock" "$LINENO" 5
2445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2446 printf "%s\n" "yes" >&6; }
2447 # If we didn't sleep, we still need to ensure time stamps of config.status and
2448 # generated files are strictly newer.
2450 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2457 test "$program_prefix" != NONE &&
2458 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2459 # Use a double $ so make ignores it.
2460 test "$program_suffix" != NONE &&
2461 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2462 # Double any \ or $.
2463 # By default was `s,x,x', remove it if useless.
2464 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2465 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2468 # Expand $ac_aux_dir to an absolute path.
2469 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2472 if test x"${MISSING+set}" != xset; then
2473 MISSING="\${SHELL} '$am_aux_dir/missing'"
2475 # Use eval to expand $SHELL
2476 if eval "$MISSING --is-lightweight"; then
2477 am_missing_run="$MISSING "
2480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2481 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2484 if test x"${install_sh+set}" != xset; then
2487 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2489 install_sh="\${SHELL} $am_aux_dir/install-sh"
2493 # Installed binaries are usually stripped using 'strip' when the user
2494 # run "make install-strip". However 'strip' might not be the right
2495 # tool to use in cross-compilation environments, therefore Automake
2496 # will honor the 'STRIP' environment variable to overrule this program.
2497 if test "$cross_compiling" != no; then
2498 if test -n "$ac_tool_prefix"; then
2499 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2500 set dummy ${ac_tool_prefix}strip; ac_word=$2
2501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2502 printf %s "checking for $ac_word... " >&6; }
2503 if test ${ac_cv_prog_STRIP+y}
2505 printf %s "(cached) " >&6
2507 if test -n "$STRIP"; then
2508 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2514 case $as_dir in #(((
2517 *) as_dir=$as_dir/ ;;
2519 for ac_exec_ext in '' $ac_executable_extensions; do
2520 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2521 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2522 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2531 STRIP=$ac_cv_prog_STRIP
2532 if test -n "$STRIP"; then
2533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2534 printf "%s\n" "$STRIP" >&6; }
2536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2537 printf "%s\n" "no" >&6; }
2542 if test -z "$ac_cv_prog_STRIP"; then
2544 # Extract the first word of "strip", so it can be a program name with args.
2545 set dummy strip; ac_word=$2
2546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2547 printf %s "checking for $ac_word... " >&6; }
2548 if test ${ac_cv_prog_ac_ct_STRIP+y}
2550 printf %s "(cached) " >&6
2552 if test -n "$ac_ct_STRIP"; then
2553 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 case $as_dir in #(((
2562 *) as_dir=$as_dir/ ;;
2564 for ac_exec_ext in '' $ac_executable_extensions; do
2565 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2566 ac_cv_prog_ac_ct_STRIP="strip"
2567 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2576 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2577 if test -n "$ac_ct_STRIP"; then
2578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2579 printf "%s\n" "$ac_ct_STRIP" >&6; }
2581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582 printf "%s\n" "no" >&6; }
2585 if test "x$ac_ct_STRIP" = x; then
2588 case $cross_compiling:$ac_tool_warned in
2590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2591 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2592 ac_tool_warned=yes ;;
2597 STRIP="$ac_cv_prog_STRIP"
2601 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2605 printf %s "checking for a race-free mkdir -p... " >&6; }
2606 if test -z "$MKDIR_P"; then
2607 if test ${ac_cv_path_mkdir+y}
2609 printf %s "(cached) " >&6
2611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2615 case $as_dir in #(((
2618 *) as_dir=$as_dir/ ;;
2620 for ac_prog in mkdir gmkdir; do
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2623 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2624 'mkdir ('*'coreutils) '* | \
2626 'mkdir (fileutils) '4.1*)
2627 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2637 test -d ./--version && rmdir ./--version
2638 if test ${ac_cv_path_mkdir+y}; then
2639 MKDIR_P="$ac_cv_path_mkdir -p"
2641 # As a last resort, use the slow shell script. Don't cache a
2642 # value for MKDIR_P within a source directory, because that will
2643 # break other packages using the cache if that directory is
2644 # removed, or if the value is a relative name.
2645 MKDIR_P="$ac_install_sh -d"
2648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2649 printf "%s\n" "$MKDIR_P" >&6; }
2651 for ac_prog in gawk mawk nawk awk
2653 # Extract the first word of "$ac_prog", so it can be a program name with args.
2654 set dummy $ac_prog; ac_word=$2
2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656 printf %s "checking for $ac_word... " >&6; }
2657 if test ${ac_cv_prog_AWK+y}
2659 printf %s "(cached) " >&6
2661 if test -n "$AWK"; then
2662 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2668 case $as_dir in #(((
2671 *) 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 ac_cv_prog_AWK="$ac_prog"
2676 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2686 if test -n "$AWK"; then
2687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2688 printf "%s\n" "$AWK" >&6; }
2690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 printf "%s\n" "no" >&6; }
2695 test -n "$AWK" && break
2698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2699 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2701 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2702 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2704 printf %s "(cached) " >&6
2706 cat >conftest.make <<\_ACEOF
2709 @echo '@@@%%%=$(MAKE)=@@@%%%'
2711 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2714 eval ac_cv_prog_make_${ac_make}_set=yes;;
2716 eval ac_cv_prog_make_${ac_make}_set=no;;
2720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 printf "%s\n" "yes" >&6; }
2725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2726 printf "%s\n" "no" >&6; }
2727 SET_MAKE="MAKE=${MAKE-make}"
2730 rm -rf .tst 2>/dev/null
2731 mkdir .tst 2>/dev/null
2732 if test -d .tst; then
2737 rmdir .tst 2>/dev/null
2739 # Check whether --enable-silent-rules was given.
2740 if test ${enable_silent_rules+y}
2742 enableval=$enable_silent_rules;
2745 case $enable_silent_rules in # (((
2746 yes) AM_DEFAULT_VERBOSITY=0;;
2747 no) AM_DEFAULT_VERBOSITY=1;;
2748 *) AM_DEFAULT_VERBOSITY=1;;
2750 am_make=${MAKE-make}
2751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2752 printf %s "checking whether $am_make supports nested variables... " >&6; }
2753 if test ${am_cv_make_support_nested_variables+y}
2755 printf %s "(cached) " >&6
2757 if printf "%s\n" 'TRUE=$(BAR$(V))
2763 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2764 am_cv_make_support_nested_variables=yes
2766 am_cv_make_support_nested_variables=no
2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2770 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2771 if test $am_cv_make_support_nested_variables = yes; then
2773 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2775 AM_V=$AM_DEFAULT_VERBOSITY
2776 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2780 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2781 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2782 # is not polluted with repeated "-I."
2783 am__isrc=' -I$(srcdir)'
2784 # test to see if srcdir already configured
2785 if test -f $srcdir/config.status; then
2786 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2790 # test whether we have cygpath
2791 if test -z "$CYGPATH_W"; then
2792 if (cygpath --version) >/dev/null 2>/dev/null; then
2793 CYGPATH_W='cygpath -w'
2800 # Define the identity of the package.
2805 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2808 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2810 # Some tools Automake needs.
2812 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2815 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2818 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2821 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2824 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2826 # For better backward compatibility. To be removed once Automake 1.9.x
2827 # dies out for good. For more background, see:
2828 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2829 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2830 mkdir_p='$(MKDIR_P)'
2832 # We need awk for the "check" target (and possibly the TAP driver). The
2833 # system "awk" is bad on some platforms.
2834 # Always define AMTAR for backward compatibility. Yes, it's still used
2835 # in the wild :-( We should find a proper way to deprecate it ...
2839 # We'll loop over all known methods to create a tar archive until one works.
2840 _am_tools='gnutar pax cpio none'
2842 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2849 # POSIX will say in a future version that running "rm -f" with no argument
2850 # is OK; and we want to be able to make that assumption in our Makefile
2851 # recipes. So use an aggressive probe to check that the usage we want is
2852 # actually supported "in the wild" to an acceptable degree.
2853 # See automake bug#10828.
2854 # To make any issue more visible, cause the running configure to be aborted
2855 # by default if the 'rm' program in use doesn't match our expectations; the
2856 # user can still override this though.
2857 if rm -f && rm -fr && rm -rf; then : OK; else
2861 Your 'rm' program seems unable to run without file operands specified
2862 on the command line, even when the '-f' option is present. This is contrary
2863 to the behaviour of most rm programs out there, and not conforming with
2864 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2866 Please tell bug-automake@gnu.org about your system, including the value
2867 of your $PATH and any error possibly output before this message. This
2868 can help us improve future automake versions.
2871 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2872 echo 'Configuration will proceed anyway, since you have set the' >&2
2873 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2877 Aborting the configuration process, to ensure you take notice of the issue.
2879 You can download and install GNU coreutils to get an 'rm' implementation
2880 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2882 If you want to complete the configuration process using your problematic
2883 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2884 to "yes", and re-run configure.
2887 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2893 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2894 # Check whether --enable-maintainer-mode was given.
2895 if test ${enable_maintainer_mode+y}
2897 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2899 USE_MAINTAINER_MODE=no
2902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2903 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
2904 if test $USE_MAINTAINER_MODE = yes; then
2905 MAINTAINER_MODE_TRUE=
2906 MAINTAINER_MODE_FALSE='#'
2908 MAINTAINER_MODE_TRUE='#'
2909 MAINTAINER_MODE_FALSE=
2912 MAINT=$MAINTAINER_MODE_TRUE
2930 CTIE=ctie/ctie$EXEEXT
2935 # Check whether --with-bookdir was given.
2936 if test ${with_bookdir+y}
2938 withval=$with_bookdir;
2939 if test -d "${with_bookdir}" ; then
2940 bookdir=${with_bookdir}
2946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the original XML files" >&5
2947 printf %s "checking for the original XML files... " >&6; }
2948 if test ! -f "${bookdir}/general.ent"; then
2949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2950 printf "%s\n" "no" >&6; }
2951 as_fn_error $? "The original XML files not found in ${bookdir}" "$LINENO" 5
2953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2954 printf "%s\n" "ok" >&6; }
2958 abs_bookdir=`(cd $bookdir && pwd)`
2961 # ===========================================================================
2962 # http://autoconf-archive.cryp.to/ax_compare_version.html
2963 # ===========================================================================
2967 # AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
2971 # This macro compares two version strings. Due to the various number of
2972 # minor-version numbers that can exist, and the fact that string
2973 # comparisons are not compatible with numeric comparisons, this is not
2974 # necessarily trivial to do in a autoconf script. This macro makes doing
2975 # these comparisons easy.
2977 # The six basic comparisons are available, as well as checking equality
2978 # limited to a certain number of minor-version levels.
2980 # The operator OP determines what type of comparison to do, and can be one
2983 # eq - equal (test A == B)
2984 # ne - not equal (test A != B)
2985 # le - less than or equal (test A <= B)
2986 # ge - greater than or equal (test A >= B)
2987 # lt - less than (test A < B)
2988 # gt - greater than (test A > B)
2990 # Additionally, the eq and ne operator can have a number after it to limit
2991 # the test to that number of minor versions.
2993 # eq0 - equal up to the length of the shorter version
2994 # ne0 - not equal up to the length of the shorter version
2995 # eqN - equal up to N sub-version levels
2996 # neN - not equal up to N sub-version levels
2998 # When the condition is true, shell commands ACTION-IF-TRUE are run,
2999 # otherwise shell commands ACTION-IF-FALSE are run. The environment
3000 # variable 'ax_compare_version' is always set to either 'true' or 'false'
3005 # AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
3006 # AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
3008 # would both be true.
3010 # AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
3011 # AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
3013 # would both be false.
3015 # AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
3017 # would be true because it is only comparing two minor versions.
3019 # AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
3021 # would be true because it is only comparing the lesser number of minor
3022 # versions of the two values.
3024 # Note: The characters that separate the version numbers do not matter. An
3025 # empty string is the same as version 0. OP is evaluated by autoconf, not
3026 # configure, so must be a string, not a variable.
3028 # The author would like to acknowledge Guido Draheim whose advice about
3029 # the m4_case and m4_ifvaln functions make this macro only include the
3030 # portions necessary to perform the specific comparison specified by the
3031 # OP argument in the final configure script.
3035 # Copyright (c) 2008 Tim Toolan <toolan@ele.uri.edu>
3037 # Copying and distribution of this file, with or without modification, are
3038 # permitted in any medium without royalty provided the copyright notice
3039 # and this notice are preserved.
3042 # ===========================================================================
3043 # http://autoconf-archive.cryp.to/ac_check_docbook_xslt.html
3044 # ===========================================================================
3048 # AC_CHECK_DOCBOOK_XSLT([xslt-version])
3052 # Check for access to docbook stylesheets of a particular revision. This
3053 # macro can be used for multiple versions within the same script.
3057 # $1 is the version of docbook to search for; default 'current'.
3061 # $HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
3062 # results of the test, where VERS is $1, with '_' substituted for '.'.
3063 # $HAVE_DOCBOOK_XSLT will also be set to the same value.
3067 # AC_CHECK_DOCBOOK_XSLT(1.72.0)
3068 # if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
3073 # Copyright (c) 2008 Zmanda Inc. <http://www.zmanda.com/>
3074 # Copyright (c) 2008 Dustin J. Mitchell <dustin@zmanda.com>
3076 # This program is free software; you can redistribute it and/or modify it
3077 # under the terms of the GNU General Public License as published by the
3078 # Free Software Foundation; either version 2 of the License, or (at your
3079 # option) any later version.
3081 # This program is distributed in the hope that it will be useful, but
3082 # WITHOUT ANY WARRANTY; without even the implied warranty of
3083 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3084 # Public License for more details.
3086 # You should have received a copy of the GNU General Public License along
3087 # with this program. If not, see <http://www.gnu.org/licenses/>.
3089 # As a special exception, the respective Autoconf Macro's copyright owner
3090 # gives unlimited permission to copy, distribute and modify the configure
3091 # scripts that are the output of Autoconf when processing the Macro. You
3092 # need not follow the terms of the GNU General Public License when using
3093 # or distributing such scripts, even though portions of the text of the
3094 # Macro appear in them. The GNU General Public License (GPL) does govern
3095 # all other use of the material that constitutes the Autoconf Macro.
3097 # This special exception to the GPL applies to versions of the Autoconf
3098 # Macro released by the Autoconf Archive. When you make and distribute a
3099 # modified version of the Autoconf Macro, you may extend this special
3100 # exception to the GPL to apply to your modified version as well.
3104 # ===========================================================================
3105 # http://autoconf-archive.cryp.to/ac_check_docbook_dtd.html
3106 # ===========================================================================
3110 # AC_CHECK_DOCBOOK_DTD([dtd-version])
3114 # Check for access to a docbook DTD of a particular revision. This macro
3115 # can be used for multiple versions within the same script.
3119 # $1 is the version of docbook to search for; default 'current'.
3123 # $HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
3124 # results of the test, where VERS is $1, with '_' substituted for '.'
3125 # $HAVE_DOCBOOK_DTD will also be set to the same value.
3129 # AC_CHECK_DOCBOOK_DTD(4.3)
3130 # if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
3135 # Copyright (c) 2008 Zmanda Inc. <http://www.zmanda.com/>
3136 # Copyright (c) 2008 Dustin J. Mitchell <dustin@zmanda.com>
3138 # This program is free software; you can redistribute it and/or modify it
3139 # under the terms of the GNU General Public License as published by the
3140 # Free Software Foundation; either version 2 of the License, or (at your
3141 # option) any later version.
3143 # This program is distributed in the hope that it will be useful, but
3144 # WITHOUT ANY WARRANTY; without even the implied warranty of
3145 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3146 # Public License for more details.
3148 # You should have received a copy of the GNU General Public License along
3149 # with this program. If not, see <http://www.gnu.org/licenses/>.
3151 # As a special exception, the respective Autoconf Macro's copyright owner
3152 # gives unlimited permission to copy, distribute and modify the configure
3153 # scripts that are the output of Autoconf when processing the Macro. You
3154 # need not follow the terms of the GNU General Public License when using
3155 # or distributing such scripts, even though portions of the text of the
3156 # Macro appear in them. The GNU General Public License (GPL) does govern
3157 # all other use of the material that constitutes the Autoconf Macro.
3159 # This special exception to the GPL applies to versions of the Autoconf
3160 # Macro released by the Autoconf Archive. When you make and distribute a
3161 # modified version of the Autoconf Macro, you may extend this special
3162 # exception to the GPL to apply to your modified version as well.
3166 #m4_include([m4/ac_check_ipafontdir.m4])
3173 TAKAOGEXFILE=/usr/share/fonts/takao-gothic/TakaoExGothic.ttf
3177 # Checks for programs.
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 if test -n "$ac_tool_prefix"; then
3193 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3194 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3196 printf %s "checking for $ac_word... " >&6; }
3197 if test ${ac_cv_prog_CC+y}
3199 printf %s "(cached) " >&6
3201 if test -n "$CC"; then
3202 ac_cv_prog_CC="$CC" # Let the user override the test.
3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 case $as_dir in #(((
3211 *) as_dir=$as_dir/ ;;
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3215 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3226 if test -n "$CC"; then
3227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3228 printf "%s\n" "$CC" >&6; }
3230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3231 printf "%s\n" "no" >&6; }
3236 if test -z "$ac_cv_prog_CC"; then
3238 # Extract the first word of "gcc", so it can be a program name with args.
3239 set dummy gcc; ac_word=$2
3240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3241 printf %s "checking for $ac_word... " >&6; }
3242 if test ${ac_cv_prog_ac_ct_CC+y}
3244 printf %s "(cached) " >&6
3246 if test -n "$ac_ct_CC"; then
3247 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253 case $as_dir in #(((
3256 *) as_dir=$as_dir/ ;;
3258 for ac_exec_ext in '' $ac_executable_extensions; do
3259 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3260 ac_cv_prog_ac_ct_CC="gcc"
3261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3270 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3271 if test -n "$ac_ct_CC"; then
3272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3273 printf "%s\n" "$ac_ct_CC" >&6; }
3275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3276 printf "%s\n" "no" >&6; }
3279 if test "x$ac_ct_CC" = x; then
3282 case $cross_compiling:$ac_tool_warned in
3284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3285 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3286 ac_tool_warned=yes ;;
3294 if test -z "$CC"; then
3295 if test -n "$ac_tool_prefix"; then
3296 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3297 set dummy ${ac_tool_prefix}cc; ac_word=$2
3298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3299 printf %s "checking for $ac_word... " >&6; }
3300 if test ${ac_cv_prog_CC+y}
3302 printf %s "(cached) " >&6
3304 if test -n "$CC"; then
3305 ac_cv_prog_CC="$CC" # Let the user override the test.
3307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311 case $as_dir in #(((
3314 *) as_dir=$as_dir/ ;;
3316 for ac_exec_ext in '' $ac_executable_extensions; do
3317 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3318 ac_cv_prog_CC="${ac_tool_prefix}cc"
3319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3329 if test -n "$CC"; then
3330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3331 printf "%s\n" "$CC" >&6; }
3333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 printf "%s\n" "no" >&6; }
3340 if test -z "$CC"; then
3341 # Extract the first word of "cc", so it can be a program name with args.
3342 set dummy cc; ac_word=$2
3343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 printf %s "checking for $ac_word... " >&6; }
3345 if test ${ac_cv_prog_CC+y}
3347 printf %s "(cached) " >&6
3349 if test -n "$CC"; then
3350 ac_cv_prog_CC="$CC" # Let the user override the test.
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3357 case $as_dir in #(((
3360 *) as_dir=$as_dir/ ;;
3362 for ac_exec_ext in '' $ac_executable_extensions; do
3363 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3364 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3365 ac_prog_rejected=yes
3369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3376 if test $ac_prog_rejected = yes; then
3377 # We found a bogon in the path, so make sure we never use it.
3378 set dummy $ac_cv_prog_CC
3380 if test $# != 0; then
3381 # We chose a different compiler from the bogus one.
3382 # However, it has the same basename, so the bogon will be chosen
3383 # first if we set CC to just the basename; use the full file name.
3385 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3391 if test -n "$CC"; then
3392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3393 printf "%s\n" "$CC" >&6; }
3395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 printf "%s\n" "no" >&6; }
3401 if test -z "$CC"; then
3402 if test -n "$ac_tool_prefix"; then
3403 for ac_prog in cl.exe
3405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408 printf %s "checking for $ac_word... " >&6; }
3409 if test ${ac_cv_prog_CC+y}
3411 printf %s "(cached) " >&6
3413 if test -n "$CC"; then
3414 ac_cv_prog_CC="$CC" # Let the user override the test.
3416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3420 case $as_dir in #(((
3423 *) as_dir=$as_dir/ ;;
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3427 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3428 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3438 if test -n "$CC"; then
3439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3440 printf "%s\n" "$CC" >&6; }
3442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 printf "%s\n" "no" >&6; }
3447 test -n "$CC" && break
3450 if test -z "$CC"; then
3452 for ac_prog in cl.exe
3454 # Extract the first word of "$ac_prog", so it can be a program name with args.
3455 set dummy $ac_prog; ac_word=$2
3456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3457 printf %s "checking for $ac_word... " >&6; }
3458 if test ${ac_cv_prog_ac_ct_CC+y}
3460 printf %s "(cached) " >&6
3462 if test -n "$ac_ct_CC"; then
3463 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 case $as_dir in #(((
3472 *) as_dir=$as_dir/ ;;
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3476 ac_cv_prog_ac_ct_CC="$ac_prog"
3477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3487 if test -n "$ac_ct_CC"; then
3488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3489 printf "%s\n" "$ac_ct_CC" >&6; }
3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492 printf "%s\n" "no" >&6; }
3496 test -n "$ac_ct_CC" && break
3499 if test "x$ac_ct_CC" = x; then
3502 case $cross_compiling:$ac_tool_warned in
3504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3505 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3506 ac_tool_warned=yes ;;
3513 if test -z "$CC"; then
3514 if test -n "$ac_tool_prefix"; then
3515 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3516 set dummy ${ac_tool_prefix}clang; ac_word=$2
3517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518 printf %s "checking for $ac_word... " >&6; }
3519 if test ${ac_cv_prog_CC+y}
3521 printf %s "(cached) " >&6
3523 if test -n "$CC"; then
3524 ac_cv_prog_CC="$CC" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 case $as_dir in #(((
3533 *) as_dir=$as_dir/ ;;
3535 for ac_exec_ext in '' $ac_executable_extensions; do
3536 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3537 ac_cv_prog_CC="${ac_tool_prefix}clang"
3538 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3548 if test -n "$CC"; then
3549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3550 printf "%s\n" "$CC" >&6; }
3552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 printf "%s\n" "no" >&6; }
3558 if test -z "$ac_cv_prog_CC"; then
3560 # Extract the first word of "clang", so it can be a program name with args.
3561 set dummy clang; ac_word=$2
3562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 printf %s "checking for $ac_word... " >&6; }
3564 if test ${ac_cv_prog_ac_ct_CC+y}
3566 printf %s "(cached) " >&6
3568 if test -n "$ac_ct_CC"; then
3569 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 case $as_dir in #(((
3578 *) as_dir=$as_dir/ ;;
3580 for ac_exec_ext in '' $ac_executable_extensions; do
3581 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3582 ac_cv_prog_ac_ct_CC="clang"
3583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3592 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3593 if test -n "$ac_ct_CC"; then
3594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3595 printf "%s\n" "$ac_ct_CC" >&6; }
3597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 printf "%s\n" "no" >&6; }
3601 if test "x$ac_ct_CC" = x; then
3604 case $cross_compiling:$ac_tool_warned in
3606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3607 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3608 ac_tool_warned=yes ;;
3619 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3620 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3621 as_fn_error $? "no acceptable C compiler found in \$PATH
3622 See \`config.log' for more details" "$LINENO" 5; }
3624 # Provide some information about the compiler.
3625 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3628 for ac_option in --version -v -V -qversion -version; do
3629 { { ac_try="$ac_compiler $ac_option >&5"
3631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3632 *) ac_try_echo=$ac_try;;
3634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3635 printf "%s\n" "$ac_try_echo"; } >&5
3636 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3638 if test -s conftest.err; then
3640 ... rest of stderr output deleted ...
3641 10q' conftest.err >conftest.er1
3642 cat conftest.er1 >&5
3644 rm -f conftest.er1 conftest.err
3645 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3646 test $ac_status = 0; }
3649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3650 /* end confdefs.h. */
3660 ac_clean_files_save=$ac_clean_files
3661 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3662 # Try to create an executable without -o first, disregard a.out.
3663 # It will help us diagnose broken compilers, and finding out an intuition
3665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3666 printf %s "checking whether the C compiler works... " >&6; }
3667 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3669 # The possible output files:
3670 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3673 for ac_file in $ac_files
3676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3677 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3682 if { { ac_try="$ac_link_default"
3684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3685 *) ac_try_echo=$ac_try;;
3687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3688 printf "%s\n" "$ac_try_echo"; } >&5
3689 (eval "$ac_link_default") 2>&5
3691 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3692 test $ac_status = 0; }
3694 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3695 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3696 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3697 # so that the user can short-circuit this test for compilers unknown to
3699 for ac_file in $ac_files ''
3701 test -f "$ac_file" || continue
3703 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3706 # We found the default executable, but exeext='' is most
3710 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3712 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3714 # We set ac_cv_exeext here because the later test for it is not
3715 # safe: cross compilers may not add the suffix if given an `-o'
3716 # argument, so we may need to know it at that point already.
3717 # Even if this section looks crufty: it has the advantage of
3724 test "$ac_cv_exeext" = no && ac_cv_exeext=
3729 if test -z "$ac_file"
3731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 printf "%s\n" "no" >&6; }
3733 printf "%s\n" "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3736 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3737 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3738 as_fn_error 77 "C compiler cannot create executables
3739 See \`config.log' for more details" "$LINENO" 5; }
3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3742 printf "%s\n" "yes" >&6; }
3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3745 printf %s "checking for C compiler default output file name... " >&6; }
3746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3747 printf "%s\n" "$ac_file" >&6; }
3748 ac_exeext=$ac_cv_exeext
3750 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3751 ac_clean_files=$ac_clean_files_save
3752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3753 printf %s "checking for suffix of executables... " >&6; }
3754 if { { ac_try="$ac_link"
3756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3757 *) ac_try_echo=$ac_try;;
3759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3760 printf "%s\n" "$ac_try_echo"; } >&5
3761 (eval "$ac_link") 2>&5
3763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3764 test $ac_status = 0; }
3766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3768 # work properly (i.e., refer to `conftest.exe'), while it won't with
3770 for ac_file in conftest.exe conftest conftest.*; do
3771 test -f "$ac_file" || continue
3773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3780 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3781 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3783 See \`config.log' for more details" "$LINENO" 5; }
3785 rm -f conftest conftest$ac_cv_exeext
3786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3787 printf "%s\n" "$ac_cv_exeext" >&6; }
3789 rm -f conftest.$ac_ext
3790 EXEEXT=$ac_cv_exeext
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3798 FILE *f = fopen ("conftest.out", "w");
3799 return ferror (f) || fclose (f) != 0;
3805 ac_clean_files="$ac_clean_files conftest.out"
3806 # Check that the compiler produces executables we can run. If not, either
3807 # the compiler is broken, or we cross compile.
3808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3809 printf %s "checking whether we are cross compiling... " >&6; }
3810 if test "$cross_compiling" != yes; then
3811 { { ac_try="$ac_link"
3813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814 *) ac_try_echo=$ac_try;;
3816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3817 printf "%s\n" "$ac_try_echo"; } >&5
3818 (eval "$ac_link") 2>&5
3820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3821 test $ac_status = 0; }
3822 if { ac_try='./conftest$ac_cv_exeext'
3823 { { case "(($ac_try" in
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3828 printf "%s\n" "$ac_try_echo"; } >&5
3829 (eval "$ac_try") 2>&5
3831 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }; }; then
3835 if test "$cross_compiling" = maybe; then
3838 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3839 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3840 as_fn_error 77 "cannot run C compiled programs.
3841 If you meant to cross compile, use \`--host'.
3842 See \`config.log' for more details" "$LINENO" 5; }
3846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3847 printf "%s\n" "$cross_compiling" >&6; }
3849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3850 ac_clean_files=$ac_clean_files_save
3851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3852 printf %s "checking for suffix of object files... " >&6; }
3853 if test ${ac_cv_objext+y}
3855 printf %s "(cached) " >&6
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858 /* end confdefs.h. */
3868 rm -f conftest.o conftest.obj
3869 if { { ac_try="$ac_compile"
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3874 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3875 printf "%s\n" "$ac_try_echo"; } >&5
3876 (eval "$ac_compile") 2>&5
3878 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }
3881 for ac_file in conftest.o conftest.obj conftest.*; do
3882 test -f "$ac_file" || continue;
3884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3885 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3890 printf "%s\n" "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3893 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $? "cannot compute suffix of object files: cannot compile
3896 See \`config.log' for more details" "$LINENO" 5; }
3898 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3901 printf "%s\n" "$ac_cv_objext" >&6; }
3902 OBJEXT=$ac_cv_objext
3904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3905 printf %s "checking whether the compiler supports GNU C... " >&6; }
3906 if test ${ac_cv_c_compiler_gnu+y}
3908 printf %s "(cached) " >&6
3910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3924 if ac_fn_c_try_compile "$LINENO"
3930 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3931 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3935 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3938 if test $ac_compiler_gnu = yes; then
3943 ac_test_CFLAGS=${CFLAGS+y}
3944 ac_save_CFLAGS=$CFLAGS
3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3946 printf %s "checking whether $CC accepts -g... " >&6; }
3947 if test ${ac_cv_prog_cc_g+y}
3949 printf %s "(cached) " >&6
3951 ac_save_c_werror_flag=$ac_c_werror_flag
3952 ac_c_werror_flag=yes
3955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956 /* end confdefs.h. */
3966 if ac_fn_c_try_compile "$LINENO"
3971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972 /* end confdefs.h. */
3982 if ac_fn_c_try_compile "$LINENO"
3986 ac_c_werror_flag=$ac_save_c_werror_flag
3988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3989 /* end confdefs.h. */
3999 if ac_fn_c_try_compile "$LINENO"
4003 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4005 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4007 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4008 ac_c_werror_flag=$ac_save_c_werror_flag
4010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4011 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4012 if test $ac_test_CFLAGS; then
4013 CFLAGS=$ac_save_CFLAGS
4014 elif test $ac_cv_prog_cc_g = yes; then
4015 if test "$GCC" = yes; then
4021 if test "$GCC" = yes; then
4028 if test x$ac_prog_cc_stdc = xno
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4031 printf %s "checking for $CC option to enable C11 features... " >&6; }
4032 if test ${ac_cv_prog_cc_c11+y}
4034 printf %s "(cached) " >&6
4036 ac_cv_prog_cc_c11=no
4038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039 /* end confdefs.h. */
4040 $ac_c_conftest_c11_program
4042 for ac_arg in '' -std=gnu11
4044 CC="$ac_save_CC $ac_arg"
4045 if ac_fn_c_try_compile "$LINENO"
4047 ac_cv_prog_cc_c11=$ac_arg
4049 rm -f core conftest.err conftest.$ac_objext conftest.beam
4050 test "x$ac_cv_prog_cc_c11" != "xno" && break
4052 rm -f conftest.$ac_ext
4056 if test "x$ac_cv_prog_cc_c11" = xno
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4059 printf "%s\n" "unsupported" >&6; }
4061 if test "x$ac_cv_prog_cc_c11" = x
4063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4064 printf "%s\n" "none needed" >&6; }
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4067 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4068 CC="$CC $ac_cv_prog_cc_c11"
4070 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4074 if test x$ac_prog_cc_stdc = xno
4076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4077 printf %s "checking for $CC option to enable C99 features... " >&6; }
4078 if test ${ac_cv_prog_cc_c99+y}
4080 printf %s "(cached) " >&6
4082 ac_cv_prog_cc_c99=no
4084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4085 /* end confdefs.h. */
4086 $ac_c_conftest_c99_program
4088 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4090 CC="$ac_save_CC $ac_arg"
4091 if ac_fn_c_try_compile "$LINENO"
4093 ac_cv_prog_cc_c99=$ac_arg
4095 rm -f core conftest.err conftest.$ac_objext conftest.beam
4096 test "x$ac_cv_prog_cc_c99" != "xno" && break
4098 rm -f conftest.$ac_ext
4102 if test "x$ac_cv_prog_cc_c99" = xno
4104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4105 printf "%s\n" "unsupported" >&6; }
4107 if test "x$ac_cv_prog_cc_c99" = x
4109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4110 printf "%s\n" "none needed" >&6; }
4112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4113 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4114 CC="$CC $ac_cv_prog_cc_c99"
4116 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4120 if test x$ac_prog_cc_stdc = xno
4122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4123 printf %s "checking for $CC option to enable C89 features... " >&6; }
4124 if test ${ac_cv_prog_cc_c89+y}
4126 printf %s "(cached) " >&6
4128 ac_cv_prog_cc_c89=no
4130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4131 /* end confdefs.h. */
4132 $ac_c_conftest_c89_program
4134 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4136 CC="$ac_save_CC $ac_arg"
4137 if ac_fn_c_try_compile "$LINENO"
4139 ac_cv_prog_cc_c89=$ac_arg
4141 rm -f core conftest.err conftest.$ac_objext conftest.beam
4142 test "x$ac_cv_prog_cc_c89" != "xno" && break
4144 rm -f conftest.$ac_ext
4148 if test "x$ac_cv_prog_cc_c89" = xno
4150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4151 printf "%s\n" "unsupported" >&6; }
4153 if test "x$ac_cv_prog_cc_c89" = x
4155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4156 printf "%s\n" "none needed" >&6; }
4158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4159 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4160 CC="$CC $ac_cv_prog_cc_c89"
4162 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4168 ac_cpp='$CPP $CPPFLAGS'
4169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4175 ac_cpp='$CPP $CPPFLAGS'
4176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4180 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4181 if test ${am_cv_prog_cc_c_o+y}
4183 printf %s "(cached) " >&6
4185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4186 /* end confdefs.h. */
4196 # Make sure it works both with $CC and with simple cc.
4197 # Following AC_PROG_CC_C_O, we do the test twice because some
4198 # compilers refuse to overwrite an existing .o file with -o,
4199 # though they will create one.
4200 am_cv_prog_cc_c_o=yes
4202 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4203 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } \
4207 && test -f conftest2.$ac_objext; then
4210 am_cv_prog_cc_c_o=no
4214 rm -f core conftest*
4217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4218 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4219 if test "$am_cv_prog_cc_c_o" != yes; then
4220 # Losing compiler, so override with the script.
4221 # FIXME: It is wrong to rewrite CC.
4222 # But if we don't then we get into trouble of one sort or another.
4223 # A longer-term fix would be to have automake use am__CC in this case,
4224 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4225 CC="$am_aux_dir/compile $CC"
4228 ac_cpp='$CPP $CPPFLAGS'
4229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4233 DEPDIR="${am__leading_dot}deps"
4235 ac_config_commands="$ac_config_commands depfiles"
4237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4238 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4239 cat > confinc.mk << 'END'
4241 @echo this is the am__doit target >confinc.out
4246 # BSD make does it like this.
4247 echo '.include "confinc.mk" # ignored' > confmf.BSD
4248 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4249 echo 'include confinc.mk # ignored' > confmf.GNU
4251 for s in GNU BSD; do
4252 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4253 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); }
4257 case $?:`cat confinc.out 2>/dev/null` in #(
4258 '0:this is the am__doit target') :
4261 am__include='.include' am__quote='"' ;; #(
4263 am__include='include' am__quote='' ;;
4268 if test "$am__include" != "#"; then
4269 _am_result="yes ($s style)"
4273 rm -f confinc.* confmf.*
4274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4275 printf "%s\n" "${_am_result}" >&6; }
4277 # Check whether --enable-dependency-tracking was given.
4278 if test ${enable_dependency_tracking+y}
4280 enableval=$enable_dependency_tracking;
4283 if test "x$enable_dependency_tracking" != xno; then
4284 am_depcomp="$ac_aux_dir/depcomp"
4288 if test "x$enable_dependency_tracking" != xno; then
4298 depcc="$CC" am_compiler_list=
4300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4301 printf %s "checking dependency style of $depcc... " >&6; }
4302 if test ${am_cv_CC_dependencies_compiler_type+y}
4304 printf %s "(cached) " >&6
4306 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4307 # We make a subdir and do the tests there. Otherwise we can end up
4308 # making bogus files that we don't know about and never remove. For
4309 # instance it was reported that on HP-UX the gcc test will end up
4310 # making a dummy file named 'D' -- because '-MD' means "put the output
4314 # Copy depcomp to subdir because otherwise we won't find it if we're
4315 # using a relative directory.
4316 cp "$am_depcomp" conftest.dir
4318 # We will build objects and dependencies in a subdirectory because
4319 # it helps to detect inapplicable dependency modes. For instance
4320 # both Tru64's cc and ICC support -MD to output dependencies as a
4321 # side effect of compilation, but ICC will put the dependencies in
4322 # the current directory while Tru64 will put them in the object
4326 am_cv_CC_dependencies_compiler_type=none
4327 if test "$am_compiler_list" = ""; then
4328 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4331 case " $depcc " in #(
4332 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4335 for depmode in $am_compiler_list; do
4336 # Setup a source with many dependencies, because some compilers
4337 # like to wrap large dependency lists on column 80 (with \), and
4338 # we should not choose a depcomp mode which is confused by this.
4340 # We need to recreate these files for each test, as the compiler may
4341 # overwrite some of them when testing with obscure command lines.
4342 # This happens at least with the AIX C compiler.
4344 for i in 1 2 3 4 5 6; do
4345 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4346 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4347 # Solaris 10 /bin/sh.
4348 echo '/* dummy */' > sub/conftst$i.h
4350 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4352 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4353 # mode. It turns out that the SunPro C++ compiler does not properly
4354 # handle '-M -o', and we need to detect this. Also, some Intel
4355 # versions had trouble with output in subdirs.
4356 am__obj=sub/conftest.${OBJEXT-o}
4357 am__minus_obj="-o $am__obj"
4360 # This depmode causes a compiler race in universal mode.
4361 test "$am__universal" = false || continue
4364 # After this tag, mechanisms are not by side-effect, so they'll
4365 # only be used when explicitly requested.
4366 if test "x$enable_dependency_tracking" = xyes; then
4372 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4373 # This compiler won't grok '-c -o', but also, the minuso test has
4374 # not run yet. These depmodes are late enough in the game, and
4375 # so weak that their functioning should not be impacted.
4376 am__obj=conftest.${OBJEXT-o}
4381 if depmode=$depmode \
4382 source=sub/conftest.c object=$am__obj \
4383 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4384 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4385 >/dev/null 2>conftest.err &&
4386 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4387 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4388 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4389 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4390 # icc doesn't choke on unknown options, it will just issue warnings
4391 # or remarks (even with -Werror). So we grep stderr for any message
4392 # that says an option was ignored or not supported.
4393 # When given -MP, icc 7.0 and 7.1 complain thusly:
4394 # icc: Command line warning: ignoring option '-M'; no argument required
4395 # The diagnosis changed in icc 8.0:
4396 # icc: Command line remark: option '-MP' not supported
4397 if (grep 'ignoring option' conftest.err ||
4398 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4399 am_cv_CC_dependencies_compiler_type=$depmode
4408 am_cv_CC_dependencies_compiler_type=none
4412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4413 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4414 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4417 test "x$enable_dependency_tracking" != xno \
4418 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4420 am__fastdepCC_FALSE='#'
4422 am__fastdepCC_TRUE='#'
4423 am__fastdepCC_FALSE=
4428 XSLTPROC_FLAGS='--nonet '
4431 # Extract the first word of "xsltproc$EXEEXT", so it can be a program name with args.
4432 set dummy xsltproc$EXEEXT; ac_word=$2
4433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4434 printf %s "checking for $ac_word... " >&6; }
4435 if test ${ac_cv_path_XSLTPROC+y}
4437 printf %s "(cached) " >&6
4441 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4448 case $as_dir in #(((
4451 *) as_dir=$as_dir/ ;;
4453 for ac_exec_ext in '' $ac_executable_extensions; do
4454 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4455 ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
4456 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4463 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
4467 XSLTPROC=$ac_cv_path_XSLTPROC
4468 if test -n "$XSLTPROC"; then
4469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4470 printf "%s\n" "$XSLTPROC" >&6; }
4472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473 printf "%s\n" "no" >&6; }
4477 if test "$XSLTPROC" = no; then
4478 as_fn_error $? "xsltproc not found in $PATH" "$LINENO" 5
4489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Docbook XSLT version current" >&5
4490 printf %s "checking for Docbook XSLT version current... " >&6; }
4491 if test ${ac_cv_docbook_xslt_current+y}
4493 printf %s "(cached) " >&6
4496 ac_cv_docbook_xslt_current=no
4497 if test -n "$XSLTPROC"; then
4498 echo "Trying '$XSLTPROC $XSLTPROC_FLAGS http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl'" >&5
4499 $XSLTPROC $XSLTPROC_FLAGS http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl >&5 2>&5
4501 if test "$?" = 0; then
4502 ac_cv_docbook_xslt_current=yes
4507 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_docbook_xslt_current" >&5
4508 printf "%s\n" "$ac_cv_docbook_xslt_current" >&6; }
4510 HAVE_DOCBOOK_XSLT_current="$ac_cv_docbook_xslt_current"
4511 HAVE_DOCBOOK_XSLT="$HAVE_DOCBOOK_XSLT_current"
4517 if test "x$HAVE_DOCBOOK_XSLT" = "xno"; then
4518 as_fn_error $? "Docbook XSLT not found" "$LINENO" 5
4521 XSLTPROC_FLAGS='--nonet '
4530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Docbook DTD version 4.5" >&5
4531 printf %s "checking for Docbook DTD version 4.5... " >&6; }
4532 if test ${ac_cv_docbook_dtd_4_5+y}
4534 printf %s "(cached) " >&6
4537 ac_cv_docbook_dtd_4_5=no
4538 if test -n "$XSLTPROC"; then
4539 MY_XSLTPROC_FLAGS=`echo "" $XSLTPROC_FLAGS|sed -e s/--novalid//g`
4540 cat <<EOF >conftest.xml
4541 <?xml version="1.0" encoding='ISO-8859-1'?>
4542 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
4546 cat <<EOF > conftest.xsl
4547 <?xml version='1.0' encoding='ISO-8859-1'?>
4548 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4549 xmlns="http://www.w3.org/1999/xhtml"
4553 echo "Trying '$XSLTPROC $MY_XSLTPROC_FLAGS conftest.xsl conftest.xml'" >&5
4554 $XSLTPROC $MY_XSLTPROC_FLAGS conftest.xsl conftest.xml >conftest.out 2>&1
4555 if test "$?" = 0 -o "$?" = 5; then
4556 # failing to load the DTD is just a warning, so check for it in the output.
4557 if grep 'warning: failed to load external entity' conftest.out >/dev/null 2>&1; then
4560 ac_cv_docbook_dtd_4_5=yes
4563 cat conftest.out >&5
4565 rm -f conftest.xml conftest.xsl conftest.out
4569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_docbook_dtd_4_5" >&5
4570 printf "%s\n" "$ac_cv_docbook_dtd_4_5" >&6; }
4572 HAVE_DOCBOOK_DTD_4_5="$ac_cv_docbook_dtd_4_5"
4573 HAVE_DOCBOOK_DTD=HAVE_DOCBOOK_DTD_4_5
4576 if test "x$HAVE_DOCBOOK_DTD_4_5" = "xno"; then
4577 as_fn_error $? "Docbook DTD 4.5 not found" "$LINENO" 5
4581 # Extract the first word of "xmllint$EXEEXT", so it can be a program name with args.
4582 set dummy xmllint$EXEEXT; ac_word=$2
4583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4584 printf %s "checking for $ac_word... " >&6; }
4585 if test ${ac_cv_path_XMLLINT+y}
4587 printf %s "(cached) " >&6
4591 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4598 case $as_dir in #(((
4601 *) as_dir=$as_dir/ ;;
4603 for ac_exec_ext in '' $ac_executable_extensions; do
4604 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4605 ac_cv_path_XMLLINT="$as_dir$ac_word$ac_exec_ext"
4606 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4613 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="no"
4617 XMLLINT=$ac_cv_path_XMLLINT
4618 if test -n "$XMLLINT"; then
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4620 printf "%s\n" "$XMLLINT" >&6; }
4622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4623 printf "%s\n" "no" >&6; }
4627 if test "$XMLLINT" = no; then
4628 as_fn_error $? "xmllint not found in $PATH" "$LINENO" 5
4631 # Extract the first word of "tidy$EXEEXT", so it can be a program name with args.
4632 set dummy tidy$EXEEXT; ac_word=$2
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 printf %s "checking for $ac_word... " >&6; }
4635 if test ${ac_cv_path_TIDY+y}
4637 printf %s "(cached) " >&6
4641 ac_cv_path_TIDY="$TIDY" # Let the user override the test with a path.
4644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4648 case $as_dir in #(((
4651 *) as_dir=$as_dir/ ;;
4653 for ac_exec_ext in '' $ac_executable_extensions; do
4654 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4655 ac_cv_path_TIDY="$as_dir$ac_word$ac_exec_ext"
4656 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4663 test -z "$ac_cv_path_TIDY" && ac_cv_path_TIDY="no"
4667 TIDY=$ac_cv_path_TIDY
4668 if test -n "$TIDY"; then
4669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TIDY" >&5
4670 printf "%s\n" "$TIDY" >&6; }
4672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673 printf "%s\n" "no" >&6; }
4677 if test "$TIDY" = no; then
4678 as_fn_error $? "tidy not found in $PATH" "$LINENO" 5
4683 # Check whether --with-rev was given.
4684 if test ${with_rev+y}
4687 if test "x${with_rev}" != "x"; then
4694 if test "x${with_rev}" != "x"; then
4695 if test "x${with_rev}" != "xsysv" -a "x${with_rev}" != "xsystemd"; then
4696 as_fn_error $? "REV must be 'sysv' (default) or 'systemd.'" "$LINENO" 5
4702 if test "x${with_rev}" = "xsystemd"; then
4703 BASEDIR=../${VER}-sysdja
4704 PDF_OUTPUT=../lfssysdja-${VER}.pdf
4705 NOCHUNKS_NAME=lfssysdja-${VER}
4706 NOCHUNKS_OUTPUT=../lfssysdja-${VER}.html
4707 DUMPDIR=../lfs-sysd-commands
4709 BASEDIR=../${VER}-ja
4710 PDF_OUTPUT=../lfsbookja-${VER}.pdf
4711 NOCHUNKS_NAME=lfsbookja-${VER}
4712 NOCHUNKS_OUTPUT=../lfsbookja-${VER}.html
4713 DUMPDIR=../lfs-commands
4725 (cd ${bookdir} && sh git-version.sh)
4726 if test -f ${bookdir}/version.ent; then
4727 SVNVER=`grep 'ENTITY version ' ${bookdir}/version.ent | sed -e 's/^<!ENTITY version \"//' -e 's/\">$//' | tr 'A-Z' 'a-z'`
4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the original XML version" >&5
4732 printf %s "checking for the original XML version... " >&6; }
4733 if test ! "$SVNVER" = "$TARGETVER"; then
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SVNVER" >&5
4735 printf "%s\n" "$SVNVER" >&6; }
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Version of the original XML not $TARGETVER" >&5
4737 printf "%s\n" "$as_me: WARNING: Version of the original XML not $TARGETVER" >&2;}
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SVNVER" >&5
4740 printf "%s\n" "$SVNVER" >&6; }
4745 # Extract the first word of "lynx$EXEEXT", so it can be a program name with args.
4746 set dummy lynx$EXEEXT; ac_word=$2
4747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 printf %s "checking for $ac_word... " >&6; }
4749 if test ${ac_cv_path_LYNX+y}
4751 printf %s "(cached) " >&6
4755 ac_cv_path_LYNX="$LYNX" # Let the user override the test with a path.
4758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4762 case $as_dir in #(((
4765 *) as_dir=$as_dir/ ;;
4767 for ac_exec_ext in '' $ac_executable_extensions; do
4768 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4769 ac_cv_path_LYNX="$as_dir$ac_word$ac_exec_ext"
4770 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4777 test -z "$ac_cv_path_LYNX" && ac_cv_path_LYNX="no"
4781 LYNX=$ac_cv_path_LYNX
4782 if test -n "$LYNX"; then
4783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LYNX" >&5
4784 printf "%s\n" "$LYNX" >&6; }
4786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787 printf "%s\n" "no" >&6; }
4791 if test "$LYNX" = no; then
4792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Text version cannot be built." >&5
4793 printf "%s\n" "$as_me: WARNING: Text version cannot be built." >&2;}
4797 # Extract the first word of "fop$EXEEXT", so it can be a program name with args.
4798 set dummy fop$EXEEXT; ac_word=$2
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4800 printf %s "checking for $ac_word... " >&6; }
4801 if test ${ac_cv_path_FOP+y}
4803 printf %s "(cached) " >&6
4807 ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
4810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814 case $as_dir in #(((
4817 *) as_dir=$as_dir/ ;;
4819 for ac_exec_ext in '' $ac_executable_extensions; do
4820 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4821 ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
4822 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4829 test -z "$ac_cv_path_FOP" && ac_cv_path_FOP="no"
4834 if test -n "$FOP"; then
4835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
4836 printf "%s\n" "$FOP" >&6; }
4838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 printf "%s\n" "no" >&6; }
4843 if test "$FOP" = no; then
4844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PDF version cannot be built." >&5
4845 printf "%s\n" "$as_me: WARNING: PDF version cannot be built." >&2;}
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for Takao font files" >&5
4850 printf %s "checking for directory for Takao font files... " >&6; }
4852 # Check whether --with-takaogfontdir was given.
4853 if test ${with_takaogfontdir+y}
4855 withval=$with_takaogfontdir; TAKAOGFONTDIR="$withval"
4859 if test "x${TAKAOGFONTDIR}" = "x"; then
4860 TAKAOGFONTDIR=/usr/share/fonts/takao-gothic
4861 if test ! -d ${TAKAOGFONTDIR}; then
4864 TAKAOMFONTDIR=/usr/share/fonts/takao-mincho
4865 if test ! -d ${TAKAOMFONTDIR}; then
4870 if test "x${TAKAOGFONTDIR}" = "x"; then
4871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found in ${TAKAOGFONTDIR}" >&5
4872 printf "%s\n" "not found in ${TAKAOGFONTDIR}" >&6; }
4873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PDF version cannot be built" >&5
4874 printf "%s\n" "$as_me: WARNING: PDF version cannot be built" >&2;}
4878 TAKAOGFILE=${TAKAOGFONTDIR}/TakaoGothic.ttf
4879 if test ! -f ${TAKAOGFILE}; then
4880 TAKAOGFILE=${TAKAOGFONTDIR}/takao-gothic/TakaoGothic.ttf
4881 if test ! -f ${TAKAOGFILE}; then
4887 TAKAOMFILE=${TAKAOMFONTDIR}/TakaoMincho.ttf
4888 if test ! -f ${TAKAOMFILE}; then
4889 TAKAOMFILE=${TAKAOMFONTDIR}/takao-mincho/TakaoMincho.ttf
4890 if test ! -f ${TAKAOMFILE}; then
4896 if test "x${TAKAOGFILE}" = "x" -o "x${TAKAOMFILE}" = "x"; then
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found in ${TAKAOGFONTDIR}" >&5
4898 printf "%s\n" "not found in ${TAKAOGFONTDIR}" >&6; }
4899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PDF version cannot be built." >&5
4900 printf "%s\n" "$as_me: WARNING: PDF version cannot be built." >&2;}
4905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
4906 printf "%s\n" "found" >&6; }
4911 ac_config_files="$ac_config_files Makefile ctie/Makefile src/Makefile src/userconfig.xml src/appendices/Makefile src/chapter01/Makefile src/chapter02/Makefile src/chapter03/Makefile src/chapter04/Makefile src/chapter05/Makefile src/chapter06/Makefile src/chapter07/Makefile src/chapter08/Makefile src/chapter09/Makefile src/chapter10/Makefile src/chapter11/Makefile src/part3intro/Makefile src/prologue/Makefile src/stylesheets/Makefile src/stylesheets/lfs-xsl/Makefile src/stylesheets/lfs-xsl/pdf/Makefile src/stylesheets/lfs-xsl/xhtml/Makefile src/udev-lfs/Makefile src/udev-lfs/contrib/Makefile src/udev-lfs/contrib/debian/Makefile"
4913 cat >confcache <<\_ACEOF
4914 # This file is a shell script that caches the results of configure
4915 # tests run on this system so they can be shared between configure
4916 # scripts and configure runs, see configure's option --config-cache.
4917 # It is not useful on other systems. If it contains results you don't
4918 # want to keep, you may remove or edit it.
4920 # config.status only pays attention to the cache file if you give it
4921 # the --recheck option to rerun configure.
4923 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4924 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4929 # The following way of writing the cache mishandles newlines in values,
4930 # but we know of no workaround that is simple, portable, and efficient.
4931 # So, we kill variables containing newlines.
4932 # Ultrix sh set writes to stderr and can't be redirected directly,
4933 # and sets the high bit in the cache file unless we assign to the vars.
4935 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4936 eval ac_val=\$$ac_var
4940 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4941 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4944 _ | IFS | as_nl) ;; #(
4945 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4946 *) { eval $ac_var=; unset $ac_var;} ;;
4952 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4953 *${as_nl}ac_space=\ *)
4954 # `set' does not quote correctly, so add quotes: double-quote
4955 # substitution turns \\\\ into \\, and sed turns \\ into \.
4958 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4961 # `set' quotes correctly as required by POSIX, so do not add quotes.
4962 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4971 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4973 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4975 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4976 if test -w "$cache_file"; then
4977 if test "x$cache_file" != "x/dev/null"; then
4978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4979 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4980 if test ! -f "$cache_file" || test -h "$cache_file"; then
4981 cat confcache >"$cache_file"
4983 case $cache_file in #(
4985 mv -f confcache "$cache_file"$$ &&
4986 mv -f "$cache_file"$$ "$cache_file" ;; #(
4988 mv -f confcache "$cache_file" ;;
4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4994 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4999 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5000 # Let make expand exec_prefix.
5001 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5003 # Transform confdefs.h into DEFS.
5004 # Protect against shell expansion while executing Makefile rules.
5005 # Protect against Makefile macro expansion.
5007 # If the first sed substitution is executed (which looks for macros that
5008 # take arguments), then branch to the quote section. Otherwise,
5009 # look for a macro that doesn't take arguments.
5019 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5021 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5025 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5038 DEFS=`sed -n "$ac_script" confdefs.h`
5044 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5045 # 1. Remove the extension, and $U if already installed.
5046 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5047 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5048 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5049 # will be set to the directory where LIBOBJS objects are built.
5050 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5051 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5055 LTLIBOBJS=$ac_ltlibobjs
5058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5059 printf %s "checking that generated files are newer than configure... " >&6; }
5060 if test -n "$am_sleep_pid"; then
5061 # Hide warnings about reused PIDs.
5062 wait $am_sleep_pid 2>/dev/null
5064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5065 printf "%s\n" "done" >&6; }
5066 if test -n "$EXEEXT"; then
5068 am__EXEEXT_FALSE='#'
5074 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5075 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5076 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5078 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5079 as_fn_error $? "conditional \"AMDEP\" was never defined.
5080 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5082 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5083 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5084 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5087 : "${CONFIG_STATUS=./config.status}"
5089 ac_clean_files_save=$ac_clean_files
5090 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5092 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5094 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5096 # Generated by $as_me.
5097 # Run this file to recreate the current configuration.
5098 # Compiler output produced by configure, useful for debugging
5099 # configure, is in config.log if it exists.
5105 SHELL=\${CONFIG_SHELL-$SHELL}
5108 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5109 ## -------------------- ##
5110 ## M4sh Initialization. ##
5111 ## -------------------- ##
5113 # Be more Bourne compatible
5114 DUALCASE=1; export DUALCASE # for MKS sh
5116 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5120 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5121 # is contrary to our usage. Disable this feature.
5122 alias -g '${1+"$@"}'='"$@"'
5123 setopt NO_GLOB_SUBST
5125 case `(set -o) 2>/dev/null` in #(
5135 # Reset variables that may have inherited troublesome values from
5138 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5139 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5140 # side effect of setting IFS to empty, thus disabling word splitting.)
5141 # Quoting is to prevent editors from complaining about space-tab.
5151 # Ensure predictable behavior from utilities with locale-dependent output.
5157 # We cannot yet rely on "unset" to work, but we need these variables
5158 # to be unset--not just set to an empty or harmless value--now, to
5159 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5160 # also avoids known problems related to "unset" and subshell syntax
5161 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5162 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5163 do eval test \${$as_var+y} \
5164 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5167 # Ensure that fds 0, 1, and 2 are open.
5168 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5169 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5170 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5172 # The user is always right.
5173 if ${PATH_SEPARATOR+false} :; then
5175 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5176 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5182 # Find who we are. Look in the path if we contain no directory separator.
5185 *[\\/]* ) as_myself=$0 ;;
5186 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 case $as_dir in #(((
5193 *) as_dir=$as_dir/ ;;
5195 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5201 # We did not find ourselves, most probably we were run as `sh COMMAND'
5202 # in which case we are not to be found in the path.
5203 if test "x$as_myself" = x; then
5206 if test ! -f "$as_myself"; then
5207 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5213 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5214 # ----------------------------------------
5215 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5216 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5217 # script with STATUS, using 1 if that was 0.
5220 as_status=$1; test $as_status -eq 0 && as_status=1
5222 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5223 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5225 printf "%s\n" "$as_me: error: $2" >&2
5226 as_fn_exit $as_status
5231 # as_fn_set_status STATUS
5232 # -----------------------
5233 # Set $? to STATUS, without forking.
5237 } # as_fn_set_status
5241 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5251 # Portably unset VAR.
5254 { eval $1=; unset $1;}
5256 as_unset=as_fn_unset
5258 # as_fn_append VAR VALUE
5259 # ----------------------
5260 # Append the text in VALUE to the end of the definition contained in VAR. Take
5261 # advantage of any shell optimizations that allow amortized linear growth over
5262 # repeated appends, instead of the typical quadratic growth present in naive
5264 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5266 eval 'as_fn_append ()
5277 # as_fn_arith ARG...
5278 # ------------------
5279 # Perform arithmetic evaluation on the ARGs, and store the result in the
5280 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5281 # must be portable across $(()) and expr.
5282 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5284 eval 'as_fn_arith ()
5291 as_val=`expr "$@" || test $? -eq 1`
5296 if expr a : '\(a\)' >/dev/null 2>&1 &&
5297 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5303 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5304 as_basename=basename
5309 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5315 as_me=`$as_basename -- "$0" ||
5316 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5317 X"$0" : 'X\(//\)$' \| \
5318 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5319 printf "%s\n" X/"$0" |
5320 sed '/^.*\/\([^/][^/]*\)\/*$/{
5334 # Avoid depending upon Character Ranges.
5335 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5336 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5337 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5338 as_cr_digits='0123456789'
5339 as_cr_alnum=$as_cr_Letters$as_cr_digits
5342 # Determine whether it's possible to make 'echo' print without a newline.
5343 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5344 # for compatibility with existing Makefiles.
5345 ECHO_C= ECHO_N= ECHO_T=
5346 case `echo -n x` in #(((((
5348 case `echo 'xy\c'` in
5349 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5351 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5358 # For backward compatibility with old third-party macros, we provide
5359 # the shell variables $as_echo and $as_echo_n. New code should use
5360 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5361 as_echo='printf %s\n'
5362 as_echo_n='printf %s'
5364 rm -f conf$$ conf$$.exe conf$$.file
5365 if test -d conf$$.dir; then
5366 rm -f conf$$.dir/conf$$.file
5369 mkdir conf$$.dir 2>/dev/null
5371 if (echo >conf$$.file) 2>/dev/null; then
5372 if ln -s conf$$.file conf$$ 2>/dev/null; then
5374 # ... but there are two gotchas:
5375 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5376 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5377 # In both cases, we have to default to `cp -pR'.
5378 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5380 elif ln conf$$.file conf$$ 2>/dev/null; then
5388 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5389 rmdir conf$$.dir 2>/dev/null
5394 # Create "$as_dir" as a directory, including parents if necessary.
5399 -*) as_dir=./$as_dir;;
5401 test -d "$as_dir" || eval $as_mkdir_p || {
5405 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5406 *) as_qdir=$as_dir;;
5408 as_dirs="'$as_qdir' $as_dirs"
5409 as_dir=`$as_dirname -- "$as_dir" ||
5410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5411 X"$as_dir" : 'X\(//\)[^/]' \| \
5412 X"$as_dir" : 'X\(//\)$' \| \
5413 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5414 printf "%s\n" X"$as_dir" |
5415 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5432 test -d "$as_dir" && break
5434 test -z "$as_dirs" || eval "mkdir $as_dirs"
5435 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5439 if mkdir -p . 2>/dev/null; then
5440 as_mkdir_p='mkdir -p "$as_dir"'
5442 test -d ./-p && rmdir ./-p
5447 # as_fn_executable_p FILE
5448 # -----------------------
5449 # Test if FILE is an executable regular file.
5450 as_fn_executable_p ()
5452 test -f "$1" && test -x "$1"
5453 } # as_fn_executable_p
5455 as_executable_p=as_fn_executable_p
5457 # Sed expression to map a string onto a valid CPP name.
5458 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5460 # Sed expression to map a string onto a valid variable name.
5461 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5465 ## ----------------------------------- ##
5466 ## Main body of $CONFIG_STATUS script. ##
5467 ## ----------------------------------- ##
5469 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5472 # Save the log message, to keep $0 and so on meaningful, and to
5473 # report actual input values of CONFIG_FILES etc. instead of their
5474 # values after options handling.
5476 This file was extended by LFSbookja $as_me git, which was
5477 generated by GNU Autoconf 2.71. Invocation command line was
5479 CONFIG_FILES = $CONFIG_FILES
5480 CONFIG_HEADERS = $CONFIG_HEADERS
5481 CONFIG_LINKS = $CONFIG_LINKS
5482 CONFIG_COMMANDS = $CONFIG_COMMANDS
5485 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5490 case $ac_config_files in *"
5491 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5497 # Files that config.status was made for.
5498 config_files="$ac_config_files"
5499 config_commands="$ac_config_commands"
5503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5505 \`$as_me' instantiates files and other configuration actions
5506 from templates according to the current configuration. Unless the files
5507 and actions are specified as TAGs, all are instantiated by default.
5509 Usage: $0 [OPTION]... [TAG]...
5511 -h, --help print this help, then exit
5512 -V, --version print version number and configuration settings, then exit
5513 --config print configuration, then exit
5514 -q, --quiet, --silent
5515 do not print progress messages
5516 -d, --debug don't remove temporary files
5517 --recheck update $as_me by reconfiguring in the same conditions
5518 --file=FILE[:TEMPLATE]
5519 instantiate the configuration file FILE
5521 Configuration files:
5524 Configuration commands:
5527 Report bugs to <matsuand AT users DOT osdn DOT me>."
5530 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5531 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5533 ac_cs_config='$ac_cs_config_escaped'
5535 LFSbookja config.status git
5536 configured by $0, generated by GNU Autoconf 2.71,
5537 with options \\"\$ac_cs_config\\"
5539 Copyright (C) 2021 Free Software Foundation, Inc.
5540 This config.status script is free software; the Free Software Foundation
5541 gives unlimited permission to copy, distribute and modify it."
5548 test -n "\$AWK" || AWK=awk
5551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5552 # The default lists apply if the user does not specify any file.
5558 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5559 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5563 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5575 # Handling of the options.
5576 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5578 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5579 printf "%s\n" "$ac_cs_version"; exit ;;
5580 --config | --confi | --conf | --con | --co | --c )
5581 printf "%s\n" "$ac_cs_config"; exit ;;
5582 --debug | --debu | --deb | --de | --d | -d )
5584 --file | --fil | --fi | --f )
5587 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5588 '') as_fn_error $? "missing file argument" ;;
5590 as_fn_append CONFIG_FILES " '$ac_optarg'"
5591 ac_need_defaults=false;;
5592 --he | --h | --help | --hel | -h )
5593 printf "%s\n" "$ac_cs_usage"; exit ;;
5594 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5595 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5599 -*) as_fn_error $? "unrecognized option: \`$1'
5600 Try \`$0 --help' for more information." ;;
5602 *) as_fn_append ac_config_targets " $1"
5603 ac_need_defaults=false ;;
5609 ac_configure_extra_args=
5611 if $ac_cs_silent; then
5613 ac_configure_extra_args="$ac_configure_extra_args --silent"
5617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5618 if \$ac_cs_recheck; then
5619 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5621 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5622 CONFIG_SHELL='$SHELL'
5628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5633 ## Running $as_me. ##
5635 printf "%s\n" "$ac_log"
5639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5643 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5649 # Handling of arguments.
5650 for ac_config_target in $ac_config_targets
5652 case $ac_config_target in
5653 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5654 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5655 "ctie/Makefile") CONFIG_FILES="$CONFIG_FILES ctie/Makefile" ;;
5656 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5657 "src/userconfig.xml") CONFIG_FILES="$CONFIG_FILES src/userconfig.xml" ;;
5658 "src/appendices/Makefile") CONFIG_FILES="$CONFIG_FILES src/appendices/Makefile" ;;
5659 "src/chapter01/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter01/Makefile" ;;
5660 "src/chapter02/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter02/Makefile" ;;
5661 "src/chapter03/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter03/Makefile" ;;
5662 "src/chapter04/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter04/Makefile" ;;
5663 "src/chapter05/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter05/Makefile" ;;
5664 "src/chapter06/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter06/Makefile" ;;
5665 "src/chapter07/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter07/Makefile" ;;
5666 "src/chapter08/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter08/Makefile" ;;
5667 "src/chapter09/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter09/Makefile" ;;
5668 "src/chapter10/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter10/Makefile" ;;
5669 "src/chapter11/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter11/Makefile" ;;
5670 "src/part3intro/Makefile") CONFIG_FILES="$CONFIG_FILES src/part3intro/Makefile" ;;
5671 "src/prologue/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/Makefile" ;;
5672 "src/stylesheets/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/Makefile" ;;
5673 "src/stylesheets/lfs-xsl/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/Makefile" ;;
5674 "src/stylesheets/lfs-xsl/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/pdf/Makefile" ;;
5675 "src/stylesheets/lfs-xsl/xhtml/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/xhtml/Makefile" ;;
5676 "src/udev-lfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/udev-lfs/Makefile" ;;
5677 "src/udev-lfs/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/udev-lfs/contrib/Makefile" ;;
5678 "src/udev-lfs/contrib/debian/Makefile") CONFIG_FILES="$CONFIG_FILES src/udev-lfs/contrib/debian/Makefile" ;;
5680 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5685 # If the user did not use the arguments to specify the items to instantiate,
5686 # then the envvar interface is used. Set only those that are not.
5687 # We use the long form for the default assignment because of an extremely
5688 # bizarre bug on SunOS 4.1.3.
5689 if $ac_need_defaults; then
5690 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5691 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5694 # Have a temporary directory for convenience. Make it in the build tree
5695 # simply because there is no reason against having it here, and in addition,
5696 # creating and moving files from /tmp can sometimes cause problems.
5697 # Hook for its removal unless debugging.
5698 # Note that there is a small window in which the directory will not be cleaned:
5699 # after its creation but before its name has been assigned to `$tmp'.
5703 trap 'exit_status=$?
5705 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5707 trap 'as_fn_exit 1' 1 2 13 15
5709 # Create a (secure) tmp directory for tmp files.
5712 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5716 tmp=./conf$$-$RANDOM
5717 (umask 077 && mkdir "$tmp")
5718 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5721 # Set up the scripts for CONFIG_FILES section.
5722 # No need to generate them if there are no CONFIG_FILES.
5723 # This happens for instance with `./config.status config.h'.
5724 if test -n "$CONFIG_FILES"; then
5727 ac_cr=`echo X | tr X '\015'`
5728 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5729 # But we know of no other shell where ac_cr would be empty at this
5730 # point, so we can use a bashism as a fallback.
5731 if test "x$ac_cr" = x; then
5732 eval ac_cr=\$\'\\r\'
5734 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5735 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5741 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5746 echo "cat >conf$$subs.awk <<_ACEOF" &&
5747 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5750 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5751 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5753 for ac_last_try in false false false false false :; do
5754 . ./conf$$subs.sh ||
5755 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5757 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5758 if test $ac_delim_n = $ac_delim_num; then
5760 elif $ac_last_try; then
5761 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5763 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5769 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5773 s/^/S["/; s/!.*/"]=/
5783 s/\(.\{148\}\)..*/\1/
5785 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5790 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5797 s/\(.\{148\}\)..*/\1/
5799 s/["\\]/\\&/g; s/^/"/; s/$/"/
5803 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5808 ' <conf$$subs.awk | sed '
5813 ' >>$CONFIG_STATUS || ac_write_fail=1
5814 rm -f conf$$subs.awk
5815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5817 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5818 for (key in S) S_is_set[key] = 1
5824 nfields = split(line, field, "@")
5826 len = length(field[1])
5827 for (i = 2; i < nfields; i++) {
5829 keylen = length(key)
5830 if (S_is_set[key]) {
5832 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5833 len += length(value) + length(field[++i])
5844 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5845 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5846 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5849 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5850 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5853 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5854 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5855 # trailing colons and then remove the whole line if VPATH becomes empty
5856 # (actually we leave an empty line to preserve line numbers).
5857 if test "x$srcdir" = x.; then
5858 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5877 fi # test -n "$CONFIG_FILES"
5880 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5885 :[FHLC]) ac_mode=$ac_tag; continue;;
5887 case $ac_mode$ac_tag in
5889 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5890 :[FH]-) ac_tag=-:-;;
5891 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5908 -) ac_f="$ac_tmp/stdin";;
5909 *) # Look for the file first in the build tree, then in the source tree
5910 # (if the path is not absolute). The absolute path cannot be DOS-style,
5911 # because $ac_f cannot contain `:'.
5915 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5917 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5919 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5920 as_fn_append ac_file_inputs " '$ac_f'"
5923 # Let's still pretend it is `configure' which instantiates (i.e., don't
5924 # use $as_me), people would be surprised to read:
5925 # /* config.h. Generated by config.status. */
5926 configure_input='Generated from '`
5927 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5929 if test x"$ac_file" != x-; then
5930 configure_input="$ac_file. $configure_input"
5931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5932 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5934 # Neutralize special characters interpreted by sed in replacement strings.
5935 case $configure_input in #(
5936 *\&* | *\|* | *\\* )
5937 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5938 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5939 *) ac_sed_conf_input=$configure_input;;
5943 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5944 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5949 ac_dir=`$as_dirname -- "$ac_file" ||
5950 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5951 X"$ac_file" : 'X\(//\)[^/]' \| \
5952 X"$ac_file" : 'X\(//\)$' \| \
5953 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5954 printf "%s\n" X"$ac_file" |
5955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5972 as_dir="$ac_dir"; as_fn_mkdir_p
5976 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5978 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5979 # A ".." for each directory in $ac_dir_suffix.
5980 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5981 case $ac_top_builddir_sub in
5982 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5983 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5986 ac_abs_top_builddir=$ac_pwd
5987 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5988 # for backward compatibility:
5989 ac_top_builddir=$ac_top_build_prefix
5992 .) # We are building in place.
5994 ac_top_srcdir=$ac_top_builddir_sub
5995 ac_abs_top_srcdir=$ac_pwd ;;
5996 [\\/]* | ?:[\\/]* ) # Absolute name.
5997 ac_srcdir=$srcdir$ac_dir_suffix;
5998 ac_top_srcdir=$srcdir
5999 ac_abs_top_srcdir=$srcdir ;;
6001 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6002 ac_top_srcdir=$ac_top_build_prefix$srcdir
6003 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6005 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6015 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6016 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6020 [\\/$]* | ?:[\\/]* ) ;;
6021 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6026 # If the template does not know about datarootdir, expand it.
6027 # FIXME: This hack should be removed a few years after 2.60.
6028 ac_datarootdir_hack=; ac_datarootdir_seen=
6039 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6040 *datarootdir*) ac_datarootdir_seen=yes;;
6041 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6043 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6046 ac_datarootdir_hack='
6047 s&@datadir@&$datadir&g
6048 s&@docdir@&$docdir&g
6049 s&@infodir@&$infodir&g
6050 s&@localedir@&$localedir&g
6051 s&@mandir@&$mandir&g
6052 s&\\\${datarootdir}&$datarootdir&g' ;;
6056 # Neutralize VPATH when `$srcdir' = `.'.
6057 # Shell code in configure.ac might set extrasub.
6058 # FIXME: do we really want to maintain this feature?
6059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6060 ac_sed_extra="$ac_vpsub
6063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6065 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6066 s|@configure_input@|$ac_sed_conf_input|;t t
6067 s&@top_builddir@&$ac_top_builddir_sub&;t t
6068 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6069 s&@srcdir@&$ac_srcdir&;t t
6070 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6071 s&@top_srcdir@&$ac_top_srcdir&;t t
6072 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6073 s&@builddir@&$ac_builddir&;t t
6074 s&@abs_builddir@&$ac_abs_builddir&;t t
6075 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6076 s&@INSTALL@&$ac_INSTALL&;t t
6077 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6078 $ac_datarootdir_hack
6080 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6081 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6083 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6084 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6085 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6086 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6088 which seems to be undefined. Please make sure it is defined" >&5
6089 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6090 which seems to be undefined. Please make sure it is defined" >&2;}
6092 rm -f "$ac_tmp/stdin"
6094 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6095 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6097 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6101 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6102 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6107 case $ac_file$ac_mode in
6108 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6109 # Older Autoconf quotes --file arguments for eval, but not when files
6110 # are listed without --file. Let's play safe and only enable the eval
6111 # if we detect the quoting.
6112 # TODO: see whether this extra hack can be removed once we start
6113 # requiring Autoconf 2.70 or later.
6114 case $CONFIG_FILES in #(
6116 eval set x "$CONFIG_FILES" ;; #(
6118 set x $CONFIG_FILES ;; #(
6123 # Used to flag and report bootstrapping failures.
6127 # Strip MF so we end up with the name of the file.
6128 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6129 # Check whether this is an Automake generated Makefile which includes
6130 # dependency-tracking related rules and includes.
6131 # Grep'ing the whole file directly is not great: AIX grep has a line
6132 # limit of 2048, but all sed's we know have understand at least 4000.
6133 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6135 am_dirpart=`$as_dirname -- "$am_mf" ||
6136 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6137 X"$am_mf" : 'X\(//\)[^/]' \| \
6138 X"$am_mf" : 'X\(//\)$' \| \
6139 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6140 printf "%s\n" X"$am_mf" |
6141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6158 am_filepart=`$as_basename -- "$am_mf" ||
6159 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6160 X"$am_mf" : 'X\(//\)$' \| \
6161 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6162 printf "%s\n" X/"$am_mf" |
6163 sed '/^.*\/\([^/][^/]*\)\/*$/{
6176 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6177 && sed -e '/# am--include-marker/d' "$am_filepart" \
6178 | $MAKE -f - am--depfiles" >&5
6180 && sed -e '/# am--include-marker/d' "$am_filepart" \
6181 | $MAKE -f - am--depfiles) >&5 2>&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } || am_rc=$?
6186 if test $am_rc -ne 0; then
6187 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6188 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6189 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6190 for automatic dependency tracking. If GNU make was not used, consider
6191 re-running the configure script with MAKE=\"gmake\" (or whatever is
6192 necessary). You can also try re-running configure with the
6193 '--disable-dependency-tracking' option to at least be able to build
6194 the package (albeit without support for automatic dependency tracking).
6195 See \`config.log' for more details" "$LINENO" 5; }
6197 { am_dirpart=; unset am_dirpart;}
6198 { am_filepart=; unset am_filepart;}
6199 { am_mf=; unset am_mf;}
6200 { am_rc=; unset am_rc;}
6201 rm -f conftest-deps.mk
6211 ac_clean_files=$ac_clean_files_save
6213 test $ac_write_fail = 0 ||
6214 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6217 # configure is writing to config.log, and then calls config.status.
6218 # config.status does its own redirection, appending to config.log.
6219 # Unfortunately, on DOS this fails, as config.log is still kept open
6220 # by configure, so config.status won't be able to write to it; its
6221 # output is simply discarded. So we exec the FD to /dev/null,
6222 # effectively closing config.log, so it can be properly (re)opened and
6223 # appended to by config.status. When coming back to configure, we
6224 # need to make the FD available again.
6225 if test "$no_create" != yes; then
6227 ac_config_status_args=
6228 test "$silent" = yes &&
6229 ac_config_status_args="$ac_config_status_args --quiet"
6231 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6233 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6234 # would make configure fail if this is the last instruction.
6235 $ac_cs_success || as_fn_exit 1
6237 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6239 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}