2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.70 for LFSbookja svn.
5 # Report bugs to <matsuand AT users DOT osdn DOT me>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
39 # Reset variables that may have inherited troublesome values from
42 # IFS needs to be set, to space, tab, and newline, in precisely that order.
43 # (If _AS_PATH_WALK were called with IFS unset, it would have the
44 # side effect of setting IFS to empty, thus disabling word splitting.)
45 # Quoting is to prevent editors from complaining about space-tab.
55 # Ensure predictable behavior from utilities with locale-dependent output.
61 # We cannot yet rely on "unset" to work, but we need these variables
62 # to be unset--not just set to an empty or harmless value--now, to
63 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
64 # also avoids known problems related to "unset" and subshell syntax
65 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
66 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
67 do eval test \${$as_var+y} \
68 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
71 # Ensure that fds 0, 1, and 2 are open.
72 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
73 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
74 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
76 # The user is always right.
77 if ${PATH_SEPARATOR+false} :; then
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # Find who we are. Look in the path if we contain no directory separator.
89 *[\\/]* ) as_myself=$0 ;;
90 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Use a proper internal environment variable to ensure we don't fall
117 # into an infinite loop, continuously re-executing ourselves.
118 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
119 _as_can_reexec=no; export _as_can_reexec;
120 # We cannot yet assume a decent shell, so we have to provide a
121 # neutralization value for shells without unset; and this also
122 # works around shells that cannot unset nonexistent variables.
123 # Preserve -v and -x to the replacement shell.
126 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 *v*x* | *x*v* ) as_opts=-vx ;;
133 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
134 # Admittedly, this is quite paranoid, since all the known shells bail
135 # out after a failed `exec'.
136 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
139 # We don't want this to propagate to other subprocesses.
140 { _as_can_reexec=; unset _as_can_reexec;}
141 if test "x$CONFIG_SHELL" = x; then
142 as_bourne_compatible="as_nop=:
143 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
152 case \`(set -o) 2>/dev/null\` in #(
160 as_required="as_fn_return () { (exit \$1); }
161 as_fn_success () { as_fn_return 0; }
162 as_fn_failure () { as_fn_return 1; }
163 as_fn_ret_success () { return 0; }
164 as_fn_ret_failure () { return 1; }
167 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
168 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
169 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
170 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
171 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
175 exitcode=1; echo positional parameters were not saved.
177 test x\$exitcode = x0 || exit 1
178 blah=\$(echo \$(echo blah))
179 test x\"\$blah\" = xblah || exit 1
181 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
182 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
183 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
184 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
185 if (eval "$as_required") 2>/dev/null
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
203 *) as_dir=$as_dir/ ;;
208 for as_base in sh bash ksh sh5; do
209 # Try only shells that exist, to save several forks.
210 as_shell=$as_dir$as_base
211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
214 CONFIG_SHELL=$as_shell as_have_required=yes
215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
232 CONFIG_SHELL=$SHELL as_have_required=yes
237 if test "x$CONFIG_SHELL" != x
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno
262 printf "%s\n" "$0: This script requires a shell more modern than all"
263 printf "%s\n" "$0: the shells that I found on your system."
264 if test ${ZSH_VERSION+y} ; then
265 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
268 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and matsuand AT users
269 $0: DOT osdn DOT me about your system, including any error
270 $0: possibly output before this message. Then install a
271 $0: modern shell, or manually run the script under such a
272 $0: shell if you do have one."
278 SHELL=${CONFIG_SHELL-/bin/sh}
280 # Unset more variables known to interfere with behavior of common tools.
281 CLICOLOR_FORCE= GREP_OPTIONS=
282 unset CLICOLOR_FORCE GREP_OPTIONS
284 ## --------------------- ##
285 ## M4sh Shell Functions. ##
286 ## --------------------- ##
289 # Portably unset VAR.
292 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 # Do nothing but, unlike ":", preserve the value of $?.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 printf "%s\n" X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
411 as_val=`expr "$@" || test $? -eq 1`
417 # Do nothing but, unlike ":", preserve the value of $?.
424 # as_fn_error STATUS ERROR [LINENO LOG_FD]
425 # ----------------------------------------
426 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
427 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
428 # script with STATUS, using 1 if that was 0.
431 as_status=$1; test $as_status -eq 0 && as_status=1
433 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
436 printf "%s\n" "$as_me: error: $2" >&2
437 as_fn_exit $as_status
440 if expr a : '\(a\)' >/dev/null 2>&1 &&
441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
447 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
453 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
459 as_me=`$as_basename -- "$0" ||
460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
461 X"$0" : 'X\(//\)$' \| \
462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
463 printf "%s\n" X/"$0" |
464 sed '/^.*\/\([^/][^/]*\)\/*$/{
478 # Avoid depending upon Character Ranges.
479 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
480 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
481 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
482 as_cr_digits='0123456789'
483 as_cr_alnum=$as_cr_Letters$as_cr_digits
486 as_lineno_1=$LINENO as_lineno_1a=$LINENO
487 as_lineno_2=$LINENO as_lineno_2a=$LINENO
488 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
489 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
490 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
502 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
506 chmod +x "$as_me.lineno" ||
507 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
509 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
510 # already done that, so ensure we don't try to do so again and fall
511 # in an infinite loop. This has already happened in practice.
512 _as_can_reexec=no; export _as_can_reexec
513 # Don't try to exec as it changes $[0], causing all sort of problems
514 # (the dirname of $[0] is not the place where we might find the
515 # original and so on. Autoconf is especially sensitive to this).
517 # Exit status is that of the last command.
522 # Determine whether it's possible to make 'echo' print without a newline.
523 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
524 # for compatibility with existing Makefiles.
525 ECHO_C= ECHO_N= ECHO_T=
526 case `echo -n x` in #(((((
528 case `echo 'xy\c'` in
529 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
531 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
538 # For backward compatibility with old third-party macros, we provide
539 # the shell variables $as_echo and $as_echo_n. New code should use
540 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
541 as_echo='printf %s\n'
542 as_echo_n='printf %s'
545 rm -f conf$$ conf$$.exe conf$$.file
546 if test -d conf$$.dir; then
547 rm -f conf$$.dir/conf$$.file
550 mkdir conf$$.dir 2>/dev/null
552 if (echo >conf$$.file) 2>/dev/null; then
553 if ln -s conf$$.file conf$$ 2>/dev/null; then
555 # ... but there are two gotchas:
556 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
557 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
558 # In both cases, we have to default to `cp -pR'.
559 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
561 elif ln conf$$.file conf$$ 2>/dev/null; then
569 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
570 rmdir conf$$.dir 2>/dev/null
572 if mkdir -p . 2>/dev/null; then
573 as_mkdir_p='mkdir -p "$as_dir"'
575 test -d ./-p && rmdir ./-p
580 as_executable_p=as_fn_executable_p
582 # Sed expression to map a string onto a valid CPP name.
583 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
585 # Sed expression to map a string onto a valid variable name.
586 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
589 test -n "$DJDIR" || exec 7<&0 </dev/null
593 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
594 # so uname gets run too.
595 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 ac_default_prefix=/usr/local
602 ac_config_libobj_dir=.
609 # Identity of this package.
610 PACKAGE_NAME='LFSbookja'
611 PACKAGE_TARNAME='lfsbookja'
612 PACKAGE_VERSION='svn'
613 PACKAGE_STRING='LFSbookja svn'
614 PACKAGE_BUGREPORT='matsuand AT users DOT osdn DOT me'
617 ac_subst_vars='am__EXEEXT_FALSE
661 MAINTAINER_MODE_FALSE
675 INSTALL_STRIP_PROGRAM
718 program_transform_name
732 enable_option_checking
734 enable_maintainer_mode
736 enable_dependency_tracking
740 ac_precious_vars='build_alias
750 # Initialize some variables set by options.
752 ac_init_version=false
753 ac_unrecognized_opts=
755 # The variables have the same names as the options, with
756 # dashes changed to underlines.
764 program_transform_name=s,x,x,
772 # Installation directory options.
773 # These are left unexpanded so users can "make install exec_prefix=/foo"
774 # and all the variables that are supposed to be based on exec_prefix
775 # by default will actually change.
776 # Use braces instead of parens because sh, perl, etc. also accept them.
777 # (The list follows the same order as the GNU Coding Standards.)
778 bindir='${exec_prefix}/bin'
779 sbindir='${exec_prefix}/sbin'
780 libexecdir='${exec_prefix}/libexec'
781 datarootdir='${prefix}/share'
782 datadir='${datarootdir}'
783 sysconfdir='${prefix}/etc'
784 sharedstatedir='${prefix}/com'
785 localstatedir='${prefix}/var'
786 runstatedir='${localstatedir}/run'
787 includedir='${prefix}/include'
788 oldincludedir='/usr/include'
789 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
790 infodir='${datarootdir}/info'
795 libdir='${exec_prefix}/lib'
796 localedir='${datarootdir}/locale'
797 mandir='${datarootdir}/man'
803 # If the previous option needs an argument, assign it.
804 if test -n "$ac_prev"; then
805 eval $ac_prev=\$ac_option
811 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
816 case $ac_dashdash$ac_option in
820 -bindir | --bindir | --bindi | --bind | --bin | --bi)
822 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
825 -build | --build | --buil | --bui | --bu)
826 ac_prev=build_alias ;;
827 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
828 build_alias=$ac_optarg ;;
830 -cache-file | --cache-file | --cache-fil | --cache-fi \
831 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
832 ac_prev=cache_file ;;
833 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
834 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
835 cache_file=$ac_optarg ;;
838 cache_file=config.cache ;;
840 -datadir | --datadir | --datadi | --datad)
842 -datadir=* | --datadir=* | --datadi=* | --datad=*)
843 datadir=$ac_optarg ;;
845 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
846 | --dataroo | --dataro | --datar)
847 ac_prev=datarootdir ;;
848 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
849 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
850 datarootdir=$ac_optarg ;;
852 -disable-* | --disable-*)
853 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
854 # Reject names that are not valid shell variable names.
855 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
856 as_fn_error $? "invalid feature name: \`$ac_useropt'"
857 ac_useropt_orig=$ac_useropt
858 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
859 case $ac_user_opts in
863 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
864 ac_unrecognized_sep=', ';;
866 eval enable_$ac_useropt=no ;;
868 -docdir | --docdir | --docdi | --doc | --do)
870 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
873 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
875 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
878 -enable-* | --enable-*)
879 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
880 # Reject names that are not valid shell variable names.
881 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
882 as_fn_error $? "invalid feature name: \`$ac_useropt'"
883 ac_useropt_orig=$ac_useropt
884 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
885 case $ac_user_opts in
889 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
890 ac_unrecognized_sep=', ';;
892 eval enable_$ac_useropt=\$ac_optarg ;;
894 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
895 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
896 | --exec | --exe | --ex)
897 ac_prev=exec_prefix ;;
898 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
899 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
900 | --exec=* | --exe=* | --ex=*)
901 exec_prefix=$ac_optarg ;;
903 -gas | --gas | --ga | --g)
904 # Obsolete; use --with-gas.
907 -help | --help | --hel | --he | -h)
909 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
910 ac_init_help=recursive ;;
911 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
912 ac_init_help=short ;;
914 -host | --host | --hos | --ho)
915 ac_prev=host_alias ;;
916 -host=* | --host=* | --hos=* | --ho=*)
917 host_alias=$ac_optarg ;;
919 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
921 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
923 htmldir=$ac_optarg ;;
925 -includedir | --includedir | --includedi | --included | --include \
926 | --includ | --inclu | --incl | --inc)
927 ac_prev=includedir ;;
928 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
929 | --includ=* | --inclu=* | --incl=* | --inc=*)
930 includedir=$ac_optarg ;;
932 -infodir | --infodir | --infodi | --infod | --info | --inf)
934 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
935 infodir=$ac_optarg ;;
937 -libdir | --libdir | --libdi | --libd)
939 -libdir=* | --libdir=* | --libdi=* | --libd=*)
942 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
943 | --libexe | --libex | --libe)
944 ac_prev=libexecdir ;;
945 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
946 | --libexe=* | --libex=* | --libe=*)
947 libexecdir=$ac_optarg ;;
949 -localedir | --localedir | --localedi | --localed | --locale)
951 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
952 localedir=$ac_optarg ;;
954 -localstatedir | --localstatedir | --localstatedi | --localstated \
955 | --localstate | --localstat | --localsta | --localst | --locals)
956 ac_prev=localstatedir ;;
957 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
958 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
959 localstatedir=$ac_optarg ;;
961 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
963 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
967 # Obsolete; use --without-fp.
970 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
971 | --no-cr | --no-c | -n)
974 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
975 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
978 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
979 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
980 | --oldin | --oldi | --old | --ol | --o)
981 ac_prev=oldincludedir ;;
982 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
983 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
984 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
985 oldincludedir=$ac_optarg ;;
987 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
989 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
992 -program-prefix | --program-prefix | --program-prefi | --program-pref \
993 | --program-pre | --program-pr | --program-p)
994 ac_prev=program_prefix ;;
995 -program-prefix=* | --program-prefix=* | --program-prefi=* \
996 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
997 program_prefix=$ac_optarg ;;
999 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1000 | --program-suf | --program-su | --program-s)
1001 ac_prev=program_suffix ;;
1002 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1003 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1004 program_suffix=$ac_optarg ;;
1006 -program-transform-name | --program-transform-name \
1007 | --program-transform-nam | --program-transform-na \
1008 | --program-transform-n | --program-transform- \
1009 | --program-transform | --program-transfor \
1010 | --program-transfo | --program-transf \
1011 | --program-trans | --program-tran \
1012 | --progr-tra | --program-tr | --program-t)
1013 ac_prev=program_transform_name ;;
1014 -program-transform-name=* | --program-transform-name=* \
1015 | --program-transform-nam=* | --program-transform-na=* \
1016 | --program-transform-n=* | --program-transform-=* \
1017 | --program-transform=* | --program-transfor=* \
1018 | --program-transfo=* | --program-transf=* \
1019 | --program-trans=* | --program-tran=* \
1020 | --progr-tra=* | --program-tr=* | --program-t=*)
1021 program_transform_name=$ac_optarg ;;
1023 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1025 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1026 pdfdir=$ac_optarg ;;
1028 -psdir | --psdir | --psdi | --psd | --ps)
1030 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1033 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1034 | -silent | --silent | --silen | --sile | --sil)
1037 -runstatedir | --runstatedir | --runstatedi | --runstated \
1038 | --runstate | --runstat | --runsta | --runst | --runs \
1039 | --run | --ru | --r)
1040 ac_prev=runstatedir ;;
1041 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1042 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1043 | --run=* | --ru=* | --r=*)
1044 runstatedir=$ac_optarg ;;
1046 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1048 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1050 sbindir=$ac_optarg ;;
1052 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1053 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1054 | --sharedst | --shareds | --shared | --share | --shar \
1056 ac_prev=sharedstatedir ;;
1057 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1058 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1059 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1061 sharedstatedir=$ac_optarg ;;
1063 -site | --site | --sit)
1065 -site=* | --site=* | --sit=*)
1068 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1070 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1071 srcdir=$ac_optarg ;;
1073 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1074 | --syscon | --sysco | --sysc | --sys | --sy)
1075 ac_prev=sysconfdir ;;
1076 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1077 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1078 sysconfdir=$ac_optarg ;;
1080 -target | --target | --targe | --targ | --tar | --ta | --t)
1081 ac_prev=target_alias ;;
1082 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1083 target_alias=$ac_optarg ;;
1085 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1088 -version | --version | --versio | --versi | --vers | -V)
1089 ac_init_version=: ;;
1092 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid package name: \`$ac_useropt'"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1105 eval with_$ac_useropt=\$ac_optarg ;;
1107 -without-* | --without-*)
1108 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111 as_fn_error $? "invalid package name: \`$ac_useropt'"
1112 ac_useropt_orig=$ac_useropt
1113 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1114 case $ac_user_opts in
1118 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1119 ac_unrecognized_sep=', ';;
1121 eval with_$ac_useropt=no ;;
1124 # Obsolete; use --with-x.
1127 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1128 | --x-incl | --x-inc | --x-in | --x-i)
1129 ac_prev=x_includes ;;
1130 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1131 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1132 x_includes=$ac_optarg ;;
1134 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1135 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1136 ac_prev=x_libraries ;;
1137 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1138 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1139 x_libraries=$ac_optarg ;;
1141 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1142 Try \`$0 --help' for more information"
1146 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1147 # Reject names that are not valid shell variable names.
1148 case $ac_envvar in #(
1149 '' | [0-9]* | *[!_$as_cr_alnum]* )
1150 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1152 eval $ac_envvar=\$ac_optarg
1153 export $ac_envvar ;;
1156 # FIXME: should be removed in autoconf 3.0.
1157 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1158 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1160 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1166 if test -n "$ac_prev"; then
1167 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1168 as_fn_error $? "missing argument to $ac_option"
1171 if test -n "$ac_unrecognized_opts"; then
1172 case $enable_option_checking in
1174 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1175 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1179 # Check all directory arguments for consistency.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir runstatedir
1185 eval ac_val=\$$ac_var
1186 # Remove trailing slashes.
1189 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1190 eval $ac_var=\$ac_val;;
1192 # Be sure to have absolute directory names.
1194 [\\/$]* | ?:[\\/]* ) continue;;
1195 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1197 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1200 # There might be people who depend on the old broken behavior: `$host'
1201 # used to hold the argument of --host etc.
1202 # FIXME: To remove some day.
1205 target=$target_alias
1207 # FIXME: To remove some day.
1208 if test "x$host_alias" != x; then
1209 if test "x$build_alias" = x; then
1210 cross_compiling=maybe
1211 elif test "x$build_alias" != "x$host_alias"; then
1217 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1219 test "$silent" = yes && exec 6>/dev/null
1222 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1223 ac_ls_di=`ls -di .` &&
1224 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1225 as_fn_error $? "working directory cannot be determined"
1226 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1227 as_fn_error $? "pwd does not report name of working directory"
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$as_myself" ||
1235 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$as_myself" : 'X\(//\)[^/]' \| \
1237 X"$as_myself" : 'X\(//\)$' \| \
1238 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1239 printf "%s\n" X"$as_myself" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1268 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1296 \`configure' configures LFSbookja svn to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking ...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1337 --libdir=DIR object code libraries [EPREFIX/lib]
1338 --includedir=DIR C header files [PREFIX/include]
1339 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1340 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1341 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1342 --infodir=DIR info documentation [DATAROOTDIR/info]
1343 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1344 --mandir=DIR man documentation [DATAROOTDIR/man]
1345 --docdir=DIR documentation root [DATAROOTDIR/doc/lfsbookja]
1346 --htmldir=DIR html documentation [DOCDIR]
1347 --dvidir=DIR dvi documentation [DOCDIR]
1348 --pdfdir=DIR pdf documentation [DOCDIR]
1349 --psdir=DIR ps documentation [DOCDIR]
1355 --program-prefix=PREFIX prepend PREFIX to installed program names
1356 --program-suffix=SUFFIX append SUFFIX to installed program names
1357 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of LFSbookja svn:";;
1368 --disable-option-checking ignore unrecognized --enable/--with options
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --enable-silent-rules less verbose build output (undo: "make V=1")
1372 --disable-silent-rules verbose build output (undo: "make V=0")
1373 --enable-maintainer-mode
1374 enable make rules and dependencies not useful (and
1375 sometimes confusing) to the casual installer
1376 --enable-dependency-tracking
1377 do not reject slow dependency extractors
1378 --disable-dependency-tracking
1379 speeds up one-time build
1382 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1383 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1384 --with-bookdir=DIR Specify BOOK sources directory [DIR=../BOOK]
1385 --with-rev=REV Specify BOOK revision [REV=sysv]
1386 --with-takaogfontdir=DIR
1387 Path to directory for TakaoFont files
1389 Some influential environment variables:
1390 CC C compiler command
1391 CFLAGS C compiler flags
1392 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1393 nonstandard directory <lib dir>
1394 LIBS libraries to pass to the linker, e.g. -l<library>
1395 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1396 you have headers in a nonstandard directory <include dir>
1398 Use these variables to override the choices made by `configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1401 Report bugs to <matsuand AT users DOT osdn DOT me>.
1406 if test "$ac_init_help" = "recursive"; then
1407 # If there are subdirs, report their specific --help.
1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409 test -d "$ac_dir" ||
1410 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1415 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1418 # A ".." for each directory in $ac_dir_suffix.
1419 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1420 case $ac_top_builddir_sub in
1421 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1425 ac_abs_top_builddir=$ac_pwd
1426 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1427 # for backward compatibility:
1428 ac_top_builddir=$ac_top_build_prefix
1431 .) # We are building in place.
1433 ac_top_srcdir=$ac_top_builddir_sub
1434 ac_abs_top_srcdir=$ac_pwd ;;
1435 [\\/]* | ?:[\\/]* ) # Absolute name.
1436 ac_srcdir=$srcdir$ac_dir_suffix;
1437 ac_top_srcdir=$srcdir
1438 ac_abs_top_srcdir=$srcdir ;;
1440 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1441 ac_top_srcdir=$ac_top_build_prefix$srcdir
1442 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1444 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1446 cd "$ac_dir" || { ac_status=$?; continue; }
1447 # Check for configure.gnu first; this name is used for a wrapper for
1448 # Metaconfig's "Configure" on case-insensitive file systems.
1449 if test -f "$ac_srcdir/configure.gnu"; then
1451 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1452 elif test -f "$ac_srcdir/configure"; then
1454 $SHELL "$ac_srcdir/configure" --help=recursive
1456 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1458 cd "$ac_pwd" || { ac_status=$?; break; }
1462 test -n "$ac_init_help" && exit $ac_status
1463 if $ac_init_version; then
1465 LFSbookja configure svn
1466 generated by GNU Autoconf 2.70
1468 Copyright (C) 2020 Free Software Foundation, Inc.
1469 This configure script is free software; the Free Software Foundation
1470 gives unlimited permission to copy, distribute and modify it.
1475 ## ------------------------ ##
1476 ## Autoconf initialization. ##
1477 ## ------------------------ ##
1479 # ac_fn_c_try_compile LINENO
1480 # --------------------------
1481 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1482 ac_fn_c_try_compile ()
1484 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1485 rm -f conftest.$ac_objext conftest.beam
1486 if { { ac_try="$ac_compile"
1488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1489 *) ac_try_echo=$ac_try;;
1491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1492 printf "%s\n" "$ac_try_echo"; } >&5
1493 (eval "$ac_compile") 2>conftest.err
1495 if test -s conftest.err; then
1496 grep -v '^ *+' conftest.err >conftest.er1
1497 cat conftest.er1 >&5
1498 mv -f conftest.er1 conftest.err
1500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1501 test $ac_status = 0; } && {
1502 test -z "$ac_c_werror_flag" ||
1503 test ! -s conftest.err
1504 } && test -s conftest.$ac_objext
1508 printf "%s\n" "$as_me: failed program was:" >&5
1509 sed 's/^/| /' conftest.$ac_ext >&5
1513 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1514 as_fn_set_status $ac_retval
1516 } # ac_fn_c_try_compile
1517 ac_configure_args_raw=
1522 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1524 as_fn_append ac_configure_args_raw " '$ac_arg'"
1527 case $ac_configure_args_raw in
1531 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1532 ac_unsafe_a="$ac_unsafe_z#~"
1533 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1534 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1537 cat >config.log <<_ACEOF
1538 This file contains any messages produced by compilers while
1539 running configure, to aid debugging if configure makes a mistake.
1541 It was created by LFSbookja $as_me svn, which was
1542 generated by GNU Autoconf 2.70. Invocation command line was
1544 $ $0$ac_configure_args_raw
1554 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1555 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1556 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1557 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1558 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1560 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1561 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1563 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1564 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1565 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1566 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1567 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1568 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1569 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1577 case $as_dir in #(((
1580 *) as_dir=$as_dir/ ;;
1582 printf "%s\n" "PATH: $as_dir"
1598 # Keep a trace of the command line.
1599 # Strip out --no-create and --no-recursion so they do not pile up.
1600 # Strip out --silent because we don't want to record it for future runs.
1601 # Also quote any args containing shell meta-characters.
1602 # Make two passes to allow for proper duplicate-argument suppression.
1606 ac_must_keep_next=false
1612 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1614 | -silent | --silent | --silen | --sile | --sil)
1617 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1620 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1622 as_fn_append ac_configure_args1 " '$ac_arg'"
1623 if test $ac_must_keep_next = true; then
1624 ac_must_keep_next=false # Got value, back to normal.
1627 *=* | --config-cache | -C | -disable-* | --disable-* \
1628 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1629 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1630 | -with-* | --with-* | -without-* | --without-* | --x)
1631 case "$ac_configure_args0 " in
1632 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1635 -* ) ac_must_keep_next=true ;;
1638 as_fn_append ac_configure_args " '$ac_arg'"
1643 { ac_configure_args0=; unset ac_configure_args0;}
1644 { ac_configure_args1=; unset ac_configure_args1;}
1646 # When interrupted or exit'd, cleanup temporary files, and complete
1647 # config.log. We remove comments because anyway the quotes in there
1648 # would cause problems or look ugly.
1649 # WARNING: Use '\'' to represent an apostrophe within the trap.
1650 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1651 trap 'exit_status=$?
1654 # Save into config.log some information that might help in debugging.
1658 printf "%s\n" "## ---------------- ##
1659 ## Cache variables. ##
1660 ## ---------------- ##"
1662 # The following way of writing the cache mishandles newlines in values,
1664 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1665 eval ac_val=\$$ac_var
1669 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1670 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1673 _ | IFS | as_nl) ;; #(
1674 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1675 *) { eval $ac_var=; unset $ac_var;} ;;
1680 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1681 *${as_nl}ac_space=\ *)
1683 "s/'\''/'\''\\\\'\'''\''/g;
1684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1687 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1694 printf "%s\n" "## ----------------- ##
1695 ## Output variables. ##
1696 ## ----------------- ##"
1698 for ac_var in $ac_subst_vars
1700 eval ac_val=\$$ac_var
1702 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1704 printf "%s\n" "$ac_var='\''$ac_val'\''"
1708 if test -n "$ac_subst_files"; then
1709 printf "%s\n" "## ------------------- ##
1710 ## File substitutions. ##
1711 ## ------------------- ##"
1713 for ac_var in $ac_subst_files
1715 eval ac_val=\$$ac_var
1717 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1719 printf "%s\n" "$ac_var='\''$ac_val'\''"
1724 if test -s confdefs.h; then
1725 printf "%s\n" "## ----------- ##
1732 test "$ac_signal" != 0 &&
1733 printf "%s\n" "$as_me: caught signal $ac_signal"
1734 printf "%s\n" "$as_me: exit $exit_status"
1736 rm -f core *.core core.conftest.* &&
1737 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1740 for ac_signal in 1 2 13 15; do
1741 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1745 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1746 rm -f -r conftest* confdefs.h
1748 printf "%s\n" "/* confdefs.h */" > confdefs.h
1750 # Predefined preprocessor variables.
1752 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1754 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1756 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1758 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1760 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1762 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1765 # Let the site file select an alternate cache file if it wants to.
1766 # Prefer an explicitly selected file to automatically selected ones.
1767 if test -n "$CONFIG_SITE"; then
1768 ac_site_files="$CONFIG_SITE"
1769 elif test "x$prefix" != xNONE; then
1770 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1772 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1775 for ac_site_file in $ac_site_files
1777 case $ac_site_file in #(
1781 ac_site_file=./$ac_site_file ;;
1783 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1785 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1786 sed 's/^/| /' "$ac_site_file" >&5
1788 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1789 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1790 as_fn_error $? "failed to load site script $ac_site_file
1791 See \`config.log' for more details" "$LINENO" 5; }
1795 if test -r "$cache_file"; then
1796 # Some versions of bash will fail to source /dev/null (special files
1797 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1798 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1800 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1802 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1803 *) . "./$cache_file";;
1807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1808 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1812 # Test code for whether the C compiler supports C89 (global declarations)
1813 ac_c_conftest_c89_globals='
1814 /* Does the compiler advertise C89 conformance?
1815 Do not test the value of __STDC__, because some compilers set it to 0
1816 while being otherwise adequately conformant. */
1817 #if !defined __STDC__
1818 # error "Compiler does not advertise C89 conformance"
1824 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1825 struct buf { int x; };
1826 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1827 static char *e (p, i)
1833 static char *f (char * (*g) (char **, int), char **p, ...)
1838 s = g (p, va_arg (v,int));
1843 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1844 function prototypes and stuff, but not \xHH hex character constants.
1845 These do not provoke an error unfortunately, instead are silently treated
1846 as an "x". The following induces an error, until -std is added to get
1847 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1848 array size at least. It is necessary to write \x00 == 0 to get something
1849 that is true only with -std. */
1850 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1852 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1853 inside strings and character constants. */
1854 #define FOO(x) '\''x'\''
1855 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1857 int test (int i, double x);
1858 struct s1 {int (*f) (int a);};
1859 struct s2 {int (*f) (double a);};
1860 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1863 # Test code for whether the C compiler supports C89 (body of main).
1864 ac_c_conftest_c89_main='
1865 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1868 # Test code for whether the C compiler supports C99 (global declarations)
1869 ac_c_conftest_c99_globals='
1870 // Does the compiler advertise C99 conformance?
1871 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1872 # error "Compiler does not advertise C99 conformance"
1875 #include <stdbool.h>
1876 extern int puts (const char *);
1877 extern int printf (const char *, ...);
1878 extern int dprintf (int, const char *, ...);
1879 extern void *malloc (size_t);
1881 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1882 // dprintf is used instead of fprintf to avoid needing to declare
1884 #define debug(...) dprintf (2, __VA_ARGS__)
1885 #define showlist(...) puts (#__VA_ARGS__)
1886 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1888 test_varargs_macros (void)
1893 debug ("X = %d\n", x);
1894 showlist (The first, second, and third items.);
1895 report (x>y, "x is %d but y is %d", x, y);
1898 // Check long long types.
1899 #define BIG64 18446744073709551615ull
1900 #define BIG32 4294967295ul
1901 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
1903 #error "your preprocessor is broken"
1907 #error "your preprocessor is broken"
1909 static long long int bignum = -9223372036854775807LL;
1910 static unsigned long long int ubignum = BIG64;
1912 struct incomplete_array
1920 const wchar_t *name;
1924 typedef const char *ccp;
1927 test_restrict (ccp restrict text)
1929 // See if C++-style comments work.
1930 // Iterate through items via the restricted pointer.
1931 // Also check for declarations in for loops.
1932 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
1937 // Check varargs and va_copy.
1939 test_varargs (const char *format, ...)
1942 va_start (args, format);
1944 va_copy (args_copy, args);
1946 const char *str = "";
1954 case '\''s'\'': // string
1955 str = va_arg (args_copy, const char *);
1957 case '\''d'\'': // int
1958 number = va_arg (args_copy, int);
1960 case '\''f'\'': // float
1961 fnumber = va_arg (args_copy, double);
1970 return *str && number && fnumber;
1974 # Test code for whether the C compiler supports C99 (body of main).
1975 ac_c_conftest_c99_main='
1977 _Bool success = false;
1978 success |= (argc != 0);
1981 if (test_restrict ("String literal") == 0)
1983 char *restrict newvar = "Another string";
1986 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
1987 test_varargs_macros ();
1989 // Check flexible array members.
1990 struct incomplete_array *ia =
1991 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
1993 for (int i = 0; i < ia->datasize; ++i)
1994 ia->data[i] = i * 1.234;
1996 // Check named initializers.
1997 struct named_init ni = {
1999 .name = L"Test wide string",
2000 .average = 543.34343,
2005 int dynamic_array[ni.number];
2006 dynamic_array[0] = argv[0][0];
2007 dynamic_array[ni.number - 1] = 543;
2009 // work around unused variable warnings
2010 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2011 || dynamic_array[ni.number - 1] != 543);
2014 # Test code for whether the C compiler supports C11 (global declarations)
2015 ac_c_conftest_c11_globals='
2016 // Does the compiler advertise C11 conformance?
2017 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2018 # error "Compiler does not advertise C11 conformance"
2022 char _Alignas (double) aligned_as_double;
2023 char _Alignas (0) no_special_alignment;
2024 extern char aligned_as_int;
2025 char _Alignas (0) _Alignas (int) aligned_as_int;
2030 int_alignment = _Alignof (int),
2031 int_array_alignment = _Alignof (int[100]),
2032 char_alignment = _Alignof (char)
2034 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2037 int _Noreturn does_not_return (void) { for (;;) continue; }
2039 // Check _Static_assert.
2040 struct test_static_assert
2043 _Static_assert (sizeof (int) <= sizeof (long int),
2044 "_Static_assert does not work in struct");
2048 // Check UTF-8 literals.
2049 #define u8 syntax error!
2050 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2052 // Check duplicate typedefs.
2053 typedef long *long_ptr;
2054 typedef long int *long_ptr;
2055 typedef long_ptr long_ptr;
2057 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2061 struct { int i; int j; };
2062 struct { int k; long int l; } w;
2068 # Test code for whether the C compiler supports C11 (body of main).
2069 ac_c_conftest_c11_main='
2070 _Static_assert ((offsetof (struct anonymous, i)
2071 == offsetof (struct anonymous, w.k)),
2072 "Anonymous union alignment botch");
2078 # Test code for whether the C compiler supports C11 (complete).
2079 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2080 ${ac_c_conftest_c99_globals}
2081 ${ac_c_conftest_c11_globals}
2084 main (int argc, char **argv)
2087 ${ac_c_conftest_c89_main}
2088 ${ac_c_conftest_c99_main}
2089 ${ac_c_conftest_c11_main}
2094 # Test code for whether the C compiler supports C99 (complete).
2095 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2096 ${ac_c_conftest_c99_globals}
2099 main (int argc, char **argv)
2102 ${ac_c_conftest_c89_main}
2103 ${ac_c_conftest_c99_main}
2108 # Test code for whether the C compiler supports C89 (complete).
2109 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2112 main (int argc, char **argv)
2115 ${ac_c_conftest_c89_main}
2121 # Auxiliary files required by this configure script.
2122 ac_aux_files="compile missing install-sh"
2124 # Locations in which to look for auxiliary files.
2125 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2127 # Search for a directory containing all of the required auxiliary files,
2128 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2129 # If we don't find one directory that contains all the files we need,
2130 # we report the set of missing files from the *first* directory in
2131 # $ac_aux_dir_candidates and give up.
2132 ac_missing_aux_files=""
2133 ac_first_candidate=:
2134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 for as_dir in $ac_aux_dir_candidates
2140 case $as_dir in #(((
2143 *) as_dir=$as_dir/ ;;
2147 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2148 ac_aux_dir_found=yes
2150 for ac_aux in $ac_aux_files
2152 # As a special case, if "install-sh" is required, that requirement
2153 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2154 # and $ac_install_sh is set appropriately for whichever one is found.
2155 if test x"$ac_aux" = x"install-sh"
2157 if test -f "${as_dir}install-sh"; then
2158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2159 ac_install_sh="${as_dir}install-sh -c"
2160 elif test -f "${as_dir}install.sh"; then
2161 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2162 ac_install_sh="${as_dir}install.sh -c"
2163 elif test -f "${as_dir}shtool"; then
2164 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2165 ac_install_sh="${as_dir}shtool install -c"
2168 if $ac_first_candidate; then
2169 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2175 if test -f "${as_dir}${ac_aux}"; then
2176 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2179 if $ac_first_candidate; then
2180 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2187 if test "$ac_aux_dir_found" = yes; then
2188 ac_aux_dir="$as_dir"
2191 ac_first_candidate=false
2200 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2204 # These three variables are undocumented and unsupported,
2205 # and are intended to be withdrawn in a future Autoconf release.
2206 # They can cause serious problems if a builder's source tree is in a directory
2207 # whose full name contains unusual characters.
2208 if test -f "${ac_aux_dir}config.guess"; then
2209 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2211 if test -f "${ac_aux_dir}config.sub"; then
2212 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2214 if test -f "$ac_aux_dir/configure"; then
2215 ac_configure="$SHELL ${ac_aux_dir}configure"
2218 # Check that the precious variables saved in the cache have kept the same
2220 ac_cache_corrupted=false
2221 for ac_var in $ac_precious_vars; do
2222 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2223 eval ac_new_set=\$ac_env_${ac_var}_set
2224 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2225 eval ac_new_val=\$ac_env_${ac_var}_value
2226 case $ac_old_set,$ac_new_set in
2228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2229 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2230 ac_cache_corrupted=: ;;
2232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2233 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2234 ac_cache_corrupted=: ;;
2237 if test "x$ac_old_val" != "x$ac_new_val"; then
2238 # differences in whitespace do not lead to failure.
2239 ac_old_val_w=`echo x $ac_old_val`
2240 ac_new_val_w=`echo x $ac_new_val`
2241 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2242 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2243 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2244 ac_cache_corrupted=:
2246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2247 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2248 eval $ac_var=\$ac_old_val
2250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2251 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2253 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2256 # Pass precious variables to config.status.
2257 if test "$ac_new_set" = set; then
2259 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2260 *) ac_arg=$ac_var=$ac_new_val ;;
2262 case " $ac_configure_args " in
2263 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2264 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2268 if $ac_cache_corrupted; then
2269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2270 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2272 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2273 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2274 and start over" "$LINENO" 5
2276 ## -------------------- ##
2277 ## Main body of script. ##
2278 ## -------------------- ##
2281 ac_cpp='$CPP $CPPFLAGS'
2282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2287 am__api_version='1.16'
2291 # Find a good install program. We prefer a C program (faster),
2292 # so one script is as good as another. But avoid the broken or
2293 # incompatible versions:
2294 # SysV /etc/install, /usr/sbin/install
2295 # SunOS /usr/etc/install
2296 # IRIX /sbin/install
2298 # AmigaOS /C/install, which installs bootblocks on floppy discs
2299 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2302 # OS/2's system install, which has a completely different semantic
2303 # ./install, which can be erroneously created by make from ./install.sh.
2304 # Reject install programs that cannot install multiple files.
2305 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2306 printf %s "checking for a BSD-compatible install... " >&6; }
2307 if test -z "$INSTALL"; then
2308 if test ${ac_cv_path_install+y}
2310 printf %s "(cached) " >&6
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 case $as_dir in #(((
2319 *) as_dir=$as_dir/ ;;
2321 # Account for fact that we put trailing slashes in our PATH walk.
2324 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2325 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2328 # OSF1 and SCO ODT 3.0 have their own names for install.
2329 # Don't use installbsd from OSF since it installs stuff as root
2331 for ac_prog in ginstall scoinst install; do
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2334 if test $ac_prog = install &&
2335 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2336 # AIX install. It has an incompatible calling convention.
2338 elif test $ac_prog = install &&
2339 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2340 # program-specific install script used by HP pwplus--don't use.
2343 rm -rf conftest.one conftest.two conftest.dir
2344 echo one > conftest.one
2345 echo two > conftest.two
2347 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2348 test -s conftest.one && test -s conftest.two &&
2349 test -s conftest.dir/conftest.one &&
2350 test -s conftest.dir/conftest.two
2352 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2365 rm -rf conftest.one conftest.two conftest.dir
2368 if test ${ac_cv_path_install+y}; then
2369 INSTALL=$ac_cv_path_install
2371 # As a last resort, use the slow shell script. Don't cache a
2372 # value for INSTALL within a source directory, because that will
2373 # break other packages using the cache if that directory is
2374 # removed, or if the value is a relative name.
2375 INSTALL=$ac_install_sh
2378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2379 printf "%s\n" "$INSTALL" >&6; }
2381 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2382 # It thinks the first close brace ends the variable substitution.
2383 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2385 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2387 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2390 printf %s "checking whether build environment is sane... " >&6; }
2391 # Reject unsafe characters in $srcdir or the absolute working directory
2392 # name. Accept space and tab only in the latter.
2396 *[\\\"\#\$\&\'\`$am_lf]*)
2397 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2400 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2401 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2404 # Do 'set' in a subshell so we don't clobber the current shell's
2405 # arguments. Must try -L first in case configure is actually a
2406 # symlink; some systems play weird games with the mod time of symlinks
2407 # (eg FreeBSD returns the mod time of the symlink's containing
2411 for am_try in 1 2; do
2412 echo "timestamp, slept: $am_has_slept" > conftest.file
2413 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2414 if test "$*" = "X"; then
2416 set X `ls -t "$srcdir/configure" conftest.file`
2418 if test "$*" != "X $srcdir/configure conftest.file" \
2419 && test "$*" != "X conftest.file $srcdir/configure"; then
2421 # If neither matched, then we have a broken ls. This can happen
2422 # if, for instance, CONFIG_SHELL is bash and it inherits a
2423 # broken ls alias from the environment. This has actually
2424 # happened. Such a system could not be considered "sane".
2425 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2426 alias in your environment" "$LINENO" 5
2428 if test "$2" = conftest.file || test $am_try -eq 2; then
2435 test "$2" = conftest.file
2441 as_fn_error $? "newly created file is older than distributed files!
2442 Check your system clock" "$LINENO" 5
2444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 printf "%s\n" "yes" >&6; }
2446 # If we didn't sleep, we still need to ensure time stamps of config.status and
2447 # generated files are strictly newer.
2449 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2456 test "$program_prefix" != NONE &&
2457 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2458 # Use a double $ so make ignores it.
2459 test "$program_suffix" != NONE &&
2460 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2461 # Double any \ or $.
2462 # By default was `s,x,x', remove it if useless.
2463 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2464 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2467 # Expand $ac_aux_dir to an absolute path.
2468 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2471 if test x"${MISSING+set}" != xset; then
2472 MISSING="\${SHELL} '$am_aux_dir/missing'"
2474 # Use eval to expand $SHELL
2475 if eval "$MISSING --is-lightweight"; then
2476 am_missing_run="$MISSING "
2479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2480 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2483 if test x"${install_sh+set}" != xset; then
2486 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2488 install_sh="\${SHELL} $am_aux_dir/install-sh"
2492 # Installed binaries are usually stripped using 'strip' when the user
2493 # run "make install-strip". However 'strip' might not be the right
2494 # tool to use in cross-compilation environments, therefore Automake
2495 # will honor the 'STRIP' environment variable to overrule this program.
2496 if test "$cross_compiling" != no; then
2497 if test -n "$ac_tool_prefix"; then
2498 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2499 set dummy ${ac_tool_prefix}strip; ac_word=$2
2500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 printf %s "checking for $ac_word... " >&6; }
2502 if test ${ac_cv_prog_STRIP+y}
2504 printf %s "(cached) " >&6
2506 if test -n "$STRIP"; then
2507 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 case $as_dir in #(((
2516 *) as_dir=$as_dir/ ;;
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2520 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2530 STRIP=$ac_cv_prog_STRIP
2531 if test -n "$STRIP"; then
2532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2533 printf "%s\n" "$STRIP" >&6; }
2535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 printf "%s\n" "no" >&6; }
2541 if test -z "$ac_cv_prog_STRIP"; then
2543 # Extract the first word of "strip", so it can be a program name with args.
2544 set dummy strip; ac_word=$2
2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 printf %s "checking for $ac_word... " >&6; }
2547 if test ${ac_cv_prog_ac_ct_STRIP+y}
2549 printf %s "(cached) " >&6
2551 if test -n "$ac_ct_STRIP"; then
2552 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2558 case $as_dir in #(((
2561 *) as_dir=$as_dir/ ;;
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_ac_ct_STRIP="strip"
2566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2575 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2576 if test -n "$ac_ct_STRIP"; then
2577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2578 printf "%s\n" "$ac_ct_STRIP" >&6; }
2580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 printf "%s\n" "no" >&6; }
2584 if test "x$ac_ct_STRIP" = x; then
2587 case $cross_compiling:$ac_tool_warned in
2589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591 ac_tool_warned=yes ;;
2596 STRIP="$ac_cv_prog_STRIP"
2600 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2604 printf %s "checking for a race-free mkdir -p... " >&6; }
2605 if test -z "$MKDIR_P"; then
2606 if test ${ac_cv_path_mkdir+y}
2608 printf %s "(cached) " >&6
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2611 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2614 case $as_dir in #(((
2617 *) as_dir=$as_dir/ ;;
2619 for ac_prog in mkdir gmkdir; do
2620 for ac_exec_ext in '' $ac_executable_extensions; do
2621 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2622 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2623 'mkdir ('*'coreutils) '* | \
2625 'mkdir (fileutils) '4.1*)
2626 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2636 test -d ./--version && rmdir ./--version
2637 if test ${ac_cv_path_mkdir+y}; then
2638 MKDIR_P="$ac_cv_path_mkdir -p"
2640 # As a last resort, use the slow shell script. Don't cache a
2641 # value for MKDIR_P within a source directory, because that will
2642 # break other packages using the cache if that directory is
2643 # removed, or if the value is a relative name.
2644 MKDIR_P="$ac_install_sh -d"
2647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2648 printf "%s\n" "$MKDIR_P" >&6; }
2650 for ac_prog in gawk mawk nawk awk
2652 # Extract the first word of "$ac_prog", so it can be a program name with args.
2653 set dummy $ac_prog; ac_word=$2
2654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2655 printf %s "checking for $ac_word... " >&6; }
2656 if test ${ac_cv_prog_AWK+y}
2658 printf %s "(cached) " >&6
2660 if test -n "$AWK"; then
2661 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667 case $as_dir in #(((
2670 *) as_dir=$as_dir/ ;;
2672 for ac_exec_ext in '' $ac_executable_extensions; do
2673 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2674 ac_cv_prog_AWK="$ac_prog"
2675 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2685 if test -n "$AWK"; then
2686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2687 printf "%s\n" "$AWK" >&6; }
2689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 printf "%s\n" "no" >&6; }
2694 test -n "$AWK" && break
2697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2698 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2700 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2701 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2703 printf %s "(cached) " >&6
2705 cat >conftest.make <<\_ACEOF
2708 @echo '@@@%%%=$(MAKE)=@@@%%%'
2710 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2711 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2713 eval ac_cv_prog_make_${ac_make}_set=yes;;
2715 eval ac_cv_prog_make_${ac_make}_set=no;;
2719 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2721 printf "%s\n" "yes" >&6; }
2724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2725 printf "%s\n" "no" >&6; }
2726 SET_MAKE="MAKE=${MAKE-make}"
2729 rm -rf .tst 2>/dev/null
2730 mkdir .tst 2>/dev/null
2731 if test -d .tst; then
2736 rmdir .tst 2>/dev/null
2738 # Check whether --enable-silent-rules was given.
2739 if test ${enable_silent_rules+y}
2741 enableval=$enable_silent_rules;
2744 case $enable_silent_rules in # (((
2745 yes) AM_DEFAULT_VERBOSITY=0;;
2746 no) AM_DEFAULT_VERBOSITY=1;;
2747 *) AM_DEFAULT_VERBOSITY=1;;
2749 am_make=${MAKE-make}
2750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2751 printf %s "checking whether $am_make supports nested variables... " >&6; }
2752 if test ${am_cv_make_support_nested_variables+y}
2754 printf %s "(cached) " >&6
2756 if printf "%s\n" 'TRUE=$(BAR$(V))
2762 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2763 am_cv_make_support_nested_variables=yes
2765 am_cv_make_support_nested_variables=no
2768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2769 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
2770 if test $am_cv_make_support_nested_variables = yes; then
2772 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2774 AM_V=$AM_DEFAULT_VERBOSITY
2775 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2779 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2780 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2781 # is not polluted with repeated "-I."
2782 am__isrc=' -I$(srcdir)'
2783 # test to see if srcdir already configured
2784 if test -f $srcdir/config.status; then
2785 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2789 # test whether we have cygpath
2790 if test -z "$CYGPATH_W"; then
2791 if (cygpath --version) >/dev/null 2>/dev/null; then
2792 CYGPATH_W='cygpath -w'
2799 # Define the identity of the package.
2804 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
2807 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
2809 # Some tools Automake needs.
2811 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2814 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2817 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2820 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2823 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2825 # For better backward compatibility. To be removed once Automake 1.9.x
2826 # dies out for good. For more background, see:
2827 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2828 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2829 mkdir_p='$(MKDIR_P)'
2831 # We need awk for the "check" target (and possibly the TAP driver). The
2832 # system "awk" is bad on some platforms.
2833 # Always define AMTAR for backward compatibility. Yes, it's still used
2834 # in the wild :-( We should find a proper way to deprecate it ...
2838 # We'll loop over all known methods to create a tar archive until one works.
2839 _am_tools='gnutar pax cpio none'
2841 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2848 # POSIX will say in a future version that running "rm -f" with no argument
2849 # is OK; and we want to be able to make that assumption in our Makefile
2850 # recipes. So use an aggressive probe to check that the usage we want is
2851 # actually supported "in the wild" to an acceptable degree.
2852 # See automake bug#10828.
2853 # To make any issue more visible, cause the running configure to be aborted
2854 # by default if the 'rm' program in use doesn't match our expectations; the
2855 # user can still override this though.
2856 if rm -f && rm -fr && rm -rf; then : OK; else
2860 Your 'rm' program seems unable to run without file operands specified
2861 on the command line, even when the '-f' option is present. This is contrary
2862 to the behaviour of most rm programs out there, and not conforming with
2863 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2865 Please tell bug-automake@gnu.org about your system, including the value
2866 of your $PATH and any error possibly output before this message. This
2867 can help us improve future automake versions.
2870 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2871 echo 'Configuration will proceed anyway, since you have set the' >&2
2872 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2876 Aborting the configuration process, to ensure you take notice of the issue.
2878 You can download and install GNU coreutils to get an 'rm' implementation
2879 that behaves properly: <https://www.gnu.org/software/coreutils/>.
2881 If you want to complete the configuration process using your problematic
2882 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2883 to "yes", and re-run configure.
2886 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2892 printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2893 # Check whether --enable-maintainer-mode was given.
2894 if test ${enable_maintainer_mode+y}
2896 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2898 USE_MAINTAINER_MODE=no
2901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2902 printf "%s\n" "$USE_MAINTAINER_MODE" >&6; }
2903 if test $USE_MAINTAINER_MODE = yes; then
2904 MAINTAINER_MODE_TRUE=
2905 MAINTAINER_MODE_FALSE='#'
2907 MAINTAINER_MODE_TRUE='#'
2908 MAINTAINER_MODE_FALSE=
2911 MAINT=$MAINTAINER_MODE_TRUE
2929 CTIE=ctie/ctie$EXEEXT
2934 # Check whether --with-bookdir was given.
2935 if test ${with_bookdir+y}
2937 withval=$with_bookdir;
2938 if test -d "${with_bookdir}" ; then
2939 bookdir=${with_bookdir}
2945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the original XML files" >&5
2946 printf %s "checking for the original XML files... " >&6; }
2947 if test ! -f "${bookdir}/general.ent"; then
2948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2949 printf "%s\n" "no" >&6; }
2950 as_fn_error $? "The original XML files not found in ${bookdir}" "$LINENO" 5
2952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5
2953 printf "%s\n" "ok" >&6; }
2957 abs_bookdir=`(cd $bookdir && pwd)`
2960 # ===========================================================================
2961 # http://autoconf-archive.cryp.to/ax_compare_version.html
2962 # ===========================================================================
2966 # AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
2970 # This macro compares two version strings. Due to the various number of
2971 # minor-version numbers that can exist, and the fact that string
2972 # comparisons are not compatible with numeric comparisons, this is not
2973 # necessarily trivial to do in a autoconf script. This macro makes doing
2974 # these comparisons easy.
2976 # The six basic comparisons are available, as well as checking equality
2977 # limited to a certain number of minor-version levels.
2979 # The operator OP determines what type of comparison to do, and can be one
2982 # eq - equal (test A == B)
2983 # ne - not equal (test A != B)
2984 # le - less than or equal (test A <= B)
2985 # ge - greater than or equal (test A >= B)
2986 # lt - less than (test A < B)
2987 # gt - greater than (test A > B)
2989 # Additionally, the eq and ne operator can have a number after it to limit
2990 # the test to that number of minor versions.
2992 # eq0 - equal up to the length of the shorter version
2993 # ne0 - not equal up to the length of the shorter version
2994 # eqN - equal up to N sub-version levels
2995 # neN - not equal up to N sub-version levels
2997 # When the condition is true, shell commands ACTION-IF-TRUE are run,
2998 # otherwise shell commands ACTION-IF-FALSE are run. The environment
2999 # variable 'ax_compare_version' is always set to either 'true' or 'false'
3004 # AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8])
3005 # AX_COMPARE_VERSION([3.15],[lt],[3.15.8])
3007 # would both be true.
3009 # AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8])
3010 # AX_COMPARE_VERSION([3.15],[gt],[3.15.8])
3012 # would both be false.
3014 # AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8])
3016 # would be true because it is only comparing two minor versions.
3018 # AX_COMPARE_VERSION([3.15.7],[eq0],[3.15])
3020 # would be true because it is only comparing the lesser number of minor
3021 # versions of the two values.
3023 # Note: The characters that separate the version numbers do not matter. An
3024 # empty string is the same as version 0. OP is evaluated by autoconf, not
3025 # configure, so must be a string, not a variable.
3027 # The author would like to acknowledge Guido Draheim whose advice about
3028 # the m4_case and m4_ifvaln functions make this macro only include the
3029 # portions necessary to perform the specific comparison specified by the
3030 # OP argument in the final configure script.
3034 # Copyright (c) 2008 Tim Toolan <toolan@ele.uri.edu>
3036 # Copying and distribution of this file, with or without modification, are
3037 # permitted in any medium without royalty provided the copyright notice
3038 # and this notice are preserved.
3041 # ===========================================================================
3042 # http://autoconf-archive.cryp.to/ac_check_docbook_xslt.html
3043 # ===========================================================================
3047 # AC_CHECK_DOCBOOK_XSLT([xslt-version])
3051 # Check for access to docbook stylesheets of a particular revision. This
3052 # macro can be used for multiple versions within the same script.
3056 # $1 is the version of docbook to search for; default 'current'.
3060 # $HAVE_DOCBOOK_XSLT_VERS will be set to 'yes' or 'no' depending on the
3061 # results of the test, where VERS is $1, with '_' substituted for '.'.
3062 # $HAVE_DOCBOOK_XSLT will also be set to the same value.
3066 # AC_CHECK_DOCBOOK_XSLT(1.72.0)
3067 # if test "x$HAVE_DOCBOOK_XSLT_1_72_0" = "xyes"; then
3072 # Copyright (c) 2008 Zmanda Inc. <http://www.zmanda.com/>
3073 # Copyright (c) 2008 Dustin J. Mitchell <dustin@zmanda.com>
3075 # This program is free software; you can redistribute it and/or modify it
3076 # under the terms of the GNU General Public License as published by the
3077 # Free Software Foundation; either version 2 of the License, or (at your
3078 # option) any later version.
3080 # This program is distributed in the hope that it will be useful, but
3081 # WITHOUT ANY WARRANTY; without even the implied warranty of
3082 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3083 # Public License for more details.
3085 # You should have received a copy of the GNU General Public License along
3086 # with this program. If not, see <http://www.gnu.org/licenses/>.
3088 # As a special exception, the respective Autoconf Macro's copyright owner
3089 # gives unlimited permission to copy, distribute and modify the configure
3090 # scripts that are the output of Autoconf when processing the Macro. You
3091 # need not follow the terms of the GNU General Public License when using
3092 # or distributing such scripts, even though portions of the text of the
3093 # Macro appear in them. The GNU General Public License (GPL) does govern
3094 # all other use of the material that constitutes the Autoconf Macro.
3096 # This special exception to the GPL applies to versions of the Autoconf
3097 # Macro released by the Autoconf Archive. When you make and distribute a
3098 # modified version of the Autoconf Macro, you may extend this special
3099 # exception to the GPL to apply to your modified version as well.
3103 # ===========================================================================
3104 # http://autoconf-archive.cryp.to/ac_check_docbook_dtd.html
3105 # ===========================================================================
3109 # AC_CHECK_DOCBOOK_DTD([dtd-version])
3113 # Check for access to a docbook DTD of a particular revision. This macro
3114 # can be used for multiple versions within the same script.
3118 # $1 is the version of docbook to search for; default 'current'.
3122 # $HAVE_DOCBOOK_DTD_VERS will be set to 'yes' or 'no' depending on the
3123 # results of the test, where VERS is $1, with '_' substituted for '.'
3124 # $HAVE_DOCBOOK_DTD will also be set to the same value.
3128 # AC_CHECK_DOCBOOK_DTD(4.3)
3129 # if test "x$HAVE_DOCBOOK_DTD_4_3" = "xyes"; then
3134 # Copyright (c) 2008 Zmanda Inc. <http://www.zmanda.com/>
3135 # Copyright (c) 2008 Dustin J. Mitchell <dustin@zmanda.com>
3137 # This program is free software; you can redistribute it and/or modify it
3138 # under the terms of the GNU General Public License as published by the
3139 # Free Software Foundation; either version 2 of the License, or (at your
3140 # option) any later version.
3142 # This program is distributed in the hope that it will be useful, but
3143 # WITHOUT ANY WARRANTY; without even the implied warranty of
3144 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
3145 # Public License for more details.
3147 # You should have received a copy of the GNU General Public License along
3148 # with this program. If not, see <http://www.gnu.org/licenses/>.
3150 # As a special exception, the respective Autoconf Macro's copyright owner
3151 # gives unlimited permission to copy, distribute and modify the configure
3152 # scripts that are the output of Autoconf when processing the Macro. You
3153 # need not follow the terms of the GNU General Public License when using
3154 # or distributing such scripts, even though portions of the text of the
3155 # Macro appear in them. The GNU General Public License (GPL) does govern
3156 # all other use of the material that constitutes the Autoconf Macro.
3158 # This special exception to the GPL applies to versions of the Autoconf
3159 # Macro released by the Autoconf Archive. When you make and distribute a
3160 # modified version of the Autoconf Macro, you may extend this special
3161 # exception to the GPL to apply to your modified version as well.
3165 #m4_include([m4/ac_check_ipafontdir.m4])
3172 TAKAOGEXFILE=/usr/share/fonts/takao-gothic/TakaoExGothic.ttf
3176 # Checks for programs.
3187 ac_cpp='$CPP $CPPFLAGS'
3188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3191 if test -n "$ac_tool_prefix"; then
3192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3193 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195 printf %s "checking for $ac_word... " >&6; }
3196 if test ${ac_cv_prog_CC+y}
3198 printf %s "(cached) " >&6
3200 if test -n "$CC"; then
3201 ac_cv_prog_CC="$CC" # Let the user override the test.
3203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 case $as_dir in #(((
3210 *) as_dir=$as_dir/ ;;
3212 for ac_exec_ext in '' $ac_executable_extensions; do
3213 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3225 if test -n "$CC"; then
3226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3227 printf "%s\n" "$CC" >&6; }
3229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 printf "%s\n" "no" >&6; }
3235 if test -z "$ac_cv_prog_CC"; then
3237 # Extract the first word of "gcc", so it can be a program name with args.
3238 set dummy gcc; ac_word=$2
3239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3240 printf %s "checking for $ac_word... " >&6; }
3241 if test ${ac_cv_prog_ac_ct_CC+y}
3243 printf %s "(cached) " >&6
3245 if test -n "$ac_ct_CC"; then
3246 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3252 case $as_dir in #(((
3255 *) as_dir=$as_dir/ ;;
3257 for ac_exec_ext in '' $ac_executable_extensions; do
3258 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3259 ac_cv_prog_ac_ct_CC="gcc"
3260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3269 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3270 if test -n "$ac_ct_CC"; then
3271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3272 printf "%s\n" "$ac_ct_CC" >&6; }
3274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275 printf "%s\n" "no" >&6; }
3278 if test "x$ac_ct_CC" = x; then
3281 case $cross_compiling:$ac_tool_warned in
3283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3284 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3285 ac_tool_warned=yes ;;
3293 if test -z "$CC"; then
3294 if test -n "$ac_tool_prefix"; then
3295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3296 set dummy ${ac_tool_prefix}cc; ac_word=$2
3297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298 printf %s "checking for $ac_word... " >&6; }
3299 if test ${ac_cv_prog_CC+y}
3301 printf %s "(cached) " >&6
3303 if test -n "$CC"; then
3304 ac_cv_prog_CC="$CC" # Let the user override the test.
3306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 case $as_dir in #(((
3313 *) as_dir=$as_dir/ ;;
3315 for ac_exec_ext in '' $ac_executable_extensions; do
3316 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3317 ac_cv_prog_CC="${ac_tool_prefix}cc"
3318 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3328 if test -n "$CC"; then
3329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3330 printf "%s\n" "$CC" >&6; }
3332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 printf "%s\n" "no" >&6; }
3339 if test -z "$CC"; then
3340 # Extract the first word of "cc", so it can be a program name with args.
3341 set dummy cc; ac_word=$2
3342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3343 printf %s "checking for $ac_word... " >&6; }
3344 if test ${ac_cv_prog_CC+y}
3346 printf %s "(cached) " >&6
3348 if test -n "$CC"; then
3349 ac_cv_prog_CC="$CC" # Let the user override the test.
3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3356 case $as_dir in #(((
3359 *) as_dir=$as_dir/ ;;
3361 for ac_exec_ext in '' $ac_executable_extensions; do
3362 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3363 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3364 ac_prog_rejected=yes
3368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3375 if test $ac_prog_rejected = yes; then
3376 # We found a bogon in the path, so make sure we never use it.
3377 set dummy $ac_cv_prog_CC
3379 if test $# != 0; then
3380 # We chose a different compiler from the bogus one.
3381 # However, it has the same basename, so the bogon will be chosen
3382 # first if we set CC to just the basename; use the full file name.
3384 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3390 if test -n "$CC"; then
3391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3392 printf "%s\n" "$CC" >&6; }
3394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395 printf "%s\n" "no" >&6; }
3400 if test -z "$CC"; then
3401 if test -n "$ac_tool_prefix"; then
3402 for ac_prog in cl.exe
3404 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3405 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3407 printf %s "checking for $ac_word... " >&6; }
3408 if test ${ac_cv_prog_CC+y}
3410 printf %s "(cached) " >&6
3412 if test -n "$CC"; then
3413 ac_cv_prog_CC="$CC" # Let the user override the test.
3415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419 case $as_dir in #(((
3422 *) as_dir=$as_dir/ ;;
3424 for ac_exec_ext in '' $ac_executable_extensions; do
3425 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3426 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3427 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3437 if test -n "$CC"; then
3438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 printf "%s\n" "$CC" >&6; }
3441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 printf "%s\n" "no" >&6; }
3446 test -n "$CC" && break
3449 if test -z "$CC"; then
3451 for ac_prog in cl.exe
3453 # Extract the first word of "$ac_prog", so it can be a program name with args.
3454 set dummy $ac_prog; ac_word=$2
3455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 printf %s "checking for $ac_word... " >&6; }
3457 if test ${ac_cv_prog_ac_ct_CC+y}
3459 printf %s "(cached) " >&6
3461 if test -n "$ac_ct_CC"; then
3462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 case $as_dir in #(((
3471 *) as_dir=$as_dir/ ;;
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_ac_ct_CC="$ac_prog"
3476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3485 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3486 if test -n "$ac_ct_CC"; then
3487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3488 printf "%s\n" "$ac_ct_CC" >&6; }
3490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3491 printf "%s\n" "no" >&6; }
3495 test -n "$ac_ct_CC" && break
3498 if test "x$ac_ct_CC" = x; then
3501 case $cross_compiling:$ac_tool_warned in
3503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505 ac_tool_warned=yes ;;
3512 if test -z "$CC"; then
3513 if test -n "$ac_tool_prefix"; then
3514 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3515 set dummy ${ac_tool_prefix}clang; ac_word=$2
3516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517 printf %s "checking for $ac_word... " >&6; }
3518 if test ${ac_cv_prog_CC+y}
3520 printf %s "(cached) " >&6
3522 if test -n "$CC"; then
3523 ac_cv_prog_CC="$CC" # Let the user override the test.
3525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 case $as_dir in #(((
3532 *) as_dir=$as_dir/ ;;
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3536 ac_cv_prog_CC="${ac_tool_prefix}clang"
3537 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3547 if test -n "$CC"; then
3548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3549 printf "%s\n" "$CC" >&6; }
3551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 printf "%s\n" "no" >&6; }
3557 if test -z "$ac_cv_prog_CC"; then
3559 # Extract the first word of "clang", so it can be a program name with args.
3560 set dummy clang; ac_word=$2
3561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 printf %s "checking for $ac_word... " >&6; }
3563 if test ${ac_cv_prog_ac_ct_CC+y}
3565 printf %s "(cached) " >&6
3567 if test -n "$ac_ct_CC"; then
3568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 case $as_dir in #(((
3577 *) as_dir=$as_dir/ ;;
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_ac_ct_CC="clang"
3582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3591 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3592 if test -n "$ac_ct_CC"; then
3593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3594 printf "%s\n" "$ac_ct_CC" >&6; }
3596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 printf "%s\n" "no" >&6; }
3600 if test "x$ac_ct_CC" = x; then
3603 case $cross_compiling:$ac_tool_warned in
3605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3606 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3607 ac_tool_warned=yes ;;
3618 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3619 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3620 as_fn_error $? "no acceptable C compiler found in \$PATH
3621 See \`config.log' for more details" "$LINENO" 5; }
3623 # Provide some information about the compiler.
3624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3627 for ac_option in --version -v -V -qversion -version; do
3628 { { ac_try="$ac_compiler $ac_option >&5"
3630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3631 *) ac_try_echo=$ac_try;;
3633 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3634 printf "%s\n" "$ac_try_echo"; } >&5
3635 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3637 if test -s conftest.err; then
3639 ... rest of stderr output deleted ...
3640 10q' conftest.err >conftest.er1
3641 cat conftest.er1 >&5
3643 rm -f conftest.er1 conftest.err
3644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3645 test $ac_status = 0; }
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3659 ac_clean_files_save=$ac_clean_files
3660 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3661 # Try to create an executable without -o first, disregard a.out.
3662 # It will help us diagnose broken compilers, and finding out an intuition
3664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3665 printf %s "checking whether the C compiler works... " >&6; }
3666 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3668 # The possible output files:
3669 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3672 for ac_file in $ac_files
3675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3676 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3681 if { { ac_try="$ac_link_default"
3683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3684 *) ac_try_echo=$ac_try;;
3686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687 printf "%s\n" "$ac_try_echo"; } >&5
3688 (eval "$ac_link_default") 2>&5
3690 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691 test $ac_status = 0; }
3693 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3694 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3695 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3696 # so that the user can short-circuit this test for compilers unknown to
3698 for ac_file in $ac_files ''
3700 test -f "$ac_file" || continue
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3705 # We found the default executable, but exeext='' is most
3709 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3711 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3713 # We set ac_cv_exeext here because the later test for it is not
3714 # safe: cross compilers may not add the suffix if given an `-o'
3715 # argument, so we may need to know it at that point already.
3716 # Even if this section looks crufty: it has the advantage of
3723 test "$ac_cv_exeext" = no && ac_cv_exeext=
3728 if test -z "$ac_file"
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 printf "%s\n" "no" >&6; }
3732 printf "%s\n" "$as_me: failed program was:" >&5
3733 sed 's/^/| /' conftest.$ac_ext >&5
3735 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3737 as_fn_error 77 "C compiler cannot create executables
3738 See \`config.log' for more details" "$LINENO" 5; }
3740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3741 printf "%s\n" "yes" >&6; }
3743 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3744 printf %s "checking for C compiler default output file name... " >&6; }
3745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3746 printf "%s\n" "$ac_file" >&6; }
3747 ac_exeext=$ac_cv_exeext
3749 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3750 ac_clean_files=$ac_clean_files_save
3751 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3752 printf %s "checking for suffix of executables... " >&6; }
3753 if { { ac_try="$ac_link"
3755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756 *) ac_try_echo=$ac_try;;
3758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3759 printf "%s\n" "$ac_try_echo"; } >&5
3760 (eval "$ac_link") 2>&5
3762 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3763 test $ac_status = 0; }
3765 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3766 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3767 # work properly (i.e., refer to `conftest.exe'), while it won't with
3769 for ac_file in conftest.exe conftest conftest.*; do
3770 test -f "$ac_file" || continue
3772 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3773 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3779 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3782 See \`config.log' for more details" "$LINENO" 5; }
3784 rm -f conftest conftest$ac_cv_exeext
3785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3786 printf "%s\n" "$ac_cv_exeext" >&6; }
3788 rm -f conftest.$ac_ext
3789 EXEEXT=$ac_cv_exeext
3791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792 /* end confdefs.h. */
3797 FILE *f = fopen ("conftest.out", "w");
3798 return ferror (f) || fclose (f) != 0;
3804 ac_clean_files="$ac_clean_files conftest.out"
3805 # Check that the compiler produces executables we can run. If not, either
3806 # the compiler is broken, or we cross compile.
3807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3808 printf %s "checking whether we are cross compiling... " >&6; }
3809 if test "$cross_compiling" != yes; then
3810 { { ac_try="$ac_link"
3812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3813 *) ac_try_echo=$ac_try;;
3815 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3816 printf "%s\n" "$ac_try_echo"; } >&5
3817 (eval "$ac_link") 2>&5
3819 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }
3821 if { ac_try='./conftest$ac_cv_exeext'
3822 { { case "(($ac_try" in
3823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824 *) ac_try_echo=$ac_try;;
3826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3827 printf "%s\n" "$ac_try_echo"; } >&5
3828 (eval "$ac_try") 2>&5
3830 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3831 test $ac_status = 0; }; }; then
3834 if test "$cross_compiling" = maybe; then
3837 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3838 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3839 as_fn_error 77 "cannot run C compiled programs.
3840 If you meant to cross compile, use \`--host'.
3841 See \`config.log' for more details" "$LINENO" 5; }
3845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3846 printf "%s\n" "$cross_compiling" >&6; }
3848 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3849 ac_clean_files=$ac_clean_files_save
3850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3851 printf %s "checking for suffix of object files... " >&6; }
3852 if test ${ac_cv_objext+y}
3854 printf %s "(cached) " >&6
3856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3857 /* end confdefs.h. */
3867 rm -f conftest.o conftest.obj
3868 if { { ac_try="$ac_compile"
3870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3871 *) ac_try_echo=$ac_try;;
3873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3874 printf "%s\n" "$ac_try_echo"; } >&5
3875 (eval "$ac_compile") 2>&5
3877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }
3880 for ac_file in conftest.o conftest.obj conftest.*; do
3881 test -f "$ac_file" || continue;
3883 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3884 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3889 printf "%s\n" "$as_me: failed program was:" >&5
3890 sed 's/^/| /' conftest.$ac_ext >&5
3892 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3893 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3894 as_fn_error $? "cannot compute suffix of object files: cannot compile
3895 See \`config.log' for more details" "$LINENO" 5; }
3897 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3900 printf "%s\n" "$ac_cv_objext" >&6; }
3901 OBJEXT=$ac_cv_objext
3903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3904 printf %s "checking whether the compiler supports GNU C... " >&6; }
3905 if test ${ac_cv_c_compiler_gnu+y}
3907 printf %s "(cached) " >&6
3909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h. */
3923 if ac_fn_c_try_compile "$LINENO"
3929 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3934 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3937 if test $ac_compiler_gnu = yes; then
3942 ac_test_CFLAGS=${CFLAGS+y}
3943 ac_save_CFLAGS=$CFLAGS
3944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3945 printf %s "checking whether $CC accepts -g... " >&6; }
3946 if test ${ac_cv_prog_cc_g+y}
3948 printf %s "(cached) " >&6
3950 ac_save_c_werror_flag=$ac_c_werror_flag
3951 ac_c_werror_flag=yes
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3965 if ac_fn_c_try_compile "$LINENO"
3970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3971 /* end confdefs.h. */
3981 if ac_fn_c_try_compile "$LINENO"
3985 ac_c_werror_flag=$ac_save_c_werror_flag
3987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988 /* end confdefs.h. */
3998 if ac_fn_c_try_compile "$LINENO"
4002 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4007 ac_c_werror_flag=$ac_save_c_werror_flag
4009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4010 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4011 if test $ac_test_CFLAGS; then
4012 CFLAGS=$ac_save_CFLAGS
4013 elif test $ac_cv_prog_cc_g = yes; then
4014 if test "$GCC" = yes; then
4020 if test "$GCC" = yes; then
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4027 printf %s "checking for $CC option to enable C11 features... " >&6; }
4028 if test ${ac_cv_prog_cc_c11+y}
4030 printf %s "(cached) " >&6
4032 ac_cv_prog_cc_c11=no
4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4035 /* end confdefs.h. */
4036 $ac_c_conftest_c11_program
4038 for ac_arg in '' -std=gnu11
4040 CC="$ac_save_CC $ac_arg"
4041 if ac_fn_c_try_compile "$LINENO"
4043 ac_cv_prog_cc_c11=$ac_arg
4045 rm -f core conftest.err conftest.$ac_objext conftest.beam
4046 test "x$ac_cv_prog_cc_c11" != "xno" && break
4048 rm -f conftest.$ac_ext
4053 ac_prog_cc_stdc_options=
4054 case "x$ac_cv_prog_cc_c11" in #(
4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4057 printf "%s\n" "none needed" >&6; } ;; #(
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4060 printf "%s\n" "unsupported" >&6; } ;; #(
4062 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c11"
4063 CC="$CC$ac_prog_cc_stdc_options"
4064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4065 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } ;;
4067 if test "x$ac_cv_prog_cc_c11" != xno
4070 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4073 printf %s "checking for $CC option to enable C99 features... " >&6; }
4074 if test ${ac_cv_prog_cc_c99+y}
4076 printf %s "(cached) " >&6
4078 ac_cv_prog_cc_c99=no
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082 $ac_c_conftest_c89_program
4084 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc1x -qlanglvl=extc99
4086 CC="$ac_save_CC $ac_arg"
4087 if ac_fn_c_try_compile "$LINENO"
4089 ac_cv_prog_cc_c99=$ac_arg
4091 rm -f core conftest.err conftest.$ac_objext conftest.beam
4092 test "x$ac_cv_prog_cc_c99" != "xno" && break
4094 rm -f conftest.$ac_ext
4099 ac_prog_cc_stdc_options=
4100 case "x$ac_cv_prog_cc_c99" in #(
4102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4103 printf "%s\n" "none needed" >&6; } ;; #(
4105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4106 printf "%s\n" "unsupported" >&6; } ;; #(
4108 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c99"
4109 CC="$CC$ac_prog_cc_stdc_options"
4110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4111 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } ;;
4113 if test "x$ac_cv_prog_cc_c99" != xno
4116 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4119 printf %s "checking for $CC option to enable C89 features... " >&6; }
4120 if test ${ac_cv_prog_cc_c89+y}
4122 printf %s "(cached) " >&6
4124 ac_cv_prog_cc_c89=no
4126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4127 /* end confdefs.h. */
4128 $ac_c_conftest_c89_program
4130 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4131 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4133 CC="$ac_save_CC $ac_arg"
4134 if ac_fn_c_try_compile "$LINENO"
4136 ac_cv_prog_cc_c89=$ac_arg
4138 rm -f core conftest.err conftest.$ac_objext conftest.beam
4139 test "x$ac_cv_prog_cc_c89" != "xno" && break
4141 rm -f conftest.$ac_ext
4146 ac_prog_cc_stdc_options=
4147 case "x$ac_cv_prog_cc_c89" in #(
4149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4150 printf "%s\n" "none needed" >&6; } ;; #(
4152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4153 printf "%s\n" "unsupported" >&6; } ;; #(
4155 ac_prog_cc_stdc_options=" $ac_cv_prog_cc_c89"
4156 CC="$CC$ac_prog_cc_stdc_options"
4157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4158 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } ;;
4160 if test "x$ac_cv_prog_cc_c89" != xno
4163 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4166 ac_cv_prog_cc_stdc=no
4174 ac_cpp='$CPP $CPPFLAGS'
4175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4181 ac_cpp='$CPP $CPPFLAGS'
4182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4186 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4187 if test ${am_cv_prog_cc_c_o+y}
4189 printf %s "(cached) " >&6
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4202 # Make sure it works both with $CC and with simple cc.
4203 # Following AC_PROG_CC_C_O, we do the test twice because some
4204 # compilers refuse to overwrite an existing .o file with -o,
4205 # though they will create one.
4206 am_cv_prog_cc_c_o=yes
4208 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4209 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4212 (exit $ac_status); } \
4213 && test -f conftest2.$ac_objext; then
4216 am_cv_prog_cc_c_o=no
4220 rm -f core conftest*
4223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4224 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4225 if test "$am_cv_prog_cc_c_o" != yes; then
4226 # Losing compiler, so override with the script.
4227 # FIXME: It is wrong to rewrite CC.
4228 # But if we don't then we get into trouble of one sort or another.
4229 # A longer-term fix would be to have automake use am__CC in this case,
4230 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4231 CC="$am_aux_dir/compile $CC"
4234 ac_cpp='$CPP $CPPFLAGS'
4235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4239 DEPDIR="${am__leading_dot}deps"
4241 ac_config_commands="$ac_config_commands depfiles"
4243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4244 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
4245 cat > confinc.mk << 'END'
4247 @echo this is the am__doit target >confinc.out
4252 # BSD make does it like this.
4253 echo '.include "confinc.mk" # ignored' > confmf.BSD
4254 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4255 echo 'include confinc.mk # ignored' > confmf.GNU
4257 for s in GNU BSD; do
4258 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4259 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4262 (exit $ac_status); }
4263 case $?:`cat confinc.out 2>/dev/null` in #(
4264 '0:this is the am__doit target') :
4267 am__include='.include' am__quote='"' ;; #(
4269 am__include='include' am__quote='' ;;
4274 if test "$am__include" != "#"; then
4275 _am_result="yes ($s style)"
4279 rm -f confinc.* confmf.*
4280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4281 printf "%s\n" "${_am_result}" >&6; }
4283 # Check whether --enable-dependency-tracking was given.
4284 if test ${enable_dependency_tracking+y}
4286 enableval=$enable_dependency_tracking;
4289 if test "x$enable_dependency_tracking" != xno; then
4290 am_depcomp="$ac_aux_dir/depcomp"
4294 if test "x$enable_dependency_tracking" != xno; then
4304 depcc="$CC" am_compiler_list=
4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4307 printf %s "checking dependency style of $depcc... " >&6; }
4308 if test ${am_cv_CC_dependencies_compiler_type+y}
4310 printf %s "(cached) " >&6
4312 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4313 # We make a subdir and do the tests there. Otherwise we can end up
4314 # making bogus files that we don't know about and never remove. For
4315 # instance it was reported that on HP-UX the gcc test will end up
4316 # making a dummy file named 'D' -- because '-MD' means "put the output
4320 # Copy depcomp to subdir because otherwise we won't find it if we're
4321 # using a relative directory.
4322 cp "$am_depcomp" conftest.dir
4324 # We will build objects and dependencies in a subdirectory because
4325 # it helps to detect inapplicable dependency modes. For instance
4326 # both Tru64's cc and ICC support -MD to output dependencies as a
4327 # side effect of compilation, but ICC will put the dependencies in
4328 # the current directory while Tru64 will put them in the object
4332 am_cv_CC_dependencies_compiler_type=none
4333 if test "$am_compiler_list" = ""; then
4334 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4337 case " $depcc " in #(
4338 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4341 for depmode in $am_compiler_list; do
4342 # Setup a source with many dependencies, because some compilers
4343 # like to wrap large dependency lists on column 80 (with \), and
4344 # we should not choose a depcomp mode which is confused by this.
4346 # We need to recreate these files for each test, as the compiler may
4347 # overwrite some of them when testing with obscure command lines.
4348 # This happens at least with the AIX C compiler.
4350 for i in 1 2 3 4 5 6; do
4351 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4352 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4353 # Solaris 10 /bin/sh.
4354 echo '/* dummy */' > sub/conftst$i.h
4356 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4358 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4359 # mode. It turns out that the SunPro C++ compiler does not properly
4360 # handle '-M -o', and we need to detect this. Also, some Intel
4361 # versions had trouble with output in subdirs.
4362 am__obj=sub/conftest.${OBJEXT-o}
4363 am__minus_obj="-o $am__obj"
4366 # This depmode causes a compiler race in universal mode.
4367 test "$am__universal" = false || continue
4370 # After this tag, mechanisms are not by side-effect, so they'll
4371 # only be used when explicitly requested.
4372 if test "x$enable_dependency_tracking" = xyes; then
4378 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4379 # This compiler won't grok '-c -o', but also, the minuso test has
4380 # not run yet. These depmodes are late enough in the game, and
4381 # so weak that their functioning should not be impacted.
4382 am__obj=conftest.${OBJEXT-o}
4387 if depmode=$depmode \
4388 source=sub/conftest.c object=$am__obj \
4389 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4390 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4391 >/dev/null 2>conftest.err &&
4392 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4393 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4394 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4395 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4396 # icc doesn't choke on unknown options, it will just issue warnings
4397 # or remarks (even with -Werror). So we grep stderr for any message
4398 # that says an option was ignored or not supported.
4399 # When given -MP, icc 7.0 and 7.1 complain thusly:
4400 # icc: Command line warning: ignoring option '-M'; no argument required
4401 # The diagnosis changed in icc 8.0:
4402 # icc: Command line remark: option '-MP' not supported
4403 if (grep 'ignoring option' conftest.err ||
4404 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4405 am_cv_CC_dependencies_compiler_type=$depmode
4414 am_cv_CC_dependencies_compiler_type=none
4418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4419 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4420 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4423 test "x$enable_dependency_tracking" != xno \
4424 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4426 am__fastdepCC_FALSE='#'
4428 am__fastdepCC_TRUE='#'
4429 am__fastdepCC_FALSE=
4434 XSLTPROC_FLAGS='--nonet '
4437 # Extract the first word of "xsltproc$EXEEXT", so it can be a program name with args.
4438 set dummy xsltproc$EXEEXT; ac_word=$2
4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4440 printf %s "checking for $ac_word... " >&6; }
4441 if test ${ac_cv_path_XSLTPROC+y}
4443 printf %s "(cached) " >&6
4447 ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4454 case $as_dir in #(((
4457 *) as_dir=$as_dir/ ;;
4459 for ac_exec_ext in '' $ac_executable_extensions; do
4460 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4461 ac_cv_path_XSLTPROC="$as_dir$ac_word$ac_exec_ext"
4462 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4469 test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="no"
4473 XSLTPROC=$ac_cv_path_XSLTPROC
4474 if test -n "$XSLTPROC"; then
4475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
4476 printf "%s\n" "$XSLTPROC" >&6; }
4478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 printf "%s\n" "no" >&6; }
4483 if test "$XSLTPROC" = no; then
4484 as_fn_error $? "xsltproc not found in $PATH" "$LINENO" 5
4495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Docbook XSLT version current" >&5
4496 printf %s "checking for Docbook XSLT version current... " >&6; }
4497 if test ${ac_cv_docbook_xslt_current+y}
4499 printf %s "(cached) " >&6
4502 ac_cv_docbook_xslt_current=no
4503 if test -n "$XSLTPROC"; then
4504 echo "Trying '$XSLTPROC $XSLTPROC_FLAGS http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl'" >&5
4505 $XSLTPROC $XSLTPROC_FLAGS http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl >&5 2>&5
4507 if test "$?" = 0; then
4508 ac_cv_docbook_xslt_current=yes
4513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_docbook_xslt_current" >&5
4514 printf "%s\n" "$ac_cv_docbook_xslt_current" >&6; }
4516 HAVE_DOCBOOK_XSLT_current="$ac_cv_docbook_xslt_current"
4517 HAVE_DOCBOOK_XSLT="$HAVE_DOCBOOK_XSLT_current"
4523 if test "x$HAVE_DOCBOOK_XSLT" = "xno"; then
4524 as_fn_error $? "Docbook XSLT not found" "$LINENO" 5
4527 XSLTPROC_FLAGS='--nonet '
4536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Docbook DTD version 4.5" >&5
4537 printf %s "checking for Docbook DTD version 4.5... " >&6; }
4538 if test ${ac_cv_docbook_dtd_4_5+y}
4540 printf %s "(cached) " >&6
4543 ac_cv_docbook_dtd_4_5=no
4544 if test -n "$XSLTPROC"; then
4545 MY_XSLTPROC_FLAGS=`echo "" $XSLTPROC_FLAGS|sed -e s/--novalid//g`
4546 cat <<EOF >conftest.xml
4547 <?xml version="1.0" encoding='ISO-8859-1'?>
4548 <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
4552 cat <<EOF > conftest.xsl
4553 <?xml version='1.0' encoding='ISO-8859-1'?>
4554 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4555 xmlns="http://www.w3.org/1999/xhtml"
4559 echo "Trying '$XSLTPROC $MY_XSLTPROC_FLAGS conftest.xsl conftest.xml'" >&5
4560 $XSLTPROC $MY_XSLTPROC_FLAGS conftest.xsl conftest.xml >conftest.out 2>&1
4561 if test "$?" = 0 -o "$?" = 5; then
4562 # failing to load the DTD is just a warning, so check for it in the output.
4563 if grep 'warning: failed to load external entity' conftest.out >/dev/null 2>&1; then
4566 ac_cv_docbook_dtd_4_5=yes
4569 cat conftest.out >&5
4571 rm -f conftest.xml conftest.xsl conftest.out
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_docbook_dtd_4_5" >&5
4576 printf "%s\n" "$ac_cv_docbook_dtd_4_5" >&6; }
4578 HAVE_DOCBOOK_DTD_4_5="$ac_cv_docbook_dtd_4_5"
4579 HAVE_DOCBOOK_DTD=HAVE_DOCBOOK_DTD_4_5
4582 if test "x$HAVE_DOCBOOK_DTD_4_5" = "xno"; then
4583 as_fn_error $? "Docbook DTD 4.5 not found" "$LINENO" 5
4587 # Extract the first word of "xmllint$EXEEXT", so it can be a program name with args.
4588 set dummy xmllint$EXEEXT; ac_word=$2
4589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4590 printf %s "checking for $ac_word... " >&6; }
4591 if test ${ac_cv_path_XMLLINT+y}
4593 printf %s "(cached) " >&6
4597 ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4604 case $as_dir in #(((
4607 *) as_dir=$as_dir/ ;;
4609 for ac_exec_ext in '' $ac_executable_extensions; do
4610 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4611 ac_cv_path_XMLLINT="$as_dir$ac_word$ac_exec_ext"
4612 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4619 test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="no"
4623 XMLLINT=$ac_cv_path_XMLLINT
4624 if test -n "$XMLLINT"; then
4625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
4626 printf "%s\n" "$XMLLINT" >&6; }
4628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629 printf "%s\n" "no" >&6; }
4633 if test "$XMLLINT" = no; then
4634 as_fn_error $? "xmllint not found in $PATH" "$LINENO" 5
4637 # Extract the first word of "tidy$EXEEXT", so it can be a program name with args.
4638 set dummy tidy$EXEEXT; ac_word=$2
4639 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 printf %s "checking for $ac_word... " >&6; }
4641 if test ${ac_cv_path_TIDY+y}
4643 printf %s "(cached) " >&6
4647 ac_cv_path_TIDY="$TIDY" # Let the user override the test with a path.
4650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654 case $as_dir in #(((
4657 *) as_dir=$as_dir/ ;;
4659 for ac_exec_ext in '' $ac_executable_extensions; do
4660 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4661 ac_cv_path_TIDY="$as_dir$ac_word$ac_exec_ext"
4662 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4669 test -z "$ac_cv_path_TIDY" && ac_cv_path_TIDY="no"
4673 TIDY=$ac_cv_path_TIDY
4674 if test -n "$TIDY"; then
4675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $TIDY" >&5
4676 printf "%s\n" "$TIDY" >&6; }
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 printf "%s\n" "no" >&6; }
4683 if test "$TIDY" = no; then
4684 as_fn_error $? "tidy not found in $PATH" "$LINENO" 5
4689 # Check whether --with-rev was given.
4690 if test ${with_rev+y}
4693 if test "x${with_rev}" != "x"; then
4700 if test "x${with_rev}" != "x"; then
4701 if test "x${with_rev}" != "xsysv" -a "x${with_rev}" != "xsystemd"; then
4702 as_fn_error $? "REV must be 'sysv' (default) or 'systemd.'" "$LINENO" 5
4708 if test "x${with_rev}" = "xsystemd"; then
4709 BASEDIR=../${VER}-sysdja
4710 PDF_OUTPUT=../lfssysdja-${VER}.pdf
4711 NOCHUNKS_NAME=lfssysdja-${VER}
4712 NOCHUNKS_OUTPUT=../lfssysdja-${VER}.html
4713 DUMPDIR=../lfs-sysd-commands
4715 BASEDIR=../${VER}-ja
4716 PDF_OUTPUT=../lfsbookja-${VER}.pdf
4717 NOCHUNKS_NAME=lfsbookja-${VER}
4718 NOCHUNKS_OUTPUT=../lfsbookja-${VER}.html
4719 DUMPDIR=../lfs-commands
4729 TARGETVER=svn-20210206
4731 SVNVER=`grep 'ENTITY version ' ${bookdir}/general.ent | sed -e 's/^<!ENTITY version \"//' -e 's/\">$//' | tr 'A-Z' 'a-z'`
4732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the original XML version" >&5
4733 printf %s "checking for the original XML version... " >&6; }
4734 if test ! "$SVNVER" = "$TARGETVER"; then
4735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SVNVER" >&5
4736 printf "%s\n" "$SVNVER" >&6; }
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Version of the original XML not $TARGETVER" >&5
4738 printf "%s\n" "$as_me: WARNING: Version of the original XML not $TARGETVER" >&2;}
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $SVNVER" >&5
4741 printf "%s\n" "$SVNVER" >&6; }
4746 # Extract the first word of "lynx$EXEEXT", so it can be a program name with args.
4747 set dummy lynx$EXEEXT; ac_word=$2
4748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4749 printf %s "checking for $ac_word... " >&6; }
4750 if test ${ac_cv_path_LYNX+y}
4752 printf %s "(cached) " >&6
4756 ac_cv_path_LYNX="$LYNX" # Let the user override the test with a path.
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4763 case $as_dir in #(((
4766 *) as_dir=$as_dir/ ;;
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4770 ac_cv_path_LYNX="$as_dir$ac_word$ac_exec_ext"
4771 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4778 test -z "$ac_cv_path_LYNX" && ac_cv_path_LYNX="no"
4782 LYNX=$ac_cv_path_LYNX
4783 if test -n "$LYNX"; then
4784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LYNX" >&5
4785 printf "%s\n" "$LYNX" >&6; }
4787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4788 printf "%s\n" "no" >&6; }
4792 if test "$LYNX" = no; then
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: Text version cannot be built." >&5
4794 printf "%s\n" "$as_me: WARNING: Text version cannot be built." >&2;}
4798 # Extract the first word of "fop$EXEEXT", so it can be a program name with args.
4799 set dummy fop$EXEEXT; ac_word=$2
4800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 printf %s "checking for $ac_word... " >&6; }
4802 if test ${ac_cv_path_FOP+y}
4804 printf %s "(cached) " >&6
4808 ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
4811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815 case $as_dir in #(((
4818 *) as_dir=$as_dir/ ;;
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4822 ac_cv_path_FOP="$as_dir$ac_word$ac_exec_ext"
4823 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4830 test -z "$ac_cv_path_FOP" && ac_cv_path_FOP="no"
4835 if test -n "$FOP"; then
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
4837 printf "%s\n" "$FOP" >&6; }
4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 printf "%s\n" "no" >&6; }
4844 if test "$FOP" = no; then
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PDF version cannot be built." >&5
4846 printf "%s\n" "$as_me: WARNING: PDF version cannot be built." >&2;}
4850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for directory for Takao font files" >&5
4851 printf %s "checking for directory for Takao font files... " >&6; }
4853 # Check whether --with-takaogfontdir was given.
4854 if test ${with_takaogfontdir+y}
4856 withval=$with_takaogfontdir; TAKAOGFONTDIR="$withval"
4860 if test "x${TAKAOGFONTDIR}" = "x"; then
4861 TAKAOGFONTDIR=/usr/share/fonts/takao-gothic
4862 if test ! -d ${TAKAOGFONTDIR}; then
4865 TAKAOMFONTDIR=/usr/share/fonts/takao-mincho
4866 if test ! -d ${TAKAOMFONTDIR}; then
4871 if test "x${TAKAOGFONTDIR}" = "x"; then
4872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found in ${TAKAOGFONTDIR}" >&5
4873 printf "%s\n" "not found in ${TAKAOGFONTDIR}" >&6; }
4874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PDF version cannot be built" >&5
4875 printf "%s\n" "$as_me: WARNING: PDF version cannot be built" >&2;}
4879 TAKAOGFILE=${TAKAOGFONTDIR}/TakaoGothic.ttf
4880 if test ! -f ${TAKAOGFILE}; then
4881 TAKAOGFILE=${TAKAOGFONTDIR}/takao-gothic/TakaoGothic.ttf
4882 if test ! -f ${TAKAOGFILE}; then
4888 TAKAOMFILE=${TAKAOMFONTDIR}/TakaoMincho.ttf
4889 if test ! -f ${TAKAOMFILE}; then
4890 TAKAOMFILE=${TAKAOMFONTDIR}/takao-mincho/TakaoMincho.ttf
4891 if test ! -f ${TAKAOMFILE}; then
4897 if test "x${TAKAOGFILE}" = "x" -o "x${TAKAOMFILE}" = "x"; then
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found in ${TAKAOGFONTDIR}" >&5
4899 printf "%s\n" "not found in ${TAKAOGFONTDIR}" >&6; }
4900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: PDF version cannot be built." >&5
4901 printf "%s\n" "$as_me: WARNING: PDF version cannot be built." >&2;}
4906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found" >&5
4907 printf "%s\n" "found" >&6; }
4912 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"
4914 cat >confcache <<\_ACEOF
4915 # This file is a shell script that caches the results of configure
4916 # tests run on this system so they can be shared between configure
4917 # scripts and configure runs, see configure's option --config-cache.
4918 # It is not useful on other systems. If it contains results you don't
4919 # want to keep, you may remove or edit it.
4921 # config.status only pays attention to the cache file if you give it
4922 # the --recheck option to rerun configure.
4924 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4925 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4930 # The following way of writing the cache mishandles newlines in values,
4931 # but we know of no workaround that is simple, portable, and efficient.
4932 # So, we kill variables containing newlines.
4933 # Ultrix sh set writes to stderr and can't be redirected directly,
4934 # and sets the high bit in the cache file unless we assign to the vars.
4936 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4937 eval ac_val=\$$ac_var
4941 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4942 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4945 _ | IFS | as_nl) ;; #(
4946 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4947 *) { eval $ac_var=; unset $ac_var;} ;;
4953 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4954 *${as_nl}ac_space=\ *)
4955 # `set' does not quote correctly, so add quotes: double-quote
4956 # substitution turns \\\\ into \\, and sed turns \\ into \.
4959 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4962 # `set' quotes correctly as required by POSIX, so do not add quotes.
4963 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4972 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4974 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4976 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4977 if test -w "$cache_file"; then
4978 if test "x$cache_file" != "x/dev/null"; then
4979 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4980 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4981 if test ! -f "$cache_file" || test -h "$cache_file"; then
4982 cat confcache >"$cache_file"
4984 case $cache_file in #(
4986 mv -f confcache "$cache_file"$$ &&
4987 mv -f "$cache_file"$$ "$cache_file" ;; #(
4989 mv -f confcache "$cache_file" ;;
4994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4995 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5000 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5001 # Let make expand exec_prefix.
5002 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5004 # Transform confdefs.h into DEFS.
5005 # Protect against shell expansion while executing Makefile rules.
5006 # Protect against Makefile macro expansion.
5008 # If the first sed substitution is executed (which looks for macros that
5009 # take arguments), then branch to the quote section. Otherwise,
5010 # look for a macro that doesn't take arguments.
5020 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5022 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5026 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5039 DEFS=`sed -n "$ac_script" confdefs.h`
5045 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5046 # 1. Remove the extension, and $U if already installed.
5047 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5048 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
5049 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5050 # will be set to the directory where LIBOBJS objects are built.
5051 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5052 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5056 LTLIBOBJS=$ac_ltlibobjs
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5060 printf %s "checking that generated files are newer than configure... " >&6; }
5061 if test -n "$am_sleep_pid"; then
5062 # Hide warnings about reused PIDs.
5063 wait $am_sleep_pid 2>/dev/null
5065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
5066 printf "%s\n" "done" >&6; }
5067 if test -n "$EXEEXT"; then
5069 am__EXEEXT_FALSE='#'
5075 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5076 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5079 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5080 as_fn_error $? "conditional \"AMDEP\" was never defined.
5081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5083 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5084 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5088 : "${CONFIG_STATUS=./config.status}"
5090 ac_clean_files_save=$ac_clean_files
5091 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5093 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
5095 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5097 # Generated by $as_me.
5098 # Run this file to recreate the current configuration.
5099 # Compiler output produced by configure, useful for debugging
5100 # configure, is in config.log if it exists.
5106 SHELL=\${CONFIG_SHELL-$SHELL}
5109 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5110 ## -------------------- ##
5111 ## M4sh Initialization. ##
5112 ## -------------------- ##
5114 # Be more Bourne compatible
5115 DUALCASE=1; export DUALCASE # for MKS sh
5117 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
5121 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5122 # is contrary to our usage. Disable this feature.
5123 alias -g '${1+"$@"}'='"$@"'
5124 setopt NO_GLOB_SUBST
5126 case `(set -o) 2>/dev/null` in #(
5136 # Reset variables that may have inherited troublesome values from
5139 # IFS needs to be set, to space, tab, and newline, in precisely that order.
5140 # (If _AS_PATH_WALK were called with IFS unset, it would have the
5141 # side effect of setting IFS to empty, thus disabling word splitting.)
5142 # Quoting is to prevent editors from complaining about space-tab.
5152 # Ensure predictable behavior from utilities with locale-dependent output.
5158 # We cannot yet rely on "unset" to work, but we need these variables
5159 # to be unset--not just set to an empty or harmless value--now, to
5160 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
5161 # also avoids known problems related to "unset" and subshell syntax
5162 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
5163 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
5164 do eval test \${$as_var+y} \
5165 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5168 # Ensure that fds 0, 1, and 2 are open.
5169 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
5170 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
5171 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
5173 # The user is always right.
5174 if ${PATH_SEPARATOR+false} :; then
5176 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5177 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5183 # Find who we are. Look in the path if we contain no directory separator.
5186 *[\\/]* ) as_myself=$0 ;;
5187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5191 case $as_dir in #(((
5194 *) as_dir=$as_dir/ ;;
5196 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
5202 # We did not find ourselves, most probably we were run as `sh COMMAND'
5203 # in which case we are not to be found in the path.
5204 if test "x$as_myself" = x; then
5207 if test ! -f "$as_myself"; then
5208 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5214 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5215 # ----------------------------------------
5216 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5217 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5218 # script with STATUS, using 1 if that was 0.
5221 as_status=$1; test $as_status -eq 0 && as_status=1
5223 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5224 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5226 printf "%s\n" "$as_me: error: $2" >&2
5227 as_fn_exit $as_status
5232 # as_fn_set_status STATUS
5233 # -----------------------
5234 # Set $? to STATUS, without forking.
5238 } # as_fn_set_status
5242 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5252 # Portably unset VAR.
5255 { eval $1=; unset $1;}
5257 as_unset=as_fn_unset
5259 # as_fn_append VAR VALUE
5260 # ----------------------
5261 # Append the text in VALUE to the end of the definition contained in VAR. Take
5262 # advantage of any shell optimizations that allow amortized linear growth over
5263 # repeated appends, instead of the typical quadratic growth present in naive
5265 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
5267 eval 'as_fn_append ()
5278 # as_fn_arith ARG...
5279 # ------------------
5280 # Perform arithmetic evaluation on the ARGs, and store the result in the
5281 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5282 # must be portable across $(()) and expr.
5283 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
5285 eval 'as_fn_arith ()
5292 as_val=`expr "$@" || test $? -eq 1`
5297 if expr a : '\(a\)' >/dev/null 2>&1 &&
5298 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5304 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5305 as_basename=basename
5310 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5316 as_me=`$as_basename -- "$0" ||
5317 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5318 X"$0" : 'X\(//\)$' \| \
5319 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5320 printf "%s\n" X/"$0" |
5321 sed '/^.*\/\([^/][^/]*\)\/*$/{
5335 # Avoid depending upon Character Ranges.
5336 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5337 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5338 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5339 as_cr_digits='0123456789'
5340 as_cr_alnum=$as_cr_Letters$as_cr_digits
5343 # Determine whether it's possible to make 'echo' print without a newline.
5344 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
5345 # for compatibility with existing Makefiles.
5346 ECHO_C= ECHO_N= ECHO_T=
5347 case `echo -n x` in #(((((
5349 case `echo 'xy\c'` in
5350 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5352 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5359 # For backward compatibility with old third-party macros, we provide
5360 # the shell variables $as_echo and $as_echo_n. New code should use
5361 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5362 as_echo='printf %s\n'
5363 as_echo_n='printf %s'
5365 rm -f conf$$ conf$$.exe conf$$.file
5366 if test -d conf$$.dir; then
5367 rm -f conf$$.dir/conf$$.file
5370 mkdir conf$$.dir 2>/dev/null
5372 if (echo >conf$$.file) 2>/dev/null; then
5373 if ln -s conf$$.file conf$$ 2>/dev/null; then
5375 # ... but there are two gotchas:
5376 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5377 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5378 # In both cases, we have to default to `cp -pR'.
5379 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5381 elif ln conf$$.file conf$$ 2>/dev/null; then
5389 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5390 rmdir conf$$.dir 2>/dev/null
5395 # Create "$as_dir" as a directory, including parents if necessary.
5400 -*) as_dir=./$as_dir;;
5402 test -d "$as_dir" || eval $as_mkdir_p || {
5406 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5407 *) as_qdir=$as_dir;;
5409 as_dirs="'$as_qdir' $as_dirs"
5410 as_dir=`$as_dirname -- "$as_dir" ||
5411 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5412 X"$as_dir" : 'X\(//\)[^/]' \| \
5413 X"$as_dir" : 'X\(//\)$' \| \
5414 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5415 printf "%s\n" X"$as_dir" |
5416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5433 test -d "$as_dir" && break
5435 test -z "$as_dirs" || eval "mkdir $as_dirs"
5436 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5440 if mkdir -p . 2>/dev/null; then
5441 as_mkdir_p='mkdir -p "$as_dir"'
5443 test -d ./-p && rmdir ./-p
5448 # as_fn_executable_p FILE
5449 # -----------------------
5450 # Test if FILE is an executable regular file.
5451 as_fn_executable_p ()
5453 test -f "$1" && test -x "$1"
5454 } # as_fn_executable_p
5456 as_executable_p=as_fn_executable_p
5458 # Sed expression to map a string onto a valid CPP name.
5459 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5461 # Sed expression to map a string onto a valid variable name.
5462 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5466 ## ----------------------------------- ##
5467 ## Main body of $CONFIG_STATUS script. ##
5468 ## ----------------------------------- ##
5470 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5472 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5473 # Save the log message, to keep $0 and so on meaningful, and to
5474 # report actual input values of CONFIG_FILES etc. instead of their
5475 # values after options handling.
5477 This file was extended by LFSbookja $as_me svn, which was
5478 generated by GNU Autoconf 2.70. Invocation command line was
5480 CONFIG_FILES = $CONFIG_FILES
5481 CONFIG_HEADERS = $CONFIG_HEADERS
5482 CONFIG_LINKS = $CONFIG_LINKS
5483 CONFIG_COMMANDS = $CONFIG_COMMANDS
5486 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5491 case $ac_config_files in *"
5492 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5498 # Files that config.status was made for.
5499 config_files="$ac_config_files"
5500 config_commands="$ac_config_commands"
5504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5506 \`$as_me' instantiates files and other configuration actions
5507 from templates according to the current configuration. Unless the files
5508 and actions are specified as TAGs, all are instantiated by default.
5510 Usage: $0 [OPTION]... [TAG]...
5512 -h, --help print this help, then exit
5513 -V, --version print version number and configuration settings, then exit
5514 --config print configuration, then exit
5515 -q, --quiet, --silent
5516 do not print progress messages
5517 -d, --debug don't remove temporary files
5518 --recheck update $as_me by reconfiguring in the same conditions
5519 --file=FILE[:TEMPLATE]
5520 instantiate the configuration file FILE
5522 Configuration files:
5525 Configuration commands:
5528 Report bugs to <matsuand AT users DOT osdn DOT me>."
5531 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5532 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5534 ac_cs_config='$ac_cs_config_escaped'
5536 LFSbookja config.status svn
5537 configured by $0, generated by GNU Autoconf 2.70,
5538 with options \\"\$ac_cs_config\\"
5540 Copyright (C) 2020 Free Software Foundation, Inc.
5541 This config.status script is free software; the Free Software Foundation
5542 gives unlimited permission to copy, distribute and modify it."
5549 test -n "\$AWK" || AWK=awk
5552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5553 # The default lists apply if the user does not specify any file.
5559 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5560 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5564 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5576 # Handling of the options.
5577 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5579 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5580 printf "%s\n" "$ac_cs_version"; exit ;;
5581 --config | --confi | --conf | --con | --co | --c )
5582 printf "%s\n" "$ac_cs_config"; exit ;;
5583 --debug | --debu | --deb | --de | --d | -d )
5585 --file | --fil | --fi | --f )
5588 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5589 '') as_fn_error $? "missing file argument" ;;
5591 as_fn_append CONFIG_FILES " '$ac_optarg'"
5592 ac_need_defaults=false;;
5593 --he | --h | --help | --hel | -h )
5594 printf "%s\n" "$ac_cs_usage"; exit ;;
5595 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5596 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5600 -*) as_fn_error $? "unrecognized option: \`$1'
5601 Try \`$0 --help' for more information." ;;
5603 *) as_fn_append ac_config_targets " $1"
5604 ac_need_defaults=false ;;
5610 ac_configure_extra_args=
5612 if $ac_cs_silent; then
5614 ac_configure_extra_args="$ac_configure_extra_args --silent"
5618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5619 if \$ac_cs_recheck; then
5620 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5622 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5623 CONFIG_SHELL='$SHELL'
5629 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5633 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5634 ## Running $as_me. ##
5636 printf "%s\n" "$ac_log"
5640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5644 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
5648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5650 # Handling of arguments.
5651 for ac_config_target in $ac_config_targets
5653 case $ac_config_target in
5654 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5655 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5656 "ctie/Makefile") CONFIG_FILES="$CONFIG_FILES ctie/Makefile" ;;
5657 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5658 "src/userconfig.xml") CONFIG_FILES="$CONFIG_FILES src/userconfig.xml" ;;
5659 "src/appendices/Makefile") CONFIG_FILES="$CONFIG_FILES src/appendices/Makefile" ;;
5660 "src/chapter01/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter01/Makefile" ;;
5661 "src/chapter02/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter02/Makefile" ;;
5662 "src/chapter03/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter03/Makefile" ;;
5663 "src/chapter04/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter04/Makefile" ;;
5664 "src/chapter05/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter05/Makefile" ;;
5665 "src/chapter06/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter06/Makefile" ;;
5666 "src/chapter07/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter07/Makefile" ;;
5667 "src/chapter08/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter08/Makefile" ;;
5668 "src/chapter09/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter09/Makefile" ;;
5669 "src/chapter10/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter10/Makefile" ;;
5670 "src/chapter11/Makefile") CONFIG_FILES="$CONFIG_FILES src/chapter11/Makefile" ;;
5671 "src/part3intro/Makefile") CONFIG_FILES="$CONFIG_FILES src/part3intro/Makefile" ;;
5672 "src/prologue/Makefile") CONFIG_FILES="$CONFIG_FILES src/prologue/Makefile" ;;
5673 "src/stylesheets/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/Makefile" ;;
5674 "src/stylesheets/lfs-xsl/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/Makefile" ;;
5675 "src/stylesheets/lfs-xsl/pdf/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/pdf/Makefile" ;;
5676 "src/stylesheets/lfs-xsl/xhtml/Makefile") CONFIG_FILES="$CONFIG_FILES src/stylesheets/lfs-xsl/xhtml/Makefile" ;;
5677 "src/udev-lfs/Makefile") CONFIG_FILES="$CONFIG_FILES src/udev-lfs/Makefile" ;;
5678 "src/udev-lfs/contrib/Makefile") CONFIG_FILES="$CONFIG_FILES src/udev-lfs/contrib/Makefile" ;;
5679 "src/udev-lfs/contrib/debian/Makefile") CONFIG_FILES="$CONFIG_FILES src/udev-lfs/contrib/debian/Makefile" ;;
5681 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5686 # If the user did not use the arguments to specify the items to instantiate,
5687 # then the envvar interface is used. Set only those that are not.
5688 # We use the long form for the default assignment because of an extremely
5689 # bizarre bug on SunOS 4.1.3.
5690 if $ac_need_defaults; then
5691 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5692 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
5695 # Have a temporary directory for convenience. Make it in the build tree
5696 # simply because there is no reason against having it here, and in addition,
5697 # creating and moving files from /tmp can sometimes cause problems.
5698 # Hook for its removal unless debugging.
5699 # Note that there is a small window in which the directory will not be cleaned:
5700 # after its creation but before its name has been assigned to `$tmp'.
5704 trap 'exit_status=$?
5706 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5708 trap 'as_fn_exit 1' 1 2 13 15
5710 # Create a (secure) tmp directory for tmp files.
5713 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5717 tmp=./conf$$-$RANDOM
5718 (umask 077 && mkdir "$tmp")
5719 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5722 # Set up the scripts for CONFIG_FILES section.
5723 # No need to generate them if there are no CONFIG_FILES.
5724 # This happens for instance with `./config.status config.h'.
5725 if test -n "$CONFIG_FILES"; then
5728 ac_cr=`echo X | tr X '\015'`
5729 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5730 # But we know of no other shell where ac_cr would be empty at this
5731 # point, so we can use a bashism as a fallback.
5732 if test "x$ac_cr" = x; then
5733 eval ac_cr=\$\'\\r\'
5735 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5736 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5742 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5747 echo "cat >conf$$subs.awk <<_ACEOF" &&
5748 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5751 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5752 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5754 for ac_last_try in false false false false false :; do
5755 . ./conf$$subs.sh ||
5756 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5758 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5759 if test $ac_delim_n = $ac_delim_num; then
5761 elif $ac_last_try; then
5762 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5764 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5770 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5774 s/^/S["/; s/!.*/"]=/
5784 s/\(.\{148\}\)..*/\1/
5786 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5791 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5798 s/\(.\{148\}\)..*/\1/
5800 s/["\\]/\\&/g; s/^/"/; s/$/"/
5804 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5809 ' <conf$$subs.awk | sed '
5814 ' >>$CONFIG_STATUS || ac_write_fail=1
5815 rm -f conf$$subs.awk
5816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5818 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5819 for (key in S) S_is_set[key] = 1
5825 nfields = split(line, field, "@")
5827 len = length(field[1])
5828 for (i = 2; i < nfields; i++) {
5830 keylen = length(key)
5831 if (S_is_set[key]) {
5833 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5834 len += length(value) + length(field[++i])
5845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5846 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5847 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5850 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5851 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5854 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5855 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5856 # trailing colons and then remove the whole line if VPATH becomes empty
5857 # (actually we leave an empty line to preserve line numbers).
5858 if test "x$srcdir" = x.; then
5859 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5878 fi # test -n "$CONFIG_FILES"
5881 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
5886 :[FHLC]) ac_mode=$ac_tag; continue;;
5888 case $ac_mode$ac_tag in
5890 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5891 :[FH]-) ac_tag=-:-;;
5892 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5909 -) ac_f="$ac_tmp/stdin";;
5910 *) # Look for the file first in the build tree, then in the source tree
5911 # (if the path is not absolute). The absolute path cannot be DOS-style,
5912 # because $ac_f cannot contain `:'.
5916 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5918 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5920 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5921 as_fn_append ac_file_inputs " '$ac_f'"
5924 # Let's still pretend it is `configure' which instantiates (i.e., don't
5925 # use $as_me), people would be surprised to read:
5926 # /* config.h. Generated by config.status. */
5927 configure_input='Generated from '`
5928 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5930 if test x"$ac_file" != x-; then
5931 configure_input="$ac_file. $configure_input"
5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5933 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5935 # Neutralize special characters interpreted by sed in replacement strings.
5936 case $configure_input in #(
5937 *\&* | *\|* | *\\* )
5938 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5939 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5940 *) ac_sed_conf_input=$configure_input;;
5944 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5950 ac_dir=`$as_dirname -- "$ac_file" ||
5951 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5952 X"$ac_file" : 'X\(//\)[^/]' \| \
5953 X"$ac_file" : 'X\(//\)$' \| \
5954 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5955 printf "%s\n" X"$ac_file" |
5956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5973 as_dir="$ac_dir"; as_fn_mkdir_p
5977 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5979 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5980 # A ".." for each directory in $ac_dir_suffix.
5981 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5982 case $ac_top_builddir_sub in
5983 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5984 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5987 ac_abs_top_builddir=$ac_pwd
5988 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5989 # for backward compatibility:
5990 ac_top_builddir=$ac_top_build_prefix
5993 .) # We are building in place.
5995 ac_top_srcdir=$ac_top_builddir_sub
5996 ac_abs_top_srcdir=$ac_pwd ;;
5997 [\\/]* | ?:[\\/]* ) # Absolute name.
5998 ac_srcdir=$srcdir$ac_dir_suffix;
5999 ac_top_srcdir=$srcdir
6000 ac_abs_top_srcdir=$srcdir ;;
6002 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6003 ac_top_srcdir=$ac_top_build_prefix$srcdir
6004 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6006 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6016 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6017 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6021 [\\/$]* | ?:[\\/]* ) ;;
6022 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6027 # If the template does not know about datarootdir, expand it.
6028 # FIXME: This hack should be removed a few years after 2.60.
6029 ac_datarootdir_hack=; ac_datarootdir_seen=
6040 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6041 *datarootdir*) ac_datarootdir_seen=yes;;
6042 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6044 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6047 ac_datarootdir_hack='
6048 s&@datadir@&$datadir&g
6049 s&@docdir@&$docdir&g
6050 s&@infodir@&$infodir&g
6051 s&@localedir@&$localedir&g
6052 s&@mandir@&$mandir&g
6053 s&\\\${datarootdir}&$datarootdir&g' ;;
6057 # Neutralize VPATH when `$srcdir' = `.'.
6058 # Shell code in configure.ac might set extrasub.
6059 # FIXME: do we really want to maintain this feature?
6060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6061 ac_sed_extra="$ac_vpsub
6064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6066 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6067 s|@configure_input@|$ac_sed_conf_input|;t t
6068 s&@top_builddir@&$ac_top_builddir_sub&;t t
6069 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6070 s&@srcdir@&$ac_srcdir&;t t
6071 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6072 s&@top_srcdir@&$ac_top_srcdir&;t t
6073 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6074 s&@builddir@&$ac_builddir&;t t
6075 s&@abs_builddir@&$ac_abs_builddir&;t t
6076 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6077 s&@INSTALL@&$ac_INSTALL&;t t
6078 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6079 $ac_datarootdir_hack
6081 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6082 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6084 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6085 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6086 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6087 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6089 which seems to be undefined. Please make sure it is defined" >&5
6090 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6091 which seems to be undefined. Please make sure it is defined" >&2;}
6093 rm -f "$ac_tmp/stdin"
6095 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6096 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6098 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6102 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6103 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
6108 case $ac_file$ac_mode in
6109 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
6110 # Older Autoconf quotes --file arguments for eval, but not when files
6111 # are listed without --file. Let's play safe and only enable the eval
6112 # if we detect the quoting.
6113 # TODO: see whether this extra hack can be removed once we start
6114 # requiring Autoconf 2.70 or later.
6115 case $CONFIG_FILES in #(
6117 eval set x "$CONFIG_FILES" ;; #(
6119 set x $CONFIG_FILES ;; #(
6124 # Used to flag and report bootstrapping failures.
6128 # Strip MF so we end up with the name of the file.
6129 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
6130 # Check whether this is an Automake generated Makefile which includes
6131 # dependency-tracking related rules and includes.
6132 # Grep'ing the whole file directly is not great: AIX grep has a line
6133 # limit of 2048, but all sed's we know have understand at least 4000.
6134 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
6136 am_dirpart=`$as_dirname -- "$am_mf" ||
6137 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6138 X"$am_mf" : 'X\(//\)[^/]' \| \
6139 X"$am_mf" : 'X\(//\)$' \| \
6140 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6141 printf "%s\n" X"$am_mf" |
6142 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6159 am_filepart=`$as_basename -- "$am_mf" ||
6160 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
6161 X"$am_mf" : 'X\(//\)$' \| \
6162 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
6163 printf "%s\n" X/"$am_mf" |
6164 sed '/^.*\/\([^/][^/]*\)\/*$/{
6177 { echo "$as_me:$LINENO: cd "$am_dirpart" \
6178 && sed -e '/# am--include-marker/d' "$am_filepart" \
6179 | $MAKE -f - am--depfiles" >&5
6181 && sed -e '/# am--include-marker/d' "$am_filepart" \
6182 | $MAKE -f - am--depfiles) >&5 2>&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); } || am_rc=$?
6187 if test $am_rc -ne 0; then
6188 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6189 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
6190 as_fn_error $? "Something went wrong bootstrapping makefile fragments
6191 for automatic dependency tracking. If GNU make was not used, consider
6192 re-running the configure script with MAKE=\"gmake\" (or whatever is
6193 necessary). You can also try re-running configure with the
6194 '--disable-dependency-tracking' option to at least be able to build
6195 the package (albeit without support for automatic dependency tracking).
6196 See \`config.log' for more details" "$LINENO" 5; }
6198 { am_dirpart=; unset am_dirpart;}
6199 { am_filepart=; unset am_filepart;}
6200 { am_mf=; unset am_mf;}
6201 { am_rc=; unset am_rc;}
6202 rm -f conftest-deps.mk
6212 ac_clean_files=$ac_clean_files_save
6214 test $ac_write_fail = 0 ||
6215 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6218 # configure is writing to config.log, and then calls config.status.
6219 # config.status does its own redirection, appending to config.log.
6220 # Unfortunately, on DOS this fails, as config.log is still kept open
6221 # by configure, so config.status won't be able to write to it; its
6222 # output is simply discarded. So we exec the FD to /dev/null,
6223 # effectively closing config.log, so it can be properly (re)opened and
6224 # appended to by config.status. When coming back to configure, we
6225 # need to make the FD available again.
6226 if test "$no_create" != yes; then
6228 ac_config_status_args=
6229 test "$silent" = yes &&
6230 ac_config_status_args="$ac_config_status_args --quiet"
6232 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6234 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6235 # would make configure fail if this is the last instruction.
6236 $ac_cs_success || as_fn_exit 1
6238 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6240 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}